Page 1 of 1

tortixd broken after update (ive rolled back mod_security)

Posted: Fri Jun 13, 2014 1:23 pm
by aus-city
[root@primary ~]# /etc/init.d/tortixd restart Stopping tortixd: [FAILED]
Starting tortixd: Syntax error on line 25 of /var/asl/etc/httpd/modsecurity.d/tortix_waf.conf:
Invalid command 'SecConnReadStateLimit', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
[root@primary ~]#

Ive edited /var/asl/etc/httpd/modsecurity.d/tortix_waf.conf to start tortixd


TWO edits needed you have to remove also:


[root@primary ~]# vi /var/asl/etc/httpd/modsecurity.d/tortix_waf.conf
[root@primary ~]# /etc/init.d/tortixd restart
Stopping tortixd: [FAILED]
Starting tortixd: Syntax error on line 25 of /var/asl/etc/httpd/modsecurity.d/tortix_waf.conf:
Invalid command 'SecConnWriteStateLimit', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
[root@primary ~]# vi /var/asl/etc/httpd/modsecurity.d/tortix_waf.conf
[root@primary ~]# /etc/init.d/tortixd restart
Stopping tortixd: [FAILED]
Starting tortixd: [ OK ]
[root@primary ~]#

Re: tortixd broken after update (ive rolled back mod_securit

Posted: Fri Jun 13, 2014 1:28 pm
by mikeshinn
You just need to run:

aum -uf

asl -s -f

You need to do a force upgrade to overwrite that config file, and "asl -s -f" to force the new policy. A non forced upgrade wont work.

Re: tortixd broken after update (ive rolled back mod_securit

Posted: Fri Jun 13, 2014 2:36 pm
by biggles
Running aum -uf and asl -s -f does not fix it. I am now downgrading modsec per instructions in my support thread.

Re: tortixd broken after update (ive rolled back mod_securit

Posted: Fri Jun 13, 2014 8:08 pm
by aus-city
I see the newly updated mod_security #22 fixes the issue WITH the tags in :)