From: Eli Carter <eli.carter@inet.com>
To: tsbogend@alpha.franken.de, linux-kernel@vger.kernel.org,
"Richard B. Johnson" <root@chaos.analogic.com>
Subject: pcnet32 - promiscuous mode bug
Date: Fri, 02 Nov 2001 15:31:14 -0600 [thread overview]
Message-ID: <3BE310A2.B8D52A07@inet.com> (raw)
To those interested in pcnet32,
In pcnet32_set_multicast_list(), the driver sets the promiscuous bit in
the init_block mode field. This is copied to CSR15 during
initialization.
However, that bit is only read/write accessible when the device is in
the suspend or stopped state, so setting the promiscuous bit will have
no effect on an already UP interface.
Thus, to get the interface to actually be in promiscuous mode, one must:
ifconfig -i eth0 promisc
ifdown eth0 ; ifup eth0
tcpdump will now see promiscuous packets
and to turn it off,,
ifconfig -i eth0 -promisc
ifdown eth0 ; ifup eth0
It also appears that tcpdump 3.6.2 isn't triggering that code at all...
What does the driver need to support for tcpdump?
Anyone have a fix for this?
Eli
--------------------. Real Users find the one combination of bizarre
Eli Carter \ input values that shuts down the system for days.
eli.carter(a)inet.com `-------------------------------------------------
reply other threads:[~2001-11-02 21:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BE310A2.B8D52A07@inet.com \
--to=eli.carter@inet.com \
--cc=linux-kernel@vger.kernel.org \
--cc=root@chaos.analogic.com \
--cc=tsbogend@alpha.franken.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.