From owner-freebsd-doc@FreeBSD.ORG Fri Feb 25 21:20:09 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 93C9016A4CF for ; Fri, 25 Feb 2005 21:20:09 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2655043D41 for ; Fri, 25 Feb 2005 21:20:09 +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 j1PLK9Bu030920 for ; Fri, 25 Feb 2005 21:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1PLK8wF030919; Fri, 25 Feb 2005 21:20:08 GMT (envelope-from gnats) Resent-Date: Fri, 25 Feb 2005 21:20:08 GMT Resent-Message-Id: <200502252120.j1PLK8wF030919@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Brad Davis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9B0116A4CE for ; Fri, 25 Feb 2005 21:17:40 +0000 (GMT) Received: from ender.liquidneon.com (ender.liquidneon.com [64.78.150.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 284A643D2D for ; Fri, 25 Feb 2005 21:17:40 +0000 (GMT) (envelope-from bdavis@house.so14k.com) Received: from localhost (localhost [127.0.0.1]) by ender.liquidneon.com (Postfix) with ESMTP id 781EF442B for ; Fri, 25 Feb 2005 14:17:39 -0700 (MST) Received: from ender.liquidneon.com ([127.0.0.1]) by localhost (ender.liquidneon.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60095-04 for ; Fri, 25 Feb 2005 14:17:39 -0700 (MST) Received: from mccaffrey.house.so14k.com (gw.house.so14k.com [216.87.87.128]) by ender.liquidneon.com (Postfix) with ESMTP id D9A8F41B2 for ; Fri, 25 Feb 2005 14:17:38 -0700 (MST) Received: by mccaffrey.house.so14k.com (Postfix, from userid 1001) id DDDAEB8FA; Fri, 25 Feb 2005 14:17:37 -0700 (MST) Message-Id: <20050225211737.DDDAEB8FA@mccaffrey.house.so14k.com> Date: Fri, 25 Feb 2005 14:17:37 -0700 (MST) From: Brad Davis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: 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: Fri, 25 Feb 2005 21:20:09 -0000 >Number: 78096 >Category: docs >Synopsis: Add info on setting up ATLQ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 25 21:20:08 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Brad Davis >Release: FreeBSD 5.4-PRERELEASE i386 >Organization: >Environment: System: FreeBSD mccaffrey.house.so14k.com 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Thu Feb 24 17:03:44 MST 2005 root@mccaffrey.house.so14k.com:/usr/obj/usr/src/sys/SMP i386 >Description: After working with mlaier@, simon@ and trhodes@, this is what we came up with. >How-To-Repeat: >Fix: --- 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 Fri Feb 25 14:05:54 2005 @@ -198,7 +198,7 @@ - The Packet Filter (PF) Firewall + The Packet Filter (PF) Firewall and ALTQ firewall @@ -211,9 +211,9 @@ 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 + that contains ALTQ (Alternate Queuing) 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. @@ -356,6 +356,61 @@ 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;. + + + + ALTQ Kernel options + + ALTQ is composed of many different parts to give the + functionality required. The avaliable options are: + + 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 connections'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. >Release-Note: >Audit-Trail: >Unformatted: