Search found 2 matches

by hosthead
06 Feb 2025, 02:15
Forum: General Discussion (csf)
Topic: Log blocklist name
Replies: 2
Views: 7192

Re: Log blocklist name

Thank you Sergio.

Is that in a logfile somewhere? I don't know the IP to search for. Also would like to tail a file and see blocks that are occurring for a particular blocklist.
by hosthead
05 Feb 2025, 00:34
Forum: General Discussion (csf)
Topic: Log blocklist name
Replies: 2
Views: 7192

Log blocklist name

I see that csf blocked ips are logged in /var/log/messages.
Is there a way to have it log the name of the blocklist that triggered the block?
I am using /etc/csf/csf.blocklists to specify blocklists.
something like iptables "LOG --log-prefix "some name: " ?

thanks.