Blocklist
Generate recent CTIshark IPv4 addresses in the formats your firewalls and security tools accept. Stable download URLs let devices fetch new snapshots without changing their configuration after every generation. IPv6 is not included.
Create a list
Open Blocklist and choose New blocklist:
- Name the list. Use a name for the device or policy it serves.
- Pick addresses. Choose recency, confidence and whether to require confirmed sessions.
- Pick formats. Select one or more; all selected formats are included in the generation price.
- Refresh and generate. Keep Manual or confirm a schedule, review the price and generate. Save the download token and URLs when shown.
Owners and administrators can create and manage lists. Other organization members can download available files. Active organization and Blocklist access are required.

Choose which addresses to include
| Setting | Meaning |
|---|---|
| Seen in the last | 24 hours, 7 days or 30 days, measured from each profile's latest internal observation. |
| Standard | All observed profiles in that window. This can include benign actors; it is not a malicious-only list. |
| High confidence | Profiles marked as known abusers. Verified actors are excluded unless explicitly recorded as abusable. This filter is not the three-dimensional Verdict assessment. |
| Confirmed sessions only | Requires a recorded SSH, HTTP, Telnet or HTTP-listener interaction. Passive-only profiles are excluded. The confirming interaction itself can predate the selected window. |
| Matching now | An approximate profile count, cached for up to 60 seconds. Generation also deduplicates and excludes invalid/non-public addresses. Unavailable means the estimate failed, not that the list is empty. |
Connect a device
Use Copy URL for the selected format, or download the file manually. The same URL serves the next successful snapshot. Your device must import the list and attach it to a policy; downloading alone does not block traffic.
Clients can use a Bearer token, HTTP Basic with username feed and the token as password, or the copied token URL. Set CTISHARK_FEED_TOKEN in your environment for this example:
curl --fail \
--header "Authorization: Bearer $CTISHARK_FEED_TOKEN" \
'https://api.ctishark.com/v1/blocklist/<feed-id>/files/pfsense' \
--output blocklist.txt
- 503 feed_not_ready: the first complete snapshot is not ready yet.
- 401: check the download token; an ordinary API key is not the feed token.
- 404: verify that this format was selected.
- ETag: keep the response ETag and send
If-None-Matchwhen polling.304means the file is unchanged. Device polling is free and does not generate a new list.
Refresh, pricing and list controls
The default is 50 credits per successful generation, regardless of the number of selected formats. The dashboard shows the current rate before you approve it.
| Schedule | At the default rate |
|---|---|
| Manual | 50 credits each time you explicitly generate. |
| Every 24 hours | 50 credits per day. |
| Every 6 hours | 200 credits per day. |
| Every hour | 1,200 credits per day. |
| Weekly, where offered | 50 credits per week. |
Credits are reserved when queued and charged only after all selected files are ready. A failed generation releases the reservation and keeps the previous complete snapshot. A successful empty snapshot still costs the generation rate.
| Field or control | Meaning |
|---|---|
| Status | Ready, Generating, Failed or Turned off. A refresh serves the previous complete files until a new generation succeeds. |
| Addresses / Formats | Unique addresses in the last successful snapshot and the selected file types. Cloudflare may have a smaller, explicitly requested subset. |
| Generated / Last charge | The last successful snapshot time and its generation charge. Inspect the date if a scheduled refresh fails. |
| Automatic refresh | Manual by default. The supported intervals and recurring cost are shown before confirmation; each refresh is a paid generation. |
| Downloads and refresh | Off immediately blocks download URLs and pauses refreshes. Files are retained; turn it on to resume. |
| Download token | A feed-only credential shown once. Copy URL uses the token available in the page, or asks for your saved token/URL. Rotate it if lost or exposed. |
- Insufficient credits or a changed rate: refresh is skipped; the old snapshot stays available. Accept the new rate in refresh settings before resuming paid updates.
- Rotate token: old URLs stop working immediately. Replace them on every device.
- Delete…: blocks URLs, stops refreshes and removes files. Unfinished reservations are released; completed charges are not refunded.
Export formats
| Format | Code | Output and setup |
|---|---|---|
| pfSense | pfsense | Plain IP list for URL Table (IPs). Set its refresh interval and attach a source-block rule. |
| OPNsense | opnsense | Plain IP list for URL Tables (IPs). Configure recurring refresh and a source-block rule. |
| Palo Alto | paloalto | IP external dynamic list. Check model capacity, retrieval interval, certificate profile and security policy. |
| Fortinet | fortinet | IP Address external feed. Check device limits, set refresh minutes and reference it in firewall policy. |
| MikroTik | mikrotik | RouterOS 7.16+ staged .rsc snapshot with count checks, rollback references and an optional HTTPS scheduler template. |
| Cisco | cisco | Revision-named IPv4 ACLs. Build and validate first; switch interface references explicitly. |
| iptables/ipset | iptables | Locked staging and set swaps; requires --scope input, forward or both. Optional systemd boot persistence. |
| nftables | nftables | Native validation followed by one table transaction; explicit hook scope and optional boot persistence. |
| Cloudflare API | cloudflare | IP/comment JSON array. Enforces the declared available item capacity; reduced most-recent selection is opt-in. |
| Cloudflare dashboard | cloudflare-csv | Separate headerless IP,comment CSV for dashboard upload, using the same capacity and subset settings. |
| AWS WAF | aws-waf | ZIP of IPv4 CreateIPSet payloads, split into at most 10,000 addresses per set. |
| Suricata | suricata | Source-only drops toward $HOME_NET, with a reserved feed SID range and increasing revisions. Inline IPS required. |
| Snort | snort | Source-only drops toward $HOME_NET, with the same feed SID reservation. Load only the variant for your engine. |
| Apache 2.4 | htaccess | Authorization include with Require not ip exclusions. Merge into existing RequireAll policy; server/vhost include preferred. |
| STIX 2.1 | stix | Producer-attributed indicators with stable feed/address IDs, modified versions and observation-based validity windows. |
| MISP | misp | Stable event and attribute UUIDs, producer metadata and actual last_seen timestamps; first_seen is omitted when unknown. |
| CSV | csv | Full snapshot: address, family, last internal observation and confirmed-session selection. |
| JSON | json | Full snapshot metadata and address entries. Cloudflare subset settings do not reduce these files. |
The following setup notes are grouped by destination. Exporter updates apply to the next generation; regenerate an existing list to obtain the updated file.
pfSense and OPNsense
- pfSense: use URL Table (IPs), set the update interval in days, then reference the alias as a source in a block rule on the intended interface. URL tables are checked daily. Avoid ordinary URL (IPs) aliases for large lists.
- OPNsense: use URL Tables (IPs), set a recurring refresh frequency and reference the alias in a source-block rule. Ordinary URL (IPs) aliases fetch only once.
- Put the rule before broad pass rules, check table capacity and verify the imported count. pfSense setup · OPNsense setup
Palo Alto and Fortinet
- Palo Alto: create an IP List External Dynamic List; configure the URL, certificate/authentication settings and retrieval interval. Attach it as the source in a blocking Security policy and commit.
- FortiGate: create an IP Address external-feed connector; configure HTTPS verification, authentication and refresh rate. Reference it in the deny policy on the correct interfaces.
- Check model/firmware limits, compare loaded and generated counts, and monitor retrieval errors. Palo Alto EDLs · Fortinet feeds
MikroTik RouterOS
- Requires RouterOS 7.16+. Create the managed IPv4 rule described in the file, with a dedicated source list. Choose
inputfor the router orforwardfor routed traffic; review accept/FastTrack ordering. - Dry-run the
.rscimport before applying. The export stages addresses, validates counts, switches managed rule references and retains previous lists for rollback. Both address families are not one transaction. - The optional scheduler template must be installed explicitly. It fetches to disk over HTTPS with
check-certificate=yes, blocks overlapping jobs and keeps the last good lists. Install trusted CAs and maintain the clock; do not overlap manual and scheduled imports. RouterOS fetch
Cisco IOS / IOS XE
- Build the new, revision-named ACLs first; check capacity and validate with the commands in the file.
- Explicitly switch interface references and direction. Keep the old definitions for rollback; never delete an attached ACL.
- The exported ACL permits remaining traffic. Merge existing restrictions before switching, verify traffic and save the approved configuration for reboot persistence. Cisco ACL guidance
Linux: iptables/ipset and nftables
Choose the scope explicitly; input protects the host and forward protects routed traffic:
sh ./downloaded-snapshot.sh --scope input
sh ./downloaded-snapshot.sh --scope forward
sh ./downloaded-snapshot.sh --scope both --install-boot
- iptables/ipset: requires
ipset,iptablesandflock. Updates lock, stage the IPv4 set, useiptables -w 10, and clean up or restore changes on failure. - nftables: requires
nftablesandflock. The candidate passesnft --check --file, then replaces its dedicated table in one transaction. --install-bootinstalls feed-specific systemd persistence from the validated snapshot. It does not schedule remote refresh. Fetch replacements over verified HTTPS, review and validate them before execution; keep a rollback copy. Other existing feed scopes remain until removed explicitly.
Cloudflare and AWS WAF
- Cloudflare: check remaining account-wide IP-list capacity, then enter it in step 3. The default export cap is 10,000; it is not a claim about your account entitlement.
- Over-capacity exports fail unless you explicitly allow the most recently observed subset. That option affects only Cloudflare files, ranks by recency rather than severity, and discloses selected/full counts. Other formats retain the full snapshot.
- Use
cloudflarefor API items orcloudflare-csvfor headerless dashboard CSV. Verify imported counts and attach the list to a WAF rule. Uploads can retain old items; use the API replace-all operation when replacing a dedicated list. Cloudflare Lists - AWS WAF: import the ZIP's IPv4 IPSet payloads, split at 10,000 entries per set, and reference every required set in the Web ACL. Check account quotas. Choose
REGIONALor, for CloudFront,CLOUDFRONTinus-east-1. Existing-set updates need its ID and a fresh LockToken. AWS IPSet - Cloud exports are import files; they do not contain cloud credentials or enable automatic cloud synchronization.
Suricata and Snort
- Rules match a listed source toward
$HOME_NET. Define your protected networks; use inline IPS mode for actual blocking. Passive IDS mode cannot enforcedrop. - Each feed reserves a stable 1,000-SID range; generation revisions increase. Check for conflicts with your other rules. If remapping is needed, keep a stable local mapping across refreshes.
- Replace the previous feed file, load only your engine's variant and run its configuration test before reload. A signature match is not proof of successful exploitation.
Apache 2.4
- Prefer a root-owned server/vhost include for a large list. The
htaccessexport contains negativeRequire not ipconditions only. - Include it inside the same RequireAll as your existing positive authorization. Preserve authentication; a standalone negative condition cannot authorize access. Run
apachectl configtestbefore graceful reload. - Behind proxies, use
mod_remoteipwith explicitly trusted proxies and protect the origin. Do not trust arbitrary forwarding headers. Apache authorization · mod_remoteip
STIX and MISP
- STIX 2.1: producer identity, stable feed/address UUIDv5 indicator IDs, version timestamps and observation-based
valid_until. Consumers should honor expiry. Some validators may warn because UUIDv4 is recommended for domain objects. - MISP: stable event/attribute UUIDs, producer metadata and actual observation
last_seen. Unknownfirst_seenis omitted; snapshot timestamps describe modification. Default distribution is organization-only. - Review ingestion/IDS policy. Standard-confidence exports do not universally assert maliciousness. STIX format · MISP format
Limits and important checks
- Address windows: 24 hours, 7 days or 30 days. At least one format is required.
- Generation cap: deployment-configured, 500,000 addresses by default. Exceeding the cap fails generation; it does not silently truncate.
- Device limits still apply: CTIshark cannot verify your firewall memory, cloud entitlement or imported count. A generated file can exceed the destination's capacity.
- Access off: turning the feed off, suspension or access revocation blocks downloads. Deleting a feed is permanent.
- No broad network expansion: exports contain deduplicated public addresses; they do not merge them into larger networks.