diff --git a/CHANGES b/CHANGES index 074913b5..6baf22b8 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,11 @@ +17 Dec 2013 - 2.7.7 +------------------- +Fixes: + +- Changed release version to 2.7.7 +- Got the configure scripts inside the release tarball + + 16 Dec 2013 - 2.7.6 ------------------- Improvements: diff --git a/apache2/msc_release.h b/apache2/msc_release.h index e3423712..20649fac 100644 --- a/apache2/msc_release.h +++ b/apache2/msc_release.h @@ -38,7 +38,7 @@ #define MODSEC_VERSION_MAJOR "2" #define MODSEC_VERSION_MINOR "7" -#define MODSEC_VERSION_MAINT "5" +#define MODSEC_VERSION_MAINT "7" #define MODSEC_VERSION_TYPE "" #define MODSEC_VERSION_RELEASE "" diff --git a/modsecurity.conf-recommended b/modsecurity.conf-recommended index 84d354b5..f36166ad 100644 --- a/modsecurity.conf-recommended +++ b/modsecurity.conf-recommended @@ -209,5 +209,5 @@ SecCookieFormat 0 # to properly map encoded data to your language. Properly setting # these directives helps to reduce false positives and negatives. # -#SecUnicodeCodePage 20127 -#SecUnicodeMapFile unicode.mapping +SecUnicodeMapFile unicode.mapping 20127 + diff --git a/nginx/modsecurity/config b/nginx/modsecurity/config new file mode 100644 index 00000000..8d7ce34a --- /dev/null +++ b/nginx/modsecurity/config @@ -0,0 +1,46 @@ +#!/bin/sh + +# This file should be auto-generated whenever modsecurity is configured as standalone. + +CFLAGS="$CFLAGS \ + -I/usr/include/apr-1.0 \ + -I/usr/include/apr-1.0 -I/usr/include \ + -I/usr/include/apache2 \ + -I/usr/include/libxml2 \ + -DWITH_LUA -I/usr/include/lua5.1 \ + -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 -DREQUEST_EARLY \ + " + + +CORE_LIBS="$CORE_LIBS \ + -L/usr/lib -lapr-1 \ + -L/usr/lib -laprutil-1 \ + -I/usr/include/apache2 \ + -L/usr/lib/x86_64-linux-gnu -lcurl \ + -lxml2 \ + -llua5.1 \ + -lpcre \ + -L/usr/lib -lcap" + +ngx_addon_name=ngx_http_modsecurity + +CORE_MODULES="$CORE_MODULES ngx_pool_context_module" + +HTTP_AUX_FILTER_MODULES="ngx_http_modsecurity $HTTP_AUX_FILTER_MODULES" + +NGX_ADDON_SRCS="$NGX_ADDON_SRCS \ + $ngx_addon_dir/ngx_http_modsecurity.c \ + $ngx_addon_dir/apr_bucket_nginx.c \ + $ngx_addon_dir/ngx_pool_context.c" + +NGX_ADDON_DEPS="$NGX_ADDON_DEPS \ + $ngx_addon_dir/apr_bucket_nginx.h \ + $ngx_addon_dir/ngx_pool_context.h" + +CORE_LIBS="$ngx_addon_dir/../../standalone/.libs/standalone.a $CORE_LIBS" + +CORE_INCS="$CORE_INCS \ + $ngx_addon_dir \ + $ngx_addon_dir/../../standalone \ + $ngx_addon_dir/../../apache2" +