View Single Post
  #1  
Old 20th January 2013, 02:36
aibara aibara is offline
Junior Member
 
Join Date: Apr 2012
Posts: 18
Thanks: 1
Thanked 4 Times in 2 Posts
Default [PROBLEM] Howto install/update modsecurity2 with ispconfig3 for IDA

Hi,

I'm actually using the modsecurity from this tutorial made by Till.
http://www.faqforge.com/category/lin...ls/ispconfig3/

The tutorial works great , and i am very happy with my new implementation.

My problem is very simple, and i know how to solve this.
https://www.modsecurity.org/tracker/browse/MODSEC-288
As explained on the link, there's a bug with {unique_id} variable, what i need is something like :

In file : modsecurity_crs_10_config.conf (main modsecurity config file)
SecDefaultAction "phase:2,log,redirect:http://blabla.com/security/hack.php?ip=%{remote_addr}&regla=%{rule.msg}&id=%{ UNIQUE_ID}"

I need UNIQUE_ID to manage a future script to ban bad requests using iptables.

But when the redirect happens, no unique_id appears.
The bugtracker says that its fixed in 2.7.0, so thats why i need to update.

I have already tried a lot of tutorials, and any of them work.

Dunno what to do now, i'm a little lost.
I Hope someone can help me with this and first of all, thanks for helping.
Reply With Quote
Sponsored Links