From owner-freebsd-ipfw Tue Aug 28 2:28:27 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from mip.co.za (puck.mip.co.za [209.212.106.44]) by hub.freebsd.org (Postfix) with ESMTP id 00A2637B407 for ; Tue, 28 Aug 2001 02:28:02 -0700 (PDT) (envelope-from patrick@mip.co.za) Received: from patrick (patrick.mip.co.za [10.3.13.181]) by mip.co.za (8.9.3/8.9.3) with SMTP id LAA18364 for ; Tue, 28 Aug 2001 11:27:30 +0200 (SAST) (envelope-from patrick@mip.co.za) From: "Patrick O'Reilly" To: "FreeBSD IPFW List" Subject: DUMMYNET Date: Tue, 28 Aug 2001 11:29:21 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all. I am using DUMMYNET for some bandwidth management - it's great. I'm now trying something new with it, and I'm not sure how it is behaving. I want to allow all users on the LAN to browse (ports 80,443) outside of working hours, but during working hours this should be stopped. Originally I added jobs in cron to add and remove the "ipfw add pipe x from $lanip to any 80,443" rule at certain times of day, and re-instate it at other times. It worked fine, but then I would lose the counter values from those ipfw rules. Now I have changed cron to simply change the pipe config on the fly :"ipfw pipe x config bw 32Kbit/s" to open it up, and :"ipfw pipe x config bw 1bit/s" to shut it down. This way my counter values continue to accumulate - GREAT! The problem is that the pipe seems to dislike the idea of running at 1 bit per second. Obviously this is rather extreme! Any suggestions on how I should best address this? Is there perhaps a practical limit to the minimum bandwidth which DUMMYNET is comfortable to work with? PS: you probably think I'm crazy fighting with such tiny numbers, but down in the South of Africa bandwidth is still a very expensive commodity! Regards, Patrick. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message