Re: I am looking for a bandwidth limiter tool as to time and kilobytes.

2007-10-07 Thread Svein Halvor Halvorsen
Halid Faith wrote:
 Hello
 
 I use dummynet to limit bandwidth on freebsd6.2.  
 
 But I don't know how I limit an ip blocks as to time ( for instance like 1 
 Gbyte in 1 month ).   
 
 I am looking for a tool which provides to limit bytes according to time.  
 
 is there any free tool for this case?
 
 Thanks already


I used to live at a campus dorm where you would get 10 Gbit outbound
traffic per 24h. If you used more than that, they would cut your
access for 48h for the first violation, then for a week on the next
violation. You would get no warning.

Although this often was more than enough, I guarded myself, by
monitoring my network usage. After 8 Gbit outbound traffic, I would
throttle my bandwidth to say 1 Mbps, and when hitting 9 GBit, to say
100 kbps, and so on.

(Actually this was more granulated, with some traffic cut off
earlier than some higher prioritized traffic)

I used some ipfw counters, and a cron job to parse the output of
ipfw show. Then I would enable some dummynet rules accordingly.

This was some years ago under 4.8, I think.
Now, I think pf has better support for this kinds of setup.


Svein Halvor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I am looking for a bandwidth limiter tool as to time and kilobytes.

2007-10-07 Thread Wojciech Puchar



I used to live at a campus dorm where you would get 10 Gbit outbound
traffic per 24h. If you used more than that, they would cut your

just 2 CD's. not that much
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I am looking for a bandwidth limiter tool as to time and kilobytes.

2007-10-07 Thread Svein Halvor Halvorsen
Wojciech Puchar wrote:

 I used to live at a campus dorm where you would get 10 Gbit outbound
 traffic per 24h. If you used more than that, they would cut your
 just 2 CD's. not that much

My bad: this was gigabytes. Also, it was just the outbound traffic
that was limited, not the download. (They tried to limit the use of p2p)

Svein Halvor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I am looking for a bandwidth limiter tool as to time and kilobytes.

2007-10-05 Thread Halid Faith
Hello

I use dummynet to limit bandwidth on freebsd6.2.  

But I don't know how I limit an ip blocks as to time ( for instance like 1 
Gbyte in 1 month ).   

I am looking for a tool which provides to limit bytes according to time.  

is there any free tool for this case?

Thanks already


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I am looking for a bandwidth limiter tool as to time and kilobytes.

2007-10-05 Thread Abdullah Ibn Hamad Al-Marri
On 10/6/07, Halid Faith [EMAIL PROTECTED] wrote:
 Hello

 I use dummynet to limit bandwidth on freebsd6.2.

 But I don't know how I limit an ip blocks as to time ( for instance like 1 
 Gbyte in 1 month ).

 I am looking for a tool which provides to limit bytes according to time.

 is there any free tool for this case?

 Thanks already

Hell Halid,

Have you looked into pf and altq options?


-- 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]