Commit Graph

4 Commits (4f7384c020994efc94977a865d0ff70e63dbc385)

Author SHA1 Message Date
lucifer9 2574704710 add SO_REUSEPORT for freebsd 11 2020-03-23 21:52:19 +08:00
lucifer9 4164d95b26 make Codacy/PR Quality Review happy 2020-02-14 11:11:33 +08:00
lucifer9 425f179211 code cleanup to make Codacy/PR Quality Review happy 2020-02-14 11:00:11 +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