Hello,
running asl -s -f seems to append the current SecResponseBodyLimit value to the end of the existing value in /etc/httpd/modsecurity.d/tortix_waf.conf. Bug can be replicated by running
Code:
# asl -s -f
. ASL visual interface only shows one instance of the value but tortix_waf.conf returns the true value.
Prevents apache from restarting:
Code:
[root]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Thu Aug 02 16:32:15 2012] [warn] module security2_module is already loaded, skipping
Syntax error on line 7 of /etc/httpd/modsecurity.d/tortix_waf.conf:
ModSecurity: Invalid value for SecResponseBodyLimit: 26214402621440262144026214402621440
[FAILED]
If I edit tortix_waf.conf directly and change the value then restart apache any subsequent run of
Code:
# asl -s -f
will re-append the SecResponseBodyLimit value to itself.