[Bug 199979] eth0 enter into promiscuous mode whitout being report by ifconfig or "ip link show"

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 9 13:20:27 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: eth0 enter into promiscuous mode whitout being report by ifconfig or "ip link show"


https://bugzilla.redhat.com/show_bug.cgi?id=199979





------- Additional Comments From mschmidt at redhat.com  2008-07-09 09:20 EST -------
(In reply to comment #18)
> As you mentioned, the situation probably stay same for long time.

I'm not 100% sure about that. See this message from Alexey Kuznetsov in the
ancient netdev thread (
http://www.uwsg.iu.edu/hypermail/linux/net/0202.1/0044.html ):
  Anyway, ifconfig should show that state which it changes.
  If you want to look at "true" state you may use "ip link". 

This suggest to me that "ip link" used to show the real PROMISC state then.

> So, the best solution is change ifconfig check algorithm to that one which
> reads flags file instead of checking IFF_PROMISC flag, right?

I say no. Why? I agree with Alexey's "ifconfig should show that state which it
changes".
However, if we start talking about "ip link" only then yes, this should be fixed
to show the true state. I believe the fix should be in the kernel where the flag
is passed to ip via netlink.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-triage-list mailing list