Files
sing-box/dns
世界 7f64980ea3 Fix DNS record parser file inclusion and rule match log index
Remove SetIncludeAllowed(true) from the DNS record zone parser.
The $INCLUDE directive allows opening arbitrary files via os.Open,
which is unnecessary and dangerous when parsing a single record string
from configuration (especially remote profiles).

Fix displayRuleIndex arithmetic in dns/router.go that computed
2*index+1 instead of the correct 0-based index. This was a
reintroduction of a bug previously fixed in be8ee370a. Both
matchDNS and logRuleMatch now use the index directly, matching
the pattern in route/route.go.
2026-04-07 00:54:41 +08:00
..
2025-07-08 13:12:14 +08:00
2025-10-05 17:58:21 +08:00
2025-09-12 18:05:02 +08:00
2025-07-08 13:12:14 +08:00