mfontanini / libtins

High-level, multiplatform C++ network packet sniffing and crafting library.
http://libtins.github.io/
BSD 2-Clause "Simplified" License
1.9k stars 375 forks source link

Please can mention in example to modify it, and re-send . #392

Open BugsBountyHunter opened 4 years ago

BugsBountyHunter commented 4 years ago

You can sniff a packet, modify it, and re-send it using libtins. The only issue is dropping the original one so the receiver doesn't get two packets. This could be done via iptables rules, I'm sure there has to be some article describing how to do it.

Originally posted by @mfontanini in https://github.com/mfontanini/libtins/issues/61#issuecomment-78735325