From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 19:50:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C44016A4CE for ; Sat, 10 Jul 2004 19:50:23 +0000 (GMT) Received: from blair.epifora.com (blair.epifora.com [207.139.168.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id C82B243D39 for ; Sat, 10 Jul 2004 19:50:22 +0000 (GMT) (envelope-from drvince@anonymnet.net) Received: from localhost (localhost.epifora.com [127.0.0.1]) by blair.epifora.com (Postfix) with ESMTP id 3280A165967 for ; Sat, 10 Jul 2004 15:50:46 -0400 (EDT) Received: from mail.anonymnet.net ([205.205.52.19]) by localhost (blair.epifora.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20618-10 for ; Sat, 10 Jul 2004 15:50:44 -0400 (EDT) Received: from mail.anonymnet.net (mail.anonymnet.net [205.205.52.19]) by mail.anonymnet.net (Postfix) with ESMTP id 5BBF316595D for ; Sat, 10 Jul 2004 15:50:44 -0400 (EDT) From: "DrVince" To: freebsd-questions@freebsd.org Date: Sat, 10 Jul 2004 14:50:44 -0500 Message-Id: <20040710193112.M96076@anonymnet.net> In-Reply-To: <200407101220.45842.ecrist@secure-computing.net> References: <200407101220.45842.ecrist@secure-computing.net> X-Mailer: Open WebMail 2.30 20040131 X-OriginatingIP: 205.205.52.19 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: PF and ADSL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2004 19:50:23 -0000 Hi everyone I'm running an Alcatel Speedtouch 510v4 which deals with PPPoE on it's own and gives DHCP for the internal network... what a charm. My link is 3008kb download and 800kb upload. I installed Packet Filter in my box mainly to give a performance boost by putting a big priority on ACKs. Based on Shamim Mohamed's pf.conf for ADSL, http://www.drones.com/obsd-fw.html I have this: altq on $external priq bandwidth 790kb queue { highpri_q, default_q } queue highpri_q priority 7 queue default_q priority 1 priq(default) pass in quick on $external inet proto tcp from any to any port $services \ flags S/SA keep state queue (default_q, highpri_q) pass out quick on $external inet proto tcp from any to any \ flags S/SA keep state queue (default_q, highpri_q) pass out quick on $external inet proto udp all keep state pass out quick on $external inet proto icmp from any to any keep state I'm wondering, is the bandwidth for upload or download? If it's set, as-is, for upload (790kb) wouldn't that also limit the download as so? If it's set for download (3000kb) wouldn't that be useless for prioritisation of the upload? Vincent Rodrigue