Skip to content

Commit eac548c

Browse files
committed
2026-04-07
1 parent b57d6f1 commit eac548c

8 files changed

Lines changed: 233 additions & 20 deletions

File tree

squid-dev/2026-April.txt

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,3 +333,81 @@ Alex.
333333

334334

335335

336+
From anthony.pankov at yahoo.com Tue Apr 7 14:55:13 2026
337+
From: anthony.pankov at yahoo.com (Anthony Pankov)
338+
Date: Tue, 7 Apr 2026 17:55:13 +0300
339+
Subject: [squid-dev] forward bumped traffic to parent in plain form
340+
In-Reply-To: <7785cda9-25eb-4eb7-bac7-0d5d6b82a4ad@measurement-factory.com>
341+
References: <1985119311.20260304190328.ref@yahoo.com>
342+
<1985119311.20260304190328@yahoo.com>
343+
<70faedf9-2e5d-4934-b837-874940f81a4b@measurement-factory.com>
344+
<1478043664.20260305122659@yahoo.com>
345+
<30a55c20-f80b-4a5f-be94-352a6a567a9c@measurement-factory.com>
346+
<38965228.20260306181359@yahoo.com>
347+
<a87212b4-41bb-4d03-95cf-cb4704d45897@measurement-factory.com>
348+
<1736177688.20260308131738@yahoo.com>
349+
<878e2ea7-2dda-410a-8bdf-1fabd429315e@measurement-factory.com>
350+
<991408460.20260310135102@yahoo.com>
351+
<f867539b-0550-43c6-9aa0-d74e8758cea6@measurement-factory.com>
352+
<1493984953.20260310175054@yahoo.com>
353+
<a728e3a6-ccc6-401d-bef4-355526f16f9a@measurement-factory.com>
354+
<803480691.20260326151406@yahoo.com>
355+
<50390f1b-105f-4384-ba35-b6a9e37a7684@measurement-factory.com>
356+
<1332811842.20260331193229@yahoo.com>
357+
<63b3703d-c87a-47ef-9e26-98b0ed4e4d18@measurement-factory.com>
358+
<1832116129.20260403142017@yahoo.com>
359+
<7785cda9-25eb-4eb7-bac7-0d5d6b82a4ad@measurement-factory.com>
360+
Message-ID: <532105899.20260407175513@yahoo.com>
361+
362+
363+
Friday, April 3, 2026, 6:47:26 PM, you wrote:
364+
365+
> On 2026-04-03 07:20, Anthony Pankov wrote:
366+
>> > I've tried to call getSslContextStart() in startPeakAndSplice().
367+
>> > But the problem is:
368+
>> getSslContextStart() return synchronously in most cases after calling getSslContextDone().
369+
>> > But in the case of #if USE_SSL_CRTD (my case) it return after sending request to CRTD without calling getSslContextDone().
370+
>> getSslContextDone() will be called further in sslCrtdHandleReplyWrapper().
371+
>> > So we are back in startPeakAndSplice() without getSslContextDone() and connections are closed.
372+
>> > Is there a preferred way to solve this problem?
373+
374+
> AFAICT, in your case, startPeekAndSplice() should do nothing when the added getSslContextStart() call returns. From https://ml-archives.squid-cache.org/squid-dev/2026-March/009992.html : getSslContextStart() should eventually trigger a call to getSslContextDone() with a non-nil Security::ContextPointer that calls httpsCreate() with the transaction-specific security context (SNI, etc.).
375+
376+
There are conditional-branch inside getSslContextStart():
377+
...
378+
379+
if (sslServerBump && (sslServerBump->act.step1 == Ssl::bumpPeek || sslServerBump->act.step1 == Ssl::bumpStare)) {
380+
%branch A%
381+
...
382+
Ssl::configureUnconfiguredSslContext(ctx, certProperties.signAlgorithm, *port);
383+
} else {
384+
%branch B%
385+
...
386+
getSslContextDone(dynCtx);
387+
}
388+
389+
If I understand correctly branch B must be choosen for my case.
390+
391+
But my configuration (as discussed previously) is:
392+
ssl_bump stare ssl_bump_step_1
393+
ssl_bump bump all
394+
395+
So the condition inside getSslContextStart() is true and the branchA is choosen. The sslServerBump is always true because:
396+
void
397+
ConnStateData::startPeekAndSplice()
398+
{
399+
// This is the Step2 of the SSL bumping
400+
assert(sslServerBump);
401+
...
402+
403+
Do anybody have any idea about what case is behind this:
404+
if (sslServerBump && (sslServerBump->act.step1 == Ssl::bumpPeek || sslServerBump->act.step1 == Ssl::bumpStare)) {
405+
406+
407+
P.S. I don't find any logic related to step3 also .
408+
409+
--
410+
Best regards,
411+
Anthony
412+
413+

squid-dev/2026-April/010003.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="010004.html">
16-
16+
<LINK REL="Next" HREF="010005.html">
1717
</HEAD>
1818
<BODY BGCOLOR="#ffffff">
1919
<H1>[squid-dev] forward bumped traffic to parent in plain form</H1>
@@ -25,7 +25,8 @@ <H1>[squid-dev] forward bumped traffic to parent in plain form</H1>
2525
<P><UL>
2626
<LI>Previous message (by thread): <A HREF="010004.html">[squid-dev] forward bumped traffic to parent in plain form
2727
</A></li>
28-
28+
<LI>Next message (by thread): <A HREF="010005.html">[squid-dev] forward bumped traffic to parent in plain form
29+
</A></li>
2930
<LI> <B>Messages sorted by:</B>
3031
<a href="date.html#10003">[ date ]</a>
3132
<a href="thread.html#10003">[ thread ]</a>
@@ -69,13 +70,15 @@ <H1>[squid-dev] forward bumped traffic to parent in plain form</H1>
6970
</PRE>
7071

7172

73+
7274
<!--endarticle-->
7375
<HR>
7476
<P><UL>
7577
<!--threads-->
7678
<LI>Previous message (by thread): <A HREF="010004.html">[squid-dev] forward bumped traffic to parent in plain form
7779
</A></li>
78-
80+
<LI>Next message (by thread): <A HREF="010005.html">[squid-dev] forward bumped traffic to parent in plain form
81+
</A></li>
7982
<LI> <B>Messages sorted by:</B>
8083
<a href="date.html#10003">[ date ]</a>
8184
<a href="thread.html#10003">[ thread ]</a>

squid-dev/2026-April/010005.html

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
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=%3C532105899.20260407175513%40yahoo.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="010003.html">
16+
17+
</HEAD>
18+
<BODY BGCOLOR="#ffffff">
19+
<H1>[squid-dev] forward bumped traffic to parent in plain form</H1>
20+
<B>Anthony Pankov</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=%3C532105899.20260407175513%40yahoo.com%3E"
22+
TITLE="[squid-dev] forward bumped traffic to parent in plain form">anthony.pankov at yahoo.com
23+
</A><BR>
24+
<I>Tue Apr 7 14:55:13 UTC 2026</I>
25+
<P><UL>
26+
<LI>Previous message (by thread): <A HREF="010003.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#10005">[ date ]</a>
31+
<a href="thread.html#10005">[ thread ]</a>
32+
<a href="subject.html#10005">[ subject ]</a>
33+
<a href="author.html#10005">[ author ]</a>
34+
</LI>
35+
</UL>
36+
<HR>
37+
<!--beginarticle-->
38+
<PRE>
39+
Friday, April 3, 2026, 6:47:26 PM, you wrote:
40+
41+
&gt;<i> On 2026-04-03 07:20, Anthony Pankov wrote:
42+
</I>&gt;&gt;<i> &gt; I've tried to call getSslContextStart() in startPeakAndSplice().
43+
</I>&gt;&gt;<i> &gt; But the problem is:
44+
</I>&gt;&gt;<i> getSslContextStart() return synchronously in most cases after calling getSslContextDone().
45+
</I>&gt;&gt;<i> &gt; But in the case of #if USE_SSL_CRTD (my case) it return after sending request to CRTD without calling getSslContextDone().
46+
</I>&gt;&gt;<i> getSslContextDone() will be called further in sslCrtdHandleReplyWrapper().
47+
</I>&gt;&gt;<i> &gt; So we are back in startPeakAndSplice() without getSslContextDone() and connections are closed.
48+
</I>&gt;&gt;<i> &gt; Is there a preferred way to solve this problem?
49+
</I>
50+
&gt;<i> AFAICT, in your case, startPeekAndSplice() should do nothing when the added getSslContextStart() call returns. From <A HREF="https://ml-archives.squid-cache.org/squid-dev/2026-March/009992.html">https://ml-archives.squid-cache.org/squid-dev/2026-March/009992.html</A> : getSslContextStart() should eventually trigger a call to getSslContextDone() with a non-nil Security::ContextPointer that calls httpsCreate() with the transaction-specific security context (SNI, etc.).
51+
</I>
52+
There are conditional-branch inside getSslContextStart():
53+
...
54+
55+
if (sslServerBump &amp;&amp; (sslServerBump-&gt;act.step1 == Ssl::bumpPeek || sslServerBump-&gt;act.step1 == Ssl::bumpStare)) {
56+
%branch A%
57+
...
58+
Ssl::configureUnconfiguredSslContext(ctx, certProperties.signAlgorithm, *port);
59+
} else {
60+
%branch B%
61+
...
62+
getSslContextDone(dynCtx);
63+
}
64+
65+
If I understand correctly branch B must be choosen for my case.
66+
67+
But my configuration (as discussed previously) is:
68+
ssl_bump stare ssl_bump_step_1
69+
ssl_bump bump all
70+
71+
So the condition inside getSslContextStart() is true and the branchA is choosen. The sslServerBump is always true because:
72+
void
73+
ConnStateData::startPeekAndSplice()
74+
{
75+
// This is the Step2 of the SSL bumping
76+
assert(sslServerBump);
77+
...
78+
79+
Do anybody have any idea about what case is behind this:
80+
if (sslServerBump &amp;&amp; (sslServerBump-&gt;act.step1 == Ssl::bumpPeek || sslServerBump-&gt;act.step1 == Ssl::bumpStare)) {
81+
82+
83+
P.S. I don't find any logic related to step3 also .
84+
85+
--
86+
Best regards,
87+
Anthony
88+
89+
</PRE>
90+
91+
<!--endarticle-->
92+
<HR>
93+
<P><UL>
94+
<!--threads-->
95+
<LI>Previous message (by thread): <A HREF="010003.html">[squid-dev] forward bumped traffic to parent in plain form
96+
</A></li>
97+
98+
<LI> <B>Messages sorted by:</B>
99+
<a href="date.html#10005">[ date ]</a>
100+
<a href="thread.html#10005">[ thread ]</a>
101+
<a href="subject.html#10005">[ subject ]</a>
102+
<a href="author.html#10005">[ author ]</a>
103+
</LI>
104+
</UL>
105+
106+
<hr>
107+
<a href="https://lists.squid-cache.org/listinfo/squid-dev">More information about the squid-dev
108+
mailing list</a><br>
109+
</body></html>

squid-dev/2026-April/author.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ <h1>April 2026 Archives by author</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Wed Apr 1 16:12:37 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Fri Apr 3 15:51:08 UTC 2026</i><br>
23-
<b>Messages:</b> 6<p>
22+
<b>Ending:</b> <i>Tue Apr 7 14:55:13 UTC 2026</i><br>
23+
<b>Messages:</b> 7<p>
2424
<ul>
2525

2626
<LI><A HREF="009999.html">[squid-dev] forward bumped traffic to parent in plain form
@@ -43,6 +43,11 @@ <h1>April 2026 Archives by author</h1>
4343
<I>Anthony Pankov
4444
</I>
4545

46+
<LI><A HREF="010005.html">[squid-dev] forward bumped traffic to parent in plain form
47+
</A><A NAME="10005">&nbsp;</A>
48+
<I>Anthony Pankov
49+
</I>
50+
4651
<LI><A HREF="010003.html">[squid-dev] forward bumped traffic to parent in plain form
4752
</A><A NAME="10003">&nbsp;</A>
4853
<I>Alex Rousskov
@@ -56,8 +61,8 @@ <h1>April 2026 Archives by author</h1>
5661
</ul>
5762
<p>
5863
<a name="end"><b>Last message date:</b></a>
59-
<i>Fri Apr 3 15:51:08 UTC 2026</i><br>
60-
<b>Archived on:</b> <i>Fri Apr 3 15:51:10 UTC 2026</i>
64+
<i>Tue Apr 7 14:55:13 UTC 2026</i><br>
65+
<b>Archived on:</b> <i>Tue Apr 7 14:53:29 UTC 2026</i>
6166
<p>
6267
<ul>
6368
<li> <b>Messages sorted by:</b>

squid-dev/2026-April/date.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ <h1>April 2026 Archives by date</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Wed Apr 1 16:12:37 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Fri Apr 3 15:51:08 UTC 2026</i><br>
23-
<b>Messages:</b> 6<p>
22+
<b>Ending:</b> <i>Tue Apr 7 14:55:13 UTC 2026</i><br>
23+
<b>Messages:</b> 7<p>
2424
<ul>
2525

2626
<LI><A HREF="009999.html">[squid-dev] forward bumped traffic to parent in plain form
@@ -51,13 +51,18 @@ <h1>April 2026 Archives by date</h1>
5151
<LI><A HREF="010004.html">[squid-dev] forward bumped traffic to parent in plain form
5252
</A><A NAME="10004">&nbsp;</A>
5353
<I>Alex Rousskov
54+
</I>
55+
56+
<LI><A HREF="010005.html">[squid-dev] forward bumped traffic to parent in plain form
57+
</A><A NAME="10005">&nbsp;</A>
58+
<I>Anthony Pankov
5459
</I>
5560

5661
</ul>
5762
<p>
5863
<a name="end"><b>Last message date:</b></a>
59-
<i>Fri Apr 3 15:51:08 UTC 2026</i><br>
60-
<b>Archived on:</b> <i>Fri Apr 3 15:51:10 UTC 2026</i>
64+
<i>Tue Apr 7 14:55:13 UTC 2026</i><br>
65+
<b>Archived on:</b> <i>Tue Apr 7 14:53:29 UTC 2026</i>
6166
<p>
6267
<ul>
6368
<li> <b>Messages sorted by:</b>

squid-dev/2026-April/subject.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ <h1>April 2026 Archives by subject</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Wed Apr 1 16:12:37 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Fri Apr 3 15:51:08 UTC 2026</i><br>
23-
<b>Messages:</b> 6<p>
22+
<b>Ending:</b> <i>Tue Apr 7 14:55:13 UTC 2026</i><br>
23+
<b>Messages:</b> 7<p>
2424
<ul>
2525

2626
<LI><A HREF="009999.html">[squid-dev] forward bumped traffic to parent in plain form
@@ -51,13 +51,18 @@ <h1>April 2026 Archives by subject</h1>
5151
<LI><A HREF="010004.html">[squid-dev] forward bumped traffic to parent in plain form
5252
</A><A NAME="10004">&nbsp;</A>
5353
<I>Alex Rousskov
54+
</I>
55+
56+
<LI><A HREF="010005.html">[squid-dev] forward bumped traffic to parent in plain form
57+
</A><A NAME="10005">&nbsp;</A>
58+
<I>Anthony Pankov
5459
</I>
5560

5661
</ul>
5762
<p>
5863
<a name="end"><b>Last message date:</b></a>
59-
<i>Fri Apr 3 15:51:08 UTC 2026</i><br>
60-
<b>Archived on:</b> <i>Fri Apr 3 15:51:10 UTC 2026</i>
64+
<i>Tue Apr 7 14:55:13 UTC 2026</i><br>
65+
<b>Archived on:</b> <i>Tue Apr 7 14:53:29 UTC 2026</i>
6166
<p>
6267
<ul>
6368
<li> <b>Messages sorted by:</b>

squid-dev/2026-April/thread.html

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ <h1>April 2026 Archives by thread</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Wed Apr 1 16:12:37 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Fri Apr 3 15:51:08 UTC 2026</i><br>
23-
<b>Messages:</b> 6<p>
22+
<b>Ending:</b> <i>Tue Apr 7 14:55:13 UTC 2026</i><br>
23+
<b>Messages:</b> 7<p>
2424
<ul>
2525

2626
<!--0 01775059957.9999- -->
@@ -63,13 +63,21 @@ <h1>April 2026 Archives by thread</h1>
6363
<I>Alex Rousskov
6464
</I>
6565

66+
<UL>
67+
<!--3 01775059957.9999-01775215217.10000-01775231246.10003-01775573713.10005- -->
68+
<LI><A HREF="010005.html">[squid-dev] forward bumped traffic to parent in plain form
69+
</A><A NAME="10005">&nbsp;</A>
70+
<I>Anthony Pankov
71+
</I>
72+
73+
</UL>
6674
</UL>
6775
</UL>
6876
</ul>
6977
<p>
7078
<a name="end"><b>Last message date:</b></a>
71-
<i>Fri Apr 3 15:51:08 UTC 2026</i><br>
72-
<b>Archived on:</b> <i>Fri Apr 3 15:51:10 UTC 2026</i>
79+
<i>Tue Apr 7 14:55:13 UTC 2026</i><br>
80+
<b>Archived on:</b> <i>Tue Apr 7 14:53:29 UTC 2026</i>
7381
<p>
7482
<ul>
7583
<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-April/author.html">[ Author ]</a>
2626
<A href="2026-April/date.html">[ Date ]</a>
2727
</td>
28-
<td><A href="2026-April.txt.gz">[ Gzip'd Text 2 KB ]</a></td>
28+
<td><A href="2026-April.txt.gz">[ Gzip'd Text 3 KB ]</a></td>
2929
</tr>
3030

3131

0 commit comments

Comments
 (0)