Search squid archive

Re: help: squid logic

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

 





On Sat, 12 Nov 2005, Hendro Susanto wrote:

hi,

I've been using squid for almost 5 years now.
it's working very well.

however, i can't solve the squid configuration for:

STAFF A
STAFF B

STAFF A = NO INTERNET 8.30-15.30, OTHER TIME 64Kbps
STAFF B = NO INTERNET 8.30-15.30 BUT SOME SITES ARE ACCESSIBLE WITH
128Kbps, OTHER TIME 64Kbps WITH ALL SITES IS ACCESSIBLE.



Something like the following should work:


acl staff_A ...
acl staff_B ...
acl office_time time 08:30-15:30
acl allowed_sites dstdomain "/path/to/allowed_sites.txt"

delay pool 1 configured for 64Kbps
delay pool 2 configured for 128Kbps


# Restricted access during office hours
http_access allow staff_B allowed_sites
http_access deny office_time

# Unresticted access at other hours
http_access allow staff_A
http_access allow staff_B


# only 64 Kbps allowed outside office hours
delay_access 1 allow !office_hours

# within office hours 128Kbps
delay_access 2 allow office_hours

Regards
Henrik

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

  Powered by Linux