Date: Wed, 4 Feb 2004 10:31:04 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: Dominik Lupinski <dmkl@op.pl> Cc: freebsd-net <net@freebsd.org> Subject: Re: Changing TOS of forwarded packets? Message-ID: <Pine.BSF.4.21.0402041030370.2002-100000@InterJet.elischer.org> In-Reply-To: <20040204084239.GA9033@errol.blah>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Feb 2004, Dominik Lupinski wrote: > On Wed, Feb 04, 2004 at 11:04:52AM +0300, Vladimir B. Grebenschikov wrote: > > ? ??, 04.02.2004, ? 03:17, Julian Elischer ?????: > > > > here's a suggestion.. > > > I have not done this but it might work: > > > > I have tried such scheme (second, with two divert sockets, tee not > > necessary). It works, only thing you should care about - packet should > > not enter to this chain twice or kernel will panic. > > Thanks, both of you, for the input. Seems like I found the proper way for > dealing with ip packets in the stack. (Yes, I also think that tee node was > redundant in the second example). yeah the tee node was a cut-n-paste error :-) > > > ps: > > change action for ipfw2 will be funny enough, like: > > ipfw add X change iptos congestion .... > > ipfw add Y change src-ip 1.1.1.1 ... > > may be it is not bad feature for ipfw2 ? > > At least it's high time to have such thing natively in FreeBSD... > > -- > "...they build you up only to tear you down." >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0402041030370.2002-100000>