Description of problem:
Setting psad on my system shows error in /var/log/psad/fw_check because I have firewalld installed but not running. I set my firewall with /etc/sysconfig/iptables and using iptables.service
Version-Release number of selected component (if applicable):
The problem is that the fwcheck_psad script and perl-IPTables-Parse only check for the presence of firewall-cmd, not to see if it actually works (the firewalld service is running). Therefore it fails.
This was reported in Fedora bug tracker (https://bugzilla.redhat.com/show_bug.cgi?id=1394902).
Description of problem: Setting psad on my system shows error in
/var/log/psad/fw_check
because I have firewalld installed but not running. I set my firewall with/etc/sysconfig/iptables
and usingiptables.service
Version-Release number of selected component (if applicable):
How reproducible: Always
Steps to Reproduce:
systemctl stop firewalld.service
/etc/psad/psad.conf
if necessary-j LOG
entries toINPUT
andFORWARD
iptables chainsfwcheck_psad
/var/log/psad/fw_check
Actual results: I get an error saying there is no default logging rule.
Expected results: That the ruleset is present and the firewall config is a success.
Additional info: As a work around, I renamed the
firewall-cmd
executable:After that,
fwcheck_psad
now works.The problem is that the
fwcheck_psad
script andperl-IPTables-Parse
only check for the presence offirewall-cmd
, not to see if it actually works (the firewalld service is running). Therefore it fails.