Re: [mod-security-users] apache 2.0, mod_security_v1.9RC and log performance
Brought to you by:
victorhora,
zimmerletw
|
From: Tomas H. S. <thi...@te...> - 2005-10-19 07:48:09
|
Hello,
Many thanks for you help, Ivan
I try the new configuration contributed in your answer but it has not =
worked. :-(
My system is:=20
Red Hat Advanced Server 3.0 Upgrade 5
Apache 2.0.54 (compiled)
This is the log:
[19/Oct/2005:09:33:52 +0200] "GET /cgi-bin/modsec-test.pl HTTP/1.0" 200 =
- 194 1134 - - - - 17737
[19/Oct/2005:09:33:52 +0200] "GET /cgi-bin/modsec-test.pl HTTP/1.0" 200 =
- 188 1128 - - - - 17585
[19/Oct/2005:09:33:52 +0200] "GET /cgi-bin/modsec-test.pl HTTP/1.0" 200 =
- 192 1111 - - - - 18087
[19/Oct/2005:09:33:52 +0200] "GET /cgi-bin/modsec-test.pl HTTP/1.0" 200 =
- 190 1130 - - - - 17420
[19/Oct/2005:09:33:53 +0200] "GET /cgi-bin/modsec-test.pl?wget%20wget =
HTTP/1.0" 200 - 149 1073 - - - - 18019
[19/Oct/2005:09:33:53 +0200] "POST /cgi-bin/modsec-test.pl HTTP/1.1" 200 =
- 450 1190 - - - - 19549
[19/Oct/2005:09:33:53 +0200] "POST /cgi-bin/modsec-test.pl HTTP/1.1" 200 =
- 449 1172 - - - - 18826
Tom=E1s Hidalgo Salvador
thi...@te...
Dpto. Sistemas Unix
Tlf.: 2333
DSF Almariya
-----Mensaje original-----
De: Ivan Ristic [mailto:iv...@we...]=20
Enviado el: martes, 18 de octubre de 2005 12:23
Para: Tomas Hidalgo Salvador
CC: mod...@li...
Asunto: [SPAM] - Re: [mod-security-users] apache 2.0, =
mod_security_v1.9RC and log performance - Email found in subject
Tomas Hidalgo Salvador wrote:
>
> LogFormat "%t \"%r\" %>s - %I %O - %{mod_security-time1}n=20
> %{mod_security-time2}n %{mod_security-time3}n %D" tiempo
> CustomLog /logs/timer_log tiempo
>=20
> ...
>=20
> In the file of log they do not appear the data of mod_security-time1,=20
> mod_security-time2 and mod_security-time3.
>=20
> Why it does not work? It lacks some configuration?
It appears that I made a change in RC1 that broke that functionality.
I'll see how I can fix it before the final 1.9. In the meantime you
can use this workaround (just tested it, works for me):
LogFormat "%t \"%r\" %>s - %I %O - %<{mod_security-time1}n \
%<{mod_security-time2}n %<{mod_security-time3}n %D" tiempo
Note the "<" character before the names of notes.
--=20
Ivan Ristic
Apache Security (O'Reilly) - http://www.apachesecurity.net
Open source web application firewall - http://www.modsecurity.org
|