[squid-users] access_log acls

2018-11-27 Thread Marcus Kool
I have an issue with access_log acls when a load balancer sends a TCP probe. The goal is to not log errors caused by the TCP probes of the load balancer.  All other errors must be logged. I did a test with the following acls on one of our test systems to illustrate the issue: logformat combha

[squid-users] need help with cachemgr

2018-11-27 Thread jmperrote
Hello need help with cachemgr, I using a squid as a reverse proxy mode, when I try to connect to retrive data using squidclient, connecting to cachemrg, only retrive squid OK, but the other values HIT, http request, etc,  that ara usually retrived are not retrived. My case when I to try connec

Re: [squid-users] access_log acls

2018-11-27 Thread Alex Rousskov
On 11/27/18 5:21 AM, Marcus Kool wrote: > logformat combha %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %>Hs %ha > acl src_lb src 10.2.2.254/32 > acl src_lb src 10.2.2.107/32 > access_log stdio:/local/squid4/logs/lbaccess.log combha src_lb > access_log stdio:/local/squid4/logs/access.log   combha !src_lb

Re: [squid-users] need help with cachemgr

2018-11-27 Thread Alex Rousskov
On 11/27/18 6:13 AM, jmperrote wrote: > Hello need help with cachemgr, I using a squid as a reverse proxy mode, > when I try to connect to retrive data using squidclient, connecting to > cachemrg, only retrive squid OK, but the other values HIT, http request, > etc,  that ara usually retrived are n

[squid-users] Parent proxy chaining

2018-11-27 Thread Phillip McCollum
Hi folks, First off, I'll make the requisite disclaimer that I'm a squid newbie. I've been banging my head against this problem for nearly a week--trial and error, google searches, FAQ reviews, etc. Like Obi-Wan Kenobi, you guys are my last resort! :) I have a deployment in AWS in where a VPC has

Re: [squid-users] access_log acls

2018-11-27 Thread Marcus Kool
On 27/11/2018 13:58, Alex Rousskov wrote: On 11/27/18 5:21 AM, Marcus Kool wrote: logformat combha %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %>Hs %ha acl src_lb src 10.2.2.254/32 acl src_lb src 10.2.2.107/32 access_log stdio:/local/squid4/logs/lbaccess.log combha src_lb access_log stdio:/local/squi

Re: [squid-users] Parent proxy chaining

2018-11-27 Thread Matus UHLAR - fantomas
On 27.11.18 08:33, Phillip McCollum wrote: I have a deployment in AWS in where a VPC has a transparent proxy deployed, which forwards 80/443 requests to a parent proxy in another VPC, which I then need to forward to another parent proxy (SaaS provider). Essentially: [[Client PC]] --> [[Squid Pro

Re: [squid-users] access_log acls

2018-11-27 Thread Matus UHLAR - fantomas
On 11/27/18 5:21 AM, Marcus Kool wrote: logformat combha %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %>Hs %ha acl src_lb src 10.2.2.254/32 acl src_lb src 10.2.2.107/32 access_log stdio:/local/squid4/logs/lbaccess.log combha src_lb access_log stdio:/local/squid4/logs/access.log   combha !src_lb The loggi

Re: [squid-users] Parent proxy chaining

2018-11-27 Thread Alex Rousskov
On 11/27/18 9:33 AM, Phillip McCollum wrote: > 2018/11/27 16:22:54 kid1| WARNING: Forwarding loop detected for: > Via: 1.1 squid (squid/3.5.27) > [[Transparent Proxy]]: > visible_hostname squid > [[Squid Parent Proxy]]: > visible_hostname squid > Any thoughts or suggestions are greatly apprecia

Re: [squid-users] access_log acls

2018-11-27 Thread Marcus Kool
4.5 would be nice.  4.6 would also be nice. On 27/11/2018 14:47, Matus UHLAR - fantomas wrote: On 11/27/18 5:21 AM, Marcus Kool wrote: logformat combha %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %>Hs %ha acl src_lb src 10.2.2.254/32 acl src_lb src 10.2.2.107/32 access_log stdio:/local/squid4/logs/lba

[squid-users] Fwd: Re: need help with cachemgr

2018-11-27 Thread jmperrote
Hello Alex, a think that I dont understand you. I try the sentence that you send my and the problem its the same. No data retrive from cachemgr. squidclient -vv -p 1084 mgr:info verbosity level set to 2 Request: GET cache_object://localhost/info HTTP/1.0 Host: localhost User-Agent: squidclient/

Re: [squid-users] Fwd: Re: need help with cachemgr

2018-11-27 Thread Alex Rousskov
On 11/27/18 11:50 AM, jmperrote wrote: > I try the sentence that > you send my and the problem its the same. You may have several problems. The commands I sent you fixed one of those problems. With those new commands, squidclient sends correct cache manager URL to Squid. > No data retrive from c

[squid-users] NCSA Auth doesn't recognize usernames with capital letters

2018-11-27 Thread Schokobecher
Hello, I'm facing a really weird problem at the moment. I'm using Squid 4.2 using the default Ubuntu compile options (self-compiled) together with the NCSA Basic Auth helper and a passwd file generated using "httpasswd -m". If I add a user to it that starts with a capital letter (for example "Bob

Re: [squid-users] Parent proxy chaining

2018-11-27 Thread Phillip McCollum
Thank you both, Matus and Alex! Changing the name got my HTTP access working perfectly. I was stuck on HTTPS soon after, but as soon as I removed "intercept" from the Squid Parent proxy "http_port" line, I got that working. You guys rock. Thanks again for that little nudge I needed to figure this