All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: "J. Federico Hernandez" <fede.hernandez@gmail.com>
Cc: netfilter-devel@lists.netfilter.org, Eric Leblond <eric@inl.fr>
Subject: Re: new match extension to implement port knocking in one
Date: Wed, 18 Oct 2006 16:46:36 +0200	[thread overview]
Message-ID: <45363E4C.4030201@netfilter.org> (raw)
In-Reply-To: <c0db55360610171732nfcd4118mfd89cea1c1aad457@mail.gmail.com>

J. Federico Hernandez wrote:
> On 10/17/06, Eric Leblond <eric@inl.fr> wrote:
>> 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.
> 
> the fact that nowadays computers have much more power, doesn't mean
> that you can forget about a simple, less complex and correct design.

I'm unsure that putting things in kernel implies less complexity and
correct design, it depends on the case.

> By the way, Linux runs in a wide spectrum of devices, like mobile
> devices, where you musn't waste resources. (see linksys ap wireless,
> smart phones, etc)

I think that the main question is how many packets you would need to
pass to userspace.

-- 
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris

  reply	other threads:[~2006-10-18 14:46 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
2006-10-18  0:32       ` J. Federico Hernandez
2006-10-18 14:46         ` Pablo Neira Ayuso [this message]
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=45363E4C.4030201@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=eric@inl.fr \
    --cc=fede.hernandez@gmail.com \
    --cc=netfilter-devel@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 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.