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

ModSecurity blocks requests #170

Open
ponasromas opened this issue Feb 13, 2021 · 2 comments
Open

ModSecurity blocks requests #170

ponasromas opened this issue Feb 13, 2021 · 2 comments

Comments

@ponasromas
Copy link

When enabling mod_security there is strange problem with connection. After enabling it, few minutes latter all connections timing out.

It is easy to reproduce:

  1. Install nginx with modsec enabled;
  2. Load modsec:
modsecurity         on;
modsecurity_rules_file /etc/nginx/modsec/main.conf;
  1. Visit your website, few pages. Eventually you will encounter infinite loading and timeout.

Maybe related, error.log contains:

2021/02/13 10:17:53 [alert] 31891#31891: *330 open socket #37 left in connection 8
2021/02/13 10:17:53 [alert] 31891#31891: *329 open socket #35 left in connection 9
2021/02/13 10:17:53 [alert] 31891#31891: aborting
@angristan
Copy link
Owner

angristan commented Feb 21, 2021

I think it would be more useful to report this in https://github.com/SpiderLabs/ModSecurity than here

@angristan
Copy link
Owner

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

2 participants