feat: support to dial domain for udp and support udp for ssr (#17)

This commit is contained in:
mzz
2023-02-18 00:49:35 +08:00
committed by GitHub
parent 663fbb2a59
commit e495ee1b7c
29 changed files with 182 additions and 195 deletions

View File

@ -51,9 +51,10 @@ global {
# 1. "ip". Dial proxy using the IP from DNS directly. This allows your ipv4, ipv6 to choose the optimal path
# respectively, and makes the IP version requested by the application meet expectations. For example, if you
# use curl -4 ip.sb, you will request IPv4 via proxy and get a IPv4 echo. And curl -6 ip.sb will request IPv6.
# This may solve some wierd full-cone problem if your are be your node support that.
# 2. "domain". Dial proxy using the domain from sniffing. This will relieve DNS pollution problem to a great extent
# if have impure DNS environment. This policy does not impact routing. That is to say, domain reset will be
# after traffic split.
# if have impure DNS environment. Generally, this mode brings faster response time. This policy does not impact
# routing. That is to say, domain rewrite will be after traffic split and dae will not resolve IP and re-route.
dial_mode: domain
}