From owner-freebsd-questions Mon Mar 17 0:23:20 2003 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 609CA37B401 for ; Mon, 17 Mar 2003 00:23:19 -0800 (PST) Received: from relay1.ntu-kpi.kiev.ua (oberon.ntu-kpi.kiev.ua [195.245.194.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F73643F85 for ; Mon, 17 Mar 2003 00:23:15 -0800 (PST) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: by relay1.ntu-kpi.kiev.ua (Postfix, from userid 426) id 5FF5A19BB7; Mon, 17 Mar 2003 10:23:12 +0200 (EET) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id CA1B719A78; Mon, 17 Mar 2003 10:23:10 +0200 (EET) Received: from pm514-9.comsys.ntu-kpi.kiev.ua (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with ESMTP id h2H8Rmc79533; Mon, 17 Mar 2003 10:27:48 +0200 (EET) Received: from pm514-9.comsys.ntu-kpi.kiev.ua (localhost [127.0.0.1]) by pm514-9.comsys.ntu-kpi.kiev.ua (8.12.6/8.12.6) with ESMTP id h2H8MD6E000274; Mon, 17 Mar 2003 10:22:13 +0200 (EET) (envelope-from simon@pm514-9.comsys.ntu-kpi.kiev.ua) Received: (from simon@localhost) by pm514-9.comsys.ntu-kpi.kiev.ua (8.12.6/8.12.6/Submit) id h2H8M8mm000273; Mon, 17 Mar 2003 10:22:08 +0200 (EET) Date: Mon, 17 Mar 2003 10:22:08 +0200 (EET) Message-Id: <200303170822.h2H8M8mm000273@pm514-9.comsys.ntu-kpi.kiev.ua> From: Andrey Simonenko To: "Tino Didriksen" Cc: questions@freebsd.org Subject: Re: Intelligent Bandwidth Limiter? In-Reply-To: <037801c2ebeb$38b7d990$0401a8c0@duronica.lucky.freebsd.questions> X-Newsgroups: lucky.freebsd.questions User-Agent: tin/1.5.12-20020427 ("Sugar") (UNIX) (FreeBSD/4.7-STABLE (i386)) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 16 Mar 2003 18:38:59 +0000 (UTC) in lucky.freebsd.questions, Tino Didriksen wrote: > (trying this again, since it didn't appear last time I sent it...) > > I have a dedicated server with 500GB monthly transfer limit, and I > don't want to cross that limit. So, I want to impose an artificial > maximum bandwidth, yet not until a certain threshold has been reached. > > Example: > I have 500GB total max monthly transfer. > I want a 400GB threshold before the limiter kicks in, which will impose > a byte/second limit for the remaining 100GB, so that it never goes over > 500GB for the month. But, from when the limiter has started till the end > of the month, it should recalculate remaining GB every half hour and > adjust the byte/second limit accordingly, since peak/idle hours are so > varied. > I think that port sysutils/ipa (1.3.1 latest version) will help you, check limit section in ipa, also check two examples in /usr/local/share/examples/ipa. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message