Skip to content

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
@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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants