Published 23 days ago
Published 23 days ago
BillyOne971
Updated 23 days ago
0
Raise the per-IP-group limit in the Personal edition, at least for groups managed through the Open API, to something closer to the size of common community threat feeds (10,000–20,000 entries).
Any of the following would work:
PUT /api/open/ipgroup / POST /api/open/ipgroup/append;Self-hosters increasingly pair SafeLine with community threat intelligence. In my case it is the CrowdSec Community Blocklist: about 15,000 IPs, which is 13,008 entries after CIDR aggregation, refreshed every 2 hours.
SafeLine is the best place to apply such a list. It sits behind Cloudflare and already resolves the real client IP from X-Forwarded-For, which downstream proxies don't. With a 1,000-entry cap, though, about 92% of the list cannot be applied. A list cut down to 1,000 entries keeps an arbitrary 8% of it and is not useful as a feed.
As discussed in #1343, the truncation is also silent: the API returns HTTP 200 and keeps the first 1,000 entries. So today the cap is easy to hit without noticing.
Tested on SafeLine Community 9.4.3 (Personal). 13,008 entries were sent and 1,000 were stored, read back with GET /api/open/ipgroup/detail.
Windsley
Updated 20 days ago
0
Hi, thanks a lot for the detailed feedback. Two things worth clarifying about the current behaviour:
On the limit: the 1,000-entry cap is per IP group, not a cap on the account or on the total number of groups — the number of groups you can create isn't limited.
On rule configuration: src_ip with IN / NOT IN accepts multiple IP groups at once (compiled as OR under the hood). So splitting a large list across several groups and referencing them from a single rule is enough — no need for one rule per shard.
If maintaining several groups is a hassle and the feed is genuinely large, Pro raises the per-group cap to 10,000, which is easier to live with long term.