From owner-freebsd-ipfw@FreeBSD.ORG Thu Dec 8 02:56:09 2011 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16A28106566B; Thu, 8 Dec 2011 02:56:09 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 7C19B8FC08; Thu, 8 Dec 2011 02:56:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id pB82eET2087821; Thu, 8 Dec 2011 13:40:14 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 8 Dec 2011 13:40:14 +1100 (EST) From: Ian Smith To: alan yang In-Reply-To: Message-ID: <20111208132002.R16498@sola.nimnet.asn.au> References: <4EDE2739.1040104@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-ipfw@freebsd.org, Sergey Matveychuk Subject: Re: ipfw dscp support X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 02:56:09 -0000 On Tue, 6 Dec 2011, alan yang wrote: > Hi Sergey, > > I found from FreeBSD forum dated Aug. 2009 with the following: > > vlad2005 Insufficient information to locate a forum post. URL, please? > ... > Anyway, testing with improvement from patch, give desired result. > Code: > ipfw add 20 count ip from any to any dscp AF11 > Show command from ipfw look ok. > Code: > freebsd# ipfw show > 00010 959 82291 modip dscp:AF11 ip from any to any > 00020 24 1584 count ip from any to any dscp AF11 > 65535 1099 92987 allow ip from any to any The PR you pointed to (kern/102471) includes some description, update to ipfw(8) and some references. It doesn't mention any 'modip' action. I can't guess what 'modip' is even supposed to mean, let alone how it's supposed to work? cheers, Ian