Re: netfilter

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

 



Hi,
On 4/28/06, Ming Chen <tomingchen@xxxxxxxxx> wrote:
Hi,

l know how to intercept tcp packets at NF_IP_PRE_ROUTING and do what I have
to, but how to put the packet back to either NF_IP_LOCAL_IN or
NF_IP_LOCAL_OUT in network stack path.

If you can point me example code that will be great.
     have you gone through http://www.phrack.org/show.php?p=61&a=13 ??
there you find netfilter examples where once you catch packet in
NF_IP_PRE_ROUTING and modified then return NF_ACCEPT places that
modified skbuff again in network stack.
Regards,
Parag.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux