From: Unit Zero Subject: Re: using ip_queue in kernel space Date: Thu, 4 Mar 2004 18:32:47 -0500 (EST) Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: netfilter-devel@lists.netfilter.org Return-path: To: Henrik Nordstrom In-Reply-To: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Great, thanks. This is exactly what I wanted to know. Well, time to go play with queue handler code I guess :) - Vic M. Condino On Thu, 4 Mar 2004, Henrik Nordstrom wrote: > On Thu, 4 Mar 2004, Unit Zero wrote: > > > I've been curious for a while about the viability of using ip_queue from > > a kernel module, without any userland side. It seems that ip_queue is > > really only used for deferring the verdict on packets to a userspace > > program > > This is the purpose of the ip_queue module yes, but another QUEUE handlers > may be installed if you prefer differently. > > QUEUE is a function of netfilter to defer the verdict of a packet. > > ip_queue is a QUEUE handler communicating to userspace to get the > verdirct. > > As long as your QUEUE handler follows the defined API for QUEUE handlers > it should work. Netfilter does not care what the QUEUE handler does, only > that there is a handler and how/when it returns the verdict. > > Regards > Henrik