Xray-core/common/net
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
..
cnc Move common/net/connection.go into cnc folder 2020-12-28 03:20:39 +08:00
address_test.go Reformat code 2022-05-18 15:29:01 +08:00
address.go v1.0.0 2020-11-25 19:01:53 +08:00
address.pb.go Fix: protobuf file (#724) 2021-09-20 22:41:09 +08:00
address.proto v1.1.0 2020-12-04 09:36:16 +08:00
destination_test.go Reformat code 2022-05-18 15:29:01 +08:00
destination.go v1.0.0 2020-11-25 19:01:53 +08:00
destination.pb.go Fix: protobuf file (#724) 2021-09-20 22:41:09 +08:00
destination.proto v1.1.0 2020-12-04 09:36:16 +08:00
errors.generated.go v1.1.0 2020-12-04 09:36:16 +08:00
net.go v1.1.0 2020-12-04 09:36:16 +08:00
network.go v1.0.0 2020-11-25 19:01:53 +08:00
network.pb.go Fix: protobuf file (#724) 2021-09-20 22:41:09 +08:00
network.proto v1.1.0 2020-12-04 09:36:16 +08:00
port_test.go v1.1.0 2020-12-04 09:36:16 +08:00
port.go v1.0.0 2020-11-25 19:01:53 +08:00
port.pb.go Fix: protobuf file (#724) 2021-09-20 22:41:09 +08:00
port.proto v1.1.0 2020-12-04 09:36:16 +08:00
system.go Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00