Code: Select all
iptables -A INPUT -i venet0 -j ACCEPT
iptables -A OUTPUT -o venet0 -j ACCEPT
iptables -A FORWARD -j ACCEPT -p all -s 0/0 -i venet0
iptables -A FORWARD -j ACCEPT -p all -s 0/0 -o venet0
Code: Select all
[root@myserver ~]# grep csf /var/log/lfd.log-* /var/log/lfd.log | grep -v "Failed SSH"
/var/log/lfd.log-20150614:Jun 8 00:00:02 myserver lfd[836493]: daemon started on myserver.example - csf v7.69 (generic)
/var/log/lfd.log-20150614:Jun 9 00:00:01 myserver lfd[837822]: daemon started on myserver.example - csf v7.69 (generic)
/var/log/lfd.log-20150614:Jun 10 00:00:02 myserver lfd[885092]: daemon started on myserver.example - csf v7.69 (generic)
/var/log/lfd.log-20150614:Jun 11 00:00:01 myserver lfd[857691]: daemon started on myserver.example - csf v7.69 (generic)
/var/log/lfd.log-20150614:Jun 12 00:00:02 myserver lfd[811224]: daemon started on myserver.example - csf v7.69 (generic)
/var/log/lfd.log-20150614:Jun 13 00:00:01 myserver lfd[840898]: daemon started on myserver.example - csf v7.69 (generic)
/var/log/lfd.log-20150614:Jun 14 00:00:02 myserver lfd[896332]: daemon started on myserver.example - csf v7.69 (generic)
/var/log/lfd.log:Jun 15 00:00:01 myserver lfd[912876]: daemon started on myserver.example - csf v7.69 (generic)
/var/log/lfd.log:Jun 15 02:07:07 myserver lfd[999150]: daemon started on myserver.example - csf v7.70 (generic)
/var/log/lfd.log:Jun 15 09:12:12 myserver lfd[999150]: iptables appears to have been flushed - running *csf startup*...
/var/log/lfd.log:Jun 15 09:12:13 myserver lfd[999150]: csf startup completed
This particular update doesn't seem to have made any changes of consequence, and I'm crossing my fingers that it doesn't happen again tonight, but there seems to be something wrong with either my config or with how the update process works. Not knowing the internals of CSF, I'm wondering if maybe on update, my csfpre.sh is not taken into account. (csfpre.sh was not deleted or modified by the update, though.)