Commit graph

19 commits

Author SHA1 Message Date
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