Commit graph

30 commits

Author SHA1 Message Date
Jop Zitman
cf7bf11c59 Enable GSO 2025-01-22 20:53:45 +08:00
Jop Zitman
9fe5ecf667 Increase poll rate 2025-01-22 18:28:25 +08:00
Jop Zitman
479f6b3924 Fixup dcubic 2025-01-22 18:24:05 +08:00
Jop Zitman
161f3a6fd3 Disable spurious retransmission detection on 1rtt packets and increase allowed ack gap
The faster we scan, the more out of order we get, we should allow large ack gaps and not retransmit on every gap..
2025-01-18 16:12:21 +08:00
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
19ef155749 Stupid error 2024-12-13 10:58:06 +08:00
Jop Zitman
1534258390 Add docker based development container and add apt cache 2024-12-13 10:57:59 +08:00
Jop Zitman
880f6a55b3 Fix poll addresses 2024-12-13 10:57:42 +08:00
Jop Zitman
d89e1c9658 Also poll on long packets 2024-12-12 15:40:34 +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
34dba1d25d convert to entrypoint 2024-12-10 17:15:17 +08:00
Jop Zitman
72eed3c2bb Add Dockerfile 2024-12-10 16:58:56 +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