From owner-freebsd-pf@FreeBSD.ORG Thu Sep 16 04:08:25 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 674) id 1AA6316A4CF; Thu, 16 Sep 2004 04:08:25 +0000 (GMT) Delivered-To: mlaier@vampire.homelinux.org Received: (qmail 23269 invoked by alias); 26 Jun 2004 03:18:36 -0000 Delivered-To: unirz@vampire.homelinux.org Received: (qmail 23266 invoked from network); 26 Jun 2004 03:18:36 -0000 Received: from mailstud.rz.uni-karlsruhe.de (129.13.185.210) by p5480867e.dip.t-dialin.net with SMTP; 26 Jun 2004 03:18:36 -0000 Received: from spamstud.rz.uni-karlsruhe.de (spamstud.rz.uni-karlsruhe.de [129.13.185.237]) by mailstud.rz.uni-karlsruhe.de with esmtp (Exim 4.30 #1) id 1Be3ic-00007H-43 for max.laier@stud.uni-karlsruhe.de; Sat, 26 Jun 2004 05:19:06 +0200 Received: from localhost (exim@[127.0.0.1]) by spamstud.rz.uni-karlsruhe.de with spam-scanned (Exim 4.30 #1) id 1Be3ib-00061d-T3 for max.laier@stud.uni-karlsruhe.de; Sat, 26 Jun 2004 05:19:06 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by spamstud.rz.uni-karlsruhe.de with esmtp (Exim 4.30 #1) id 1Be3ib-00061U-Qr for max.laier@stud.uni-karlsruhe.de; Sat, 26 Jun 2004 05:19:05 +0200 Received: from [212.227.126.139] (helo=mxng12.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Be3ib-0000TJ-00 for max.laier@stud.uni-karlsruhe.de; Sat, 26 Jun 2004 05:19:05 +0200 Received: from [206.53.239.180] (helo=turing.freelists.org) by mxng12.kundenserver.de with esmtp (Exim 3.35 #1) id 1Be3ib-0002aO-00 for max@love2party.net; Sat, 26 Jun 2004 05:19:05 +0200 Received: from localhost (localhost [127.0.0.1])ESMTP id 1B1DC72C0C3; Fri, 25 Jun 2004 21:57:06 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22049-13; Fri, 25 Jun 2004 21:57:05 -0500 (EST) Received: from turing (localhost [127.0.0.1])ESMTP id 57BA772C213; Fri, 25 Jun 2004 21:57:05 -0500 (EST) Received: with ECARTIS (v1.0.0; list pf4freebsd); Fri, 25 Jun 2004 21:56:48 -0500 (EST) X-Original-To: pf4freebsd@freelists.org Delivered-To: pf4freebsd@freelists.org Received: from localhost (localhost [127.0.0.1])ESMTP id DB47772C0C3 for ; Fri, 25 Jun 2004 21:56:47 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22049-10 for ; Fri, 25 Jun 2004 21:56:47 -0500 (EST) Received: from gecea.ist.utl.pt (gecea.ist.utl.pt [193.136.140.145]) ESMTP id 73A5672C15B for ; Fri, 25 Jun 2004 21:56:47 -0500 (EST) Received: from [10.10.59.250] (unknown [81.84.198.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gecea.ist.utl.pt (Postfix) with ESMTP id 6A0CB408E for ; Sat, 26 Jun 2004 04:18:49 +0100 (WEST) Message-ID: <40DCEB14.3010607@dequim.ist.utl.pt> From: Bruno Afonso User-Agent: Mozilla Thunderbird 0.7 (X11/20040619) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pf4freebsd@freelists.org References: <9A34E54D8FC8414D8DEDCA3FA8CA56D696B2F9@wilt.specialtystoreservices.com> In-Reply-To: <9A34E54D8FC8414D8DEDCA3FA8CA56D696B2F9@wilt.specialtystoreservices.com> X-Enigmail-Version: 0.84.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at freelists.org X-archive-position: 360 X-ecartis-version: Ecartis v1.0.0 Sender: pf4freebsd-bounce@freelists.org Errors-To: pf4freebsd-bounce@freelists.org X-original-sender: brunomiguel@dequim.ist.utl.pt Precedence: normal X-list: pf4freebsd X-Virus-Scanned: by amavisd-new at freelists.org X-Provags-Forward: max@love2party.net -> max.laier@stud.uni-karlsruhe.de X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mail6.rz.uni-karlsruhe.de X-Spam-Status: No, hits=-0.6 required=7.0 tests=BAYES_01 autolearn=no version=2.61 X-Spam-Level: X-Scan-Signature: 5d7b060d07379b0331c91afff57c5254 X-UID: 475 X-Length: 5963 X-Mailman-Approved-At: Thu, 16 Sep 2004 04:12:49 +0000 Subject: [pf4freebsd] Re: Implementing altq X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Reply-To: pf4freebsd@freelists.org List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 16 Sep 2004 04:08:25 -0000 X-Original-Date: Sat, 26 Jun 2004 04:18:44 +0100 X-List-Received-Date: Thu, 16 Sep 2004 04:08:25 -0000 Brent Bolin wrote: > Current kernel config only contains this - > > options PFIL_HOOKS # pfil(9) framework > options RANDOM_IP_ID > > It is loaded as a module. > > Do I need to add these to the kernel config for altq - > > http://people.freebsd.org/~mlaier > > An ALTQ kernel must include the following additional options: > options ALTQ > options ALTQ_CBQ # Class Bases Queueing > options ALTQ_RED # Random Early Drop > options ALTQ_RIO # RED In/Out > options ALTQ_HFSC # Hierarchical Packet Scheduler > options ALTQ_CDNR # Traffic conditioner > options ALTQ_PRIQ # Prioirity Queueing > options ALTQ_NOPCC # Required for SMP build > > Or can altq be loaded as a module also ? I don't think so, at least, not at the present time. > This same page also has a number of patches for different NIC's. Do they > need to be patched if cvsup is Current ? > > Interface cards are xl and rl > > How do I install patches ? You need to patch them yes. Example for fxp: 1) Find the correct dir for the driver. Ex: cd /usr/src/sys/dev/fxp/ 2) fetch the patch 3) apply the patch: patch -p0 < if_fxp.c.patch 4) recompile kernel and reboot. If you're using modules, you only need to recompile the module I guess. Hope it all works out ok. :-) -- Bruno Miguel Afonso Biological Eng. student D.E.Q. @ I.S.T. - Portugal GnuPG Public key: http://dequim.ist.utl.pt/~bruno/gpg