Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2001 11:29:21 +0200
From:      "Patrick O'Reilly" <patrick@mip.co.za>
To:        "FreeBSD IPFW List" <freebsd-ipfw@freebsd.org>
Subject:   DUMMYNET
Message-ID:  <NDBBIMKICMDGDMNOOCAIMEAJDGAA.patrick@mip.co.za>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBIMKICMDGDMNOOCAIMEAJDGAA.patrick>