Skip to content

Commit be820cc

Browse files
committed
2026-01-28
1 parent 6f8d087 commit be820cc

7 files changed

Lines changed: 213 additions & 19 deletions

File tree

squid-users/2026-January.txt

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3653,3 +3653,64 @@ Best regards,
36533653
Anthony
36543654

36553655

3656+
From rousskov at measurement-factory.com Tue Jan 27 18:37:00 2026
3657+
From: rousskov at measurement-factory.com (Alex Rousskov)
3658+
Date: Tue, 27 Jan 2026 13:37:00 -0500
3659+
Subject: [squid-users] ssl bump + never_direct
3660+
In-Reply-To: <372846799.20260127173621@yahoo.com>
3661+
References: <989861490.20260127144639.ref@yahoo.com>
3662+
<989861490.20260127144639@yahoo.com>
3663+
<fce0b766-aa52-4e6e-95e9-75384817ff38@measurement-factory.com>
3664+
<372846799.20260127173621@yahoo.com>
3665+
Message-ID: <4a108d22-184a-4728-a3f3-df47a37045e5@measurement-factory.com>
3666+
3667+
On 2026-01-27 09:36, Anthony Pankov wrote:
3668+
> Tuesday, January 27, 2026, 4:58:34 PM, you wrote:
3669+
>
3670+
>> On 2026-01-27 06:46, Anthony Pankov wrote:
3671+
>
3672+
>>> I'm wandering is it possible and what the logic will be if configure
3673+
>>> squid for ssl bumping and to always go to cache_peer (never direct)
3674+
>>> at the same time?
3675+
>
3676+
>> Squid does not support "TLS inside TLS" yet, resulting in the following three possible use cases/answers:
3677+
>
3678+
>> Bugs notwithstanding, bumping client traffic while talking to a cache_peer
3679+
>
3680+
>> * ... should be possible if that cache_peer listens for plain text HTTP connections (e.g., cache_peer is a Squid instance listening on an http_port). Just configure Squid to always go to that cache_peer (see never_direct directive documentation). When forwarding bumped traffic, Squid will send a plain text CONNECT request to that cache_peer (and forward TLS traffic inside that CONNECT tunnel).
3681+
3682+
> I'm mostly interesting about SSLBump steps. Its include "Get TLS Server Hello info from the server, including the server certificate" [https://wiki.squid-cache.org/Features/SslPeekAndSplice].
3683+
> Does squid will go to origin server in a Bump step for "Server hello" despite the never_direct configuration?
3684+
3685+
Short answer: "Yes".
3686+
3687+
At TCP level, Squid will connect to the cache_peer and ask that
3688+
cache_peer to connect to the origin server, creating a TCP tunnel. At
3689+
TLS level, Squid will be talking to the TLS origin server (using that
3690+
TCP tunnel through the cache_peer).
3691+
3692+
3693+
HTH,
3694+
3695+
Alex.
3696+
3697+
3698+
3699+
>> * ... may also be possible if that cache_peer is an originserver peer that listens for TLS connections (e.g., cache_peer is a Squid instance listening on an https_port in "accel" mode). I am not sure whether Squid has enough code to handle this configuration. Same never_direct configuration approach would apply here. When forwarding bumped traffic, Squid will open a TLS connection to that cache_peer.
3700+
>
3701+
>> * ... is not possible if that cache_peer is a proxy that listens for TLS connections (e.g., cache_peer is a Squid instance listening on an https_port in the default forward proxy mode).
3702+
>
3703+
>
3704+
>> HTH,
3705+
>
3706+
>> Alex.
3707+
>> P.S. "Peering support for SslBump" functionality was added in Squid v5, but you should use Squid v7+.
3708+
>
3709+
>> _______________________________________________
3710+
>> squid-users mailing list
3711+
>> squid-users at lists.squid-cache.org
3712+
>> https://lists.squid-cache.org/listinfo/squid-users
3713+
>
3714+
>
3715+
3716+

squid-users/2026-January/027783.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</style>
1414
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
1515
<LINK REL="Previous" HREF="027782.html">
16-
16+
<LINK REL="Next" HREF="027784.html">
1717
</HEAD>
1818
<BODY BGCOLOR="#ffffff">
1919
<H1>[squid-users] ssl bump + never_direct</H1>
@@ -25,7 +25,8 @@ <H1>[squid-users] ssl bump + never_direct</H1>
2525
<P><UL>
2626
<LI>Previous message (by thread): <A HREF="027782.html">[squid-users] ssl bump + never_direct
2727
</A></li>
28-
28+
<LI>Next message (by thread): <A HREF="027784.html">[squid-users] ssl bump + never_direct
29+
</A></li>
2930
<LI> <B>Messages sorted by:</B>
3031
<a href="date.html#27783">[ date ]</a>
3132
<a href="thread.html#27783">[ thread ]</a>
@@ -79,13 +80,15 @@ <H1>[squid-users] ssl bump + never_direct</H1>
7980

8081
</PRE>
8182

83+
8284
<!--endarticle-->
8385
<HR>
8486
<P><UL>
8587
<!--threads-->
8688
<LI>Previous message (by thread): <A HREF="027782.html">[squid-users] ssl bump + never_direct
8789
</A></li>
88-
90+
<LI>Next message (by thread): <A HREF="027784.html">[squid-users] ssl bump + never_direct
91+
</A></li>
8992
<LI> <B>Messages sorted by:</B>
9093
<a href="date.html#27783">[ date ]</a>
9194
<a href="thread.html#27783">[ thread ]</a>
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2+
<HTML>
3+
<HEAD>
4+
<TITLE> [squid-users] ssl bump + never_direct
5+
</TITLE>
6+
<LINK REL="Index" HREF="index.html" >
7+
<LINK REL="made" HREF="mailto:squid-users%40lists.squid-cache.org?Subject=Re%3A%20%5Bsquid-users%5D%20ssl%20bump%20%2B%20never_direct&In-Reply-To=%3C4a108d22-184a-4728-a3f3-df47a37045e5%40measurement-factory.com%3E">
8+
<META NAME="robots" CONTENT="index,nofollow">
9+
<style type="text/css">
10+
pre {
11+
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
12+
}
13+
</style>
14+
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
15+
<LINK REL="Previous" HREF="027783.html">
16+
17+
</HEAD>
18+
<BODY BGCOLOR="#ffffff">
19+
<H1>[squid-users] ssl bump + never_direct</H1>
20+
<B>Alex Rousskov</B>
21+
<A HREF="mailto:squid-users%40lists.squid-cache.org?Subject=Re%3A%20%5Bsquid-users%5D%20ssl%20bump%20%2B%20never_direct&In-Reply-To=%3C4a108d22-184a-4728-a3f3-df47a37045e5%40measurement-factory.com%3E"
22+
TITLE="[squid-users] ssl bump + never_direct">rousskov at measurement-factory.com
23+
</A><BR>
24+
<I>Tue Jan 27 18:37:00 UTC 2026</I>
25+
<P><UL>
26+
<LI>Previous message (by thread): <A HREF="027783.html">[squid-users] ssl bump + never_direct
27+
</A></li>
28+
29+
<LI> <B>Messages sorted by:</B>
30+
<a href="date.html#27784">[ date ]</a>
31+
<a href="thread.html#27784">[ thread ]</a>
32+
<a href="subject.html#27784">[ subject ]</a>
33+
<a href="author.html#27784">[ author ]</a>
34+
</LI>
35+
</UL>
36+
<HR>
37+
<!--beginarticle-->
38+
<PRE>On 2026-01-27 09:36, Anthony Pankov wrote:
39+
&gt;<i> Tuesday, January 27, 2026, 4:58:34 PM, you wrote:
40+
</I>&gt;<i>
41+
</I>&gt;&gt;<i> On 2026-01-27 06:46, Anthony Pankov wrote:
42+
</I>&gt;<i>
43+
</I>&gt;&gt;&gt;<i> I'm wandering is it possible and what the logic will be if configure
44+
</I>&gt;&gt;&gt;<i> squid for ssl bumping and to always go to cache_peer (never direct)
45+
</I>&gt;&gt;&gt;<i> at the same time?
46+
</I>&gt;<i>
47+
</I>&gt;&gt;<i> Squid does not support &quot;TLS inside TLS&quot; yet, resulting in the following three possible use cases/answers:
48+
</I>&gt;<i>
49+
</I>&gt;&gt;<i> Bugs notwithstanding, bumping client traffic while talking to a cache_peer
50+
</I>&gt;<i>
51+
</I>&gt;&gt;<i> * ... should be possible if that cache_peer listens for plain text HTTP connections (e.g., cache_peer is a Squid instance listening on an http_port). Just configure Squid to always go to that cache_peer (see never_direct directive documentation). When forwarding bumped traffic, Squid will send a plain text CONNECT request to that cache_peer (and forward TLS traffic inside that CONNECT tunnel).
52+
</I>
53+
&gt;<i> I'm mostly interesting about SSLBump steps. Its include &quot;Get TLS Server Hello info from the server, including the server certificate&quot; [<A HREF="https://wiki.squid-cache.org/Features/SslPeekAndSplice">https://wiki.squid-cache.org/Features/SslPeekAndSplice</A>].
54+
</I>&gt;<i> Does squid will go to origin server in a Bump step for &quot;Server hello&quot; despite the never_direct configuration?
55+
</I>
56+
Short answer: &quot;Yes&quot;.
57+
58+
At TCP level, Squid will connect to the cache_peer and ask that
59+
cache_peer to connect to the origin server, creating a TCP tunnel. At
60+
TLS level, Squid will be talking to the TLS origin server (using that
61+
TCP tunnel through the cache_peer).
62+
63+
64+
HTH,
65+
66+
Alex.
67+
68+
69+
70+
&gt;&gt;<i> * ... may also be possible if that cache_peer is an originserver peer that listens for TLS connections (e.g., cache_peer is a Squid instance listening on an https_port in &quot;accel&quot; mode). I am not sure whether Squid has enough code to handle this configuration. Same never_direct configuration approach would apply here. When forwarding bumped traffic, Squid will open a TLS connection to that cache_peer.
71+
</I>&gt;<i>
72+
</I>&gt;&gt;<i> * ... is not possible if that cache_peer is a proxy that listens for TLS connections (e.g., cache_peer is a Squid instance listening on an https_port in the default forward proxy mode).
73+
</I>&gt;<i>
74+
</I>&gt;<i>
75+
</I>&gt;&gt;<i> HTH,
76+
</I>&gt;<i>
77+
</I>&gt;&gt;<i> Alex.
78+
</I>&gt;&gt;<i> P.S. &quot;Peering support for SslBump&quot; functionality was added in Squid v5, but you should use Squid v7+.
79+
</I>&gt;<i>
80+
</I>&gt;&gt;<i> _______________________________________________
81+
</I>&gt;&gt;<i> squid-users mailing list
82+
</I>&gt;&gt;<i> <A HREF="https://lists.squid-cache.org/listinfo/squid-users">squid-users at lists.squid-cache.org</A>
83+
</I>&gt;&gt;<i> <A HREF="https://lists.squid-cache.org/listinfo/squid-users">https://lists.squid-cache.org/listinfo/squid-users</A>
84+
</I>&gt;<i>
85+
</I>&gt;<i>
86+
</I>
87+
</PRE>
88+
89+
<!--endarticle-->
90+
<HR>
91+
<P><UL>
92+
<!--threads-->
93+
<LI>Previous message (by thread): <A HREF="027783.html">[squid-users] ssl bump + never_direct
94+
</A></li>
95+
96+
<LI> <B>Messages sorted by:</B>
97+
<a href="date.html#27784">[ date ]</a>
98+
<a href="thread.html#27784">[ thread ]</a>
99+
<a href="subject.html#27784">[ subject ]</a>
100+
<a href="author.html#27784">[ author ]</a>
101+
</LI>
102+
</UL>
103+
104+
<hr>
105+
<a href="https://lists.squid-cache.org/listinfo/squid-users">More information about the squid-users
106+
mailing list</a><br>
107+
</body></html>

squid-users/2026-January/author.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ <h1>January 2026 Archives by author</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Sun Jan 4 01:35:40 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Tue Jan 27 14:36:21 UTC 2026</i><br>
23-
<b>Messages:</b> 51<p>
22+
<b>Ending:</b> <i>Tue Jan 27 18:37:00 UTC 2026</i><br>
23+
<b>Messages:</b> 52<p>
2424
<ul>
2525

2626
<LI><A HREF="027772.html">[squid-users] [ICAP] Web Safety 9.7 is released
@@ -203,6 +203,11 @@ <h1>January 2026 Archives by author</h1>
203203
<I>Alex Rousskov
204204
</I>
205205

206+
<LI><A HREF="027784.html">[squid-users] ssl bump + never_direct
207+
</A><A NAME="27784">&nbsp;</A>
208+
<I>Alex Rousskov
209+
</I>
210+
206211
<LI><A HREF="027775.html">[squid-users] [squid-announce] Squid version 7.4 is available
207212
</A><A NAME="27775">&nbsp;</A>
208213
<I>Vacheslav
@@ -281,8 +286,8 @@ <h1>January 2026 Archives by author</h1>
281286
</ul>
282287
<p>
283288
<a name="end"><b>Last message date:</b></a>
284-
<i>Tue Jan 27 14:36:21 UTC 2026</i><br>
285-
<b>Archived on:</b> <i>Tue Jan 27 14:33:30 UTC 2026</i>
289+
<i>Tue Jan 27 18:37:00 UTC 2026</i><br>
290+
<b>Archived on:</b> <i>Tue Jan 27 18:37:05 UTC 2026</i>
286291
<p>
287292
<ul>
288293
<li> <b>Messages sorted by:</b>

squid-users/2026-January/date.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ <h1>January 2026 Archives by date</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Sun Jan 4 01:35:40 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Tue Jan 27 14:36:21 UTC 2026</i><br>
23-
<b>Messages:</b> 51<p>
22+
<b>Ending:</b> <i>Tue Jan 27 18:37:00 UTC 2026</i><br>
23+
<b>Messages:</b> 52<p>
2424
<ul>
2525

2626
<LI><A HREF="027733.html">[squid-users] Running squid in a network namespace
@@ -276,13 +276,18 @@ <h1>January 2026 Archives by date</h1>
276276
<LI><A HREF="027783.html">[squid-users] ssl bump + never_direct
277277
</A><A NAME="27783">&nbsp;</A>
278278
<I>Anthony Pankov
279+
</I>
280+
281+
<LI><A HREF="027784.html">[squid-users] ssl bump + never_direct
282+
</A><A NAME="27784">&nbsp;</A>
283+
<I>Alex Rousskov
279284
</I>
280285

281286
</ul>
282287
<p>
283288
<a name="end"><b>Last message date:</b></a>
284-
<i>Tue Jan 27 14:36:21 UTC 2026</i><br>
285-
<b>Archived on:</b> <i>Tue Jan 27 14:33:30 UTC 2026</i>
289+
<i>Tue Jan 27 18:37:00 UTC 2026</i><br>
290+
<b>Archived on:</b> <i>Tue Jan 27 18:37:05 UTC 2026</i>
286291
<p>
287292
<ul>
288293
<li> <b>Messages sorted by:</b>

squid-users/2026-January/subject.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ <h1>January 2026 Archives by subject</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Sun Jan 4 01:35:40 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Tue Jan 27 14:36:21 UTC 2026</i><br>
23-
<b>Messages:</b> 51<p>
22+
<b>Ending:</b> <i>Tue Jan 27 18:37:00 UTC 2026</i><br>
23+
<b>Messages:</b> 52<p>
2424
<ul>
2525

2626
<LI><A HREF="027772.html">[squid-users] [ICAP] Web Safety 9.7 is released
@@ -273,6 +273,11 @@ <h1>January 2026 Archives by subject</h1>
273273
<I>Anthony Pankov
274274
</I>
275275

276+
<LI><A HREF="027784.html">[squid-users] ssl bump + never_direct
277+
</A><A NAME="27784">&nbsp;</A>
278+
<I>Alex Rousskov
279+
</I>
280+
276281
<LI><A HREF="027771.html">[squid-users] Trying to build on openEuler 24.04-LTS-SP3
277282
</A><A NAME="27771">&nbsp;</A>
278283
<I>NgTech LTD
@@ -281,8 +286,8 @@ <h1>January 2026 Archives by subject</h1>
281286
</ul>
282287
<p>
283288
<a name="end"><b>Last message date:</b></a>
284-
<i>Tue Jan 27 14:36:21 UTC 2026</i><br>
285-
<b>Archived on:</b> <i>Tue Jan 27 14:33:30 UTC 2026</i>
289+
<i>Tue Jan 27 18:37:00 UTC 2026</i><br>
290+
<b>Archived on:</b> <i>Tue Jan 27 18:37:05 UTC 2026</i>
286291
<p>
287292
<ul>
288293
<li> <b>Messages sorted by:</b>

squid-users/2026-January/thread.html

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ <h1>January 2026 Archives by thread</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Sun Jan 4 01:35:40 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Tue Jan 27 14:36:21 UTC 2026</i><br>
23-
<b>Messages:</b> 51<p>
22+
<b>Ending:</b> <i>Tue Jan 27 18:37:00 UTC 2026</i><br>
23+
<b>Messages:</b> 52<p>
2424
<ul>
2525

2626
<!--0 01767490540.27733- -->
@@ -373,13 +373,21 @@ <h1>January 2026 Archives by thread</h1>
373373
<I>Anthony Pankov
374374
</I>
375375

376+
<UL>
377+
<!--3 01769514399.27781-01769522314.27782-01769524581.27783-01769539020.27784- -->
378+
<LI><A HREF="027784.html">[squid-users] ssl bump + never_direct
379+
</A><A NAME="27784">&nbsp;</A>
380+
<I>Alex Rousskov
381+
</I>
382+
383+
</UL>
376384
</UL>
377385
</UL>
378386
</ul>
379387
<p>
380388
<a name="end"><b>Last message date:</b></a>
381-
<i>Tue Jan 27 14:36:21 UTC 2026</i><br>
382-
<b>Archived on:</b> <i>Tue Jan 27 14:33:30 UTC 2026</i>
389+
<i>Tue Jan 27 18:37:00 UTC 2026</i><br>
390+
<b>Archived on:</b> <i>Tue Jan 27 18:37:05 UTC 2026</i>
383391
<p>
384392
<ul>
385393
<li> <b>Messages sorted by:</b>

0 commit comments

Comments
 (0)