Skip to content

Commit d64d921

Browse files
committed
2026-03-05
1 parent 81bcbc8 commit d64d921

18 files changed

Lines changed: 2538 additions & 39 deletions

File tree

squid-dev/2026-March.txt

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,65 @@ Best regards,
2929
Anthony mailto:anthony.pankov at yahoo.com
3030

3131

32+
From rousskov at measurement-factory.com Wed Mar 4 18:43:45 2026
33+
From: rousskov at measurement-factory.com (Alex Rousskov)
34+
Date: Wed, 4 Mar 2026 13:43:45 -0500
35+
Subject: [squid-dev] forward bumped traffic to parent in plain form
36+
In-Reply-To: <1985119311.20260304190328@yahoo.com>
37+
References: <1985119311.20260304190328.ref@yahoo.com>
38+
<1985119311.20260304190328@yahoo.com>
39+
Message-ID: <70faedf9-2e5d-4934-b837-874940f81a4b@measurement-factory.com>
40+
41+
On 2026-03-04 11:03, Anthony Pankov wrote:
42+
43+
> I still want to modify squid in such a way that it can forward
44+
> clients http traffic to a parent cache in plain form. I mean after
45+
> bumping ssl (forntend-squid establish tls connection with a client)
46+
> requests from client should goes to parent cache as a plain http (
47+
> GET etc.)
48+
49+
Let's split this problem into two parts:
50+
51+
Part 1: Bumping the client.
52+
53+
Do you want your Squid to bump the TLS client connection without talking
54+
to the TLS origin server? Bugs notwithstanding, that should already be
55+
possible using unsupported "ssl_bump client-first all" or, after
56+
defining step1,
57+
58+
ssl_bump stare step1
59+
ssl_bump bump all
60+
61+
Or does the client need to see something from the TLS origin server
62+
certificate to work correctly? In that case, you have to use something
63+
like "ssl_bump stare all" but it will complicate Part 2 changes.
64+
65+
66+
Part 2: Forwarding bumped GET requests to cache_peers "as is", without a
67+
second layer of encryption.
68+
69+
This part depends on Part 1. Let's come back to this after Part 1 is
70+
working.
71+
72+
73+
HTH,
74+
75+
Alex.
76+
77+
78+
> Connection between squids servers is already encrypted so I don't need any additional tls(security) layer.
79+
>
80+
> Also, for simplification, I assume never_direct directive for this traffic on a front-end.
81+
> I understand that it will preclude any checks for origin server certificate but this is not a problem because policy for origin may be applied in a parent cache.
82+
>
83+
> I tried to modify FwdState::noteConnection to avoid establishTunnelThruProxy() and FwdState::secureConnectionToPeerIfNeeded to avoid secureConnectionToPeer() but has no lack.
84+
>
85+
> They use request.flags sslBumped and sslPeek that I do not fully understand. sslPeek described as "internal ssl-bump request to get server cert" but it always True when I'm in noteConnection.
86+
>
87+
> Also I noted async SslBumpEstablish which call switchToHttps. Because of asyncs I can't fully understand where I can preclude switching connections to parent cache to "CONNECT" mode rather than using it plain.
88+
>
89+
> Any help would be appreciated.
90+
>
91+
>
92+
93+

squid-dev/2026-March/009979.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

16-
16+
<LINK REL="Next" HREF="009980.html">
1717
</HEAD>
1818
<BODY BGCOLOR="#ffffff">
1919
<H1>[squid-dev] forward bumped traffic to parent in plain form</H1>
@@ -24,7 +24,8 @@ <H1>[squid-dev] forward bumped traffic to parent in plain form</H1>
2424
<I>Wed Mar 4 16:03:28 UTC 2026</I>
2525
<P><UL>
2626

27-
27+
<LI>Next message (by thread): <A HREF="009980.html">[squid-dev] forward bumped traffic to parent in plain form
28+
</A></li>
2829
<LI> <B>Messages sorted by:</B>
2930
<a href="date.html#9979">[ date ]</a>
3031
<a href="thread.html#9979">[ thread ]</a>
@@ -59,12 +60,14 @@ <H1>[squid-dev] forward bumped traffic to parent in plain form</H1>
5960

6061
</PRE>
6162

63+
6264
<!--endarticle-->
6365
<HR>
6466
<P><UL>
6567
<!--threads-->
6668

67-
69+
<LI>Next message (by thread): <A HREF="009980.html">[squid-dev] forward bumped traffic to parent in plain form
70+
</A></li>
6871
<LI> <B>Messages sorted by:</B>
6972
<a href="date.html#9979">[ date ]</a>
7073
<a href="thread.html#9979">[ thread ]</a>

squid-dev/2026-March/009980.html

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2+
<HTML>
3+
<HEAD>
4+
<TITLE> [squid-dev] forward bumped traffic to parent in plain form
5+
</TITLE>
6+
<LINK REL="Index" HREF="index.html" >
7+
<LINK REL="made" HREF="mailto:squid-dev%40lists.squid-cache.org?Subject=Re%3A%20%5Bsquid-dev%5D%20forward%20bumped%20traffic%20to%20parent%20in%20plain%20form&In-Reply-To=%3C70faedf9-2e5d-4934-b837-874940f81a4b%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="009979.html">
16+
17+
</HEAD>
18+
<BODY BGCOLOR="#ffffff">
19+
<H1>[squid-dev] forward bumped traffic to parent in plain form</H1>
20+
<B>Alex Rousskov</B>
21+
<A HREF="mailto:squid-dev%40lists.squid-cache.org?Subject=Re%3A%20%5Bsquid-dev%5D%20forward%20bumped%20traffic%20to%20parent%20in%20plain%20form&In-Reply-To=%3C70faedf9-2e5d-4934-b837-874940f81a4b%40measurement-factory.com%3E"
22+
TITLE="[squid-dev] forward bumped traffic to parent in plain form">rousskov at measurement-factory.com
23+
</A><BR>
24+
<I>Wed Mar 4 18:43:45 UTC 2026</I>
25+
<P><UL>
26+
<LI>Previous message (by thread): <A HREF="009979.html">[squid-dev] forward bumped traffic to parent in plain form
27+
</A></li>
28+
29+
<LI> <B>Messages sorted by:</B>
30+
<a href="date.html#9980">[ date ]</a>
31+
<a href="thread.html#9980">[ thread ]</a>
32+
<a href="subject.html#9980">[ subject ]</a>
33+
<a href="author.html#9980">[ author ]</a>
34+
</LI>
35+
</UL>
36+
<HR>
37+
<!--beginarticle-->
38+
<PRE>On 2026-03-04 11:03, Anthony Pankov wrote:
39+
40+
&gt;<i> I still want to modify squid in such a way that it can forward
41+
</I>&gt;<i> clients http traffic to a parent cache in plain form. I mean after
42+
</I>&gt;<i> bumping ssl (forntend-squid establish tls connection with a client)
43+
</I>&gt;<i> requests from client should goes to parent cache as a plain http (
44+
</I>&gt;<i> GET etc.)
45+
</I>
46+
Let's split this problem into two parts:
47+
48+
Part 1: Bumping the client.
49+
50+
Do you want your Squid to bump the TLS client connection without talking
51+
to the TLS origin server? Bugs notwithstanding, that should already be
52+
possible using unsupported &quot;ssl_bump client-first all&quot; or, after
53+
defining step1,
54+
55+
ssl_bump stare step1
56+
ssl_bump bump all
57+
58+
Or does the client need to see something from the TLS origin server
59+
certificate to work correctly? In that case, you have to use something
60+
like &quot;ssl_bump stare all&quot; but it will complicate Part 2 changes.
61+
62+
63+
Part 2: Forwarding bumped GET requests to cache_peers &quot;as is&quot;, without a
64+
second layer of encryption.
65+
66+
This part depends on Part 1. Let's come back to this after Part 1 is
67+
working.
68+
69+
70+
HTH,
71+
72+
Alex.
73+
74+
75+
&gt;<i> Connection between squids servers is already encrypted so I don't need any additional tls(security) layer.
76+
</I>&gt;<i>
77+
</I>&gt;<i> Also, for simplification, I assume never_direct directive for this traffic on a front-end.
78+
</I>&gt;<i> I understand that it will preclude any checks for origin server certificate but this is not a problem because policy for origin may be applied in a parent cache.
79+
</I>&gt;<i>
80+
</I>&gt;<i> I tried to modify FwdState::noteConnection to avoid establishTunnelThruProxy() and FwdState::secureConnectionToPeerIfNeeded to avoid secureConnectionToPeer() but has no lack.
81+
</I>&gt;<i>
82+
</I>&gt;<i> They use request.flags sslBumped and sslPeek that I do not fully understand. sslPeek described as &quot;internal ssl-bump request to get server cert&quot; but it always True when I'm in noteConnection.
83+
</I>&gt;<i>
84+
</I>&gt;<i> Also I noted async SslBumpEstablish which call switchToHttps. Because of asyncs I can't fully understand where I can preclude switching connections to parent cache to &quot;CONNECT&quot; mode rather than using it plain.
85+
</I>&gt;<i>
86+
</I>&gt;<i> Any help would be appreciated.
87+
</I>&gt;<i>
88+
</I>&gt;<i>
89+
</I>
90+
</PRE>
91+
92+
<!--endarticle-->
93+
<HR>
94+
<P><UL>
95+
<!--threads-->
96+
<LI>Previous message (by thread): <A HREF="009979.html">[squid-dev] forward bumped traffic to parent in plain form
97+
</A></li>
98+
99+
<LI> <B>Messages sorted by:</B>
100+
<a href="date.html#9980">[ date ]</a>
101+
<a href="thread.html#9980">[ thread ]</a>
102+
<a href="subject.html#9980">[ subject ]</a>
103+
<a href="author.html#9980">[ author ]</a>
104+
</LI>
105+
</UL>
106+
107+
<hr>
108+
<a href="https://lists.squid-cache.org/listinfo/squid-dev">More information about the squid-dev
109+
mailing list</a><br>
110+
</body></html>

squid-dev/2026-March/author.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,25 @@ <h1>March 2026 Archives by author</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Wed Mar 4 16:03:28 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Wed Mar 4 16:03:28 UTC 2026</i><br>
23-
<b>Messages:</b> 1<p>
22+
<b>Ending:</b> <i>Wed Mar 4 18:43:45 UTC 2026</i><br>
23+
<b>Messages:</b> 2<p>
2424
<ul>
2525

2626
<LI><A HREF="009979.html">[squid-dev] forward bumped traffic to parent in plain form
2727
</A><A NAME="9979">&nbsp;</A>
2828
<I>Anthony Pankov
29+
</I>
30+
31+
<LI><A HREF="009980.html">[squid-dev] forward bumped traffic to parent in plain form
32+
</A><A NAME="9980">&nbsp;</A>
33+
<I>Alex Rousskov
2934
</I>
3035

3136
</ul>
3237
<p>
3338
<a name="end"><b>Last message date:</b></a>
34-
<i>Wed Mar 4 16:03:28 UTC 2026</i><br>
35-
<b>Archived on:</b> <i>Wed Mar 4 16:03:19 UTC 2026</i>
39+
<i>Wed Mar 4 18:43:45 UTC 2026</i><br>
40+
<b>Archived on:</b> <i>Wed Mar 4 18:43:48 UTC 2026</i>
3641
<p>
3742
<ul>
3843
<li> <b>Messages sorted by:</b>

squid-dev/2026-March/date.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,25 @@ <h1>March 2026 Archives by date</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Wed Mar 4 16:03:28 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Wed Mar 4 16:03:28 UTC 2026</i><br>
23-
<b>Messages:</b> 1<p>
22+
<b>Ending:</b> <i>Wed Mar 4 18:43:45 UTC 2026</i><br>
23+
<b>Messages:</b> 2<p>
2424
<ul>
2525

2626
<LI><A HREF="009979.html">[squid-dev] forward bumped traffic to parent in plain form
2727
</A><A NAME="9979">&nbsp;</A>
2828
<I>Anthony Pankov
29+
</I>
30+
31+
<LI><A HREF="009980.html">[squid-dev] forward bumped traffic to parent in plain form
32+
</A><A NAME="9980">&nbsp;</A>
33+
<I>Alex Rousskov
2934
</I>
3035

3136
</ul>
3237
<p>
3338
<a name="end"><b>Last message date:</b></a>
34-
<i>Wed Mar 4 16:03:28 UTC 2026</i><br>
35-
<b>Archived on:</b> <i>Wed Mar 4 16:03:19 UTC 2026</i>
39+
<i>Wed Mar 4 18:43:45 UTC 2026</i><br>
40+
<b>Archived on:</b> <i>Wed Mar 4 18:43:48 UTC 2026</i>
3641
<p>
3742
<ul>
3843
<li> <b>Messages sorted by:</b>

squid-dev/2026-March/subject.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,25 @@ <h1>March 2026 Archives by subject</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Wed Mar 4 16:03:28 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Wed Mar 4 16:03:28 UTC 2026</i><br>
23-
<b>Messages:</b> 1<p>
22+
<b>Ending:</b> <i>Wed Mar 4 18:43:45 UTC 2026</i><br>
23+
<b>Messages:</b> 2<p>
2424
<ul>
2525

2626
<LI><A HREF="009979.html">[squid-dev] forward bumped traffic to parent in plain form
2727
</A><A NAME="9979">&nbsp;</A>
2828
<I>Anthony Pankov
29+
</I>
30+
31+
<LI><A HREF="009980.html">[squid-dev] forward bumped traffic to parent in plain form
32+
</A><A NAME="9980">&nbsp;</A>
33+
<I>Alex Rousskov
2934
</I>
3035

3136
</ul>
3237
<p>
3338
<a name="end"><b>Last message date:</b></a>
34-
<i>Wed Mar 4 16:03:28 UTC 2026</i><br>
35-
<b>Archived on:</b> <i>Wed Mar 4 16:03:19 UTC 2026</i>
39+
<i>Wed Mar 4 18:43:45 UTC 2026</i><br>
40+
<b>Archived on:</b> <i>Wed Mar 4 18:43:48 UTC 2026</i>
3641
<p>
3742
<ul>
3843
<li> <b>Messages sorted by:</b>

squid-dev/2026-March/thread.html

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ <h1>March 2026 Archives by thread</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Wed Mar 4 16:03:28 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Wed Mar 4 16:03:28 UTC 2026</i><br>
23-
<b>Messages:</b> 1<p>
22+
<b>Ending:</b> <i>Wed Mar 4 18:43:45 UTC 2026</i><br>
23+
<b>Messages:</b> 2<p>
2424
<ul>
2525

2626
<!--0 01772640208.9979- -->
@@ -29,11 +29,19 @@ <h1>March 2026 Archives by thread</h1>
2929
<I>Anthony Pankov
3030
</I>
3131

32+
<UL>
33+
<!--1 01772640208.9979-01772649825.9980- -->
34+
<LI><A HREF="009980.html">[squid-dev] forward bumped traffic to parent in plain form
35+
</A><A NAME="9980">&nbsp;</A>
36+
<I>Alex Rousskov
37+
</I>
38+
39+
</UL>
3240
</ul>
3341
<p>
3442
<a name="end"><b>Last message date:</b></a>
35-
<i>Wed Mar 4 16:03:28 UTC 2026</i><br>
36-
<b>Archived on:</b> <i>Wed Mar 4 16:03:19 UTC 2026</i>
43+
<i>Wed Mar 4 18:43:45 UTC 2026</i><br>
44+
<b>Archived on:</b> <i>Wed Mar 4 18:43:48 UTC 2026</i>
3745
<p>
3846
<ul>
3947
<li> <b>Messages sorted by:</b>

squid-dev/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1>The squid-dev Archives </h1>
2525
<A href="2026-March/author.html">[ Author ]</a>
2626
<A href="2026-March/date.html">[ Date ]</a>
2727
</td>
28-
<td><A href="2026-March.txt">[ Text 1 KB ]</a></td>
28+
<td><A href="2026-March.txt">[ Text 4 KB ]</a></td>
2929
</tr>
3030

3131

0 commit comments

Comments
 (0)