[comp.sys.sun] Promiscuous mode in NIT

gopstein@rutgers.edu (Rich Gopstein) (07/10/90)

I am playing with NIT, and I am having a problem with promiscuous mode
reading.  The machine is a Sun 3/60C running 4.0.3.  The problem is that
even in promiscuous mode (as root), I don't see any packets with the
source address of my machine (the machine the program is running on).  I
would like to be able to see ALL packets on the network, including those
generated by my machine...

I am currently using the PF module to do filtering, but it seems to work,
so I don't think that's the problem.  I can set the filter to pass packets
containing a source address of other machines on the network, but I never
see packets from the machine the code is running on.

The basic code was taken from the NIT man page, so it should be correct,
but I'm new to NIT, so I might have screwed something up.

gopstein@soleil.nj.semi.harris.com
..!rutgers!soleil!gopstein

akhale@parc.xerox.com (Abhijit Khale) (07/16/90)

In article <9862@brazos.Rice.edu> soleil!gopstein@rutgers.edu (Rich Gopstein) writes:
>
>I am playing with NIT, and I am having a problem with promiscuous mode
>reading.  The machine is a Sun 3/60C running 4.0.3.  The problem is that
>even in promiscuous mode (as root), I don't see any packets with the
>source address of my machine (the machine the program is running on).  I
>would like to be able to see ALL packets on the network, including those
>generated by my machine...

That is the way NIT functions. You dont see packets from your machine. 

Note, too that in versions of SunOS 4.x, the NIT interface drops a lot of
the packets becuase of buffer management problems , so you dont see all
packets on the network. 

Abhijit
akhale@parc.xerox.com