From: Philip Ho Subject: Re: 3 target treatment Date: Thu, 06 Mar 2003 10:45:33 +0800 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3E66B64D.17CB768B@ie.cuhk.edu.hk> References: <3E65B570.5DA3802D@ie.cuhk.edu.hk> <200303052308.55624.fabrice@netfilter.org> <20030305181405.GD4880@sunbeam.de.gnumonks.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org Return-path: To: Harald Welte , Fabrice MARIE 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 Dear Harald and Fabrice Thanks. I am new to netfilter hacking. Can you give me direction in learning to write custom chain and know IPT_CONTINUE? Advice in updating fragmentation field is also very appreciated. Regards, philip Harald Welte wrote: > On Wed, Mar 05, 2003 at 11:08:55PM +0800, Fabrice MARIE wrote: > > On Wednesday 05 March 2003 16:29, Philip Ho wrote: > > > Dear all > > > Can I possibly force some matched packet passing through three targets > > > in a row, namely > > > 1. update fragmentation field in IP header > > > 2. update DSCP field > > > 3. mark it (must be in mangle table) > > > > Hello Philip, > > > > Short answer: for the moment you cannot. > > well. I'm not sure. Apart from the missing IPid target, I think the > solution with a custom chain and DSCP/MARK target [both return > IPT_CONTINUE] is fine for him. > > writing an IPid target is extremely easy, the only problem is how to create > 'secure' IPid's... > > > Fabrice. > > -- > > Fabrice MARIE > > -- > - Harald Welte http://www.netfilter.org/ > ============================================================================ > "Fragmentation is like classful addressing -- an interesting early > architectural error that shows how much experimentation was going > on while IP was being designed." -- Paul Vixie > > ------------------------------------------------------------------------ > Part 1.2Type: application/pgp-signature