Add dumpfile ipset as IP list


I would like to add an anti-spam dumpfile as an ipset / ip list.
When I try adding it (both through the HestiaCP gui and through a local ipset script) I get the following error:
Error: IP list file too small (<10), ignoring
This is confusing since the GUI suggests that the datasource can also be one file: “Data Source (url, script or file)”

Would the only solution be to add the dumpfile url to a script with multiple sources (including txt lists etc)? I’d rather have a separate rule for this dumpfile.

Thanks in advance

It was added to protect user for adding empty files or updated files that turned to empty…

Please create a bug report on Github

Thanks, I will do that.