I was previously running a Ubuntu 18.04 server with PSAD configured and working as expected, which I recently upgraded to 20.04. Since doing so, PSAD won't start - it gives the error Could not find/execute iptables, specify path via _iptables at /usr/share/perl5/IPTables/ChainMgr.pm line 37. I have edited /etc/psad/psad.conf and changed
iptablesCmd /sbin/iptables;
ip6tablesCmd /sbin/ip6tables;
to
iptablesCmd /usr/sbin/iptables;
ip6tablesCmd /usr/sbin/ip6tables;
to match where iptables is on the filesystem;
which iptables
/usr/sbin/iptables
But this makes no difference. I have also tried setting
ENABLE_OVERRIDE_FW_CMD Y;
FW_CMD /usr/sbin/iptables;
Which also seems to make no difference. I'm running v2.4.3 from the Ubuntu repositories.
Any indication as to how I can address this?
I was previously running a Ubuntu 18.04 server with PSAD configured and working as expected, which I recently upgraded to 20.04. Since doing so, PSAD won't start - it gives the error
Could not find/execute iptables, specify path via _iptables at /usr/share/perl5/IPTables/ChainMgr.pm line 37.I have edited /etc/psad/psad.conf and changedto
to match where iptables is on the filesystem;
But this makes no difference. I have also tried setting
Which also seems to make no difference. I'm running v2.4.3 from the Ubuntu repositories.
Any indication as to how I can address this?