From owner-freebsd-chat@FreeBSD.ORG Wed Mar 31 00:20:07 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2277C16A4CE for ; Wed, 31 Mar 2004 00:20:07 -0800 (PST) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C98F43D1D for ; Wed, 31 Mar 2004 00:20:06 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.9/8.12.8) with ESMTP id i2V8K1Q9043962; Wed, 31 Mar 2004 17:50:01 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-chat@freebsd.org Date: Wed, 31 Mar 2004 17:48:54 +0930 User-Agent: KMail/1.6 References: <20040330174123.48425.qmail@web13807.mail.yahoo.com> In-Reply-To: <20040330174123.48425.qmail@web13807.mail.yahoo.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403311748.54843.doconnor@gsoft.com.au> X-Spam-Score: -0.7 () CARRIAGE_RETURNS,IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: LittleSunshine Subject: Re: scp limit transfer per month X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 08:20:07 -0000 On Wed, 31 Mar 2004 03:11, LittleSunshine wrote: > Hi, > > I'm searching for a way to limit a user's scp download > to xy/z-bytes per month/week/whatever. I found > something about limiting the bandwidth in man ssh, > ssh_config and scp. > > A friend of mine said, that he doesn't know a way for > Linux but heard that there's an easy way in FreeBSD. > (But he doesn't know how.) Dummy net can limit bandwidth pretty easily. You define a pipe and then specify an ipfw rule that feeds packets through it. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5