Date: Sat, 22 Dec 2001 18:14:23 +0300 From: Yar Tikhiy <yar@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ipfw ipfw.8 ipfw.c Message-ID: <20011222181422.C75428@comp.chem.msu.su> In-Reply-To: <20011221190544.GD30704@shall.anarcat.dyndns.org>; from anarcat@anarcat.dyndns.org on Fri, Dec 21, 2001 at 02:05:45PM -0500 References: <200112211843.fBLIhcV44326@freefall.freebsd.org> <20011221190544.GD30704@shall.anarcat.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 21, 2001 at 02:05:45PM -0500, The Anarcat wrote:
> On Fri Dec 21, 2001 at 10:43:38AM -0800, Yar Tikhiy wrote:
> > yar 2001/12/21 10:43:38 PST
> >
> > Modified files:
> > sbin/ipfw ipfw.8 ipfw.c
> > Log:
> > Implement matching IP precedence in ipfw(4).
>
> What does this do?
It allows you to write ipfw rules like this one:
ipfw add fwd 1.2.3.4 ip from any to any ippre 5
^^^^^^^
this get matched against
IP precedence (a subfield
of the IP TOS field [RFC791],
which hasn't been previously
checked by ipfw(4))
In practice, this is needed e.g. if your upstream Internet provider
tags some kinds of traffic incoming to you with different IP
precedence values (it's a real-life example.) Other applications
of the feature may be devised as well.
--
Yar
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011222181422.C75428>
