From owner-freebsd-net Sun Oct 15 10:27: 0 2000 Delivered-To: freebsd-net@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id B0FBB37B503 for ; Sun, 15 Oct 2000 10:26:58 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e9FHQlp03338; Sun, 15 Oct 2000 10:26:47 -0700 (PDT) Date: Sun, 15 Oct 2000 10:26:47 -0700 From: Alfred Perlstein To: Tobias Fredriksson Cc: Bill Fumerola , freebsd-net@FreeBSD.ORG Subject: Re: Limiting network usage on an user-basis? Message-ID: <20001015102647.G272@fw.wintelcom.net> References: <20001014191144.I37870@jade.chc-chimes.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from c4@worldclass.jolt.nu on Sun, Oct 15, 2000 at 07:18:04PM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Tobias Fredriksson [001015 10:18] wrote: > > > On Sat, 14 Oct 2000, Bill Fumerola wrote: > > > On Sun, Oct 15, 2000 at 12:40:56AM +0200, Tobias Fredriksson wrote: > > > Is there any way to use ipfw or other freebsd tools to shape so that an > > > users processes cant exceed an specified total and is there any good > > > documentation that you can point me to about this? > > > > man ipfw, particularly the parts about 'uid/gid' and dummynet. > > > > -- > > Bill Fumerola - Network Architect, BOFH / Chimes, Inc. > > billf@chimesnet.com / billf@FreeBSD.org > > I think you missunderstood me... I need to set an maximum not on kbit/mbit > per second but rather an 500Meg / day limit and i cannot find anything > like that in the ipfw documentation... No, you didn't finish reading all the documentation... :) IPFW allows one to assign counters per-uid, by having a script poll the counters and check against your limits you can then perform triggers when someone exceeds thier daily quota. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message