Re: [squid-users] ACL / http_access rules stop work using Squid 6+

2024-04-18 Thread Alex Rousskov
ex. On 2024-04-15 19:49, Andre Bolinhas wrote: Hi Alex, Thnks for your reply. Logs uploaded again, you can find it here. https://we.tl/t-QiSKMgclOb Best regards On 15/04/2024 14:12, Alex Rousskov wrote: On 2024-04-14 17:23, Andre Bolinhas wrote: Any tip on this matter? I want to upgrade to

Re: [squid-users] Squid 6.8 SSL_BUMP TLS Error

2024-04-18 Thread Alex Rousskov
ave matched for the test transaction), but I would _start_ by checking that Squid is sending the certificate(s) you think it is sending. HTH, Alex. *Von:*squid-users *Im Auftrag von *Alex Rousskov *Gesendet:* Mittwoch, 17. April 2024 19:53 *An:* squid-users@lists.squid-cache.org *Betreff:*

Re: [squid-users] Squid 6.8 SSL_BUMP TLS Error

2024-04-17 Thread Alex Rousskov
On 2024-04-17 09:07, Rauch, Mario wrote: We are receiving following errors when clients want to connect to specific website using ssl bump feature and self signed certificate: 2024/04/17 14:55:15 kid1| ERROR: failure while accepting a TLS connection on conn275 local=185.229.91.169:3128

Re: [squid-users] Rock store limit

2024-04-16 Thread Alex Rousskov
On 2024-04-16 03:20, FredB wrote: I'm trying to use rock store with 6.9, there is a limitation about the size of cache ? If my calculations are correct, all cache_dirs share the same byte-size limit: A single cache_dir cannot store more than ~2048 terabytes (i.e. 2^51 bytes). However, all

Re: [squid-users] ACL / http_access rules stop work using Squid 6+

2024-04-15 Thread Alex Rousskov
uration files / folder are the same, the server is the same, the only thing that changes is the Squid version On 29/03/2024 17:40, Alex Rousskov wrote: On 2024-03-25 15:13, Bolinhas André wrote: Yes, the configuration is the same for both versions. The logs archive you shared previously has expired

Re: [squid-users] SQUID_TLS_ERR_ACCEPT+TLS_LIB_ERR=A000417+TLS_IO_ERR

2024-04-11 Thread Alex Rousskov
On 2024-04-10 17:48, Jonathan Lee wrote: It works in 5.8 with no errors however in 6.6 I can see indexing and other information that I have never seen before Unfortunately, I am unable to make progress with this email thread because there are just too many different problems being introduced

Re: [squid-users] SQUID_TLS_ERR_ACCEPT+TLS_LIB_ERR=A000417+TLS_IO_ERR

2024-04-10 Thread Alex Rousskov
uration _error_. AFAICT, Squid code should be adjusted to _quit_ (i.e. reject bad configuration) after discovering this error instead of continuing as if nothing bad happened. I recommend addressing the underlying cause, even if this message is unrelated to SQUID_TLS_ERR_ACCEPT+TLS_LIB_ERR=A000417.

Re: [squid-users] SQUID_TLS_ERR_ACCEPT+TLS_LIB_ERR=A000417+TLS_IO_ERR

2024-04-10 Thread Alex Rousskov
On 2024-04-10 10:50, Jonathan Lee wrote: I am getting the following error in 6.6 after a upgrade from 5.8 does anyone know what this is caused by? SQUID_TLS_ERR_ACCEPT+TLS_LIB_ERR=A000417+TLS_IO_ERR $ openssl errstr A000417 error:0A000417:SSL routines::sslv3 alert illegal parameter

Re: [squid-users] squidclient -h 127.0.0.1 -p 3128 mgr:info shows access denined

2024-04-06 Thread Alex Rousskov
On 2024-04-06 01:40, Jonathan Lee wrote: Can you please help I moved from 5.8 to 6.6 I am getting access denied for mgr info. Http manager is built in now right? Yes, it is and it was. No changes there. I can access it from the loopback Currently, you may need to figure out what

Re: [squid-users] Chrome auto-HTTPS-upgrade - not falling to http

2024-04-05 Thread Alex Rousskov
On 2024-04-04 03:01, David Komanek wrote: I do not observe this problem accessing sites running only on port 80 (no 443 at all), but my configuration is simple: squid 6.6 as FreeBSD binary package not much about ssl in the config file though, just passing it through, no ssl juggling Your

Re: [squid-users] Chrome auto-HTTPS-upgrade - not falling to http

2024-04-05 Thread Alex Rousskov
pletely separate issue. If you are suspecting that Squid should get certain intermediate certificates but does not, check Bugzilla, and, if there is no corresponding bug report, file a new one. HTH, Alex. Dne 03.04.2024 v 17:05 Alex Rousskov napsal(a): On 2024-04-03 02:14, Loučanský Lu

Re: [squid-users] BWS after chunk-size

2024-04-03 Thread Alex Rousskov
On 2024-04-01 23:03, r...@ohmuro.net wrote: after an upgrade from squid 5.4.1 to squid 5.9, unable to parse HTTP chunked response containing whitespace after chunk size. I could be wrong, but Can you please advise me know if there is a way or patch to fix this issue. The sender of these

Re: [squid-users] Chrome auto-HTTPS-upgrade - not falling to http

2024-04-03 Thread Alex Rousskov
On 2024-04-03 02:14, Loučanský Lukáš wrote: this has recently started me up more then let it go. For a while chrome is upgrading in-page links to https. Just to add two more pieces of related information to this thread: Some Squid admins report that their v6-based code does not suffer from

Re: [squid-users] ACL / http_access rules stop work using Squid 6+

2024-03-29 Thread Alex Rousskov
9 13:31:05| Processing: http_access deny all HTH, Alex. ---- *De:* Alex Rousskov *Enviado:* segunda-feira, 25 de março de 2024 19:12 *Para:* squid-users@lists.squid-cache.org *Assunto* Re: [squid-users] ACL / http_access rules stop work using Squid 6+ On 2024-03-22 09:38, Andre

Re: [squid-users] ACL / http_access rules stop work using Squid 6+

2024-03-25 Thread Alex Rousskov
On 2024-03-22 09:38, Andre Bolinhas wrote: In previous versions of squid, from 3 to 5.9, I use this kind of deny rules and they work like charm acl AnnotateRule28 annotate_transaction accessrule=Rule28 http_access deny HTTP Group38 AnnotateRule28 This allows me to deny objects without bump /

Re: [squid-users] Error during ICAP RESPMOD

2024-03-22 Thread Alex Rousskov
rpreting the snippets. If you want a more reliable diagnosis, then my earlier recommendation regarding sharing (privately if needed) the following information still stands: * compressed ALL,9 cache.log and * the problematic ICAP response in a raw packet capture format. HTH, Alex. On Monday, Ma

Re: [squid-users] Error during ICAP RESPMOD

2024-03-18 Thread Alex Rousskov
On 2024-03-18 18:46, Arun Kumar wrote: Any idea, the reason for error in ModXact.cc parsePart fuction. Happening during parsing the response from ICAP parsePart: have 144 head bytes to parse; state: 0 parsePart: head parsing result: 0 detail: 600 AFAICT, Squid considers received ICAP

Re: [squid-users] After upgrade from squid6.6 to 6.8 we have a lot of ICAP_ERR_OTHER and ICAP_ERR_GONE messages in icap logfiles

2024-03-14 Thread Alex Rousskov
On 2024-03-11 11:31, Dieter Bloms wrote: Hello, after an upgrade from squid6.6 to squid6.8 on a debian bookworm we have a lot of messages from type: ICAP_ERR_GONE/000 ICAP_ERR_OTHER/200 ICAP_ERR_OTHER/408 ICAP_ERR_OTHER/204 and some of our users claim about bad performance and some get "empty

Re: [squid-users] Compilation error for v6.8

2024-03-14 Thread Alex Rousskov
On 2024-03-14 08:21, Miha Miha wrote: Hello Squid team, I get following error while compiling v6.8 ... In file included from basic_nis_auth.cc:15: ../../../../src/auth/basic/NIS/nis_support.h:8: error: unterminated #ifndef #ifndef SQUID_SRC_AUTH_BASIC_NIS_NIS_SUPPORT_H basic_nis_auth.cc: In

Re: [squid-users] Recommended squid settings when using IPS-based domain blocking

2024-03-06 Thread Alex Rousskov
On 2024-03-06 09:48, Jason Marshall wrote: We have been using squid (version squid-5.5-6.el9_3.5) under RHEL9 as a simple pass-through proxy without issue for the past month or so. Recently our security team implemented an IPS product that intercepts domain names known to be associated with

Re: [squid-users] Missing IPv6 sockets in Squid 6.7 in some servers

2024-03-04 Thread Alex Rousskov
On 2024-03-04 14:03, Dragos Pacher wrote: POC running well on 3 servers but on the 4th I get no IPv6 sockets: ubuntu@A2-3:/$ sudo netstat -patun | grep squid | grep tcp tcp        0      0 10.10.0.16:3128         0.0.0.0:* LISTEN      2891391/(squid-1) Are there any other

Re: [squid-users] Squid delay_access with external acl

2024-03-04 Thread Alex Rousskov
delay_access 1 deny all* br, Szilard Alex Rousskov 02/20/2024, 04:52 PM >>> On 2024-02-20 03:14, Francesco Chemolli wrote: > acl users ext_user foo bar gazonk > http_access allow users all # always allow The above does not always allow. What you meant it probably this: # This

Re: [squid-users] squidclient ERR_ACCESS_DENIED

2024-02-28 Thread Alex Rousskov
On 2024-02-28 08:52, Francesco Chemolli wrote: just replace squidclient mgr:objects with curl --silent --user squid_cachemgr_user:squd_cachemgr_password http://squid.host.name:3128/squid-internal-mgr/objects Neither is required for basic cases, but it is better, IMHO, to use

Re: [squid-users] squidclient ERR_ACCESS_DENIED

2024-02-27 Thread Alex Rousskov
On 2024-02-27 10:36, Andrea Venturoli wrote: I'm having trouble accessing cachemgr with squidclient. You are suffering from one or several known problems[1,2] related to cache manager changes in v6+ code. Without going into complicated details, I recommend that you replace deprecated

Re: [squid-users] IPv4 addresses go missing - markAsBad wrong?

2024-02-20 Thread Alex Rousskov
On 2024-02-12 06:46, Stephen Borrill wrote: On 16/01/2024 14:37, Alex Rousskov wrote: On 2024-01-16 06:01, Stephen Borrill wrote: The problem is no different with 6.6. Is there any more debugging I can provide, Alex? Yes, but I need to give you a patch that adds that (temporary) debugging

Re: [squid-users] Unable to filter javascript exchanges

2024-02-20 Thread Alex Rousskov
On 2024-02-12 17:40, speed...@chez.com wrote: I'm using Squid 3.5.24 (indluded in Synology DSM 6) and I've an issue with time acl. All works fine except some websites like myhordes.de. Once the user connected to this kind of website, the time acl has no effect while the web page is not

Re: [squid-users] Squid delay_access with external acl

2024-02-20 Thread Alex Rousskov
On 2024-02-20 03:14, Francesco Chemolli wrote: acl users ext_user foo bar gazonk http_access allow users all  # always allow The above does not always allow. What you meant it probably this: # This rule never matches. It is used for its side effect: # The rule evaluates users ACL, caching

Re: [squid-users] stale-if-error returning a 502

2024-02-12 Thread Alex Rousskov
he fix for the underlying Squid bug was officially accepted and should become a part of v6.8 release (at least). Thank you, Alex. On Fri, 9 Feb 2024 at 14:31, Alex Rousskov wrote: On 2024-02-09 08:53, Robin Carlisle wrote: > I am trying the config workaround approach. Pleas

Re: [squid-users] stale-if-error returning a 502

2024-02-09 Thread Alex Rousskov
in case max_stale 525600 minutes refresh_pattern . 0  20% 4320 max-stale=525600 Thanks again for your help Robin On Thu, 8 Feb 2024 at 17:42, Alex Rousskov <mailto:rouss...@measurement-factory.com>> wrote: Hi Robin,      AFAICT from the logs you have privately shared

Re: [squid-users] stale-if-error returning a 502

2024-02-08 Thread Alex Rousskov
On Thu, 1 Feb 2024 at 18:27, Alex Rousskov mailto:rouss...@measurement-factory.com>> wrote: On 2024-02-01 12:03, Robin Carlisle wrote: > Hi, I am having trouble with stale-if-error response. If I am interpreting Squid code correctly, in primary use ca

Re: [squid-users] stale-if-error returning a 502

2024-02-07 Thread Alex Rousskov
ch for your help again, Robin On Thu, 1 Feb 2024 at 18:27, Alex Rousskov wrote: On 2024-02-01 12:03, Robin Carlisle wrote: > Hi, I am having trouble with stale-if-error response. If I am interpreting Squid code correctly, in primary use cases:

Re: [squid-users] New Squid prefers IPv4

2024-02-06 Thread Alex Rousskov
On 2024-02-06 10:16, Rob van der Putten wrote: On 05/02/2024 18:32, Antony Stone wrote: On Monday 05 February 2024 at 17:32:51, Rob van der Putten wrote: On 05/02/2024 17:16, Dieter Bloms wrote: On Mon, Feb 05, Rob van der Putten wrote: After upgrading Squid from 3 to 5 the percentage of

Re: [squid-users] New Squid prefers IPv4

2024-02-05 Thread Alex Rousskov
On 2024-02-05 11:32, Rob van der Putten wrote: On 05/02/2024 17:16, Dieter Bloms wrote: On Mon, Feb 05, Rob van der Putten wrote: After upgrading Squid from 3 to 5 the percentage of IPv6 reduced from 61% to less then 1%. Any ideas? yes, since squid5 the happy eyeball algorithm as described

Re: [squid-users] external icap issue with squid 5 and higher

2024-02-02 Thread Alex Rousskov
ithout any encapsulated HTTP body. That encapsulation matches the ICAP Encapsulated header. HTH, Alex. -Message d'origine- De : Alex Rousskov Envoyé : vendredi 2 février 2024 18:45 À : Yvain PAYEN ; squid-users@lists.squid-cache.org Objet : Re: [squid-users] external icap issue wi

Re: [squid-users] external icap issue with squid 5 and higher

2024-02-02 Thread Alex Rousskov
d'imprimer cet e-mail. -Message d'origine- De : squid-users De la part de Alex Rousskov Envoyé : vendredi 2 février 2024 17:19 À : squid-users@lists.squid-cache.org Objet : Re: [squid-users] external icap issue with squid 5 and higher ⚠ FR : Ce message provient de l'extérieur de l'or

Re: [squid-users] external icap issue with squid 5 and higher

2024-02-02 Thread Alex Rousskov
On 2024-02-02 11:00, Yvain PAYEN wrote: Hi Squid users, I have an issue with an external icap service I have to use (from Forcepoint). This service is working great with squid v3 and v4. Starting v5 (v6 also tested) the service only work with plain text http requests, all requests for

Re: [squid-users] chunked transfer over sslbump

2024-02-02 Thread Alex Rousskov
much from the squid-cache.org contents. On Friday, January 12, 2024 at 02:10:40 PM EST, Alex Rousskov wrote: On 2024-01-12 09:21, Arun Kumar wrote: > On Wednesday, January 10, 2024 at 11:09:48 AM EST, Alex Rousskov wrote: > > > On 2024-01-10 09:21, Arun Kumar wrote: >  &g

Re: [squid-users] stale-if-error returning a 502

2024-02-01 Thread Alex Rousskov
On 2024-02-01 12:03, Robin Carlisle wrote: Hi, I am having trouble with stale-if-error response. If I am interpreting Squid code correctly, in primary use cases: * without a Cache-Control:stale-if-error=X in the original response, Squid sends a stale object if revalidation results in a 5xx

Re: [squid-users] does the logging of cache.log support the log modules like daemon, syslog, udp ...

2024-02-01 Thread Alex Rousskov
On 2024-02-01 07:15, Dieter Bloms wrote: Is it possible to send the cache.logs to the syslog socket /dev/log ? cache_log does not have access_log's concept of logging modules. * To send level-0/1 cache.log messages to syslog, use "squid -s ..." or "squid -l... ...". By default, syslog is

Re: [squid-users] Squid - Queue overflow

2024-01-31 Thread Alex Rousskov
On 2024-01-29 07:09, Andre Bolinhas wrote: I'm getting this error in cache.log 2024/01/29 14:33:03 kid5| ERROR: Collapsed forwarding queue overflow for kid1 at 1024 items     current master transaction: master2163155 This leads Squid stops filtering or check any of the ACL rules, allowing

Re: [squid-users] Long Group TAG in access.log when using kerberos

2024-01-31 Thread Alex Rousskov
On 2024-01-31 09:23, David Touzeau wrote: Hi %note is used by our external_acls and for log other tokens And we use also Group as token. it can disabled by direcly removing source kerberos code before compiling but i would like to know if there is another way In most cases, one does not have

Re: [squid-users] CONNECT Response Headers

2024-01-29 Thread Alex Rousskov
On 2024-01-22 16:28, Alex Coomans wrote: I'd like to be able to set headers on the response sent to a CONNECT request, but the documentation notes reply_header_add does not work for that - is there another option or a way to achieve this without needing to MITM the TLS? AFAICT, Squid does

Re: [squid-users] offline mode not working for me

2024-01-18 Thread Alex Rousskov
On 2024-01-18 09:53, Robin Carlisle wrote: My expectation/hope is that squid would return the cached object on any network failure in between ubuntu-pc and the AWS endpoint - and continue to return this cached object forever. Is this something squid can do? It would seem that offline_mode

Re: [squid-users] IPv4 addresses go missing - markAsBad wrong?

2024-01-16 Thread Alex Rousskov
IED 2024/01/16 15:40:06.409 kid1| 44,2| peer_select.cc(1182) handlePath: timedout = 0 2024/01/16 15:40:06.409 kid1| 14,7| ipcache.cc(236) finalCallback: 0x189fb5e38  lookup_err=No DNS records On 10/01/2024 12:40, Stephen Borrill wrote: On 09/01/2024 15:42, Alex Rousskov wrote: On 2024-

Re: [squid-users] IPv4 addresses go missing - markAsBad wrong?

2024-01-16 Thread Alex Rousskov
(unless somebody else steps in). Unfortunately, I do not have any free time for any of that right now. If you do not hear from me sooner, please ping me again on or after February 8, 2024. Thank you, Alex. On 10/01/2024 12:40, Stephen Borrill wrote: On 09/01/2024 15:42, Alex Rousskov wrote

Re: [squid-users] chunked transfer over sslbump

2024-01-12 Thread Alex Rousskov
On 2024-01-12 09:21, Arun Kumar wrote: On Wednesday, January 10, 2024 at 11:09:48 AM EST, Alex Rousskov wrote: On 2024-01-10 09:21, Arun Kumar wrote: >> i) Retry seems to fetch one chunk of the response and not the complete. >> ii) Enabling sslbump and turning ICAP off, not help

Re: [squid-users] Is a workaround for SQUID-2023:9 to disable TRACE requests?

2024-01-10 Thread Alex Rousskov
On 2024-01-10 16:48, Dave Dykstra wrote: https://github.com/squid-cache/squid/security/advisories/GHSA-rj5h-46j6-q2g5. ... is another workaround to disable TRACE requests ...? AFAICT, denying TRACE requests will not allow TRACE transactions to reach the problematic code related to that

Re: [squid-users] chunked transfer over sslbump

2024-01-10 Thread Alex Rousskov
/ On Tuesday, January 9, 2024 at 02:18:14 PM EST, Alex Rousskov wrote: On 2024-01-09 11:51, Zhang, Jinshu wrote: > Client got below response headers and body. Masked few details. Thank you. > Retry seems to fetch data remaining. I would expect a successful retry to fetch the entire re

Re: [squid-users] ICAP too many errors and suspensions

2024-01-10 Thread Alex Rousskov
On 2024-01-09 19:32, John Zhu wrote: We have the same “suspension” issue when “too many failure”. To clarify, you have a "failure" issue. Suspension after icap_service_failure_limit is normal/expected. https://www.mail-archive.com/squid-users@lists.squid-cache.org/msg22187.html FWIW,

Re: [squid-users] chunked transfer over sslbump

2024-01-09 Thread Alex Rousskov
- FIRSTUP_PARENT/10.x.y.z - 1704815208.438 6896 x.y.0.2 TCP_MISS/200 138967930 POST https://a.b.com/xyz - FIRSTUP_PARENT/10.x.y.z application/download Jinshu Zhang Fannie Mae Confidential -Original Message- From: squid-users On Behalf Of Alex Rousskov Sent: Tuesday, January 9, 2024 9:53 AM T

Re: [squid-users] IPv4 addresses go missing - markAsBad wrong?

2024-01-09 Thread Alex Rousskov
On 2024-01-09 05:56, Stephen Borrill wrote: On 09/01/2024 09:51, Stephen Borrill wrote: On 09/01/2024 03:41, Alex Rousskov wrote: On 2024-01-08 08:31, Stephen Borrill wrote: I'm trying to determine why squid 6.x (seen with 6.5) connected via IPv4-only periodically fails to connect

Re: [squid-users] chunked transfer over sslbump

2024-01-09 Thread Alex Rousskov
On 2024-01-09 09:13, Arun Kumar wrote: I have compiled/installed squid v5.8 in Amazon Linux and configured it with sslbump option. Squid is used as proxy to get response from https site. When the https site sends chunked response, it appears that the first response comes but it get stuck and

Re: [squid-users] IPv4 addresses go missing - markAsBad wrong?

2024-01-08 Thread Alex Rousskov
On 2024-01-08 08:31, Stephen Borrill wrote: I'm trying to determine why squid 6.x (seen with 6.5) connected via IPv4-only periodically fails to connect to the destination and then requires a restart to fix it (reload is not sufficient). The problem appears to be that a host that has one

Re: [squid-users] squid hangs and dies and can not be killed - needs system reboot

2023-12-19 Thread Alex Rousskov
On 2023-12-18 22:29, Amish wrote: On 19/12/23 01:14, Alex Rousskov wrote: On 2023-12-18 09:35, Amish wrote: I use Arch Linux and today I updated squid from squid 5.7 to squid 6.6. > Dec 18 13:01:24 mumbai squid[604]: kick abandoning conn199 I do not know whether the above prob

Re: [squid-users] squid hangs and dies and can not be killed - needs system reboot

2023-12-18 Thread Alex Rousskov
On 2023-12-18 09:35, Amish wrote: I use Arch Linux and today I updated squid from squid 5.7 to squid 6.6. > Dec 18 13:01:24 mumbai squid[604]: kick abandoning conn199 I do not know whether the above problem is the primary problem in your setup, but it is a red flag. Transactions on the same

Re: [squid-users] [External] Re: Cache_peer breaks Squid 5.5

2023-12-14 Thread Alex Rousskov
an RPM? I'm really hoping there's a way to do that without compiling. -Original Message- From: Alex Rousskov Sent: Wednesday, December 13, 2023 8:31 AM To: HENDERSON, GAVEN L RTX ; squid-users@lists.squid-cache.org Subject: Re: [External] Re: [squid-users] Cache_peer breaks Squid 5.5 On 2

Re: [squid-users] [External] Re: Cache_peer breaks Squid 5.5

2023-12-13 Thread Alex Rousskov
was released. However, I do not even know which version you were running before updating to v5.5. Please note that v5 is not officially supported by the Squid Project. My recommendation is to update to v6.6 or later. HTH, Alex. -Original Message- From: squid-users On Behalf O

Re: [squid-users] Cache_peer breaks Squid 5.5

2023-12-12 Thread Alex Rousskov
On 2023-12-12 11:25, HENDERSON, GAVEN L RTX wrote: Sorry if this has already been answered. I couldn't find anything online regarding the problem I am experiencing. I have a Squid server acting as a proxy relay. It listens on two ports and, depending on which port a request comes in, the

Re: [squid-users] FATAL: assertion failed: peer_digest.cc:399: "fetch->pd && receivedData.data"

2023-12-06 Thread Alex Rousskov
On 2023-12-06 08:08, Brendan Kearney wrote: i am running squid 6.5 You are suffering from Bug 5318: https://bugs.squid-cache.org/show_bug.cgi?id=5318 That bug has been fixed in v6. Recent daily snapshots contain that fix, and it will be a part of the upcoming v6.6 release. Alex. on

Re: [squid-users] reconfigure drops in memory caches for external_acl_type

2023-11-29 Thread Alex Rousskov
On 2023-11-29 09:38, Ziert, Norman wrote: in the very recent past I stumbled over that a "squid -k reconfigure" drops in memory caches for external_acl_type helpers, wich in my case leads to a massive query burst against local winbind (ext_wbinfo_group_acl) and infact the active directory

Re: [squid-users] SSL Virtual Hosting Problem

2023-11-28 Thread Alex Rousskov
On 2023-11-28 05:29, Mario Theodoridis wrote: Hello everyone, i'm trying to use squid as a TLS virtual hosting proxy on a system with a public IP in front of several internal systems running TLS web servers. I would like to proxy the incoming connections to the appropriate backend servers

Re: [squid-users] Kerberos pac ResourceGroups parsing

2023-11-22 Thread Alex Rousskov
-users mailing list is not meant for code reviews. Alex. чт, 16 нояб. 2023 г. в 17:01, Alex Rousskov: On 2023-11-16 07:48, Andrey K wrote: > I have slightly patched the negotiate_kerberos_pac.cc to > implement ResourceGropIds-block parsing. Please consider posting

Re: [squid-users] 6.x gives frequent connection to peer failed - spurious?

2023-11-21 Thread Alex Rousskov
On 2023-11-21 08:38, Stephen Borrill wrote: On 15/11/2023 21:55, Alex Rousskov wrote: On 2023-11-10 05:46, Stephen Borrill wrote: With 6.x (currently 6.5) there are very frequent (every 10 seconds or so) messages like: 2023/11/10 10:25:43 kid1| ERROR: Connection to 127.0.0.1:8123 failed

Re: [squid-users] Kerberos pac ResourceGroups parsing

2023-11-16 Thread Alex Rousskov
On 2023-11-16 07:48, Andrey K wrote: I have slightly patched the negotiate_kerberos_pac.cc to implement ResourceGropIds-block parsing. Please consider posting tested changes as a GitHub Pull Request: https://wiki.squid-cache.org/MergeProcedure#pull-request Thank you, Alex. Maybe it will

Re: [squid-users] 6.x gives frequent connection to peer failed - spurious?

2023-11-15 Thread Alex Rousskov
On 2023-11-10 05:46, Stephen Borrill wrote: With 6.x (currently 6.5) there are very frequent (every 10 seconds or so) messages like: 2023/11/10 10:25:43 kid1| ERROR: Connection to 127.0.0.1:8123 failed > why is this logged as a connection failure The current error wording is too assuming

Re: [squid-users] Get IP of denied request

2023-11-01 Thread Alex Rousskov
On 2023-10-30 13:08, ma...@web.de wrote: Am 27.10.23 um 16:22 schrieb Alex Rousskov: 1. Enhance Squid to resolve transaction destination address once (on first use/need). Remember/reuse resolved IP addresses. Log them via some new %resolved_dst and %dst_resolution_detail codes

Re: [squid-users] Get IP of denied request

2023-10-27 Thread Alex Rousskov
On 2023-10-27 07:14, ma...@web.de wrote: Am 26.10.23 um 21:11 schrieb Alex Rousskov: On 2023-10-26 08:37, ma...@web.de wrote: TL;DR: is there a way to get/log the resolved ip of a denied request? TLDR: Bugs notwithstanding, use % % Sorry, my first response was wrong: As you have correctly

Re: [squid-users] Get IP of denied request

2023-10-26 Thread Alex Rousskov
On 2023-10-26 08:37, ma...@web.de wrote: TL;DR: is there a way to get/log the resolved ip of a denied request? TLDR: Bugs notwithstanding, use % We have a rather large ip based malware blacklist (dst acl) and sometimes a destination is blocked inadvertantly because of a false positive entry

Re: [squid-users] very poor performance of rock cache ipc

2023-10-16 Thread Alex Rousskov
On 2023-10-16 16:24, Julian Taylor wrote: On 15.10.23 05:42, Alex Rousskov wrote: On 2023-10-14 12:04, Julian Taylor wrote: On 14.10.23 17:40, Alex Rousskov wrote: On 2023-10-13 16:01, Julian Taylor wrote: The reproducer uses as single request, the same very thing can be observed

Re: [squid-users] very poor performance of rock cache ipc

2023-10-14 Thread Alex Rousskov
On 2023-10-14 12:04, Julian Taylor wrote: On 14.10.23 17:40, Alex Rousskov wrote: On 2023-10-13 16:01, Julian Taylor wrote: When using squid for caching using the rock cache_dir setting the performance is pretty poor with multiple workers. The reason for this is due to the very high number

Re: [squid-users] very poor performance of rock cache ipc

2023-10-14 Thread Alex Rousskov
On 2023-10-13 16:01, Julian Taylor wrote: When using squid for caching using the rock cache_dir setting the performance is pretty poor with multiple workers. The reason for this is due to the very high number of systemcalls involved in the IPC between the disker and workers. Please allow me

[squid-users] RFC: Irreplaceable squidclient features

2023-10-13 Thread Alex Rousskov
Hello, Francesco and I would like to remove squidclient tool from Squid so that we can divert resources to more important areas[1]. As far as we can tell, all essential squidclient functionality can be obtained via well-known command-line clients like curl, wget, nc, s_client, etc. For

Re: [squid-users] Unable to start Squid 6.3 "earlyMessages->size() < 1000"

2023-10-02 Thread Alex Rousskov
Since Squid 6.x we have this strange behavior on acl dst Many warnings is generated 2023/10/02 20:18:50| WARNING: You should probably remove '64.34.72.226' from the ACL named 'GlobalWhitelistDSTNet' 2023/10/02 20:18:50| WARNING: (B) '64.34.72.226' is a subnetwork of (A) '64.34.72.226'

Re: [squid-users] TLS passthrough

2023-09-29 Thread Alex Rousskov
ndo On Fri, Sep 29, 2023 at 12:53 PM Alex Rousskov <mailto:rouss...@measurement-factory.com>> wrote: On 2023-09-29 10:55, Fernando Giorgetti wrote: >     Do you control the client application? If yes, then perhaps it can be >     adjusted to support HTTP prox

Re: [squid-users] TLS passthrough

2023-09-29 Thread Alex Rousskov
n interception scenario, please do. If you have, please share your interception configuration, Squid configuration, and any relevant error/problem information. HTH, Alex. On Fri, Sep 29, 2023 at 11:35 AM Alex Rousskov wrote: On 2023-09-29 09:17, Fernando Giorgetti wrote: > Act

Re: [squid-users] TLS passthrough

2023-09-29 Thread Alex Rousskov
to a given destination. That is why I was considering a reverse-proxy, but I had no luck with it (actually I was able to proxy HTTP/HTTPS, but not non-http). Thank you again, Fernando On Thu, Sep 28, 2023 at 11:39 PM Alex Rousskov <mailto:rouss...@measurement-factory.com>> wrote:

Re: [squid-users] TLS passthrough

2023-09-28 Thread Alex Rousskov
I by peeking at TLS ClientHello, without terminating TLS. Bugs notwithstanding, none of the configuration sketches I shared previously will do that though. HTH, Alex. > On Thu, Sep 28, 2023 at 1:02 PM Alex Rousskov wrote: > >     On 2023-09-28 11:

Re: [squid-users] TLS passthrough

2023-09-28 Thread Alex Rousskov
notwithstanding, none of the configuration sketches I shared previously will do that though. HTH, Alex. On Thu, Sep 28, 2023 at 1:02 PM Alex Rousskov wrote: On 2023-09-28 11:31, Fernando Giorgetti wrote: > And what should I do to let Squid use the SNI defined by the TLS cli

Re: [squid-users] TLS passthrough

2023-09-28 Thread Alex Rousskov
On 2023-09-28 11:31, Fernando Giorgetti wrote: And what should I do to let Squid use the SNI defined by the TLS client? What do you want Squid to use that SNI for? Alex. On Thu, Sep 28, 2023 at 11:51 AM Alex Rousskov wrote: On 2023-09-28 09:06, Fernando Giorgetti wrote: >

Re: [squid-users] No valid signing SSL certificate configured for HTTPS_port

2023-09-28 Thread Alex Rousskov
On 2023-09-28 00:52, Bud Miljkovic wrote: # Intercept tranparent HTTPS traffic https_port 3129 intercept ssl-bump ssl_bump splice all This should be refactored into two lines: https_port 3129 intercept ssl-bump ... ssl_bump splice all After that, replace "..." above with cert=...

Re: [squid-users] TLS passthrough

2023-09-28 Thread Alex Rousskov
On 2023-09-28 09:06, Fernando Giorgetti wrote: Hi Matus, do you mean something like a DNAT (iptables) rule? If so, I would say, it should work as well. But this is an environment I do not control, and I have been told to try using an existing squid installation to proxy non-http/TLS data

Re: [squid-users] [ext] no more cache_object://127.0.0.1/counters URL in 6.3?

2023-09-27 Thread Alex Rousskov
On 2023-09-27 16:49, Ralf Hildebrandt wrote: * Ralf Hildebrandt : We're relying on /usr/bin/squidclient -h 127.0.0.1 -p 8080 cache_object://127.0.0.1/counters for monitoring purposes and 6.3 reports an error when accessing that resource: 2023/09/27 22:42:57| ERROR: Squid BUG: assurance

Re: [squid-users] SIGABRT (coredump) in Ip::Address::getAddrInfo(addrinfo*&, int)

2023-09-27 Thread Alex Rousskov
On 2023-09-27 15:43, Dmitry Katsubo wrote: On 2023-09-27 19:15, Alex Rousskov wrote: On 2023-09-27 11:08, Dmitry Katsubo wrote: After upgrading Squid from v4.13-10+deb11u2 (bullseye) to v5.7-2 (bookworm) I started to get about 5 core dumps per day like below, provided . How can I find out

Re: [squid-users] Seeking Help with SSL Bump Configuration, for ECDSA Ciphers in Squid

2023-09-27 Thread Alex Rousskov
On 2023-09-27 08:22, nikhil deshpande wrote: [Question]: Are you trying to bump TLS client connections when and only when the TLS client is offering to use one of those ciphers in its ClientHello message? Or do you want Squid to use one of those ciphers when bumping all TLS client connections?

Re: [squid-users] TCP_TUNNEL/500 internal server error bandwidth impact

2023-09-27 Thread Alex Rousskov
On 2023-09-27 09:30, Marko Cupać wrote: 169568.912 69973 10.X.X.X TCP_TUNNEL/500 8503669 CONNECT ipv4-c002-beg001-oriontelekom-isp.1.oca.nflxvideo.net:443 some.gal HIER_DIRECT/93.93.192.146 - 1695679277.395 876830 10.X.X.X TCP_TUNNEL/500 105991027 CONNECT rostov1.nebula.to:443 some.guy

Re: [squid-users] SIGABRT (coredump) in Ip::Address::getAddrInfo(addrinfo*&, int)

2023-09-27 Thread Alex Rousskov
On 2023-09-27 11:08, Dmitry Katsubo wrote: After upgrading Squid from v4.13-10+deb11u2 (bullseye) to v5.7-2 (bookworm) I started to get about 5 core dumps per day like below. How can I find out the root of the problem and eliminate it? Your Squid is most likely suffering (among other v5

Re: [squid-users] bug 4906 issue

2023-09-26 Thread Alex Rousskov
On 2023-09-26 07:39, Matus UHLAR - fantomas wrote: I have just encountered bug 4906 with squid-4.13 (Debian 11) I could upgrade system fo Debian 12 with squid-5.7 but this issue doesn't seem to be resolved in it, at least: http://www.squid-cache.org/Versions/v5/changesets/ does not mention

Re: [squid-users] Seeking Help with SSL Bump Configuration for ECDSA Ciphers in Squid

2023-09-25 Thread Alex Rousskov
On 2023-09-25 05:31, nikhil deshpande wrote: Any update on this? This is not really an "update" because this mailing list has not received or has not posted the original email quoted below: https://lists.squid-cache.org/pipermail/squid-users/2023-September/thread.html On Thu, Sep 14, 2023

Re: [squid-users] Rebuilding Squid 3.5.25 with the `--with-openssl` option generates compilation error

2023-09-21 Thread Alex Rousskov
On 2023-09-20 23:22, Bud Miljkovic wrote: Using the *Squid 3.5.25* version from the Open Embedded *pyro* repository, I enabled the `*--with-openssl*` build option by adding the *squid_%.bbappend* file, please the attachment below. Then using *docker*, I tried to rebuild *squid* package but

Re: [squid-users] ssl-bump peek and select pinned destination failed

2023-09-20 Thread Alex Rousskov
On 2023-09-20 04:17, linfengfeiye wrote: Hi, what does "PeerSelector186 found pinned, destination" that appears in the Squid log mean? Please note that Squid debugging logs (cache.log at level 3 and above) are for developer use. This mailing list is not. In triage, I recommend focusing on

Re: [squid-users] Squid BUG: assurance failed: tok.skip(WellKnownUrlPathPrefix())

2023-09-14 Thread Alex Rousskov
your environment? Thank you, Alex. -Původní zpráva- Od: squid-users za uživatele Alex Rousskov Odesláno: st 13.9.2023 20:53 Komu: squid-users@lists.squid-cache.org Předmět: Re: [squid-users] Squid BUG: assurance failed: tok.skip(WellKnownUrlPathPrefix()) On 2023-09-12 15:50, Loučans

Re: [squid-users] Squid 5.6 and 5.9 keep crashing due to signal 6 with status 0

2023-09-14 Thread Alex Rousskov
On 2023-09-14 07:02, Flashdown wrote: Sep 14 08:55:06 vm-myproxy squid[79100]: Squid Parent: squid-2 process 80675 exited due to signal 6 with status 0 1694674498.411  9 **CENSORED_internal_client_IP** TCP_DENIED/407 4129 CONNECT [ff00::]:443 - HIER_NONE/- text/html IPv6 is disabled

Re: [squid-users] Squid BUG: assurance failed: tok.skip(WellKnownUrlPathPrefix())

2023-09-13 Thread Alex Rousskov
same box (e.g., Windows). HTH, Alex. -Původní zpráva- Od: squid-users za uživatele Alex Rousskov Odesláno: út 12.9.2023 19:28 Komu: squid-users@lists.squid-cache.org Předmět: Re: [squid-users] Squid BUG: assurance failed: tok.skip(WellKnownUrlPathPrefix()) On 2023-09-12 13:06,

Re: [squid-users] ssl-bump strange behaviour with incomplete config

2023-09-13 Thread Alex Rousskov
On 2023-09-13 12:47, sq...@iotti.biz wrote: I'm only peeking as long as possible, and then splice at step3. I got the regular Squid access denied screen (and this is right, since the CONNECT is not allowed) but in access.log I find: 2023-09-13T17:12:52.855+0200 12 192.168.1.179

Re: [squid-users] Squid BUG: assurance failed: tok.skip(WellKnownUrlPathPrefix())

2023-09-12 Thread Alex Rousskov
x-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 8.3.0 (Debian 8.3.0-6) with Debian 10 x64 LL -Původní zpráva- Od: squid-users za uživatele Alex Rousskov Odesláno: út 12.9.2023

Re: [squid-users] Squid BUG: assurance failed: tok.skip(WellKnownUrlPathPrefix())

2023-09-12 Thread Alex Rousskov
On 2023-09-12 10:21, Loučanský Lukáš wrote: today I was going to compile a new version of my beloved squid proxy (v6.3 or 6.3-20230903-ra9c06aa6a) FWIW, "was going to compile" part does not make it clear (to me) whether you did actually compile/test v6.3. just to be welcomed by non

Re: [squid-users] ICAP reply pipe is full

2023-09-09 Thread Alex Rousskov
On 2023-09-03 09:39, Ben Goz wrote: I'm working with squid that sends http/s traffic to a custom c-icap filter. I see a lot of ICAP reply debug messages in Squid's cache log. kid1| 93,3| ModXact.cc(556) readMore: not reading because ICAP reply pipe is full What are the implications of this

Re: [squid-users] Squid-cache authentication is not working

2023-09-09 Thread Alex Rousskov
On 2023-09-09 18:27, Alex Rousskov wrote: On 2023-09-09 15:09, Jason Long wrote: My Squid-cache server IP is "192.168.1.2". I use Mozilla Firefox and set the proxy to "192.168.1.2:3128". What information do you need to tell you? Do you see Firefox requests/transaction

Re: [squid-users] Squid-cache authentication is not working

2023-09-09 Thread Alex Rousskov
HTH, Alex. On Sat, Sep 9, 2023 at 5:56 PM, Alex Rousskov wrote: On 2023-09-09 09:09, Jason Long wrote: > Hello, > I installed the Squid-cache on Debian 12, then I installed the Apache utils: > > $ sudo apt install apache2-utils >

Re: [squid-users] Squid-cache authentication is not working

2023-09-09 Thread Alex Rousskov
On 2023-09-09 09:09, Jason Long wrote: Hello, I installed the Squid-cache on Debian 12, then I installed the Apache utils: $ sudo apt install apache2-utils After it, I did the following steps: $ sudo touch /etc/squid/passwd $ sudo chown proxy /etc/squid/passwd Then: $ sudo htpasswd

  1   2   3   4   5   6   7   8   9   10   >