csf keeps removing rules in csf.deny
Posted: 27 Feb 2008, 12:51
I have rules like this in my csf.deny:
CSF keeps removing these rules after updates it seems. As far as I know these rules are correct. The same example is mentioned in csf's readme file. Although there it also shows the format with 1 colon before 'u=uid'. I have tried that as well in the past, but that didn't help either.
tcp/udp:in/out:s/d=port:s/d=ip:u=uid
# TCP connections outbound to port 80 from UID 99
When I list my iptables rules it does show the uid rules I'm using:
LOGDROPOUT tcp -- anywhere anywhere tcp dpt:http OWNER UID match nobody
So everything seems to be working, apart from the fact that csf keeps removing these rules.
Code: Select all
tcp:out:d=80::u=99
tcp/udp:in/out:s/d=port:s/d=ip:u=uid
# TCP connections outbound to port 80 from UID 99
Code: Select all
tcp:out:d=80::u=99
LOGDROPOUT tcp -- anywhere anywhere tcp dpt:http OWNER UID match nobody
So everything seems to be working, apart from the fact that csf keeps removing these rules.