Skip to content

Sniffer: Fix SniffUTP() - #6667

Merged
RPRX merged 1 commit into
mainfrom
utp-sniffer
Aug 25, 2026
Merged

RPRX merged 1 commit into
mainfrom
utp-sniffer

Conversation

@Fangliding

@Fangliding Fangliding commented Aug 22, 2026 •

Copy link
Copy Markdown
Member

#6664 反馈的bug 去除时间检验 改成检查extension结构是否正确

@RPRX RPRX changed the title Fix utp sniffer Sniffer: Fix SniffUTP() Aug 25, 2026
@RPRX
RPRX merged commit 9b373e3 into main Aug 25, 2026
48 checks passed
Maolaohei pushed a commit to Maolaohei/Bray-Core that referenced this pull request Aug 26, 2026
Fixes XTLS#6664

---------

Co-authored-by: n0ctal <4c866w5fn9@privaterelay.appleid.com>
ImoLR pushed a commit to ImoLR/Xray-core-mmwx that referenced this pull request Oct 22, 2026
Fixes XTLS#6664

---------

Co-authored-by: n0ctal <4c866w5fn9@privaterelay.appleid.com>
(cherry picked from commit 9b373e3 in XTLS/Xray-core)
ImoLR added a commit to ImoLR/Xray-core-mmwx that referenced this pull request Oct 22, 2026
Datagrams captured in network namespaces: ST_SYN from libtorrent 2.0.11 and
Transmission 4.1 (no extension) and Transmission 2.94 / old libutp (extension 2,
the µTorrent shape); non-SYN uTP, curl HTTP/3 QUIC Initial, dig / glibc DNS,
Linux kernel WireGuard handshakes, STUN and NTP requests must not match. Plus
RTP / RTCP, game queries, 100k random datagrams and the DNS queries closest to
the uTP header (transaction id 0x41xx, no EDNS).

The previous SniffUTP rejects all nine real SYNs; the XTLS#6667 one accepts them
and nothing else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants