From: halfdog@gmx.at
To: netfilter@lists.netfilter.org
Subject: User space firewall
Date: Wed, 24 May 2006 19:09:07 +0200 [thread overview]
Message-ID: <44749333.5080805@gmx.at> (raw)
Hi all,
I want to write a (simple) user space firewall. All packets not acceptable for
the iptables go to as netlink message (ulog) to the user space. All established
connections are kept. The user is then to decide, if he accepts the connection.
Use case: Lets assume a Tcp-Syn hits the iptables, gets rejected, captured by my
software. What should I do to make the connection stable?
* Just push the Syn into the stack again, will this make the connection
established? If yes, where to put it so that I do not have to care about Nat and
so on, so it should go rather the same way an accepted packet would have gone.
* Modify the conntrack tables first and then push the syn back?
* Do I have to go an more complicated way?
Thanks for your input,
halfdog
next reply other threads:[~2006-05-24 17:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-24 17:09 halfdog [this message]
2006-05-24 17:11 ` User space firewall Eric Leblond
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=44749333.5080805@gmx.at \
--to=halfdog@gmx.at \
--cc=netfilter@lists.netfilter.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