Hi Shirshanka I have the exact question as you. I can get the packet to Perl userspace, but don't know how to modify the packet and put it back into socket. Do you know the answer? Regards, philip Shirshanka Das wrote: > Hi all, > I'm new to lipipq... > I tried using the perlipq module.. but I'm unable to figure out > how to write a "modified" packet back to the queue.. > the documentation says : > set_verdict(id,verdict,len,buf) > > $msg = $queue->get_message() gives me the packet (i hope).. > however trying to do > set_verdict(id,NF_ACCEPT,len,$msg) > does not work properly... > > does anyone have a piece of working code.. that mangles something in a > packet.. and then writes it out ? > > Thanks, > Shanky