All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vikram Ragukumar <vragukumar@signalogic.com>
To: netfilter@vger.kernel.org, netfilter-devel@vger.kernel.org
Subject: Query regarding libnetfilter_queue usage
Date: Wed, 06 Jan 2010 19:54:17 -0600	[thread overview]
Message-ID: <4B453EC9.90300@signalogic.com> (raw)

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.


                 reply	other threads:[~2010-01-07  1:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B453EC9.90300@signalogic.com \
    --to=vragukumar@signalogic.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.