From owner-freebsd-questions Fri Jan 3 15:32:23 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 63F8637B401 for ; Fri, 3 Jan 2003 15:32:21 -0800 (PST) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15AC143EC5 for ; Fri, 3 Jan 2003 15:32:21 -0800 (PST) (envelope-from freebsd@goepp.com) Received: from dpg (h002078d5d728.ne.client2.attbi.com[24.62.123.170]) by rwcrmhc53.attbi.com (rwcrmhc53) with SMTP id <2003010323322005300k7kske>; Fri, 3 Jan 2003 23:32:20 +0000 From: "Daniel Goepp" To: Subject: RE: incoming bandwidth limiting using ipfilter Date: Fri, 3 Jan 2003 18:32:11 -0500 Message-ID: <004b01c2b380$579e8eb0$6432a8c0@dpg> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal In-Reply-To: <20030103172340.A84630@spider.netmails.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 The question is, are they charging you for total bandwidth used, or some real time rate limit? When you use bandwidth shaping, you can reduce your rate, but that will just spread things out. So if they are charging you for total bytes moved, then you would have to do some math to figure out what that breaks down to in Mbps, and put a throttle in to that rate. I'm not sure what Mike means by packets already traversing the network. If you shape your bandwidth, it's not like all those packets just pile up at your server's front door, waiting to get in. The IP protocol will pause within itself to not exceed your defined bandwidth. -Daniel -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Hari Bhaskaran Sent: Friday, January 03, 2003 6:24 PM To: freebsd-questions@freebsd.org Subject: Re: incoming bandwidth limiting using ipfilter > Hari: > > I think you are going to find that rate-limiting at the box won't > provide any fiscal relief. The packets have already traversed your > ISP's interface where the accounting is taking place. > > Mike That's bad. But if the machine doesn't accept more than N packets/sec, why would the ISP router forward any more packets to it? I wouldn't know the internals, but isn't there any kind of flow control in the protocol? -- Hari Bhaskaran (Mike, although I have cc-ed the list I haven't included your email anywhere in the reply) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message