Jop Zitman
282764a879
Merge pull request #3 from EndPositive/fix/ptr-nullify
...
Initialize encoding/decoding buffers with null pointers closes #1
2025-06-09 13:42:06 +08:00
Jop Zitman
c2386d344a
Initialize encoding/decoding buffers with null pointers
...
closes #1
> the caller has no way to know if they need to free it or not
while this is not necessarily true--the buffer is only allocated on succesful return codes--it is indeed better practice to ensure the pointers are nullified. This prevents future accidental mal-use leading to corruption when freeing an uninitialized pointer.
2025-06-05 09:42:46 +08:00
Pepijn van der Stap
3ada0c8059
feat(dotter): Ensure null termination and robust buffer handling
...
- Explicitly null-terminating the output strings in both slipstream_inline_dotify and slipstream_inline_undotify.
- Improving the buffer size check in slipstream_inline_dotify to correctly account for the null terminator.
- Enhancing the handling of empty input strings in slipstream_inline_dotify.
2025-06-05 09:31:01 +08:00
Jop Zitman
c0248deec3
Update docs with protocol design and fix urls
2025-05-21 15:53:49 +08:00
Jop Zitman
afdff239d7
Customizable keep-alive-interval
2025-05-21 12:49:13 +08:00
Jop Zitman
e65f055ab0
Add GitHub pages
2025-05-20 17:00:48 +08:00
Jop Zitman
1ce5cf30c9
Update documentation
2025-05-16 16:39:49 +08:00
Jop Zitman
cb8340a3e5
Add badges
2025-05-11 16:40:54 +08:00
Jop Zitman
45ac5e4020
Update README.md
2025-05-11 11:51:33 +08:00
Jop Zitman
2651bfb258
Create LICENSE
2025-05-11 11:51:11 +08:00
Jop Zitman
734f23fba3
Add GH CI for releases
2025-05-11 11:40:18 +08:00
Jop Zitman
38654ca9eb
Update .gitignore
2025-05-09 16:29:33 +08:00
Jop Zitman
cb4a29a239
cli
2025-05-06 15:55:52 +08:00
Jop Zitman
163a02dbd4
fix stream id duplication
2025-05-05 15:51:17 +08:00
Jop Zitman
a4871685e0
Pipe structure
2025-04-27 19:37:42 +08:00
Jop Zitman
9f457c1392
Add caching to Dockerfile
2025-04-27 16:42:15 +08:00
Jop Zitman
afe2a2f40a
Delete forced in-order processing of TCP handshakes
2025-04-27 16:41:38 +08:00
Jop Zitman
982885f821
cleanup logging
2025-04-25 07:54:33 +08:00
Jop Zitman
7ad057e8ea
Remove last_cnx access on invalid packet receive and proper free
2025-04-25 06:04:40 +08:00
Jop Zitman
ca7e49d601
Get rid of token stuff
2025-03-21 21:19:39 +08:00
Jop Zitman
6a421ac636
Convert Dockerfile release to clang
2025-03-21 21:04:10 +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
208c1ca917
fix
2025-01-23 02:08:33 +08:00
Jop Zitman
f898a0e66b
release cmake
2025-01-23 02:06:24 +08:00
Jop Zitman
aa83bf87ef
gso toggle
2025-01-23 02:05:47 +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
9af4c5b952
Correct buffer size
2025-01-22 21:22:28 +08:00
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