Commit Graph
28 Commits
Author SHA1 Message Date
Shelikhoo 4357719480 apply sockopt rename 2022-01-23 20:33:01 +00:00
Shelikhoo eb0b52fdfa add socksopt bindToDevice, rxtxbuf for linux 2022-01-23 20:33:01 +00:00
Shelikhoo 1019ae36c2 refactor linux socket opts 2022-01-23 20:33:01 +00:00
ValdikSS a0eb84dbff Separate TcpKeepAliveIdle and TcpKeepAliveInterval check logic 2022-01-16 13:31:44 +00:00
世界 fa61371102 Fix log usage 2021-12-12 18:10:21 +08:00
ValdikSS 499a0e19cb Add TCP keep alive support in Linux 2021-11-28 22:49:02 +00:00
Loyalsoldier dce8764fd7 Lint: fix lint (#1427)
* Lint: replace golint with revive
* Lint: fix lint
2021-11-27 17:16:41 +08:00
秋のかえで be4dd56ac7 Feat: custom TCP Fast Open queue length (#1293)
* Feat: custom TCP Fast Open queue length

* Feat: change default TFO queue length to 4096
2021-09-27 22:49:08 +01:00
Shelikhoo 8aff3e09a4 update tcp keep alive interval config 2021-05-04 22:39:28 +01:00
Shelikhoo c564c84b17 set TCP keep alive only on TCP socket 2021-05-04 22:30:41 +01:00
Ahmad Karimi ab6480ef72 Fix: add keep alive request duration to configs 2021-05-02 23:36:30 +04:30
Loyalsoldier cf11bf0498 Suppress lint error (#480) 2020-12-02 21:07:58 +08:00
Vigilans 39cbe4ab13 Implement setReuseAddr and setReusePort in sockopt_{os}.go 2020-07-31 01:20:12 +08:00
Vigilans bb932d8a1e Move setting of SO_REUSEPORT out of applyInboundSocketOptions 2020-07-31 00:01:36 +08:00
lucifer9 9608f77ba8 fix udp not work in ipv4 using common config 2020-03-12 00:42:29 +08:00
lucifer9 d055c0497d fix tproxy udp "unable to get destination" in IPv6 environment 2020-03-12 00:42:29 +08:00
nullptr 450bc5b3f0 Add SO_REUSEPORT to inbound 2020-03-12 00:42:29 +08:00
nullptr ed1ade4266 Add SO_REUSEPORT (kernel level load balance) support 2019-10-13 12:12:49 +08:00
SAPikachu 033d2264ff Fix SO_MARK setting for UDP outbound connections 2019-01-25 15:53:24 +08:00
Darien Raymond 5279296f03 remove use of context.WithValue in transport 2018-11-21 14:54:40 +01:00
Lonnie Liu e43b4cc169 fix build breakage 2018-09-30 12:51:26 -07:00
Darien Raymond 07aa486d43 fix bind address in linux 2018-09-30 19:37:08 +02:00
Darien Raymond 383b84e7dd unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond eeca745e89 options for TProxy 2018-09-14 11:05:42 +02:00
Darien Raymond 1e4547e262 simplify tcp network detection 2018-09-11 10:03:26 +02:00
Darien Raymond 6d750e8149 options for enable TFO 2018-09-10 13:23:27 +02:00
Darien Raymond 036158570c fix sockopt argument type 2018-09-06 10:18:11 +02:00
Darien Raymond af3a08a848 prototype for marking connection 2018-09-06 10:06:57 +02:00