GS wrote:
> It is on Linux(RH), I tried without "-i eth0" option, still it prints
> "Listening on eth0", but I can't dump any packets "tcpdump udp port
> 15000", here I am using port 15000, nothing dumps, how can I dump.
>
Please read the previous response again:
If you're sending to *any* of the local IP addresses,
the Linux TCP/IP stack is smart enough to route the
packets via the loopback interface, lo. The packets
get to the eth0 queue only when they are going outside
or coming from outside. tcpdump (and friends, actually
the libpcap library) captures the packets from the
interface queue, and eth0 never sees the local packets.
--
Tauno Voipio
tauno voipio (at) iki fi
|