Xray-core/transport/internet/udp
Mocking 4140bcd11a Enhancement of "redirect" function, adding support for MacOS
Added the function of "MacOS" FreeBSD firewall traffic forwarding and resolving destination address
example:
"inbounds": [
{
"listen": "127.0.0.1",
"port": 1122,
"protocol": "dokodemo-door",
"tag": "dokodemo",
"settings": {
"network": "tcp",
"followRedirect": true,
"userLevel": 0
},
"streamSettings": {
"sockopt": {
"tproxy": "Redirect"
}
}
}
]

还原#1189 提交
2022-08-22 10:33:58 -04:00
..
config.go v1.1.0 2020-12-04 09:36:16 +08:00
config.pb.go Fix: protobuf file (#724) 2021-09-20 22:41:09 +08:00
config.proto v1.1.0 2020-12-04 09:36:16 +08:00
dialer.go Fix some tests and format code (#830) 2021-12-14 19:28:47 -05:00
dispatcher_test.go Add DispatchLink 2021-10-22 12:38:40 +08:00
dispatcher.go Remove useless error log 2022-06-01 11:11:53 +08:00
errors.generated.go v1.1.0 2020-12-04 09:36:16 +08:00
hub_darwin.go Enhancement of "redirect" function, adding support for MacOS 2022-08-22 10:33:58 -04:00
hub_freebsd.go fix(udp): check addr nil (close 1807) 2022-08-12 20:33:33 -04:00
hub_linux.go Reformat code 2022-05-18 15:29:01 +08:00
hub_other.go Enhancement of "redirect" function, adding support for MacOS 2022-08-22 10:33:58 -04:00
hub.go v1.1.0 2020-12-04 09:36:16 +08:00
udp.go v1.1.0 2020-12-04 09:36:16 +08:00