CSF in Virtualmin is running, but logs are empty
Posted: 09 Mar 2025, 00:15
OS type and version Debian Linux 12
Virtualmin version 7.30.4 Pro
I’ve installed CSF (Firewall version 14.24) following: https://webmin.com/docs/third-party-mod ... -firewall/
I’ve configured it, checked and followed the information from a previous discussion.
Firewall status : Enable and running
perl /usr/local/csf/bin/csftest.pl
Say everything is ok.
Check security : Server Score: 39/39
Watch System Log has output (all 4)
Mar 8 21:27:59 wiki lfd[5153]: *User Processing* PID:500 Kill:0 User:zabbix Time:1836 EXE:/usr/sbin/zabbix_agentd CMD:/usr/sbin/zabbix_agentd: listener #9 [waiting for connection]
Mar 8 21:27:59 wiki lfd[5153]: *User Processing* PID:489 Kill:0 User:zabbix Time:1836 EXE:/usr/sbin/zabbix_agentd CMD:/usr/sbin/zabbix_agentd: listener #1 [waiting for connection]
View iptables rules display something
ldf status has output
lfd.service - ConfigServer Firewall & Security - lfd
Loaded: loaded (/lib/systemd/system/lfd.service; enabled; preset: enabled)
Active: active (running) since Sat 2025-03-08 20:57:58 IST; 51min ago
Process: 1824 ExecStart=/usr/sbin/lfd (code=exited, status=0/SUCCESS)
Main PID: 1837 (lfd - sleeping)
Tasks: 1 (limit: 2302)
Memory: 19.5M
CPU: 13.337s
CGroup: /system.slice/lfd.service
└─1837 "lfd - sleeping"
Mar 08 20:57:57 domain.com systemd[1]: Starting lfd.service - ConfigServer Firewall & Security - lfd...
Mar 08 20:57:58 domain.com systemd[1]: Started lfd.service - ConfigServer Firewall & Security - lfd.
/etc/csf/csf.logfiles shows path for “all” and for Debian. Nothing for Virtualmin.
/var/log/messages
/var/log/lfd.log
/var/log/cxswatch.log
# Debian/Ubuntu:
/var/log/auth.log
/var/log/daemon.log
/var/log/syslog
Test iptables says everything is ok.
I can add that IP Country based filtering is working.
So csf is active and does things.
I have also restarted csf and the server, but View Iptables logs => No logs entries found and View ldf Statistics => No statistical data has been collected yet
Debian using systems /journalctl so no real logs are created?
Virtualmin version 7.30.4 Pro
I’ve installed CSF (Firewall version 14.24) following: https://webmin.com/docs/third-party-mod ... -firewall/
I’ve configured it, checked and followed the information from a previous discussion.
Firewall status : Enable and running
perl /usr/local/csf/bin/csftest.pl
Say everything is ok.
Check security : Server Score: 39/39
Watch System Log has output (all 4)
Mar 8 21:27:59 wiki lfd[5153]: *User Processing* PID:500 Kill:0 User:zabbix Time:1836 EXE:/usr/sbin/zabbix_agentd CMD:/usr/sbin/zabbix_agentd: listener #9 [waiting for connection]
Mar 8 21:27:59 wiki lfd[5153]: *User Processing* PID:489 Kill:0 User:zabbix Time:1836 EXE:/usr/sbin/zabbix_agentd CMD:/usr/sbin/zabbix_agentd: listener #1 [waiting for connection]
View iptables rules display something
ldf status has output
lfd.service - ConfigServer Firewall & Security - lfd
Loaded: loaded (/lib/systemd/system/lfd.service; enabled; preset: enabled)
Active: active (running) since Sat 2025-03-08 20:57:58 IST; 51min ago
Process: 1824 ExecStart=/usr/sbin/lfd (code=exited, status=0/SUCCESS)
Main PID: 1837 (lfd - sleeping)
Tasks: 1 (limit: 2302)
Memory: 19.5M
CPU: 13.337s
CGroup: /system.slice/lfd.service
└─1837 "lfd - sleeping"
Mar 08 20:57:57 domain.com systemd[1]: Starting lfd.service - ConfigServer Firewall & Security - lfd...
Mar 08 20:57:58 domain.com systemd[1]: Started lfd.service - ConfigServer Firewall & Security - lfd.
/etc/csf/csf.logfiles shows path for “all” and for Debian. Nothing for Virtualmin.
/var/log/messages
/var/log/lfd.log
/var/log/cxswatch.log
# Debian/Ubuntu:
/var/log/auth.log
/var/log/daemon.log
/var/log/syslog
Test iptables says everything is ok.
I can add that IP Country based filtering is working.
So csf is active and does things.
I have also restarted csf and the server, but View Iptables logs => No logs entries found and View ldf Statistics => No statistical data has been collected yet
Debian using systems /journalctl so no real logs are created?