From: Zeeshan Ali Subject: Re: stealing packets Date: Sun, 23 Nov 2003 17:06:29 -0800 (PST) Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <20031124010629.24469.qmail@web60710.mail.yahoo.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: To: netfilter-devel@lists.netfilter.org 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 Hello, Thanks for responding. > If the hook returns NF_QUEUE then the packet will be > sent to the netfilter > queue handler from where it can later be reinjected > and will then continue > on the next hook. Yeah, i know that but the kernel does'nt like it when you re-inject the packet sometimes later. E.g this simple test code inside the queue handler function caused a kernel panic: static struct sk_buff *next = NULL; if (next != NULL) { nf_reinject (next, info, NF_ACCEPT); } next = skb; return 0; /* what should be the return value? */ BTW, my first question still remains unanswered :( Anyway, I 've just re-compiled the kernel with a lot of debuging into the routing code, so i gues that would help to identify my problem. Anyway, thanks for replying. Bye. __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree