Changing TOS of forwarded packets?
Julian Elischer
julian at elischer.org
Wed Feb 4 10:31:17 PST 2004
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."
>
More information about the freebsd-net
mailing list