Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TLDK-2] TLDK does not send RST #5

Open
vvalderrv opened this issue Jan 2, 2025 · 0 comments
Open

[TLDK-2] TLDK does not send RST #5

vvalderrv opened this issue Jan 2, 2025 · 0 comments

Comments

@vvalderrv
Copy link
Contributor

When an unknown packet arrives (i.e. - a packet that is destined for a non-existing stream, or for a port where noone is listening), conforming TCP implementations send out a reset packet. TLDK does not do that.

If chaining of packets between different contexts is necessary (is it?), then we can have an optional flag saying "reject unknown packets". When that is set, any packet that does not belong to any stream should be rejected with a corresponding RST packet (or RST+ACK, if in response to a SYN).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant