From: Unit Zero Subject: using ip_queue in kernel space Date: Thu, 4 Mar 2004 17:21:23 -0500 (EST) Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: To: netfilter-devel@lists.netfilter.org 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 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, but if I simply install a queue handler in the module init entrypoint and then install a netfilter hook that returns a QUEUE verdict on packets I want, and then do whatever in my queue handler, (kick off timer tasks to issue verdicts or some other such thing) will this work? I've been meaning to just throw together a quickie test module, strap on my kernel-panic helmet and give it a spin, but haven't gotten around to it, since I've been busy developing alot of traffic/bandwidth stuff (hashing dest-host/port pairs in a netfilter hook and counting total incoming/outgoing traffic per port on a server is fun!) - Vic M. Condino