Search squid archive

Re: delay pool question: how about a timeout variable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Henrik Nordstrom wrote:
ons 2008-04-09 klockan 16:34 +1200 skrev Jason Haar:

Seems to work well - but there's no indication of how long an IP would end up "blacklisted" if it occurred.

Well, they would earn back 1k/s when idle, until their pool is full
again.

But you probably should is a somewhat bigger refill rate.. I think a
suitable setup for what you are doing is a rate which refills the pool
in 12-24 hours.


Actually - you're dead-right. I'm not really after quota-ing users - it's more about "convincing" them that mis-using our network isn't a good idea. We want to allow multi-media for valid business reasons - and a little personal - we just don't want them flat-lining our links downloading DVDs and listening to Internet radio/TV.


So base your rule on 150MB/day, and use the pool only as a tool to give
the user a credit if idle..

150MMB/day 1820/157286400

is exacly 150MB per day.

If the user is doing a constant download much larger than 150MB the
first 200MB or so will be quite fast and then he will be capped at
150MB/day in average until the download finishes.

Great. Sounds like a plan to me!

Thanks!

--
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux