From owner-freebsd-doc@FreeBSD.ORG Sat Feb 26 12:10:19 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 25B4916A4CE for ; Sat, 26 Feb 2005 12:10:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E254F43D1D for ; Sat, 26 Feb 2005 12:10:18 +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 j1QCAIFs020476 for ; Sat, 26 Feb 2005 12:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1QCAILF020475; Sat, 26 Feb 2005 12:10:18 GMT (envelope-from gnats) Date: Sat, 26 Feb 2005 12:10:18 GMT Message-Id: <200502261210.j1QCAILF020475@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 12:10:19 -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, zanchey@ucc.gu.uwa.edu.au Cc: Subject: Re: docs/78096: Add info on setting up ATLQ Date: Sat, 26 Feb 2005 05:01:06 -0700 Ok... How about this... --- 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 04:13:55 2005 @@ -198,7 +198,7 @@ - The Packet Filter (PF) Firewall + The Packet Filter (PF) Firewall and ALTQ firewall @@ -211,12 +211,12 @@ 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 contains 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 users' 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 +356,55 @@ enable the following option as well: gateway_enable="YES" # Enable as Lan gateway + + + + Enabling ALTQ + + ALTQ is only avaliable by compiling the + options into the &os; Kernel. ALTQ is not + supported by all of the avaliable 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 +options ALTQ_RED # Random Early Detection +options ALTQ_RIO # RED In/Out +options ALTQ_HFSC # Hierarchical Packet Scheduler +options ALTQ_PRIQ # Priority Queuing +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. + + 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 Hierarchical + Fair Service Curve Packet Scheduler. See + for more info. + + 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.