From owner-freebsd-doc@FreeBSD.ORG Sat Feb 26 19:50:21 2005 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27F4516A4CE for ; Sat, 26 Feb 2005 19:50:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7EE843D58 for ; Sat, 26 Feb 2005 19:50:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1QJoKIT074742 for ; Sat, 26 Feb 2005 19:50:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1QJoKTp074741; Sat, 26 Feb 2005 19:50:20 GMT (envelope-from gnats) Date: Sat, 26 Feb 2005 19:50:20 GMT Message-Id: <200502261950.j1QJoKTp074741@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Brad Davis Subject: Re: docs/78096: Add info on setting up ATLQ X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Brad Davis List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2005 19:50:21 -0000 The following reply was made to PR docs/78096; it has been noted by GNATS. From: Brad Davis To: Tom Rhodes , FreeBSD-gnats-submit@FreeBSD.org, freebsd-doc@FreeBSD.org Cc: Subject: Re: docs/78096: Add info on setting up ATLQ Date: Sat, 26 Feb 2005 12:47:15 -0700 More changes prodded by simon@... -Brad --- doc-ori/en_US.ISO8859-1/books/handbook/firewalls/chapter.sgml Fri Feb 25 13:31:41 2005 +++ doc/en_US.ISO8859-1/books/handbook/firewalls/chapter.sgml Sat Feb 26 12:42:54 2005 @@ -198,7 +198,7 @@ - The Packet Filter (PF) Firewall + The OpenBSD Packet Filter (PF) and ALTQ firewall @@ -211,12 +211,13 @@ contained PF as an integrated part of the base system was &os; 5.3 in November 2004. PF is a complete, fully featured firewall - that contains ALTQ for bandwidth usage - management in a way similar to what DUMMYNET provides in - IPFW. The OpenBSD project does an - outstanding job of maintaining the PF users' guide that it will - not be made part of this handbook firewall section as that would - just be duplicated effort. + that has optional support for ALTQ (Alternate + Queuing). ALTQ provides Quality of Service + (QoS) bandwidth shaping that allows + guaranteeing bandwidth to different services based on filtering + rules. The OpenBSD Project does an outstanding job of maintaining + the PF User's Guide that it will not be made part of this handbook + firewall section as that would just be duplicated effort. The availability of PF for the various &os; releases and versions is summarized below: @@ -356,6 +357,57 @@ enable the following option as well: gateway_enable="YES" # Enable as Lan gateway + + + + Enabling ALTQ + + ALTQ is only available by compiling the + options into the &os; Kernel. ALTQ is not + supported by all of the available network card drivers. Please + see the &man.altq.4; manual page for a list of drivers that are + supported in your release of &os;. The following options will + enable ALTQ and add additional functionality. + + + options ALTQ +options ALTQ_CBQ # Class Bases Queuing (CBQ) +options ALTQ_RED # Random Early Detection (RED) +options ALTQ_RIO # RED In/Out +options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) +options ALTQ_PRIQ # Priority Queuing (PRIQ) +options ALTQ_NOPCC # Required for SMP build + + options ALTQ enables the ALTQ framework. + + options ALTQ_CBQ enables Class Based + Queuing (CBQ). CBQ allows you to divide a connection's + bandwidth into different classes or queues to prioritize + traffic based on filter rules. + + options ALTQ_RED enables Random Early + Detection (RED). RED is + used to avoid network congestion. RED does + this by measuring the length of the queue and comparing it to + the minimum and maximum thresholds for the queue. If the queue + is over the maximum all new packets will be dropped. True to + its name, RED drops packets from different connections randomly. + + options ALTQ_RIO enables Random Early + Detection In and Out. + + options ALTQ_HFSC enables the + Hierarchical Fair Service Curve Packet Scheduler. For more + information about HFSC see: . + + + options ALTQ_PRIQ enables Priority + Queuing (PRIQ). PRIQ will always pass traffic that is in a + higher queue first. + + options ALTQ_NOPCC enables SMP support + for ALTQ. This option is required on SMP systems.