LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-29-2012, 02:36 AM   #1
alieblice
Member
 
Registered: Jul 2011
Posts: 80

Rep: Reputation: Disabled
time based acl dosent work-squid3


Hi
squid time based acl doesn't work.
i changed the place of the "http_access deny special-user time-limit"
but after seconds of reloading squid users are able to open pages.

squid 3 on
heres the config :

Code:
http_port 4444 name=special-port
acl special-port-users myportname special-port

auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/password-squid
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 1 hours
auth_param basic casesensitive on
acl special-users proxy_auth REQUIRED

acl site-limit url_regex -i ask
acl time-limit time D 14:00-15:30

http_access deny special-users time-limit
http_access allow  special-port-users special-users !site-limit

deny_info http://yahoo.com time-limit
 
Old 03-29-2012, 04:40 AM   #2
alieblice
Member
 
Registered: Jul 2011
Posts: 80

Original Poster
Rep: Reputation: Disabled
maybe i write acls place wrong . because deny_info doesn't work too! when i tell it to redirect to yahoo if acle "site-limit" denied it doesn't work.
any idea?
i mean this config:

Code:
http_port 4444 name=special-port
acl special-port-users myportname special-port

auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/password-squid
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 1 hours
auth_param basic casesensitive on
acl special-users proxy_auth REQUIRED


acl site-limit url_regex -i ask
acl time-limit time D 14:00-16:30

http_access allow  special-port-users special-users !site-limit !time-limit
deny_info http://yahoo.com/ site-limit
 
Old 03-29-2012, 08:49 AM   #3
alieblice
Member
 
Registered: Jul 2011
Posts: 80

Original Poster
Rep: Reputation: Disabled
Hi
its working fine now but steel deny_info doesn't work
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with samba and ACL ,ACL does not work as I want golden_boy615 Linux - Server 1 12-18-2011 09:18 AM
[SOLVED] Squid3 Deny all traffic (Ignoring ACL) pliqui Linux - Server 3 02-18-2010 02:24 PM
Viedeoprojekter dosent work _Phönix_ Linux - Software 0 02-25-2008 05:11 AM
About Ecplise, it dosent work now andrewnow Linux - Software 1 05-31-2006 03:48 AM
Plastig dosent work nuka_t Linux - General 2 08-15-2004 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration