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

Close stream connection with delay in case of authentication failure #11831

Merged

Conversation

acogoluegnes
Copy link
Contributor

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

For consistency with other protocols (to protect from potential DoS
attacks). Wrong credentials and virtual host access errors trigger
the delay.
@michaelklishin michaelklishin merged commit b605f78 into main Jul 25, 2024
189 checks passed
@michaelklishin michaelklishin deleted the stream-plugin-close-with-delay-on-authentication-failure branch July 25, 2024 16:11
michaelklishin added a commit that referenced this pull request Jul 25, 2024
Close stream connection with delay in case of authentication failure (backport #11831)
ansd added a commit that referenced this pull request 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).
mergify bot pushed a commit that referenced this pull request 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)
ansd added a commit that referenced this pull request 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)
mergify bot pushed a commit that referenced this pull request 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 pushed a commit that referenced this pull request Aug 6, 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants