<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Snort 4.1.10 / Snort 2.9.20: spp_ssl 137:1 false positive on TLS 1.3 HelloRetryRequest]]></title><description><![CDATA[<p dir="auto">Howdy,</p>
<p dir="auto">I am reporting what appears to be a current reproducer for the longstanding Snort <code>spp_ssl</code> <code>137:1</code> false positive:</p>
<pre><code class="language-text">[137:1:2] (spp_ssl) Invalid Client HELLO after Server HELLO Detected
Timestamp: 2026-09-18 01:45:02.362346 -0500
Flow: 67.173.119.29:25220 -&gt; 13.225.47.95:443
SNI: analytics.brew.sh
</code></pre>
<p dir="auto">The alert was generated by a valid TLS 1.3 exchange involving a <code>HelloRetryRequest</code> (HRR). The capture shows the client sending an initial <code>ClientHello</code>, the server requesting a different key-share group, and the client sending a second <code>ClientHello</code> as required by the TLS 1.3 handshake. Snort reports the second client hello as an invalid client hello after the server hello.</p>
<h4><a class="anchor-offset" name="environment"></a>Environment</h4>
<pre><code class="language-text">pfSense: pfSense 2.9.0-RELEASE
Package: pfSense-pkg-snort-4.1.10
Snort package: snort-2.9.20_9
Snort: Snort 2.9.20 GRE Build 82
DAQ: DAQ 2.2.2_3
libpcap: 1.10.6
PCRE: 8.45
ZLIB: 1.3.2
</code></pre>
<h4><a class="anchor-offset" name="packet-sequence"></a>Packet sequence</h4>
<p dir="auto">The relevant packet sequence is:</p>
<pre><code class="language-text">01:45:02.339237  ClientHello #1
01:45:02.361311  HelloRetryRequest
01:45:02.361678  ChangeCipherSpec
01:45:02.362346  ClientHello #2
</code></pre>
<p dir="auto">The server's <code>HelloRetryRequest</code> asks the client to retry with the following key-share group:</p>
<pre><code class="language-text">Requested key_share group: 0x0017
</code></pre>
<p dir="auto">The HRR can be identified by its TLS 1.3 magic random value:</p>
<pre><code class="language-text">cf21ad74e59a6111be1d8c021e65b891c2a211167abb8c5e079e09e2c8a8339c
</code></pre>
<p dir="auto">The capture also contains the TLS 1.3 compatibility-mode <code>ChangeCipherSpec</code> record:</p>
<pre><code class="language-text">14 03 03 00 01 01
</code></pre>
<p dir="auto">This is why I believe the alert is a false positive rather than evidence of an invalid client handshake. The second <code>ClientHello</code> is the expected response to the <code>HelloRetryRequest</code>, and the <code>ChangeCipherSpec</code> record is part of the compatibility behavior commonly seen in TLS 1.3 handshakes.</p>
<h4><a class="anchor-offset" name="reproduction-material"></a>Reproduction material</h4>
<p dir="auto">The packet capture is attached as:</p>
<p dir="auto"><a href="/assets/uploads/files/1789716186449-snort-137-1-014502.pcap">snort-137-1-014502.pcap</a></p>
<p dir="auto">SHA256:</p>
<pre><code class="language-text">dbb6a1e7f79b987f7cdc35c30bf4b0839ef957053e85a129d4eee4a43447944f
</code></pre>
<h4><a class="anchor-offset" name="relation-to-earlier-reports"></a>Relation to earlier reports</h4>
<p dir="auto">This appears related to the longstanding <code>spp_ssl</code> <code>137:1</code> false-positive issue discussed in earlier Netgate Snort/Snort community threads. Those reports describe Snort losing track of the SSL/TLS stream and interpreting client and server hello messages out of order.</p>
<p dir="auto">The current capture adds a more specific packet-level reproducer: on Snort 2.9.20, a standards-compliant TLS 1.3 <code>HelloRetryRequest</code> sequence still causes <code>137:1</code> to fire when the client sends the retried <code>ClientHello</code>.</p>
<p dir="auto">Could this signature be reviewed for TLS 1.3 HRR handling, or otherwise updated so that a valid retry sequence does not generate this alert?</p>
<p dir="auto">For reference, the suppression commonly used for this alert is:</p>
<pre><code class="language-text">#(ssp_ssl) Invalid Client HELLO after Server HELLO Detected
suppress gen_id 137, sig_id 1
</code></pre>
<p dir="auto">I would prefer to avoid suppressing the signature globally if the underlying stream-tracking or TLS 1.3 parsing issue can be corrected, so I am including the capture and checksum for investigation.</p>
]]></description><link>https://forum.netgate.com/topic/201401/snort-4.1.10-snort-2.9.20-spp_ssl-137-1-false-positive-on-tls-1.3-helloretryrequest</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 17:07:24 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/201401.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 Sep 2026 07:25:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Snort 4.1.10 / Snort 2.9.20: spp_ssl 137:1 false positive on TLS 1.3 HelloRetryRequest on Fri, 18 Sep 2026 12:21:33 GMT]]></title><description><![CDATA[<p dir="auto">Snort 2.9.20 is extremely old and the underlying binary is no longer really supported by the upstream Snort team. The problem you describe is very likely to be an error in the logic of the C source code within the binary piece of the Snort package. Snort on pfSense CE is actually two related but distinct packages. There is a binary executable piece that runs as a service and does the actual work of traffic inspection and blocking/alerting. On pfSense there is also a custom GUI package written in PHP that provides the unique GUI interface available on pfSense. Snort on most other platforms does not offer a GUI for configuration and the admin instead directly manipulates text-based configuration files.</p>
<p dir="auto">Netgate has chosen to implement the new Snort3 code tree in pfSense Plus with Nexus. That is where future development efforts will be. I expect the current Snort 2.9.x package to eventually just die as there is no longer any maintainer and that code tree is obsolete. Snort 2.9.x is single-threaded whereas the newer Snort3 tree is multithreaded (and also rewritten in C++). Snort3 uses Lua for configuration files.</p>
<p dir="auto">So, a long answer to say I would not expect this issue to be resolved in the old Snort 2.9.x code.</p>
]]></description><link>https://forum.netgate.com/post/1249082</link><guid isPermaLink="true">https://forum.netgate.com/post/1249082</guid><dc:creator><![CDATA[bmeeks]]></dc:creator><pubDate>Fri, 18 Sep 2026 12:21:33 GMT</pubDate></item></channel></rss>