Thread View: rocksolid.nodes
4 messages
4 total messages
Started by Retro Guy Retro Guy
Fri, 20 Dec 2019 08:05
ddos defense for novabbs.com
Author: Retro Guy Retro Guy
Date: Fri, 20 Dec 2019 08:05
Date: Fri, 20 Dec 2019 08:05
9 lines
1409 bytes
1409 bytes
While I have in place defense for i2p and tor, I did not for clearnet. The site has been brought down almost daily for a while now, so I finally did something about it. I'm seeing blacklisting in the logs now, quite a bit, and the site is running much faster. This applies to news.novabbs.com(rslight) and www.novabbs.com(fudforum). We'll see how it goes. Retro Guy -- Posted on Rocksolid Light
Re: ddos defense for novabbs.com
Author: anonymous
Date: Thu, 21 May 2020 19:22
Date: Thu, 21 May 2020 19:22
4 lines
1018 bytes
1018 bytes
care to describe what you did exactly ? and on which level of the stack ? -- Posted on def2 z5bqfv5v75kxy7pj.onion
Re: ddos defense for novabbs.com
Author: Retro Guy Retro Guy
Date: Fri, 22 May 2020 08:32
Date: Fri, 22 May 2020 08:32
19 lines
2572 bytes
2572 bytes
anonymous wrote: > care to describe what you did exactly ? and on which level of the stack ? Most of what I was seeing was more than just rudely configured spiders (which tend to go through a site at a high rate of speed). I was seeing the same pages being requested very fast, over and over again from the same ip addresses. Since the addresses would be the same for a while, then completely new addresses, just blocking them would not work. For tor this doesn't work, but for i2p (on the same machine) and clearnet, I've had great results with the nginx Limit Req Module http://nginx.org/en/docs/http/ngx_http_limit_req_module.html From the site: The ngx_http_limit_req_module module (0.7.21) is used to limit the request processing rate per a defined key, in particular, the processing rate of requests coming from a single IP address. If the requests rate exceeds the rate configured for a zone, their processing is delayed such that requests are processed at a defined rate. Excessive requests are delayed until their number exceeds the maximum burst size in which case the request is terminated with an error. ------------- This does not protect against many types of attacks, but for just trying to shut the site down by overloading it, it's working very well. I've tied in the ip address logs to fail2ban to temporarily ban the offending ip addresses. Since setting this up, I have not needed to restart php-fpm or nginx a single time. Retro Guy -- Posted on: Rocksolid Light news.novabbs.com
Re: ddos defense for novabbs.com
Author: anonymous
Date: Fri, 22 May 2020 10:50
Date: Fri, 22 May 2020 10:50
12 lines
1904 bytes
1904 bytes
>The ngx_http_limit_req_module module (0.7.21) is used to limit the request processing rate per a defined key, in particular, the processing rate of requests coming from a single IP address. If the requests rate exceeds the rate configured for a zone, their processing is delayed such that requests are processed at a defined rate. Excessive requests are delayed until their number exceeds the maximum burst size in which case the request is terminated with an error. he, that is almost exactly the same as i did for boxs, only in this case the functionality is in the script itself, not on the level of the webserver (and of course it is not ip based, because that would be useless on tor, but only goes by the total number of requests). always a good sign if two parties come up with the same solution independently. :-) cheers trw -- Posted on def2 z5bqfv5v75kxy7pj.onion
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads