All of lore.kernel.org
 help / color / mirror / Atom feed
* Query regarding libnetfilter_queue usage
@ 2010-01-07  1:54 Vikram Ragukumar
  0 siblings, 0 replies; only message in thread
From: Vikram Ragukumar @ 2010-01-07  1:54 UTC (permalink / raw)
  To: netfilter, netfilter-devel

Hello,

Pardon me for posting on both netfilter and netfilter_devel, because i 
am unsure of which list would be more appropriate for my question.

I am writing an application using libnetfilter_queue that should perform 
the following function

- Receives packets from NFQUEUE
- Apply a decryption algorithm to packets
- Issue an ACCEPT verdict for decrypted packets

These packets are destined to another box behind the firewall running 
the above mentioned application.

Based on Fig 14-1 from the link below
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptablesI 

I intend on siphoning out network packets at the PREROUTING chain of the 
Mangle table by using

iptables -t mangle -A PREROUTING -i eth0 -p 1234 -j NFQUEUE

1) I would like to know if the PREROUTING chain in the mangle table is 
an appropriate place to pick off the encrypted packets ?
2) Once the ACCEPT verdict is issued will the modified packets resume 
processing along the PREROUTING chain of the mangle table ?
3) Is there a well documented reference for API's that i will need to 
use while developing this application ?

Thanks in advance,
Regards,
Vikram.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-07  1:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07  1:54 Query regarding libnetfilter_queue usage Vikram Ragukumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.