Page 1 of 1

Csf ignore from url?

Posted: 04 Nov 2022, 08:47
by Sean510
Hi, is there any way to add an ip ignore list from a url like blocklist does?

for exemple:

LITESPEED|86400|0|https://api.quic.cloud/ips

to be added in csf.ignore

regards

Re: Csf ignore from url?

Posted: 04 Nov 2022, 18:16
by Sergio
I think one way of doing this will be adding an "include" statements inside /etc/csf/csf.ignore

Something like this:

Code: Select all

include https://api.quic.cloud/ips
I have never done it before, as I just include my own info in this file, so, you have to do a test.

If that doesn't work, it could be implemented manually, creating an script to download that file into your cPanel account (not whm) and then adding the info to /etc/csf/csf.ignore

Sergio