Xray-core/app
yuhan6665 b413066012
Fakedns fix xUDP destination override (#1011)
* Fix UDP destination override

* Fix code style

* Fix fakedns object init

Do type convertion at runtime in case if user don't use fakedns in config.
Since dispatcher now depend on fakedns object, move the injection order of
fakedns to top (As a temporary solution)

* Amend logic for handing fakedns client

A map is used by server side when client turn on fakedns
Client will send domain address in the buffer.UDP.Address, server record all possible target IP addrs.
When target replies, server will restore the domain and send back to client.

Co-authored-by: hmol233 <82594500+hmol233@users.noreply.github.com>
2022-04-23 19:24:46 -04:00
..
commander chore fixed (#895) 2022-01-10 23:39:58 -05:00
dispatcher Fakedns fix xUDP destination override (#1011) 2022-04-23 19:24:46 -04:00
dns Rename quic session to connection 2022-04-09 00:48:02 -04:00
log Make reverse proxy compatible with v2fly (#924) 2022-02-04 21:59:50 -05:00
metrics fix: expvar error when observatory is not enabled & various typos 2022-04-01 11:05:38 -04:00
observatory Make reverse proxy compatible with v2fly (#924) 2022-02-04 21:59:50 -05:00
policy Fix: protobuf file (#724) 2021-09-20 22:41:09 +08:00
proxyman Make reverse proxy compatible with v2fly (#924) 2022-02-04 21:59:50 -05:00
reverse Make reverse proxy compatible with v2fly (#924) 2022-02-04 21:59:50 -05:00
router Make reverse proxy compatible with v2fly (#924) 2022-02-04 21:59:50 -05:00
stats Make reverse proxy compatible with v2fly (#924) 2022-02-04 21:59:50 -05:00
app.go v1.0.0 2020-11-25 19:01:53 +08:00