Ethereal-users: Re: [ethereal-users] I can only capture my TCP packets:

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Fri, 28 Jul 2000 00:22:31 -0700
On Thu, Jul 27, 2000 at 01:21:53PM -0500, Gilbert Ramirez wrote:
> The old shared-memory IBM TR cards (using the "ibmtr" driver) would *not*
> go into promiscuous mode. I don't know what ifconfig showed, that is, whether
> it lied about promiscuity or not.

A quick look at the "ibmtr.c" driver in 2.2.15 shows that it doesn't
look at the IFF_PROMISC flag.

A quick look at the "eepro100.c" driver shows that it *does* look at the
flag.

I suspect that IFF_PROMISC is set by common network-interface code, so
that the flag will be set in the "flags" field of the "struct
net_device" structure for the device regardless of whether the device
actually pays attention to it or not, so that "ifconfig" will, in fact,
lie about promiscuity on those cards.