Re: [squid-users] Squid appears to be ignoring url_rewrite_program

2024-09-17 Thread Alex Rousskov
On 2024-09-17 10:43, Martin A. Brooks wrote: On 2024-09-17 15:13, Alex Rousskov wrote: What makes you think that CONNECT requests are not sent to the rewriter? In my quick-and-dirty tests, Squid does send CONNECT request targets to the URL rewriter program and honors rewriter's rewrite-url=...

Re: [squid-users] Squid appears to be ignoring url_rewrite_program

2024-09-17 Thread Nishant Sharma
Sorry for jumping the gun. Just read your mail again. You want to redirect and not block. Regards, Nishant On 17 September 2024 4:04:24 pm UTC, Nishant Sharma wrote: >Hi Martin, > >On 17/09/24 19:04, Martin A. Brooks wrote: >> On 2024-09-17 13:39, Martin A. Brooks wrote: >>> I am trying to use

Re: [squid-users] Squid appears to be ignoring url_rewrite_program

2024-09-17 Thread Nishant Sharma
Hi Martin, On 17/09/24 19:04, Martin A. Brooks wrote: On 2024-09-17 13:39, Martin A. Brooks wrote: I am trying to use a URL rewriter program to redirect client requests for certain URLs elsewhere.  I found this on github which seems to do what I need: https://github.com/rchunping/squid-urlre

Re: [squid-users] Squid appears to be ignoring url_rewrite_program

2024-09-17 Thread Alex Rousskov
On 2024-09-17 09:34, Martin A. Brooks wrote: Proxied HTTPS requests use CONNECT and, for whatever reason, this appears to bypass the url rewriter. What makes you think that CONNECT requests are not sent to the rewriter? In my quick-and-dirty tests, Squid does send CONNECT request targets to

Re: [squid-users] Squid appears to be ignoring url_rewrite_program

2024-09-17 Thread Dieter Bloms
Hello Martin, On Tue, Sep 17, Martin A. Brooks wrote: > On 2024-09-17 13:39, Martin A. Brooks wrote: > > I am trying to use a URL rewriter program to redirect client requests > > for certain URLs elsewhere. I found this on github which seems to do > > what I need: > > > > https://github.com/rch

Re: [squid-users] GET /squid-internal-dynamic/netdb requests to the parent proxy

2024-09-17 Thread Andrey K
Hello, Matus, Thank you very much for the information. Kind regards, Ankor. пт, 13 сент. 2024 г. в 22:27, Matus UHLAR - fantomas : > On 12.09.24 09:28, Andrey K wrote: > >I found that my SQUID proxy periodically sends HTTP-GET requests to the > >parent proxy for /squid-internal-dynamic/n

Re: [squid-users] Squid appears to be ignoring url_rewrite_program

2024-09-17 Thread Martin A. Brooks
Hi On 2024-09-17 13:39, Martin A. Brooks wrote: I am trying to use a URL rewriter program to redirect client requests for certain URLs elsewhere. I found this on github which seems to do what I need: https://github.com/rchunping/squid-urlrewrite Running this on the command line as shown in

Re: [squid-users] Looking for a solution to identify "unauthenticated" squid proxy users.

2024-09-17 Thread Alex Rousskov
On 2024-09-17 08:07, Xavier Lecluse wrote: Hello, with the advice from Alex, we managed to add a custom field to the access.log, using an always matching "annotate_transaction" ACL. We had to add the ACL on each line of our rulesets and the value inserted was the rule_name. Then, by adding %{n

[squid-users] Squid appears to be ignoring url_rewrite_program

2024-09-17 Thread Martin A. Brooks
Hello folks, I am trying to use a URL rewriter program to redirect client requests for certain URLs elsewhere. I found this on github which seems to do what I need: https://github.com/rchunping/squid-urlrewrite Running this on the command line as shown in the instructions appears to show i

Re: [squid-users] Unable to access internal resources via hostname

2024-09-17 Thread Piana, Josh
Alex, Thank you and the others for that breakdown. That really helps my understanding of it a bit more than trying to grasp the full concept through just reading. I struggle a bit without further context that FAQ's and KB's usually lack, just for simplicities sake. I'm going to keep persuing t

Re: [squid-users] Unable to access internal resources via hostname

2024-09-17 Thread Piana, Josh
Eliezer, Thank you for the response. I was admittedly at my wits end yesterday and I felt like I keep going in circles. We found something on our old Squid box that looks like it may have been used by the old system to assist. I'll reach back out when I have a better question than "why can

Re: [squid-users] Looking for a solution to identify "unauthenticated" squid proxy users.

2024-09-17 Thread Xavier Lecluse
Hello, with the advice from Alex, we managed to add a custom field to the access.log, using an always matching "annotate_transaction" ACL. We had to add the ACL on each line of our rulesets and the value inserted was the rule_name. Then, by adding %{name}note in a custom logformat, we were able

Re: [squid-users] Unable to access internal resources via hostname

2024-09-17 Thread ngtech1ltd
Hey Josh, Configuring Squid is not a simple task in some cases. I used to think it's a pretty simple piece of software to configure and indeed with the right background and labs you can achieve specific goals easily and fast. However, I encountered over the years enough situations to understand th