OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: yorkwar (aironetpeoplemail.com.cn)
Date: Mon Apr 01 2002 - 02:24:28 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    hello all,
            We can use "echo 'Mode:rfmon' >/proc/driver/aironet/eth0/Config" to put the aironet card into promiscuous mode. And I also learn that we can do that with ioctl as:

    ioctl(sock, SIOCGIFFLAGS, &ethreq);
    ethreq.ifr_flags |= IFF_PROMISC;
    ioctl(sock, SIOCSIFFLAGS, &ethreq);

    What the difference?

    If the card discards packets not addressed to it, how can we receive all packets at software level?

    I know there must be something I don't understand. I'm eager for any help.

    _______________________________________________
    Aironet mailing list - Aironetcsl.cse.ucsc.edu
    http://csl.cse.ucsc.edu/mailman/listinfo/aironet