Commit Graph

8 Commits (669b8893d7e642d5b673293b9a310329049ed207)

Author SHA1 Message Date
Araragi Hokuto 6673733da7 Fix build failure on illumos
Previously v2ray can not be built on illumos due to following reasons:
1. missing build tags in transport/internet/sockopt_other.go
2. many definitions in syscall does not exist on illumos
This commit addresses these problems by adding missing build tags, and
updates those missing syscall deps on illumos to use x/sys/unix.
2020-03-22 01:06:13 +08:00
lucifer a0ac4cd987 add freebsd/pf support:
- transparent proxy (pf rdr) in IPv4 environment
- support both tcp and udp
- enable TCP_FASTOPEN, SO_REUSEPORT_LB, SO_REUSEADDR
- sockopt:mark is mapped to SO_USER_COOKIE
2020-02-13 22:37:18 +08:00
Darien Raymond 5279296f03
remove use of context.WithValue in transport 2018-11-21 14:54:40 +01:00
Darien Raymond 383b84e7dd
unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond 5d9dacc261
fix tfo for darwin 2018-09-10 21:47:24 +02:00
Darien Raymond 418746fdb0
enable tfo on other platforms 2018-09-10 14:39:57 +02:00
Darien Raymond 6d750e8149
options for enable TFO 2018-09-10 13:23:27 +02:00
Darien Raymond af3a08a848
prototype for marking connection 2018-09-06 10:06:57 +02:00