Solved

Monitoring Squid Proxy Traffic

Posted on 2014-03-07
6
939 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 78

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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 78

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

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

Suggested Solutions

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
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

738 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