Solved

Monitoring Squid Proxy Traffic

Posted on 2014-03-07
6
875 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
  • 3
  • 2
6 Comments
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
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 76

Expert Comment

by:arnold
Comment Utility
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
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 76

Expert Comment

by:arnold
Comment Utility
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
Comment Utility
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
Comment Utility
Resolved by self
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 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

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now