A
A
aramtop2018-02-05 18:17:51
linux
aramtop, 2018-02-05 18:17:51

Why does the server crash after several page reloads?

Hello, I have a website, Linux, Ubuntu, 1 gb ram, 20gb ssd
Recently, a user broke the server many, many times just by reloading the page.
How can you protect yourself from such smarties? Tell me, in more detail, if possible, links to tutorials.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Kirito Kagurazaka, 2018-02-05
@shomin2112

Dos attacks have a lot of information on them on the Internet, the simplest solution is to stupidly limit the page display, and turn off the counter after five minutes. And then bring this counter to the user, or rather, according to the specific http header that it sends.

A
alfss, 2018-02-06
@alfss

nginx.org/ru/docs/http/ngx_http_limit_req_module.html for help

V
Victor Taran, 2018-10-19
@shambler81

THIS IS NOT SMART, but the default settings of apache or nginx, they have been default for twenty years. And technologies have changed, as well as the amount of memory and processors.
You look in the log there will be written the limit of what you have increased.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question