F
F
Falseclock2019-05-15 08:24:36
Nginx
Falseclock, 2019-05-15 08:24:36

What is the nginx module for monitoring connections and requests?

Is there any module for nginx so that it is possible, for example, to monitor the number of requests in a session by IP or cookie?
Purpose: protection against password brute force and DDOS
Protection example: for each HTTP request, nginx creates additional headers and transmits the number of requests from a given client per unit of time. It's just that within one keep-alive connection it can push +100500 brute force or DDOS requests.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lynn "Coffee Man", 2019-05-15
@Lynn

limit_req (module) plus fail2ban (app)

S
Stanislav Bodrov, 2019-05-16
@jenki

Just within one keep-alive connection, it can push +100500 brute force or DDOS requests
Limit the number of requests from one address in iptables. In the same place it is possible to wind any rules in addition for safety. And do not tumble extra functionality where it is not needed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question