Re: limiting bandwidth at certain times during the day

2008-11-23 Thread Ronnel P. Maglasang
Current implementation of ALTQ and also PF is not dynamic. You apply changes (e.g. new Queue parameters), you basically have to flush all the queues and reload. That means, "pfctl -Fall" followed by "pfctl -f new-pf.conf" You can achieve this by creating a script that will called from cron. Be

limiting bandwidth at certain times during the day

2008-10-03 Thread Reinhold
Hi I was asked to limit the amount of bandwidth being used by our openvpn connections during our office hours and then allow full access after hours. In my current set up I'm using pf that does load balancing over 2 adsl lines on a FreeBSD 7-STABLE system, I'm using mpd5 for dialing in and establ

Re: Limiting bandwidth

2008-08-21 Thread Jon Simola
On Wed, Aug 20, 2008 at 10:07 PM, Erik Danielsson <[EMAIL PROTECTED]> wrote: > One question remains though. To count the total traffic from a certain IP > range, should a separate PF rule with a label be used? If so, how can I > reset only the labels statistics whenever I want to? PF already main

Re: Limiting bandwidth

2008-08-20 Thread Jeremy Chadwick
On Thu, Aug 21, 2008 at 07:07:57AM +0200, Erik Danielsson wrote: > Thanks guys. > > One question remains though. To count the total traffic from a certain IP > range, should a separate PF rule with a label be used? If so, how can I > reset only the labels statistics whenever I want to? The manpag

Re: Limiting bandwidth

2008-08-20 Thread Erik Danielsson
anielsson wrote: > >> Hello, >> >> I'm using PF together with ALTQ, but my need of limiting bandwidth has >> changed. I need to be able to limit the bandwidth from/to a certain IP >> range, but only once a specific amount of data has been transferred >

Re: Limiting bandwidth

2008-08-20 Thread Oleksandr Samoylyk
Erik Danielsson wrote: Hello, I'm using PF together with ALTQ, but my need of limiting bandwidth has changed. I need to be able to limit the bandwidth from/to a certain IP range, but only once a specific amount of data has been transferred from/to that IP range. At midnight I want the co

Re: Limiting bandwidth

2008-08-20 Thread Jille
Erik Danielsson wrote: Hello, I'm using PF together with ALTQ, but my need of limiting bandwidth has changed. I need to be able to limit the bandwidth from/to a certain IP range, but only once a specific amount of data has been transferred from/to that IP range. At midnight I want the co

Limiting bandwidth

2008-08-20 Thread Erik Danielsson
Hello, I'm using PF together with ALTQ, but my need of limiting bandwidth has changed. I need to be able to limit the bandwidth from/to a certain IP range, but only once a specific amount of data has been transferred from/to that IP range. At midnight I want the counter to be reset