Hello!

>     When you enable promiscuous mode using the tcpdump command
> provided by us, the ifconfig command displays wrong status. We noticed
> that this problem caused by the linux kernel.

Missing PROMISC flag is correct status from the viewpoint of ifconfig
and old tcpdump. This isolates your new tcpdump of old broken one.


>     Concretely, the variable dev->gflags (which is concerned with
> promiscuity settings) is changed on the out of dev_set_promiscuity(),
> but then this variable is ignored in packet_dev_mc().

gflags keep track of flags, as seen by obsolete applications.
Devive is _not_ in promiscusous mode for them.


> - Patch
>     The followed patch is made for linux-2.2.15pre20. But it is
> available for linux-2.2.14 and linux-2.3.99pre6 too.

Apply the patch
Start old tcpdump
Start new tcpdump
Exit old tcpdump
Enjoy with result.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to