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

Adjust client connection limit to match ddos protection measures #144

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

jens-mp
Copy link
Contributor

@jens-mp jens-mp commented Dec 11, 2024

The default for the maximum number of client connections is 400 according to https://github.com/hyperledger/indy-plenum/blob/main/plenum/config.py#L289. But the ddos protection (run/add_ddos_protection_iptables_rule.sh) defaults to 1500 maximum connections. This discrepancy makes indy-node still susceptible to ddos attacks.

Merge after #143

The default for the maximum number of client connections is 400
according to
https://github.com/hyperledger/indy-plenum/blob/main/plenum/config.py#L289
But the ddos protection (run/add_ddos_protection_iptables_rule.sh)
defaults to 1500 maximum connections. This discrepancy makes indy-node
still susceptible to ddos attacks.

Signed-off-by: Jens Schedel <[email protected]>
Copy link
Contributor

@mgmgwi mgmgwi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Echsecutor Echsecutor merged commit 8e4db4f into hyperledger:main Dec 11, 2024
11 checks passed
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.

3 participants