Threat feed / Open-source, Linux, BSD and host firewalls / Live feed
Block attackers on OpenWrt with the ACIDRIPP feed
The product fetches the list by itself on a schedule. The feature is called fw4 "config ipset" with option loadfile; banIP package custom feeds (/etc/banip/banip.custom.feeds, LuCI Custom Feed Editor).
The address to use
https://cybersecurity.acidripp.com/feed/block/strict.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 | OpenWrt (fw4 / nftables) and banIP |
|---|---|
| What it accepts | ip, cidr, ipv6 |
| File format | fw4 loadfile: "A path URL on the openwrt filesystem to a file containing a list of CIDRs" (a local file, not a remote URL). banIP rule "feed 1": plain IP/CIDR list, one entry per line, address in column 1; banIP can also read Suricata-style rules (type suricata) and gzip files (flag gz). |
| Limits | fw4 ipset maxelem default 65536. banIP: devices with less than 256 MB RAM are not supported (README). |
| Needs | OpenWrt 22.03 or later (fw4). banIP: latest stable or snapshot with nft/firewall4, a download tool with SSL (curl, full wget, or uclient-fetch with libustream) and a certificate store such as ca-bundle. |
Add the feed
- banIP: install luci-app-banip (README: apk update && apk add luci-app-banip; older releases use opkg).
- System > Startup: enable banip. Services > banIP > General Settings: enable banIP.
- Services > banIP > Custom Feed Editor tab: add a feed named e.g. acidripp with url_4 = https://cybersecurity.acidripp.com/feed/block/strict.plain, rule = feed 1, chain = in, descr = text. Save.
- Feed Selection tab: select the new feed. Save and apply.
- System > Scheduled Tasks: add a line that runs /etc/init.d/banip reload on your schedule.
Commands
# A) fw4 native set - /etc/config/firewall (options are from the OpenWrt firewall configuration page)
config ipset
option name 'feedblock'
option family 'ipv4'
list match 'src_net'
option maxelem '1000000'
option loadfile '/etc/feedblock.txt'
config rule
option name 'Drop-feed-input'
option src 'wan'
option ipset 'feedblock'
option target 'DROP'
config rule
option name 'Drop-feed-forward'
option src 'wan'
option dest '*'
option ipset 'feedblock'
option target 'DROP'
# update script /usr/sbin/feedblock-update (composed by us)
#!/bin/sh
URL="https://cybersecurity.acidripp.com/feed/block/strict.plain"; T=/tmp/feedblock.new
wget -q -O "$T" "$URL" && [ -s "$T" ] && mv "$T" /etc/feedblock.txt && /etc/init.d/firewall reload
# /etc/crontabs/root:
# */15 * * * * /usr/sbin/feedblock-update
# B) banIP custom feed - /etc/banip/banip.custom.feeds (format from the banIP README)
{
"acidripp":{
"url_4": "https://cybersecurity.acidripp.com/feed/block/strict.plain",
"rule": "feed 1",
"chain": "in",
"descr": "acidripp threat feed"
}
}
# enable it and refresh
uci add_list banip.global.ban_feed='acidripp'
uci set banip.global.ban_enabled='1'
uci commit banip
/etc/init.d/banip reload
# /etc/crontabs/root (README: only "reload" re-downloads feeds):
# */15 * * * * /etc/init.d/banip reload
Block with it
- fw4: the two config rule sections drop traffic from wan whose source is in the set (a rule with no dest is an input rule; dest '*' covers forwarding).
- banIP: chain in = inbound only (WAN-Input and WAN-Forward), out = outbound only (LAN-Forward), inout = both. Use in for an attacker IP feed, out for a list of malware hosts.
Good to know
- fw4: option storage must be removed from fw4 configs (fw3 only); match type _set is unsupported in firewall4.
- fw4 has no fetcher: cron downloads the file and /etc/init.d/firewall reload re-reads it.
- banIP: never edit /etc/banip/banip.feeds (overwritten on package update); custom feeds go in /etc/banip/banip.custom.feeds.
- banIP: only reload re-downloads feeds; start and restart restore backups.
- For a dual-stack file set url_4 and url_6 to the same URL (README).
What we could not confirm
- Whether fw4 reload replaces the set contents without a gap was not confirmed.
- Keeping the list in /etc writes flash on every update; putting it in /tmp avoids that but the file is missing after a reboot until the first download. Behaviour of fw4 when loadfile is missing was not confirmed.
- wget -q -O syntax of the default OpenWrt fetch tool was not re-read.
- banIP: that custom feed names are enabled through the ban_feed list like shipped feeds is our reading of the README (ban_feed: "external download feeds"); the uci section name 'global' is from the shipped banip.conf.
- Exact LuCI field labels in the Custom Feed Editor were not seen.
Sources
- https://openwrt.org/docs/guide-user/firewall/firewall_configuration
- https://github.com/openwrt/packages/blob/master/net/banip/README.md
- https://github.com/openwrt/packages/blob/master/net/banip/files/banip.conf
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.