From owner-freebsd-pf@FreeBSD.ORG Sun Apr 11 04:32:55 2010 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0887106564A for ; Sun, 11 Apr 2010 04:32:55 +0000 (UTC) (envelope-from zeddersuk@yahoo.co.uk) Received: from web29018.mail.ird.yahoo.com (web29018.mail.ird.yahoo.com [212.82.110.165]) by mx1.freebsd.org (Postfix) with SMTP id 2810B8FC08 for ; Sun, 11 Apr 2010 04:32:54 +0000 (UTC) Received: (qmail 30807 invoked by uid 60001); 11 Apr 2010 04:06:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1270958773; bh=h8h6f/XyA67mnsa4E6u2rUCaDGge/lEDcyyrjyMVrqI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:To:MIME-Version:Content-Type; b=5CdmOy0ijUtqP7dyYTAwBqUmUcirk6KLgRHmYOnXde1Fvr7e7FaSoMtC/nrYpQc7M576Dgjjd3VdRv6449VW0RDJqlYdBud9L6l/t5y+tG1neTOFHri4PMROL8uOP+HFXVw3cNDAd+mRxyXh/O0uOJyeArVNkHDeELCGs6RN9k8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:To:MIME-Version:Content-Type; b=uU05e0yqFIOKidv0UD6PQwUNbBwr5GkmdyReN1Y3B421Wi7JFT/De+V5GyHRmfqHkDWMZjx7C6TO4YAFPQwZe6APQtIjLUM30DZ+lRYJdmeimiAbUopyHgSxZhP8pUieJ8EzDEfipEQ1rHU5AWflXhOvdlzMLpvloPea6IGXa/w=; Message-ID: <751667.28807.qm@web29018.mail.ird.yahoo.com> X-YMail-OSG: vkVr6P8VM1kVfqZlztKMA48ReNKKQC6Iu0MP5bQ6ZZ6hRgv h7BvnLRNbONsnYivTCAo3r7tl_6QiEDxQaUmYHFbVpr5uBMqv9hl4fJXAbuq 0VLuNZOGgDgD666kpq8A_avNssjm6fFxlwU0kKmFvT15rcizgjhYzp6tD8QO SSffAJw_gHhZBmV3FywOP_d2nCnVoHk6MLX7d37VH2usbQpeXmD_xu_Shjvl KMpCY3u6_LoYoDMZmod2INMF9dWMmd5KmMLDs6PwzKnVCOfubt73nrjFRNAW _mfvr33GyOEddpXCIwipagmE_8w-- Received: from [82.15.247.40] by web29018.mail.ird.yahoo.com via HTTP; Sun, 11 Apr 2010 04:06:13 GMT X-Mailer: YahooMailClassic/10.0.8 YahooMailWebService/0.8.100.260964 Date: Sun, 11 Apr 2010 04:06:13 +0000 (GMT) From: Z Wing To: freebsd-pf@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 11 Apr 2010 05:01:00 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: (no subject) X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2010 04:32:55 -0000 Hiya all, Could someone clarify for me the purpose of the =0Abandwidth parameter when= used with hfsc? Please consider my queue (512Kb=0A max upload through the = ADSL line): =A0altq on em1 bandwidth 500Kb =0Ahfsc queue { ack, dns, ssh, other } =A0 queue ack=A0=A0=A0=A0=A0=A0=A0 bandwidth 95% =0Apriority 8 qlimit 500 h= fsc (realtime=A0=A0 20%) =A0 queue dns=A0=A0=A0=A0=A0=A0=A0 =0Abandwidth 95% priority 7 qlimit 500 h= fsc (realtime=A0=A0=A0 5%) =A0 queue =0Assh=A0=A0=A0=A0=A0=A0=A0 bandwidth 95% priority 6 qlimit 500 h= fsc (realtime=A0=A0 20%) =0A{ssh_login, ssh_bulk} =A0=A0 queue ssh_login bandwidth 95% priority 6 =0Aqlimit 500 hfsc =A0=A0 queue ssh_bulk=A0 bandwidth 95% priority 5 qlimit =0A500 hfsc =A0 queue other=A0=A0=A0=A0=A0 bandwidth 95% priority 5 qlimit 500 hfsc =0A= (realtime=A0=A0 20% default) My understanding was that "bandwidth =0Axx%" tells pf that the queue can on= ly use xx% of the total parent queue =0Abandwidth and the various guides on= the Internet say that it cannot go =0Aabove 100% which sort of makes sense= . However what I want, for example, =0Ais the 'other' queue to get all the = upload bandwidth as long as there is=0A no acks or ssh traffic in the queue= . If I set bandwidth 20% for other, =0Awon't that mean that no matter what,= the 'other' queue will only get a =0Amaximum of 20% of the bandwidth (even= if there is no ssh traffic =0Awaiting?) I think I haven't quite understood this properly but =0Aperhaps someone cou= ld clarify it. I found a lot out from calomel.org's =0Aexcellent page but t= hat's the only bit that confused me. Thanks