How can I set my network card to promiscous mode ?
And how can root set permissions for non-root users so that they can set
network card to promiscous mode ?
I am running Slackware 7 on my machine.
I want to read all the raw packet into network interface.
what is the code example to set interface to promiscuos mode with ioctl?