Threat feed / Cloud and SASE firewalls / Script or API
Block attackers on Cloudflare Network Firewall with the ACIDRIPP feed
A small scheduled script or an API call keeps the list up to date. The feature is called Custom lists of kind 'ip' (account-level IP lists) referenced in Network Firewall rule expressions.
The address to use
https://cybersecurity.acidripp.com/feed/block/strict-v4.plain
This is the strict list: addresses that got into our decoys, ran commands there or brought malware in the last 14 days. It is small and safe to block. For more coverage, replace strict in the address with standard (also addresses that tried passwords) or wide (also every scanner). What each list holds, and every format, is on the threat feed page.
Before you start
| Product | Cloudflare Network Firewall (formerly Magic Firewall) |
|---|---|
| What it accepts | ip, cidr |
| File format | Cloudflare does not pull a customer URL. A scheduled job (Worker with a cron trigger, or cron + curl) calls the Lists API. Items are JSON objects such as {"ip":"10.0.0.1"} or {"ip":"10.10.0.0/24"}. PUT on the items endpoint replaces all items in one call; POST appends; DELETE removes given items. Item operations are asynchronous and return an operation_id. The list is referenced in a rule expression as 'ip.src in $listname' or 'ip.dst in $listname'. Generic custom lists accept IPv4, IPv6, IPv4 CIDR /8 to /32 and IPv6 CIDR /12 to /128, but Network Firewall only supports IPv4 addresses in these lists. CSV import in the dashboard: one item per line with an optional ',description'. |
| Limits | Custom lists per account: Free 1, Pro 10, Business 10, Enterprise 1,000. Max list items across all custom lists: Free/Pro/Business 10,000, Enterprise 500,000. |
| Needs | Cloudflare Network Firewall (Magic Transit / Magic WAN / Cloudflare WAN account). Cloudflare-managed IP lists (threat intelligence lists such as Anonymizers) need the Network Firewall Advanced plan; custom IP lists do not carry that note. API token or key with access to account lists and rulesets. |
Add the feed
- Create a custom list of type IP at account level and add items or upload a CSV (one IP or CIDR per line).
- In the dashboard open Cloudflare Network Firewall and create a custom rule.
- Field: IP source address (or IP destination address); Operator: is in list; Value: the list.
- Choose the Block action and deploy.
Commands
# 1. create the list (once)
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/rules/lists \
--header "X-Auth-Email: <EMAIL>" \
--header "X-Auth-Key: <API_KEY>" \
--header "Content-Type: application/json" \
--data '{
"name": "iplist",
"description": "Threat feed IPs.",
"kind": "ip"
}'
# 2. on a schedule: download https://cybersecurity.acidripp.com/feed/block/strict-v4.plain, turn each line into {"ip":"..."} and replace all items
curl -s https://cybersecurity.acidripp.com/feed/block/strict-v4.plain | jq -R -s 'split("\n") | map(select(length>0) | {ip: .})' > items.json
curl --request PUT https://api.cloudflare.com/client/v4/accounts/{account_id}/rules/lists/{list_id}/items \
--header "Authorization: Bearer <API_TOKEN>" \
--header "Content-Type: application/json" \
--data @items.json
# 3. rule referencing the list (once)
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/rulesets/{ruleset_id}/rules \
--header "Authorization: Bearer <API_TOKEN>" \
--header "Content-Type: application/json" \
--data '{
"action": "block",
"expression": "ip.src in $iplist",
"description": "Block threat feed IPs",
"enabled": true
}'
Block with it
- Add a rule to the account's Network Firewall ruleset with expression 'ip.src in $iplist' (inbound attackers) and action block.
- Add a second rule with 'ip.dst in $iplist' if outbound traffic to those IPs should also be blocked.
- Rules are evaluated top to bottom; Network Firewall permits all traffic until a rule blocks it.
Good to know
- IPv4 only in Network Firewall lists; strip IPv6 entries from the feed.
- Item quota is shared across all custom lists in the account (10,000 below Enterprise, 500,000 on Enterprise).
- List item operations are asynchronous; requests made during a running bulk operation are queued. Poll the bulk operation status with the operation_id.
- Network Firewall works at the packet level, so domain and URL lists do not apply here (hostname lists exist only for other products and Enterprise).
- The list must belong to the same account as the rule.
What we could not confirm
- The docs example for a list rule uses action 'skip' (allow list); the 'block' action string in the cli rule example was not read on a Cloudflare page in this session.
- Dashboard click path for creating a custom list and a Network Firewall rule (the how-to page only shows the API); the gui_steps are generic.
- Whether the documented /8 to /32 CIDR range and the plan quotas apply unchanged to Network Firewall customers.
- The PUT call with a bearer token is built from the endpoint reference (PUT .../rules/lists/{list_id}/items replaces all items); the docs page read had no curl example for it. The jq line is ours.
- API rate limits for the Lists API were not on the pages read.
Sources
- https://developers.cloudflare.com/cloudflare-network-firewall/how-to/use-rules-list/
- https://developers.cloudflare.com/waf/tools/lists/custom-lists/
- https://developers.cloudflare.com/waf/tools/lists/
- https://developers.cloudflare.com/waf/tools/lists/lists-api/endpoints/
- https://developers.cloudflare.com/cloudflare-network-firewall/about/ruleset-logic/
Most steps were checked against the vendor's documentation; the points above were not on 30 November 2026. They were not tested on a device: menus move between versions, so check against your own. Found a mistake? Write to audit@acidripp.com. The feed comes with no guarantee; test before you block production traffic.