Hi, Try libnet for injecting new packets, you can use raw packets(u inject from userland), libnet provides you with a better interface, but you wld need root permission to use raw sockets. you can get libnet library from packetfactory.net HTH Amit "Mayank Kumar" <mayank_kumar@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>@lists.netfilter.org on 06/29/2004 10:17:16 AM Sent by: netfilter-admin@xxxxxxxxxxxxxxxxxxx To: <netfilter@xxxxxxxxxxxxxxxxxxx> cc: Subject: injecting new packets into the netfilter Hi all, I want to know how can we inject absolutely new packets at various hook points in netfilter. I have already seen some questions posted on this earlier too but no replies as such. I am very eager to know about this because using this we can construct some really cool stuff. Currently we are undergoing a project on this and it would be of greate help if somebody can find a solution to this. Thanks in advance for any help on this. regds Mayank