LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 05-04-2007, 01:31 AM   #1
suhas!
Member
 
Registered: Mar 2007
Posts: 100

Rep: Reputation: 17
Tedious job to detect http_access rule in squid


Hi all,

I am feeling that it is very boring to detect a particular http_access rule in squid.conf file...

We have number of http_access rules in our squid.conf file... We have denied access to particular site e.g xyz.com to everyone except few people who are allowed to access xyz.com.

Now my machine, according to our configuration, should not be able to access this xyz.com, but because of misconfiguration or disordering of http_access rules, I am getting access to xyx.com. Now it is very tedious job for me to evaluate each http_access rule and find out which rule is causing me to have access, so I would rectify the mistake...

Is there any easy way to find out which rule is evaluated when I try to access xyz.com? Is there any hint in access.log file?

Please help as this would help me to save the time in future as well..


Thanks in advance!
 
Old 05-06-2007, 01:54 AM   #2
kariukidw
LQ Newbie
 
Registered: Oct 2006
Posts: 15

Rep: Reputation: 0
Hi,

Squid reads the defined acls from top to bottom and I highly suspect that you have allowed the site in a previous acls and that is why access to it is being granted. It would really help if you posted your squid.conf file so that we can see the configured acls.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
iptables: rule with RETURN target just after a rule with ACCEPT target Nerox Linux - Networking 6 09-04-2011 04:33 PM
cron job to detect new files rblampain Programming 8 12-28-2005 09:51 AM
Squid problem with http_access and time acl mago Linux - Networking 1 11-25-2005 02:11 PM
Tedious migration process??? zwdaniel Linux - General 2 04-27-2005 04:57 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 03:29 PM


All times are GMT -5. The time now is 04:36 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration