Snort-Inline is able to do this: http://snort-inline.sourceforge.net. You can have it modify (it calls it replacing) packets. The main caveat to this is that you have to replace data with the same amount of data example: Replacing the string "hacker" with "hack" would not work. > Hi Antony and all, > > Thanks for your reply. What I am trying to do is to get the whole packets > including their payloads and store them into a self defined queue, and > randomly modify some bits in each packet. I am using iptables userspace > programming. Does anybody have some good idea how to achieve this? Thank > you. > > Regards, > Jee Thanks, Josh Berry, CTO LinkNet-Solutions 469-831-8543 josh.berry@xxxxxxxxxxxxxxxxxxxxx