Commit graph

20 commits

Author SHA1 Message Date
Jop Zitman
6da977c075 Add back no ack delay for server 2025-01-18 16:10:41 +08:00
Jop Zitman
e7d1d46e35 Accept new connection if the old one was reset 2025-01-18 11:23:16 +08:00
Jop Zitman
1bd6c0d76d Decrease number of polls 2025-01-18 11:22:48 +08:00
Jop Zitman
52a97ded1b Ensure in-order TCP connections 2025-01-17 17:13:08 +08:00
Jop Zitman
223b3b3888 Optimize polls to induce less acks 2025-01-17 12:50:31 +08:00
Jop Zitman
2fe1241583 Implement QUIC-native polls, disable server congestion control, "disable" ack delays in server, path add checks, disable nat rebinding 2025-01-03 11:19:45 +08:00
Jop Zitman
7d7750864a Increase poll delay 2024-12-30 12:48:05 +08:00
Jop Zitman
ec409d4ca8 Random path for polls 2024-12-29 21:16:22 +08:00
Jop Zitman
ee59a67164 Implement custom sockloop
- s.t. server only attempts sending data when there is an available request
- s.t. dns requests are responded to in-order
- ensures that rtt stays consistent
- ensures that congestion control isn't tripped
- ensures that dns resolver isn't tripped
2024-12-29 17:23:48 +08:00
Jop Zitman
3350be382c Add congestion control algorithm option to command line 2024-12-20 16:23:53 +08:00
Jop Zitman
c316cbe119 Improve server polling and in-time responses 2024-12-20 16:02:43 +08:00
Jop Zitman
16c45883b8 Improve DNS handling for compatibility with actual resolvers
- included unbound config
2024-12-19 19:18:18 +08:00
Jop Zitman
eb6c7b538f Send poll responses in client code rather than sockloop 2024-12-18 15:19:31 +08:00
Jop Zitman
dbf3190c4f Implement edns0 2024-12-18 14:25:42 +08:00
Jop Zitman
2038af95e8 Support multiple simultaneous clients
* replace cqb with a dns request buffer with separate queues for each cnx id
* ensure we respond to the addr from the DNS request we popped from queue
2024-12-17 17:15:32 +08:00
Jop Zitman
0006c48e4b Add multipath support 2024-12-16 18:33:21 +08:00
Jop Zitman
fcd1145439 double free, cubic, domain name, disable gso 2024-12-12 15:26:34 +08:00
Jop Zitman
b1cb046417 Memory leaks, proper closing and align client and server code again 2024-12-11 20:24:37 +08:00
Jop Zitman
9d309d48b1 Optimize build configuration 2024-12-10 16:31:16 +08:00
Jop Zitman
29f3c50237 Initial version of slipstream DNS tunnel 2024-12-10 14:40:31 +08:00