Well, I want to make a blocking call, for example, if the netfilter finds a TCP SYN packet, I want to execute user defined program and this program will in turn do some processing (which may include some communication with some other system on lan) Basically, I am looking for some sort of a target match code, ?-j exec /usr/bin/myprog? , as soon as myprog gets the control I want to do some processing and then tell the netfilter whether what to do with the packet, which could be allow, drop, reject etc. Please help. Cheers, Mayank. --- David Vogt <beunlovable@xxxxxxxxx> wrote: > Do you need the actual program for the packet? Or is > it just some kind > of trigger you want? > > 2006/2/19, linux blr <linuxblr_in@xxxxxxxxx>: > > hi all, > > > > plz let me know how can i execute a program > everytime > > there is a match, for example, > > everytime my Linux box receives a packet with SYN > bit > > ON, instead of taking normal actions like > > ALLOW,DROP,REJECT, i want to execute a command. > > > > google wasn't able to help me, hope this list > will.. > > > > cheers, > > mayank. > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com