Xray-core/common
S-Mocking 59602db02d
Add "tproxy" option (#1189)
* Add "tproxy" option
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": "pf"
        }
      }
    }
  ]

* Add "tproxy" option
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": "pf"
        }
      }
    }
  ]

* Add "tproxy" option
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": "pf"
        }
      }
    }
  ]

Co-authored-by: Mocking <fanhaiwang0817@gmail.com>
2022-08-20 09:02:18 -04:00
..
antireplay chore fixed (#897) 2022-01-12 21:51:47 -05:00
bitmask v1.1.0 2020-12-04 09:36:16 +08:00
buf Refactor to stdlib error unwrap method 2022-06-01 11:03:06 +08:00
bytespool v1.0.0 2020-11-25 19:01:53 +08:00
cache chore fixed (#897) 2022-01-12 21:51:47 -05:00
cmdarg v1.0.0 2020-11-25 19:01:53 +08:00
crypto Reformat code 2022-05-18 15:29:01 +08:00
dice v1.1.0 2020-12-04 09:36:16 +08:00
drain Unified drain support for vmess and shadowsocks (#791) 2021-12-14 19:27:31 -05:00
errors Refactor to stdlib error unwrap method 2022-06-01 11:03:06 +08:00
log Reformat code 2022-05-18 15:29:01 +08:00
mux Reformat code 2022-05-18 15:29:01 +08:00
net Add "tproxy" option (#1189) 2022-08-20 09:02:18 -04:00
ocsp Reformat code 2022-05-18 15:29:01 +08:00
peer v1.0.0 2020-11-25 19:01:53 +08:00
platform chore fixed (#897) 2022-01-12 21:51:47 -05:00
protocol Reformat code (quic sniffers) 2022-05-24 06:57:16 +08:00
retry Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00
serial Reformat code 2022-05-18 15:29:01 +08:00
session Add shadowsocks-2022 inbound/outbound (#1061) 2022-05-22 23:55:48 -04:00
signal vformat supports multi-core processing (#757) 2021-10-12 15:29:22 +00:00
strmatcher Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00
task Reformat code 2022-05-18 15:29:01 +08:00
units Add statistics in conn testing 2021-12-14 20:15:05 -05:00
uuid Reformat code 2022-05-18 15:29:01 +08:00
xudp Add XUDP support by simply renaming vudp to xudp 2021-02-11 11:33:08 +00:00
common.go Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00
common_test.go 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
interfaces.go v1.1.0 2020-12-04 09:36:16 +08:00
type.go Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00
type_test.go Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00