[squid-users] Re: Multiple ACL time restrictions

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 21 May 2001 06:42:04 +0200

Problem is most likely your src ACL's. As you have specified a netmask
these matches whole networks, not individual stations.

Remove the netmasks and it should work fine.

And please user the squid-users mailinglist for configuration questions.

--
Henrik Nordstrom
Squid Hacker
carel michael wrote:
> 
> Hi to everyone,
>  I need help in my Squid ACLs time restriction, I want
> to have a multiple time restrictions in my squid
> server, I've follwed all the guides and howto's
> specially the visolve squid manualls regarding
> multiple ACL time restrictions but  it doesnt work if
> there is alot of  multiple time restriction in the
> ACL's. I have here my configured ACL pls correct me if
> im wrong, im using Squid2.3S1 in a RedHat6.1 Server.
> # ACCESS CONTROLS with multiple time restrictions:
> acl Jo_Calicdan src 192.168.1.7/255.255.255.0
> acl Jon_Teodoro src 192.168.1.8/255.255.255.0
> acl James_Gapuz src 192.168.1.10/255.255.255.0
> acl Gene_Bautista src 192.168.1.12/255.255.255.0
> acl APT src 192.168.1.13/255.255.255.0
> acl Jhun_Vidar src 192.168.1.27/255.255.255.0
> acl Louie_Merana src 192.168.1.40/255.255.255.0
> acl Imee_Canar src 192.168.1.44/255.255.255.0
> acl Romy_Sabocco src 192.168.1.47/255.255.255.0
> acl Jun_Carlos src 192.168.1.64/255.255.255.0
> acl Au_Garcia src 192.168.1.76/255.255.255.0
> acl Kristy_Ruiz src 192.168.1.82/255.255.255.0
> acl Romy_Buenaventura src 192.168.1.84/255.255.255.0
> acl Elma_Angeles src 192.168.1.88/255.255.255.0
> acl Dorie_Rabaja src 192.168.1.112/255.255.255.0
> acl Rhoda_Jallorina src 192.168.1.116/255.255.255.0
> acl Pebble_Cruz src 192.168.1.118/255.255.255.0
> acl Manny_Herras src 192.168.1.121/255.255.255.0
> acl Ellaine_Joson src 192.168.1.122/255.255.255.0
> acl Rene_Chu src 192.168.1.124/255.255.255.0
> acl Michael_Carel src 192.168.1.127/255.255.255.0
> acl Raymond_Villaverde src 192.168.1.128/255.255.255.0
> acl Bullet_Vicente src 192.168.1.130/255.255.255.0
> acl Beth_Caballes src 192.168.1.132/255.255.255.0
> acl Linda_Inocentes src 192.168.1.133/255.255.255.0
> acl Rey_Valera src 192.168.1.134/255.255.255.0
> acl Jerome_Landrito src 192.168.1.135/255.255.255.0
> acl Winnie_Estrada src 192.168.1.137/255.255.255.0
> acl Jon_Jon_Puno src 192.168.1.146/255.255.255.0
> acl Irene_Molina src 192.168.1.154/255.255.255.0
> acl Ed_Balesteros src 192.168.1.156/255.255.255.0
> acl Elwina_Soriano src 192.168.1.160/255.255.255.0
> acl Alex_Manio src 192.168.1.165/255.255.255.0
> acl Payroll_Server src 192.168.1.170/255.255.255.0
> acl Payback_Server src 192.168.1.171/255.255.255.0
> acl Geraldine_Festejo src 192.168.1.192/255.255.255.0
> acl Vergel_Garcia src 192.168.1.196/255.255.255.0
> acl Cherry_Reyes src 192.168.1.204/255.255.255.0
> acl Nestor_Doque src 192.168.1.207/255.255.255.0
> acl Donna_Villa src 192.168.1.210/255.255.255.0
> acl Che_Cruz src 192.168.1.211/255.255.255.0
> acl Pepe_Bona src 192.168.1.217/255.255.255.0
> acl FMF src 192.168.1.220/255.255.255.0
> acl Jing_Damo src 192.168.1.222/255.255.255.0
> acl Aida src 192.168.1.227/255.255.255.0
> acl TonyQ_JeffJ src 192.168.1.228/255.255.255.0
> acl Jeti_Paredes src 192.168.1.231/255.255.255.0
> acl Remy_Seiga src 192.168.1.241/255.255.255.0
> acl Raffy_David src 192.168.1.244/255.255.255.0
> acl Grace_Labadia src 192.168.1.247/255.255.255.0
> acl Romy_Buenaventura2 src 192.168.1.19/255.255.255.0
> 
> acl Time1 time MTWHFA 12:00-20:00
> acl Time2 time MTWHFA 8:00-18:00
> acl Time3 time MTWHFA 8:00-21:00
> acl Time4 time MTWHFA 7:00-12:00
> acl Time5 time MTWHFA 7:00-19:00
> acl Time6 time MTWHFA 8:00-22:00
> acl Time7 time MTWHFA 6:00-18:00
> acl Time8 time MTWHFA 6:00-20:00
> acl Time9 time MTWHFA 8:00-19:00
> acl Time10 time MTWHFA 7:00-20:00
> 
> #Default configuration:
> http_access allow manager localhost
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow notbanned
> http_access deny banned
> 
> http_access allow localhost
> http_access allow Jon_Teodoro James_Gapuz
> Gene_Bautista APT Jhun_Vidar Romy_Buenaventura
> Rey_Valera Ed_Balesteros Payroll_Server Payback_Server
> Pepe_Bona FMF Grace_Labadia Romy_Buenaventura2
> http_access allow Jo_Calicdan Time2
> http_access allow Louie_Merana Time2
> http_access allow Imee_Canar Time2
> http_access allow Romy_Sabocco Time2
> http_access allow Jun_Carlos Time4
> http_access allow Au_Garcia Time4
> http_access allow Kristy_Ruiz Time4
> http_access allow Elma_Angeles Time4
> http_access allow Dorie_Rabaja Time5
> http_access allow Rhoda_Jallorina Time6
> http_access allow Pebble_Cruz Time2
> http_access allow Manny_Herras Time7
> http_access allow Ellaine_Joson Time7
> http_access allow Rene_Chu Time5
> http_access allow Raymond_Villaverde Time2
> http_access allow Bullet_Vicente Time2
> http_access allow Beth_Caballes Time2
> http_access allow Linda_Inocentes Time4
> http_access allow Jerome_Landrito Time7
> http_access allow Winnie_Estrada Time7
> http_access allow Jon_Jon_Puno Time7
> http_access allow Irene_Molina Time7
> http_access allow Elwina_Soriano Time7
> http_access allow Alex_Manio Time8
> http_access allow Geraldine_Festejo Time8
> http_access allow Vergel_Garcia Time9
> http_access allow Cherry_Reyes Time7
> http_access allow Nestor_Doque Time5
> http_access allow Donna_Villa Time7
> http_access allow Che_Cruz Time7
> http_access allow Jing_Damo Time7
> http_access allow Aida Time7
> http_access allow TonyQ_JeffJ Time7
> http_access allow Jeti_Paredes Time10
> http_access allow Remy_Seiga Time1
> http_access allow Raffy_David Time5
> http_access deny all
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
Received on Sun May 20 2001 - 22:54:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:12 MST