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

Telnet servers potentially lead to nonterminating acknowledgment loops #2685

Open
jerrytesting opened this issue Aug 8, 2021 · 0 comments
Open

Comments

@jerrytesting
Copy link

Hello,

In the implementation of telnet servers until version 3.0 and even the latest commit 32b5b17, potential nonterminating acknowledgment loops have been found in telnet servers.

In order to prevent nonterminating acknowledgment loops, one rule made by RFC854 is that, a request must not be acknowledged if a party receives what appears to be the request to enter some mode it is already in.

However, when the negotiated options are already disabled, servers still respond to DONT and WONT requests with WONT or DONT commands. Hence, potential infinite acknowledgment loops exist in the telnet server during execution, which may lead to denial of service and excessive CPU consumption.

Could you have a check? Thanks a lot.

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