Skip to content

Close MQTT connection with delay when authentication fails (backport #11900) (backport #11904) #11906

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

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Aug 5, 2024

For consistency with other protocols (to protect from potential DoS attacks). Wrong credentials and virtual host access errors trigger the delay.

References #11831

We keep the delay low when running tests. Otherwise,

make -C deps/rabbitmq_mqtt ct-auth

would run 3 minutes longer (with a SILENT_CLOSE_DELAY of 3 seconds).


This is an automatic backport of pull request #11900 done by Mergify.
This is an automatic backport of pull request #11904 done by Mergify.

@ansd ansd added this to the 3.13.7 milestone Aug 5, 2024
For consistency with other protocols (to protect from potential DoS attacks).
Wrong credentials and virtual host access errors trigger the delay.

References #11831

We keep the delay low when running tests. Otherwise,
```
make -C deps/rabbitmq_mqtt ct-auth
```
would run 3 minutes longer (with a SILENT_CLOSE_DELAY of 3 seconds).

(cherry picked from commit 80ff6d0)
(cherry picked from commit 9e84378)
@michaelklishin michaelklishin force-pushed the mergify/bp/v3.13.x/pr-11904 branch from 93b90c7 to 58fbe75 Compare August 6, 2024 03:24
@michaelklishin michaelklishin merged commit 8947104 into v3.13.x Aug 6, 2024
188 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v3.13.x/pr-11904 branch August 6, 2024 03:51
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

Successfully merging this pull request may close these issues.

2 participants