Bugtraq mailing list archives
Re: Interface promiscuity obscurity in Linux
From: Casper Dik <Casper.Dik () Sun COM>
Date: Thu, 25 Jul 2002 20:29:58 +0200
The call to ioctl(SIOCGIFFLAGS) reports only promiscuous mode sets by ioctl(SIOCSIFFLAGS).
This is the same reason why Promiscuous mode is never reported by "ifconfig" in Solaris 2.0 and later. In Solaris, ifconfig primarily (or perhaps only) deals with the "IP (or other network stack) plumbing" on devices; in that context the "promiscuous" flag has no meaning either. A number of Solaris device drivers export the fact whether they're promiscuous using the "kstat" (kernel statistics) interface; unfortunately not all devices support that yet. $ kstat -p :::promisc elxl:0:elxl0:promisc off We need to fix this for most SPARC hardware still. Casper
Current thread:
- Interface promiscuity obscurity in Linux Ricardo Branco (Jul 24)
- Re: Interface promiscuity obscurity in Linux Paul Starzetz (Jul 25)
- Re: Interface promiscuity obscurity in Linux Glynn Clements (Jul 25)
- Re: Interface promiscuity obscurity in Linux Frédéric Raynal (Jul 25)
- Re: Interface promiscuity obscurity in Linux Casper Dik (Jul 25)
- Re: Interface promiscuity obscurity in Linux Jim Mellander (Jul 25)
- Re: Interface promiscuity obscurity in Linux Casper Dik (Jul 25)
- Re: Interface promiscuity obscurity in Linux Ademar de Souza Reis Jr. (Jul 25)
- <Possible follow-ups>
- Re: Interface promiscuity obscurity in Linux Rasmus Bøg Hansen (Jul 24)
- Re: Interface promiscuity obscurity in Linux plattner (Jul 24)
- Re: Interface promiscuity obscurity in Linux quentyn (Jul 25)
- Re: Interface promiscuity obscurity in Linux plattner (Jul 24)