I wrote a program in C using lipcap library, and I connected MySQL server to log all the captured packets traffic, I am running Fedora3.
But I need to DROP the packets or forwarding them, Can I do that with libpcap ? if not, how can I do it ?
note: I need a function that I can embedded in my program.
thanks for the help