From e9efefe33ef993d54917ce67322e7f420f3a5322 Mon Sep 17 00:00:00 2001 From: brectanus Date: Fri, 9 May 2008 15:50:17 +0000 Subject: [PATCH] Added mod_rpaf-2.0 and mod_custom_header to the beforeme list. --- CHANGES | 7 +++++++ apache2/mod_security2.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/CHANGES b/CHANGES index 2913c64d..2ffed60f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,10 @@ +09 May 2008 - 2.5.5-dev1 +------------------------ + +* Force modules "mod_rpaf-2.0.c" and "mod_custom_header.c" to run before + ModSecurity so that the correct IP is used. + + 07 May 2008 - 2.5.4 ------------------- diff --git a/apache2/mod_security2.c b/apache2/mod_security2.c index d9513766..3ce50296 100644 --- a/apache2/mod_security2.c +++ b/apache2/mod_security2.c @@ -1057,7 +1057,9 @@ static void register_hooks(apr_pool_t *mp) { }; static const char *postread_beforeme_list[] = { "mod_rpaf.c", + "mod_rpaf-2.0.c", "mod_extract_forwarded2.c", + "mod_custom_header.c", "mod_breach_realip.c", "mod_breach_trans.c", "mod_unique_id.c",