how to delay and drop the packet
i want to manipulate some of the fields of the packet at ip-layer at Gateway machine and want to send the manipulated packet to the
destination lying in some other network so i want to delay and drop those packets. could anyone tell pls, how to do that through C program using any inbuilt functions -----------thanx-------------------------------- |
Hi,
I've never done networking through C programmation... but I've just seen an iptables target that could help if you agree to do a part of this in shell script. There's a target called u32 which seems to enable you to match packets given any bit pattern in the header (http://www.netfilter.org/documentat...ions-HOWTO.html)... thus you should be able redirect the packets you've previously modified. |
Bad link, fr_laz
|
seriously in need of -the link is not getting open
seriously i need some accurate soluttion for my previous
problem, the link is not working. If anyone know any c code for delaying and dropping packets at gateway pls let me know |
Sorry ! Here it is :
http://www.netfilter.org/documentati...ons-HOWTO.html but u32 filters may only solve a part of your problem : I don't think you can modify packets, only match them |
All times are GMT -5. The time now is 06:19 PM. |