mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-14 23:47:11 +03:00
backport HURD and KfreeBSD build support
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,6 +1,8 @@
|
||||
08 Jun 2012 - 2.6.6
|
||||
-------------------
|
||||
|
||||
* Added build system support for KfreeBSD and HURD.
|
||||
|
||||
* In 2009, Stefan Esser published an evasion technique that relies on the use of single quotes and PHP.
|
||||
The trick was treating a request parameter as a file. A patch was applied into ModSecurity 2.5.11 by Brian Rectanus.
|
||||
Ivan Ristic reported that the patch was imcomplete. We added extra checks for this evasion.
|
||||
|
||||
12
configure.ac
12
configure.ac
@@ -110,12 +110,20 @@ case $host in
|
||||
freebsdos=true
|
||||
;;
|
||||
*-*-netbsd*)
|
||||
echo "Checking plataform... Identified as FreeBSD"
|
||||
echo "Checking plataform... Identified as NetBSD"
|
||||
netbsdos=true
|
||||
;;
|
||||
*-*-openbsd*)
|
||||
echo "Checking plataform... Identified as FreeBSD"
|
||||
echo "Checking plataform... Identified as OpenBSD"
|
||||
openbsdos=true
|
||||
;;
|
||||
*-*-kfreebsd*)
|
||||
echo "Checking plataform... Identified as kFreeBSD, treating as linux"
|
||||
linuxos=true
|
||||
;;
|
||||
*-*-gnu*.*)
|
||||
echo "Checking plataform... Identified as HURD, treating as linux"
|
||||
linuxos=true
|
||||
;;
|
||||
*)
|
||||
echo "Unknown CANONICAL_HOST $host"
|
||||
|
||||
Reference in New Issue
Block a user