Who try to use this rule set?
/http://www.frameloss.org/2011/07/29/stopping-brute-force-logins-against-wordpress/
I have apache 2.2.25, mod_seс 2.6.4 with nginx as front-end and mod_realip2 for REMOTE_ADDR issue correction.
But that rules determines my server IP as IP of attackers.
In mod_sec audit log i find that this info (111.211.111.73 - my server ip, 111.175.7.163 - my real IP )
--b5d14d22-A--
[27/Sep/2013:10:02:01 +0400] UkUfWV-Th4oAABEmtYwAAAAE 111.211.111.73 21108 111.211.111.73 80
--b5d14d22-B--
POST /wp-login.php HTTP/1.0
Host: outmax.ru
X-Real-IP: 111.175.7.163
X-Forwarded-For: 111.175.7.163
Connection: close
Content-Length: 120
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Referer: [Removed]
Cookie: PHPSESSID=630a291c7c01f923d7745817d0b19f45; wordpress_test_cookie=WP+Cookie+check
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
In internal database that this rules creates I have only one entry with server IP
CREATE_TIME
1380261568UPDATE_COUNTER1
bf_counter1LAST_UPDATE_TIME
1380261568 111.211.111.73
So I conclude that mod_sec could correctly determine IP, but something goes wrong..
Any ideas abut this?
/http://www.frameloss.org/2011/07/29/stopping-brute-force-logins-against-wordpress/
I have apache 2.2.25, mod_seс 2.6.4 with nginx as front-end and mod_realip2 for REMOTE_ADDR issue correction.
But that rules determines my server IP as IP of attackers.
In mod_sec audit log i find that this info (111.211.111.73 - my server ip, 111.175.7.163 - my real IP )
--b5d14d22-A--
[27/Sep/2013:10:02:01 +0400] UkUfWV-Th4oAABEmtYwAAAAE 111.211.111.73 21108 111.211.111.73 80
--b5d14d22-B--
POST /wp-login.php HTTP/1.0
Host: outmax.ru
X-Real-IP: 111.175.7.163
X-Forwarded-For: 111.175.7.163
Connection: close
Content-Length: 120
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Referer: [Removed]
Cookie: PHPSESSID=630a291c7c01f923d7745817d0b19f45; wordpress_test_cookie=WP+Cookie+check
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
In internal database that this rules creates I have only one entry with server IP
CREATE_TIME
1380261568UPDATE_COUNTER1
bf_counter1LAST_UPDATE_TIME
1380261568 111.211.111.73
So I conclude that mod_sec could correctly determine IP, but something goes wrong..
Any ideas abut this?
Last edited by a moderator: