hysteria/extras
白日梦主义 247c91321f
fix(outbounds): bound standard resolver CNAME chains (#1595)
The standardResolver's lookup4/lookup6 methods recursively follow CNAME
chains without any depth limit or cycle detection. A malicious or
misconfigured DNS server returning a self-referential CNAME record
(e.g. loop.example. CNAME loop.example.) causes infinite recursion,
leading to stack overflow and crash.

Add a max depth limit of 16 and a visited-set to detect cycles. The
original lookup4/lookup6 entry points are preserved; they delegate to
lookup4WithCNAMEDepth/lookup6WithCNAMEDepth which track depth and seen
hosts across recursive calls.
2026-06-04 18:16:18 -07:00
..
auth chore: unexport UserPassAuthenticator.Users 2025-02-03 12:39:52 +09:00
correctnet chore: reformat code 2023-11-27 11:35:15 +08:00
masq fix: mod name major version suffix v2 2024-05-18 11:28:47 +08:00
obfs feat: gecko obfs (experimental) (#1584) 2026-05-22 20:35:41 -07:00
outbounds fix(outbounds): bound standard resolver CNAME chains (#1595) 2026-06-04 18:16:18 -07:00
realm fix(realm): client should accept punch packets from any source address 2026-05-10 10:13:49 -07:00
sniff fix: format 2026-05-21 13:41:49 -07:00
trafficlogger feat: quic-go v0.54.0 2025-09-13 16:17:59 -07:00
transport/udphop feat: port hopping random interval 2026-03-29 14:00:12 -07:00
utils chore: a better fix to portunion 2024-11-05 01:30:44 +09:00
go.mod feat: Hysteria Realms (#1560) 2026-05-08 14:16:21 -07:00
go.sum feat: Hysteria Realms (#1560) 2026-05-08 14:16:21 -07:00
LICENSE.md chore: add LICENSE to packages 2025-03-18 20:44:59 -07:00