mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
A rule that sends a name to a local resolver which forwards back to v2rayA makes the two exchange the same query until one of them runs out of memory; v2rayA/v2rayA discussion #1950 reproduces it with dnsmasq on OpenWrt. The firewall-level self-redirect is already handled by the 0x80 mark, but nothing saw the loop at the resolver level. Every query this process sends upstream carries a random per-process token in an EDNS0 local option. A query that arrives carrying that token has come back around such a loop and is answered with SERVFAIL, with one log line per ten seconds naming the question and how many were refused.