Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Monitoring Squid Proxy Traffic

Posted on 2014-03-07
6
Medium Priority
?
1,068 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
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 80

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 80

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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
When you put your credit card number into a website for an online transaction, surely you know to look for signs of a secure website such as the padlock icon in the web browser or the green address bar.  This is one way to protect yourself from oth…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
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.
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

885 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