- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Squid - acl time
Operating System - Linux
1753326
Members
4907
Online
108792
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 09:14 PM
07-02-2008 09:14 PM
Squid - acl time
hi i have a problem when i create a time based acl in squid.conf file its not working ,
our system follows gmt+05.30 can u tell me a solution
citation I:
acl bad url_regex"/etc/squid/squid.conf"
acl lunch time MTWHF 13:00-14:00
acl afterhours time MTWH 17:30-23:59
acl afterhoursf time F 16:30-23:59
acl morning time MTWHF 00:01-08:29
http_access deny bad lunch
http_access allow bad
thanks
our system follows gmt+05.30 can u tell me a solution
citation I:
acl bad url_regex"/etc/squid/squid.conf"
acl lunch time MTWHF 13:00-14:00
acl afterhours time MTWH 17:30-23:59
acl afterhoursf time F 16:30-23:59
acl morning time MTWHF 00:01-08:29
http_access deny bad lunch
http_access allow bad
thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2008 03:01 AM
07-03-2008 03:01 AM
Re: Squid - acl time
¿Why do you have 4 acl if only one is used?
You only need to set:
acl bad url_regex "/etc/squid/squid.conf"
acl lunch time MTWHF 13:00-14:00
http_access deny bad lunch
¿What do you mean with "not working", access is granted or denied?
You must check other rules and their order also.
¿did you reload squid?
Run "squid -k parse" to check ro syntax error, in your example you miss a space in acl bad.
You only need to set:
acl bad url_regex "/etc/squid/squid.conf"
acl lunch time MTWHF 13:00-14:00
http_access deny bad lunch
¿What do you mean with "not working", access is granted or denied?
You must check other rules and their order also.
¿did you reload squid?
Run "squid -k parse" to check ro syntax error, in your example you miss a space in acl bad.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2008 10:31 AM
07-03-2008 10:31 AM
Re: Squid - acl time
Be very careful with squid acl lists. When the first acl match the client request they will not be processed further.
For example if you have client with ip 10.10.10.10 and you write before this acl another with
acl good_ip 10.10.10.10
http_access allow good_ip
the rest of the acl's will not be processes for this request.
regards,
ivan
For example if you have client with ip 10.10.10.10 and you write before this acl another with
acl good_ip 10.10.10.10
http_access allow good_ip
the rest of the acl's will not be processes for this request.
regards,
ivan
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP