84 Commits

Author SHA1 Message Date
Felipe Zimmerle
28d4f9fce1 iis: Checks Win version before declare inet_pton
Checking for `!(NTDDI_VERSION >= NTDDI_VISTA)` to decide whenever or not
to declare the inet_pton function.
2014-03-31 16:22:10 -07:00
Felipe Zimmerle
bd0980f63d Reverts commit: a4202146b8d26b6615bbab986383fe0afae60d77
Testing inet_pton with the help of Steffen. Acording to Steffen we can use
!(NTDDI_VERSION >= NTDDI_VISTA) to identify that the specific Windows version
has this function defined or not, if so we can use the Windows version.
Reverting this commit to avoid to overwrite the Windows' function. And
see the original error that happened before this commit.
2014-03-31 16:22:10 -07:00
Felipe Zimmerle
d93ce9ceee Adds REQUEST_FULL and REQUEST_FULL_LENGTH variables
This variable is a combination from REQUEST_LINE, REQUEST_HEADERS and
REQUEST_BODY (if any). Expects for \n\n in between each of those values.
2014-03-31 07:14:55 -07:00
Greg Chow
5b0c933cf3 Fixes UTF8 to Unicode conversion bug in 4-byte encodings 2014-03-31 07:14:55 -07:00
Felipe \\\"Zimmerle\\\" Costa
a4202146b8 iis: Fix inet_pton build problem
There is a function named inet_pton on windows API, with different
signature. This patch just override the windows function and point
the inet_pton to our implementation.
2013-11-07 17:15:52 -02:00
Breno Silva
a6fd09b691 Fix null byte convertion into utf8toUnicode 2013-07-04 03:34:10 -07:00
Breno Silva
aa18ec7f45 Updated copyright dates 2013-04-19 03:20:46 -04:00
Greg Wroblewski
c53e743c86 IIS version improvements 2013-01-18 11:39:05 -08:00
Breno Silva
fc45a3fe3b Fixed compilation issue under Windows when APR ipv6 is disabled 2012-12-01 08:21:04 -04:00
Breno Silva
ce3cf00a2c Fixed byte conversion issue during logging under zlinux 2012-10-31 17:05:41 -04:00
brenosilva
eeb331ca46 Added utf8toUnicode tfn - fix typo 2012-08-24 17:04:52 +00:00
brenosilva
781a506bc9 Added utf8toUnicode tfn 2012-08-24 17:02:13 +00:00
brenosilva
7385b120a7 Fixed check if ip_strv is NULL 2012-08-16 12:52:38 +00:00
brenosilva
8cec8c7e6d Make internal m_strcasestr default 2012-08-15 16:08:02 +00:00
brenosilva
592ec392d1 Remove ctl:ruleUpdateTarget* and add ctl:ruleRemovetarget* 2012-08-02 18:04:53 +00:00
brenosilva
543a7db8a7 Check for strcasestr 2012-07-27 01:10:33 +00:00
brenosilva
81b74ba633 Fix code for windows 2012-06-16 19:33:22 +00:00
brenosilva
de56a8bcf4 Add inet_pton for windows 2012-06-15 20:45:54 +00:00
brenosilva
780db20398 Add inet_pton for windows 2012-06-15 20:44:10 +00:00
brenosilva
14156d831b Add ipmatchFromfile 2012-06-01 20:26:51 +00:00
brenosilva
866cb6d6b4 Update trunk for 2.7 2012-05-10 23:18:39 +00:00
brenosilva
8642120748 Code cleanups 2012-01-02 20:21:29 +00:00
brenosilva
5b82006fee Code cleanup 2012-01-02 20:09:49 +00:00
brenosilva
3090edd850 sqlHexDecode fully hex decode 2011-10-26 22:31:23 +00:00
brenosilva
2a585fba82 Check for X in uppercase into sqlHexDecode 2011-10-21 12:57:41 +00:00
brenosilva
162f219f1d MODSEC-273 2011-10-20 18:22:21 +00:00
brenosilva
150bc418dd Fix issue in sqlHexDecode 2011-10-18 01:44:39 +00:00
brenosilva
a4f0957b0c Revert hexDecode and add new sqlHexDecode 2011-10-10 16:24:07 +00:00
brenosilva
0ae09036b4 MODSEC-255 2011-07-27 13:19:43 +00:00
brenosilva
06dd5907b6 Build and code fixes 2011-06-14 15:01:17 +00:00
brenosilva
f595919107 Implement unicode map 2011-06-02 19:11:04 +00:00
brenosilva
6d7781754b Fix MODSEC-247 2011-05-24 14:54:45 +00:00
brenosilva
6b7edc4d47 Fixes, code cleanups, improvements 2011-04-27 15:58:22 +00:00
ivanr
352514f7d8 Fix comment to reflext the base64DecodeExt change 2011-04-25 19:19:21 +00:00
brenosilva
c1d3fd6363 Applied patches from Diego 2011-04-20 19:14:49 +00:00
brenosilva
d68731a38b APR-Ipmatch operator 2011-04-16 21:25:30 +00:00
brenosilva
a9557a66cd Add more char to escape in log_escape_re 2011-04-07 13:41:30 +00:00
brenosilva
0d32c17c30 Memory pool fixes and code cleanup 2011-04-03 03:57:02 +00:00
brenosilva
6031e7fdae Improvements, bug fixes and cleanup from Tom Donavan 2011-04-02 23:10:16 +00:00
brenosilva
2ff42243fa Add escape option to rsub and rbl improvements 2011-03-31 17:15:37 +00:00
brenosilva
8642c01344 gsb now saves the base url in tx.1 when match a full url 2011-03-30 17:58:54 +00:00
brenosilva
0c81610818 add util remove escape function and apply it for gsb 2011-03-30 17:25:46 +00:00
brenosilva
104f0de46e New License 2011-03-30 14:12:44 +00:00
brenosilva
49732256f6 Improvements, fixes and new features 2011-03-25 13:51:13 +00:00
brenosilva
7bd27c4000 Gsb matched urls set into tx variable 2011-03-16 15:04:17 +00:00
brenosilva
56fc2ea714 MODSEC-148 fix issues 2010-12-22 13:57:44 +00:00
brenosilva
549f059480 move 2.5.13 into trunk 2010-12-08 18:58:18 +00:00
b1v1r
3a10f9fb8d Fix autoconf header and include path so trunk builds. 2010-08-31 18:35:55 +00:00
b1v1r
08edc0c26f Merge 2.5.x (2.5.12) changes into trunk. 2010-02-05 19:05:20 +00:00
ivanr
a4d5d50be9 Integrate with mod_log_config (MODSEC-108). 2010-02-01 11:01:17 +00:00