From: Paul Hoffman <paul.hoffman@gmail.com>
To: netfilter@vger.kernel.org
Subject: Application layer gateway HOWTO?
Date: Sun, 15 May 2011 16:02:06 -0700 [thread overview]
Message-ID: <BANLkTi=YDki-6cPLN86CPHmp6NdfnnQ-Rg@mail.gmail.com> (raw)
Greetings. I would like to create an application layer gateway (ALG)
using netfilter. I need to know two things that don't seem to be
obvious from all the FAQs and documentation:
1) An example of the iptables rule needed (I assume using NFQUEUE)
2) A spec for what the userland program needs to be listening for and
sending out.
For example, if I wanted to make a LAN-to-WAN ALG that did something
lame like change the spelling of some HTTP request headers, I would
need t listen on dest port 80 on the LAN interface, grab the traffic,
send it to a program (probably a daemon) that munges the traffic, and
sends it on. What would I need to do this?
--Paul Hoffman
reply other threads:[~2011-05-15 23:02 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='BANLkTi=YDki-6cPLN86CPHmp6NdfnnQ-Rg@mail.gmail.com' \
--to=paul.hoffman@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).