Target of this Squid3 implementation is to authenticate against PAM.
It’s also possible to create a virtual user list, but if you have already a system with a bunch of system accounts. So here it is: Continue reading ‘Squid3 pam_auth’
Tag Archive for 'Proxy'
I had a problem with some AJAX based web sites, after some debugging a figured out that problems comes caching proxy (squid3). The content of this web sites was always outdated and sometimes I get strange errors.
Disabling cache for Continue reading ‘Squid disable cache for Domain’
Nginx and Apache2 are running great but there is only one tiny problem with the visitors ip’s.
Normaly I let my nginx instance do the logging job, but if you let your Apache do it you will get some problems. Apache will see all incoming requests as coming from localhost (127.0.0.1). Right they are all from nginx.
Continue reading ‘Nginx + apache2 = real-ip’

Bad situation if you have too much ACLs in your squid config and important site gets a DENIE cause one or more of this all ACL’s matches.
Debugging helps you to find the right ACL.
1 2 3 | vim /etc/squid3/squid.conf # Debugging for your ACLs debug_options 28,9 |
Your debugged results will appear in your cache.log
1 | less /var/log/squid3/cache.log |
You have a IP-Address from a PC, and you want to know which web-sites ware visited from this PC.
Grep for PCs IP-Address in the access log of your proxy box.
As result you will get a list with visited sites.
1 | grep 172.16.0.5 /var/log/squid3/access.log | cut -d" " -f7 | sort -u | less |


