From: Eric Leblond <eric@inl.fr>
To: "J. Federico Hernandez" <fede.hernandez@gmail.com>
Cc: netfilter-devel@lists.netfilter.org,
Pablo Neira Ayuso <pablo@netfilter.org>
Subject: Re: new match extension to implement port knocking in one
Date: Tue, 17 Oct 2006 16:05:12 +0200 [thread overview]
Message-ID: <1161093912.20036.3.camel@localhost.localdomain> (raw)
In-Reply-To: <c0db55360610170519h5d2b1e21me5716b1b8ea7967b@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1735 bytes --]
Le mardi 17 octobre 2006 à 09:19 -0300, J. Federico Hernandez a écrit :
> On 10/16/06, Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> > J. Federico Hernandez wrote:
> > >> On Oct 14, 2006, Michael Rash wrote:
> > >>
> > >> Well, I agree that having an implementation that builds some port
> > >> knocking capabilities directly into iptables is a good thing for the
> >
> > Perhaps I'm just influenced by my first impression but I think that this
> > thing should be in userspace. We are providing the appropiate netfilter
> > netlink subsystems (nfqueue, nflog...) to implement this as a userland
> > daemon.
> >
>
> When all you want is to open a port after a correct sequence of
> knocks, instead of sending from the kernel all the knocks to the
> userspace, and then setting a new iptables rule so the kernel firewall
> takes an action, it would be better to leave the whole work to the
> kernel and avoid the transition kernel->userspace->kernel.
kernel->userspace->kernel is really not a problem for nowadays computer.
Simply think about snort-inline which is able to handle a great amount
of traffic.
> In other more complex situations, you can recognize the knocks in the
> kernel and let a userspace app take an action using netlink sockets,
> as you say, but you should never allow a port knocking app to add or
> remove firewall rules on the fly.
I don't think this was Pablo's intention : you can queue packet for all
port including the one that must pass through and when the port knocking
sequence is complete, allow packet to go through target port from
userspace.
BR,
--
Éric Leblond, eleblond@inl.fr
Téléphone : 01 44 89 46 39, Fax : 01 44 89 45 01
INL, http://www.inl.fr
[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-10-17 14:05 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 15:10 new match extension to implement port knocking in one J. Federico Hernandez
2006-10-17 1:23 ` Pablo Neira Ayuso
2006-10-17 12:19 ` J. Federico Hernandez
2006-10-17 14:05 ` Eric Leblond [this message]
2006-10-18 0:32 ` J. Federico Hernandez
2006-10-18 14:46 ` Pablo Neira Ayuso
2006-10-23 13:31 ` J. Federico Hernandez
2006-10-23 19:46 ` Eric Leblond
2006-10-24 23:21 ` Luis Floreani
2006-10-25 6:31 ` Eric Leblond
2006-10-26 3:59 ` J. Federico Hernandez
2006-10-25 15:41 ` Luis Floreani
2006-10-17 15:12 ` Michael Rash
2006-10-18 1:01 ` J. Federico Hernandez
-- strict thread matches above, loose matches on Subject: below --
2006-10-13 13:35 J. Federico Hernandez
2006-10-14 17:19 ` Michael Rash
2006-10-11 20:33 Luis Floreani
2006-10-12 20:41 ` Alexey Toptygin
2006-10-12 21:30 ` Alexey Toptygin
2006-10-13 2:50 ` Michael Rash
2006-10-13 2:50 ` Luis Floreani
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=1161093912.20036.3.camel@localhost.localdomain \
--to=eric@inl.fr \
--cc=fede.hernandez@gmail.com \
--cc=netfilter-devel@lists.netfilter.org \
--cc=pablo@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 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.