From owner-freebsd-net Fri May 24 7: 7:36 2002 Delivered-To: freebsd-net@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 4AAED37B404 for ; Fri, 24 May 2002 07:07:31 -0700 (PDT) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g4OE7E261904; Fri, 24 May 2002 07:07:14 -0700 (PDT) (envelope-from rizzo) Date: Fri, 24 May 2002 07:07:14 -0700 From: Luigi Rizzo To: Craig Rodrigues Cc: freebsd-net@FreeBSD.ORG Subject: Re: Question about Dummynet and Diffserv Message-ID: <20020524070714.E61411@iguana.icir.org> References: <20020521234248.B13074@bbn.com> <20020522024323.A34030@iguana.icir.org> <20020522123100.A24632@bbn.com> <20020522173857.B8894@blossom.cjclark.org> <20020523125935.A32262@bbn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020523125935.A32262@bbn.com>; from crodrigu@bbn.com on Thu, May 23, 2002 at 12:59:35PM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, May 23, 2002 at 12:59:35PM -0400, Craig Rodrigues wrote: ... > Hi, > > I merged from -CURRENT to my -STABLE tree some changes made in October 2000 to > sys/netinet/ip_fw.{c,h} and sbin/ipfw/ipfw.c which add ipfw > filtering based on iptos. > > However, from reading the documentation, it seems that only the > older IP TOS precedence values are supported for filtering. i am not sure but i seem to remember seeing keywords for the newer codepoint values as well. In any case, they should not be hard to add. cheers luigi > Is it possible to use ipfw to filter based on any Diffserv codepoint value? > > This is from the man page: > > " iptos spec > Match if the IP header contains the comma separated list > of service types specified in spec. The supported IP > types of service are: > > lowdelay (IPTOS_LOWDELAY), throughput (IPTOS_THROUGHPUT), > reliability (IPTOS_RELIABILITY), mincost (IPTOS_MINCOST), > congestion (IPTOS_CE). The absence of a particular type > may be denoted with a `'!. > " > > Thanks. > -- > Craig Rodrigues Distributed Systems and Logistics, Office 6/304 > crodrigu@bbn.com BBN Technologies, a Verizon company > (617) 873-4725 Cambridge, MA > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message