Thread: [mod-security-users] Create A custom Error page and connect mod_sec to a firewall
Brought to you by:
victorhora,
zimmerletw
From: Alireza.M <ro...@gm...> - 2013-06-13 08:15:09
|
Hi experts how can i add a custom error page that show after every attack? instead of 404 or 403? -------------------------------------------- how can i connect mod_security to a firewall like csf? or iptables? i want to filter ban ip of attacker after he/she seen alert page(error page)? thanks *Senior Security Researcher at* |
From: Josh Amishav-Z. <ja...@ow...> - 2013-06-13 08:38:23
|
On Thu, Jun 13, 2013 at 11:14 AM, Alireza.M <ro...@gm...> wrote: > Hi experts > how can i add a custom error page that show after every attack? instead of > 404 or 403? > Hi Alireza, You can set the default action to redirect users (via the redirect action) instead of the default deny. > -------------------------------------------- > how can i connect mod_security to a firewall like csf? or iptables? > i want to filter ban ip of attacker after he/she seen alert page(error > page)? > There are a number of ways to implement this. Personally I do this via the Lua API, but depending one your needs you could simply use the exec action. -- - Josh > > thanks > > *Senior Security Researcher at* > > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > mod-security-users mailing list > mod...@li... > https://lists.sourceforge.net/lists/listinfo/mod-security-users > Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs: > http://www.modsecurity.org/projects/commercial/rules/ > http://www.modsecurity.org/projects/commercial/support/ > > |