From owner-cvs-all Sat Dec 22 11:14:20 2001 Delivered-To: cvs-all@freebsd.org Received: from comp.chem.msu.su (comp-ext.chem.msu.su [158.250.32.157]) by hub.freebsd.org (Postfix) with ESMTP id 1649D37B419; Sat, 22 Dec 2001 11:14:10 -0800 (PST) Received: (from yar@localhost) by comp.chem.msu.su (8.11.1/8.11.1) id fBMFEN078996; Sat, 22 Dec 2001 18:14:23 +0300 (MSK) (envelope-from yar) Date: Sat, 22 Dec 2001 18:14:23 +0300 From: Yar Tikhiy 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> References: <200112211843.fBLIhcV44326@freefall.freebsd.org> <20011221190544.GD30704@shall.anarcat.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011221190544.GD30704@shall.anarcat.dyndns.org>; from anarcat@anarcat.dyndns.org on Fri, Dec 21, 2001 at 02:05:45PM -0500 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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