Files
sing-box/option
世界 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
..
2026-01-17 05:46:23 +08:00
2025-07-08 13:12:14 +08:00
2025-04-29 20:45:19 +08:00
2026-03-01 12:30:43 +08:00
2026-04-07 00:54:40 +08:00
2026-04-07 00:54:40 +08:00
2025-07-08 13:14:41 +08:00
2025-01-13 15:14:29 +08:00
2025-01-13 15:14:29 +08:00
2026-02-27 19:39:52 +08:00
2025-01-13 15:14:29 +08:00
2026-01-17 05:47:42 +08:00
2025-01-13 15:14:29 +08:00
2022-07-25 16:18:11 +08:00
2026-04-06 23:36:05 +08:00
2026-01-17 05:44:29 +08:00
2026-04-06 23:36:05 +08:00
2025-07-08 13:14:41 +08:00
2025-07-08 13:14:42 +08:00
2022-09-12 18:35:36 +08:00
2025-07-08 13:12:27 +08:00
2025-07-08 13:12:28 +08:00
2025-01-13 15:14:29 +08:00
2025-07-08 13:14:44 +08:00
2026-01-17 20:52:43 +08:00
2022-09-03 12:55:10 +08:00
2025-01-13 15:14:29 +08:00
2025-01-13 15:14:29 +08:00
2026-04-06 23:36:05 +08:00
2025-07-08 13:12:14 +08:00
2024-01-03 12:21:36 +08:00