libipq question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux