From owner-freebsd-questions@FreeBSD.ORG Wed May 30 12:57:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DEE816A468 for ; Wed, 30 May 2007 12:57:27 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id DA05813C4EF for ; Wed, 30 May 2007 12:57:26 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: by py-out-1112.google.com with SMTP id a29so3946852pyi for ; Wed, 30 May 2007 05:57:24 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=PLrZO4WnRJleDVuVXCiQrno73H0EL8Zfo/4K6Zi4wdZDIWKOg78i/ztdFKTS3R9A+9FxqVmbmb0jgMPBp1sGBh+AEpwsRJfFUIRZL2fn7Y7VZZKhfCdwg0O1f/3UibYBCoiR10rlysAGkcl4VH6IqiyDwTohoLwlqnkDS7Wlask= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=e3T/uLuhdqz3/cvGt99D72DHa+4klW9dtrYw+LfZgR/bMG93bOdD/q+uYPY+dQNsYj2IMwfsp/S5OaUtc5KldTEBsNYqvANMtcaambUuUFnoeg8I7NIpI/2L7xWDPrDB70Jky32gFLUR2X0fPUyptJDl8Dit6GYfsJ1nwVYcaBI= Received: by 10.65.137.5 with SMTP id p5mr5831055qbn.1180529844164; Wed, 30 May 2007 05:57:24 -0700 (PDT) Received: from ?192.168.123.111? ( [84.0.103.43]) by mx.google.com with ESMTP id e18sm14182058qba.2007.05.30.05.57.22; Wed, 30 May 2007 05:57:23 -0700 (PDT) Message-ID: <465D750A.1050605@gmail.com> Date: Wed, 30 May 2007 14:58:50 +0200 From: deeptech71@gmail.com User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <465849C8.7000300@gmail.com> <20070529150012.7ff9faff@gumby.homeunix.com.> In-Reply-To: <20070529150012.7ff9faff@gumby.homeunix.com.> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: cant get the damn bandwidth limiter working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2007 12:57:27 -0000 RW wrote: > On Sat, 26 May 2007 16:52:56 +0200 > deeptech71@gmail.com wrote: > >> pf and altq are enabled. My ISP allows 16kB/s upload and 128kB/s >> download. I want to use half of that. What should pf.conf contain, to >> limit my computer's upload and download speeds? I've tried: >> >> altq sk0 cbq bandwidth 1576Kb queue { lan, upload, download } >> queue lan bandwidth 1000Kb cbq(default) >> queue upload bandwidth 64Kb cbq >> queue download bandwidth 512Kb cbq >> block in all >> pass in quick on sk0 from 192.168.0.0/16 queue lan >> pass in all on sk0 queue download >> block out all >> pass out quick on sk0 to 192.168.0.0/16 queue lan >> pass out all on sk0 queue upload >> > > AFAIK ALTQ only queues outgoing traffic, and > > pass in quick on sk0 from 192.168.0.0/16 queue lan > > means: send the packet to the lan queue if it's routed out via the > interface to which "queue lan" is attached, i.e. back out via sk0 - > which isn't going to happen. That would explain. So is there any way to limit the speed at which i'm downloading? Come on I've seen a bunch of software like this for Windows on the net!