user98651 user98651 - 1 year ago 113
C++ Question

Splitting a Netfilter packet

I want to be able to, when a packet comes in, split it into two packets (two different destinations in ip header) and pass this back to netfilter.
I am using c++ if that helps.

Is this possible in any way?

Thanks

Answer Source

I have found the best way to do this is by sending the data by means of raw packets, as long as you manually fill in the ip header yourself.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download