Solved

Monitoring Squid Proxy Traffic

Posted on 2014-03-07
6
990 Views
Last Modified: 2014-03-17
Hi,

installed and configured squid proxy with Cache Manager.
i can able to access cache manager web interface (login page ). but, when i enter credentials i am getting " Permission denied error "

any ideas how to resolve this.

Thanks,
Raficachmgr error
0
Comment
Question by:IMGIDC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 39915022
Per:

http://www.sbarjatiya.com/notes_wiki/index.php/Configuring_squid_cache_manager

You should be using the userid root and the password you have configured for cachemgr_passwd in squid.conf.

Is that what you are doing?
0
 
LVL 79

Expert Comment

by:arnold
ID: 39915057
You should not be specifying a port in the cachmgr login.

i.e. 127.0.0.1 might not be a "valid" host for cachemgr auth.  Try in the login to cachemgr cgi-bin to reference the systems LAN IP.

192.168.0.3
root
password

It can also vary and use the server's name.
0
 
LVL 2

Author Comment

by:IMGIDC
ID: 39916732
none of them are working for me guys. let me give some more information.

attached cachemgr.conf file created in /etc/httpd/conf.d directory and squid.conf file with cache manager rules.

- when i try to use configuration from link, i received below error message.
http://www.sbarjatiya.com/notes_wiki/index.php/Configuring_squid_cache_manager

[root@proxy etc]# /opt/squid/3.4.3/sbin/squid -k shutdown
2014/03/10 10:14:08| aclParseAclLine: ACL 'manager' already exists with differen                                                                                                                                                             t type.
FATAL: Bungled /opt/squid/3.4.3/etc/squid.conf line 14: acl manager proto cache_                                                                                                                                                             object
Squid Cache (Version 3.4.3): Terminated abnormally.
CPU Usage: 0.020 seconds = 0.010 user + 0.010 sys
Maximum Resident Size: 18064 KB


NOTE: i also tried to access using it's ip address !!!
squid-config.txt
squid-cachemgr.txt
0
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
LVL 79

Expert Comment

by:arnold
ID: 39916889
The error you get when you follow the referenced link is likely because you duplicate entries.

Your issue with access deals with your definition of the webserver ACL which is in conflict.
Your rule is to allow all. You then within the cachemgr interface going to localhost, but the rule requires the source IP accessing cachemgr to be the webserver.

Either remove the webserver from the manager  entry
Http_access allow localhost manager webserver
Or change the ACL webserver src
To include your LAN, or you ..........
0
 
LVL 2

Accepted Solution

by:
IMGIDC earned 0 total points
ID: 39922848
Thanks Guys. none of the solutions are working.

so ,i moved some other log analyzing tool.

http://www.tecmint.com/sarg-squid-analysis-report-generator-and-internet-bandwidth-monitoring-tool/
0
 
LVL 2

Author Closing Comment

by:IMGIDC
ID: 39933759
Resolved by self
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question