Re: Interface promiscuity obscurity in Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>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

[Index of Archives]     [Linux Security]     [Netfilter]     [PHP]     [Yosemite News]     [Linux Kernel]

  Powered by Linux