NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Is it safe to run tcpdump?



On Sat, Mar 05, 2011 at 14:19:01 +0000, Matthias Scheler wrote:
> 3.) There is always chance of a software bug. "tcpdump" had bugs in the
>     past (and possibly still has) where it could be crashed by malformed
>     packets. That risk affects all packet capture applications. Wireshark
>     had a huge number of such bugs in the past.


Almost all of these bugs are in the protocol analysis code, not in the
bare packet sniffer itself.  You could run tcpdump -w <dumpfile.pcap>
as root, and then analyse the pcap file off-line (with tcpdump -r,
wireshark or whatever) as an unprivileged user, to contain the risk of
such exploits.


        Geert


-- 
geert.hendrickx.be :: geert%hendrickx.be@localhost :: PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!


Home | Main Index | Thread Index | Old Index