Commit graph

18 commits

Author SHA1 Message Date
Jop Zitman
163a02dbd4 fix stream id duplication 2025-05-05 15:51:17 +08:00
Jop Zitman
b4f458912c include poll frames in ack size to allow cwin increase 2025-01-23 03:28:38 +08:00
Jop Zitman
0235fa47a0 congestion tune 2025-01-23 02:05:21 +08:00
Jop Zitman
9045ebb1c8 path select 2025-01-23 02:03:35 +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
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
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
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
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
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
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