Re: [squid-users] Logging failed authentication attempts

2023-01-30 Thread Amos Jeffries
On 31/01/2023 6:13 pm, Andrey K wrote: Amos, I understood: the helper.cc does not parse the KK-request and does not know about the username. He can only get the username information from the reply of the external helper. But since the external helper returns only an error without a username,

Re: [squid-users] Logging failed authentication attempts

2023-01-30 Thread Andrey K
Amos, I understood: the helper.cc does not parse the KK-request and does not know about the username. He can only get the username information from the reply of the external helper. But since the external helper returns only an error without a username, this information is missing from the logs.

Re: [squid-users] Logging failed authentication attempts

2023-01-30 Thread Andrey K
Hello Amos, Thank you for the information. I turned on squid debug_options 84,9 and see in the cashe.log that in the first NTLM_NEGOTIATE request (YR) there is no username: TlRMTVNTUAABBoIIAAA= 4e 54 4c 4d 53 53 50 00 01 00 00 00 06 82 08 00 |NTLMSSP.|

Re: [squid-users] Logging failed authentication attempts

2023-01-30 Thread Amos Jeffries
On 31/01/2023 4:55 pm, Andrey K wrote: Hello, I need to log failed Proxy-authentication attempts. The log information should contain timestamp, username and client IP address. 407-records in the access.log file do not contain username if NTLM-authentication is used. I was wondering if it is p

[squid-users] Logging failed authentication attempts

2023-01-30 Thread Andrey K
Hello, I need to log failed Proxy-authentication attempts. The log information should contain timestamp, username and client IP address. 407-records in the access.log file do not contain username if NTLM-authentication is used. I was wondering if it is possible to set up such a configuration? Kin

Re: [squid-users] Fwd: WebSocket support in v4

2023-01-30 Thread sreekanth guru
Hi Amos, Thank you for your reply. Currently WebSockets failover is not a requirement for me. I have a followup question. For HTTPS web sockets as it uses TCP tunnel, it should work on all the versions of Squid proxy, is my understanding correct? Also For HTTP websockets is there any squid(v6) b