I want to filter and hook IP packets from a particular address , do some modifications to the header option fields and forward them to particular destination. Can anybody help me in this regard? Thanks in advance. Have a great day.
Are you in the route? If not, then you can't snare the packets off of the network, because the machine that should get them will hear them at the same time that you do (if you can hear them at all).
There are some applications like Ettercap and Taranis that will let you put a switch into broadcast mode, so you might be able to see the traffic that you are not in the route for. And Ettercap will even let you insert yourself into the link in certain situations by doing layer 2 spoofing.
If you are in the route, I've used Net::RawIP (a PERL Library) to modify packets on the fly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.