lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 26 May 2007 03:28:27 -0300
From:	"Martín Ferrari" <martin.ferrari@...il.com>
To:	"Ben Greear" <greearb@...delatech.com>
Cc:	netdev@...r.kernel.org
Subject: Re: IFF_PROMISC again

Hi Ben,

On 5/22/07, Ben Greear <greearb@...delatech.com> wrote:

> > PACKET_(ADD|REMOVE)_MEMBERSHIP, I need to query the real device state.

> I have the same problem.  I think you can tell by looking at bit 0x100
> in /sys/class/net/[ethX]/flags
>
> Not exactly fun to use, but it seems to work.

Wow, I searched for this a lot! It could be all I need, although it
doesn't seem very robust to look at the bitmap driectly, is it?

Maybe it would be cleaner to add an "promiscuity" file to that structure?

-- 
Martín Ferrari
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ