From owner-freebsd-net@FreeBSD.ORG Tue Feb 3 13:29:43 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F37216A4CE for ; Tue, 3 Feb 2004 13:29:43 -0800 (PST) Received: from guard.polynet.lviv.ua (guard.polynet.lviv.ua [217.9.2.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 122B043D48 for ; Tue, 3 Feb 2004 13:29:28 -0800 (PST) (envelope-from akorud@polynet.lviv.ua) Received: (qmail 61647 invoked from network); 3 Feb 2004 21:29:24 -0000 Received: from eaux.polynet.lviv.ua (HELO localhost) (217.9.2.4) by 217.9.2.1 with SMTP; 3 Feb 2004 21:29:24 -0000 Received: from pf139.warszawa.cvx.ppp.tpnet.pl (pf139.warszawa.cvx.ppp.tpnet.pl [213.76.101.139]) by isp.polynet.lviv.ua (IMP) with HTTP for <.akorud.netadmin.lp@guard>; Tue, 3 Feb 2004 23:29:24 +0200 Message-ID: <1075843764.402012b4561da@isp.polynet.lviv.ua> Date: Tue, 3 Feb 2004 23:29:24 +0200 From: Andriy Korud To: Dominik Lupinski References: <1075826778.401fd05a1f8b3@isp.polynet.lviv.ua> <20040203173421.GA4446@errol.blah> In-Reply-To: <20040203173421.GA4446@errol.blah> MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 cc: freebsd-net@freebsd.org Subject: Re: Changing TOS of forwarded packets? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 21:29:43 -0000 Thanks, but I'm looking for some solution that'd allow me to modify TOS of the packets that match some filter rule, so I think I have to modify ipfilter code. Andriy > On Tue, Feb 03, 2004 at 06:46:18PM +0200, Andriy Korud wrote: > > Hello, > > > Hi, my question is simple - is it possible to set TOS value of forwarded > packets > > using ipfw, ipfilter or other magic on FreeBSD 4-STABLE? > > As far as I know there is nothing official for this purposes (hope someone > will correct me if I am wrong). This is why I started to design something > on my own. My little goodie is a netgraph node for packet mangling in its > early stage. I *just* got it to work and it is tested now. Seems to work > properly for me. However, it was written and used only on FreeBSD-5.2-R > and > I'am not sure about diffrences in netgraph implementation in STABLE. > > Nevertheless, if noone suggests better sollution you may want to give it a > try. Bear in mind it's early stage, though. There you can reach it: > > http://venus.wsb-nlu.edu.pl/~dlupinsk/ng_mangle/ > > regards, > Dominik Lupinski > > > Ps. Any feedback appreciated. > -- > "...they build you up only to tear you down." >