>   I have been trying to read packets on the loop back
> interface. The code in the pcap lib tries to open the
> device /dev/lo, when I give the command
> 
>  tcpdump -i lo1 -V  and fails.

The fact that you say "/dev/lo" suggests you may be running on Solaris.

Solaris doesn't support capturing on the loopback device.

>   How do I use tcpdump to read packets on all
> available interfaces on the system ?

Install an operating system that supports all types of network interfaces
with the mechanism it provides for raw packet capture, or get the vendor
of your OS to modify the OS so that it supports that mechanism on all
types of network interfaces.

>   Also, My system doesn't support promiscuous mode at
> all.

What does it do if you try to do a promiscuous-mode capture?  (I'm
assuming that this isn't just a case of trying to capture on a switched
network, i.e. you're not plugged into a switch or switching hub, or if
you are you haven't set up the port into which you're plugged to have
all other ports mirrored to it, assuming the switch/switching hub
supports that.)
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to