From: Patrick Schaaf Subject: Re: libipq packet id Date: Thu, 26 Sep 2002 16:54:50 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <20020926145450.GA2327@oknodo.bof.de> References: <003601c26574$ae660b10$97025a3e@SHAGWELL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: 'James Morris' , netfilter-devel@lists.netfilter.org Return-path: To: Moshe Ashkenazi Content-Disposition: inline In-Reply-To: <003601c26574$ae660b10$97025a3e@SHAGWELL> 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 On Thu, Sep 26, 2002 at 05:52:13PM +0200, Moshe Ashkenazi wrote: > So how can I modify the packet base on the rule which queue it to > userspace. > W/o knowing the rule number? Classify the packet again. Why trust the kernel? The sysadmin may be playing tricks with you, even unintentionally. By reclassifying in userlevel, you avoid that problem. Never trust your input. best regards Patrick