11

I am using mod_evasive for apache which manages DOS, that is it automatically blacklist IP's that do too much http queries during a delta time.

Does it exists on nginx ?

Evhz
  • 8,852
  • 9
  • 51
  • 69
Eric
  • 5,101
  • 10
  • 37
  • 45

2 Answers2

10

No, it doesn't. But you can use ngx_http_limit_req_module. For more information about this module, look for documentation: https://nginx.org/en/docs/http/ngx_http_limit_req_module.html

dgw
  • 485
  • 1
  • 4
  • 18
CyberDem0n
  • 14,545
  • 1
  • 34
  • 24
1

According to Nginx Module comparison matrix the HttpLimitZoneModule is equivalent to mod_evasive of apache.

This directive is made obsolete in version 1.1.8, an equivalent limit_conn_zone directive with a changed syntax should be used instead.

Further instructions for new module and directives can be found here.

  • Dead link, archived version [here](http://web.archive.org/web/20150906082747/http://wiki.nginx.org/ModuleComparisonMatrix). It says LimitZone is comparable to mod_evasive in **lighttpd**, not Apache. – rkok Mar 30 '16 at 19:06