From owner-freebsd-questions@FreeBSD.ORG Sun Oct 7 14:07:24 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99DDB16A421 for ; Sun, 7 Oct 2007 14:07:24 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7146713C49D for ; Sun, 7 Oct 2007 14:07:24 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 83A951CDFC for ; Sun, 7 Oct 2007 06:07:23 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 7 Oct 2007 16:07:22 +0200 User-Agent: KMail/1.9.7 References: <001101c8079b$f0be7c80$dc96eed5@ihlasnetym> <499c70c0710051538u127542b6hfbd8a08ed95dc3d1@mail.gmail.com> <1c6701c808e3$28402530$dc96eed5@ihlasnetym> In-Reply-To: <1c6701c808e3$28402530$dc96eed5@ihlasnetym> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710071607.22529.fbsd.questions@rachie.is-a-geek.net> Subject: Re: I am looking for a bandwidth limiter tool as to time andkilobytes. 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: Sun, 07 Oct 2007 14:07:24 -0000 On Sunday 07 October 2007 15:08:30 Halid Faith wrote: > I had a look at the pf but I could not find what I looked for. > > For instance, I have a ip block for my customer. I want to limit it by 1 > Gbyte traffic for a week. That's not bandwidth, which is a why a firewall doesn't support it. Bandwidth is how /fast/ you can travel, traffic is how /far/ you can travel. > I also want to monitor that. > How can I do with pf or another tool ? If you assign each customer a pf queue, you can use the output of `pfctl -vsq' as your base for monitoring. I don't know of any ready-made packages, maybe someone else or over on isp@ they know. -- Mel