logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_security unblock ip from ddos
Author
kingsley



Joined: 05 Feb 2013
Posts: 7
Location: Malaysia, KL

PostPosted: Sun 11 Aug '13 5:31    Post subject: mod_security unblock ip from ddos Reply with quote

where was the IP data store by mod_security? I want to remove my own IP Sad

I tried to ddos'ed on local site 127.0.0.1, and after that i got blocked.
The page returned The connection was reset and the status code was Aborted


Here is the log
[Sun Aug 11 11:10:32.810281 2013] [:warn] [pid 6092:tid 1060] ModSecurity: Access denied with code 400. Too many threads [1920] of 100 allowed in READ state from 127.0.0.1 - Possible DoS Consumption Attack [Rejected]
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 03 Sep '13 11:40    Post subject: Reply with quote

You could set your IP to a white list in the config

Code:
SetEnvIfNoCase REMOTE_ADDR ^127\.0\.0\.1$ MODSEC_ENABLE=Off


or

as sec rule

Code:

SecRule REMOTE_ADDR "^127\.0\.0\1$" phase:1,nolog,allow,ctl:ruleEngine=Off
Back to top


Reply to topic   Topic: mod_security unblock ip from ddos View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules