From owner-freebsd-questions@FreeBSD.ORG Wed Aug 20 07:36:13 2008 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 93781106566C for ; Wed, 20 Aug 2008 07:36:13 +0000 (UTC) (envelope-from eridan911@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 214748FC14 for ; Wed, 20 Aug 2008 07:36:12 +0000 (UTC) (envelope-from eridan911@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so249215mue.3 for ; Wed, 20 Aug 2008 00:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=naFPrnTBy1DWm99T9GYQIj07XX4cLETktL+VA+5r8oU=; b=og0vHPuApHg8AQ24KtuOBP2fn14p9f48U/7h/L2qxaChD/CkOHO/hOhl+8faoW5F1L +8V2NZrTA9YGurA7TDfr17/3laXXwtwVM4nxus+ERHdbCKrq+cxKf+S1Bh1t6FZsbuMR kBnmZWwvUFZ8sPvMBtwAEDYYniQHro2Ollfrc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=vJ2luNPl2uvVIFvoU6mfOrprDKCVmGfCJQvcBcxMM13WRdVXt8Wvc0mSqPJH0jwvOJ YTUNJR/OKRI3TyqDNsvMLy5/5jss1QZdDfeJE47Be8FxpxvgZ9HB0v4msXAz4ivtuxU8 OeSEr9mhqWYYLdNwb2uk8lpJvcw4OlxDQh3AM= Received: by 10.103.244.19 with SMTP id w19mr5446941mur.68.1219216089867; Wed, 20 Aug 2008 00:08:09 -0700 (PDT) Received: by 10.103.252.13 with HTTP; Wed, 20 Aug 2008 00:08:09 -0700 (PDT) Message-ID: Date: Wed, 20 Aug 2008 09:08:09 +0200 From: "Erik Danielsson" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Limiting bandwidth 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: Wed, 20 Aug 2008 07:36:13 -0000 Hello, Basically I want to limit the bandwidth for a every IP address not within a given IP range. To complicate things a bit more, I only want to limit the bandwidth once a certain amount of data, let's say 10 GiB, has been sent/received from an IP address outsite the IP range. I want the traffic counter to be reset at a specific time of my choice, for example at midnight, which means that after midnight, the traffic won't be limited (until 10 GiB has been transferred once again). I hope I made myself clear. Any ideas on how to do this? Erik Danielsson