From: "J. Federico Hernandez" Subject: Re: new match extension to implement port knocking in one Date: Tue, 17 Oct 2006 21:32:12 -0300 Message-ID: References: <4534309F.8000200@netfilter.org> <1161093912.20036.3.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: netfilter-devel@lists.netfilter.org Return-path: To: "Eric Leblond" In-Reply-To: <1161093912.20036.3.camel@localhost.localdomain> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org On 10/17/06, Eric Leblond wrote: > Le mardi 17 octobre 2006 =E0 09:19 -0300, J. Federico Hernandez a =E9crit= : > > On 10/16/06, Pablo Neira Ayuso 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 t= he > > > > > > Perhaps I'm just influenced by my first impression but I think that t= his > > > thing should be in userspace. We are providing the appropiate netfilt= er > > > netlink subsystems (nfqueue, nflog...) to implement this as a userlan= d > > > 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. 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) regards, --=20 Federico