| To: | linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | IFF_PROMISC bug? |
| From: | Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxx> |
| Date: | Tue, 12 Feb 2002 20:57:09 -0500 |
| Cc: | "David S. Miller" <davem@xxxxxxxxxx>, Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx> |
| Organization: | MandrakeSoft |
| Sender: | owner-netdev@xxxxxxxxxxx |
Gentlemen,
When I run tcpdump, /sbin/ip shows PROMISC, but /sbin/ifconfig does not.
This is on recent RedHat and MDK boxes, at least. Alan Cox also noted
that "ifconfig eth0 promisc" causes /sbin/ifconfig to show PROMISC.
Somewhere, interface flags are not being propagated/shared correctly?
This is on a 2.4 kernel. /sbin/ip uses netlink to get the flags
(ifi_flags), and /sbin/ifconfig uses SIOCGIFFLAGS.
Jeff
--
Jeff Garzik | "I went through my candy like hot oatmeal
Building 1024 | through an internally-buttered weasel."
MandrakeSoft | - goats.com
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [BK PATCHES] net drivers merge, Jeff Garzik |
|---|---|
| Next by Date: | Re: IFF_PROMISC bug?, David S. Miller |
| Previous by Thread: | [BK PATCHES] net drivers merge, Jeff Garzik |
| Next by Thread: | Re: IFF_PROMISC bug?, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |