RE: packet capture on sys Linux machines?

Stefan Savage (savage@cs.washington.edu)
Mon, 10 May 1999 23:01:54 -0700

David provided me with the following helpful advice on running tcpdump on
linux:

...

There's a bug in 2.2.2. They got different versions of
the code that won't compile together. But the module
works.

# insmod /lib/modules/2.2.2/misc/af_packet.o

I have a linux tcpdump binary at:
/usr/src/tcpdump/tcpdump-3.4/tcpdump

-----Original Message-----
From: Neal Cardwell [mailto:cardwell@cs.washington.edu]
Sent: Monday, May 10, 1999 10:53 PM
To: syn@cs.washington.edu
Subject: packet capture on sys Linux machines?

Anyone know what's up with this? tcpdump works just fine on the vegas*.sys
machines, which have 2.2.7 and CONFIG_PACKET=y, whereas tcpdump complains
that it can't open a socket on the other machines, which have
CONFIG_PACKET=m. Could it be simply that Linux 2.2 doesn't work right with
packet sockets as a module?

neal