Commit Graph

4 Commits (087a62ef3dd1234318a3c9c9e6fa7e7137e5ae9e)

Author SHA1 Message Date
lucifer9 2bd5f2fe96 add SO_REUSEPORT for freebsd 11 2020-03-24 21:52:03 +08:00
lucifer9 e176746d03 make Codacy/PR Quality Review happy 2020-03-12 00:42:29 +08:00
lucifer9 8c6dac924c code cleanup to make Codacy/PR Quality Review happy 2020-03-12 00:42:29 +08:00
lucifer 2ad7060375 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-03-12 00:42:29 +08:00