Recommended Packet-Level Network Library?
Hi All,
I was wondering if anyone could give me a bit of advice on linux network programming at the packet level, preferably in C++.
I need to, for all traffic coming in (and going out) on a certain interface, parse the traffic, completely remove certain packets and insert others.
I've been looking into libipq, but it does not seem like an appropriate solution - I worry that a solution based around libipq may not work due to my complete removal of certain packets and injection of others (though I'm far from educated on it, I imagine the OS may loose track of certain things and the solution would fail).
Additionally, libpcap will not work due to it's inability to inject packets.
Any thoughts and comments would be much appreciated.
Regards,
7th
|