Re: Interface promiscuity obscurity in Linux

From: Casper Dik (Casper.Dikat_private)
Date: Thu Jul 25 2002 - 11:29:58 PDT

  • Next message: Eric Hall: "Re: Apple OSX and iDisk and Mail.app"

    >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
    



    This archive was generated by hypermail 2b30 : Thu Jul 25 2002 - 12:51:47 PDT