From owner-freebsd-ipfw@FreeBSD.ORG Tue Dec 6 20:10:51 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 557AA1065673 for ; Tue, 6 Dec 2011 20:10:51 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id AD4078FC21 for ; Tue, 6 Dec 2011 20:10:50 +0000 (UTC) Received: by bkat2 with SMTP id t2so10958542bka.13 for ; Tue, 06 Dec 2011 12:10:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oZ67kMjp/Tn6hONHKQC5gPslz8w99quT8st/lzpYpLk=; b=yBa44/jIuhzZnQTekDaqlDenLYDnNIzg7kU94h+TUfXtH2K7AyyVvlq4mk06a4N5/J Bla5qKK/eW7OpxSCULDJJx3AyOWx0fMAN+NQDQNaa6ZIC1i1A/P0jESA96UzpqJdBWUM VXGQf375yDexhB4AnqtWuK6RbCbLzKk6oFWd8= MIME-Version: 1.0 Received: by 10.180.105.232 with SMTP id gp8mr19347765wib.65.1323202249273; Tue, 06 Dec 2011 12:10:49 -0800 (PST) Received: by 10.216.168.195 with HTTP; Tue, 6 Dec 2011 12:10:49 -0800 (PST) In-Reply-To: <4EDE2739.1040104@FreeBSD.org> References: <4EDE2739.1040104@FreeBSD.org> Date: Tue, 6 Dec 2011 12:10:49 -0800 Message-ID: From: alan yang To: Sergey Matveychuk Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ipfw@freebsd.org 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: Tue, 06 Dec 2011 20:10:51 -0000 Hi Sergey, I found from FreeBSD forum dated Aug. 2009 with the following: vlad2005 ... 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 that i wonder if a patch exists and maybe in 8.2 release already. For ipfw the support of ALTQ, wonder is it more like pf now other than pfctl is needed to setup the queue? Thanks again! Alan