Free, public list of IP addresses caught attacking our sites (HTTP floods, path floods, secret-file scans, ICMP floods), collected automatically by our edge and server defenses. Currently 60 active entries, last updated 2026-11-28T20:10:33Z.
⏱️ Please poll every 20 minutes (responses are cached for 60 s; clients over 120 requests/minute get HTTP 429).
⌛ Entries expire 30 days after the IP was last seen attacking and drop out of every feed automatically.
⚠️ Many attacking IPs are hacked home devices, VPNs or shared/CGNAT addresses, so a listing may block innocent users behind the same IP. Use it as a block for abusive traffic, not as a permanent ban.
False positive? Look it up with /v1/check; it will age out within 30 days of the last attack, and you can ask the site operator to remove it sooner.
| GET | What |
|---|---|
| /v1/ips.txt | one IP or CIDR per line |
| /v1/ips.json | entries with reason, first/last seen, expiry, hits, updated_at |
| /v1/nginx.conf | ready-made deny lines |
| /v1/cloudflare.txt | comma-separated list (Cloudflare IP Lists / expressions) |
| /v1/check?ip=1.2.3.4 | is this IP listed, and why |
| /v1/status | count and last update |
| /embed.js | badge + lookup helper (see note) |
All endpoints are read-only, CORS-open and need no key.
The same API answers on four independent addresses: two Workers on two different zones plus a copy on our origin server. If one is down or under attack, use the next. The snippets below already do this.
| # | Base URL | Runs on |
|---|---|---|
| 1 | https://blocklist.courtpass.sbs | guard Worker A (primary) |
| 2 | https://blocklist.embed.beer | guard Worker B, separate zone |
| 3 | https://blocklist2.courtpass.sbs | guard Worker B |
| 4 | https://courtpass.sbs/guard | origin server copy (synced every minute) |
Each Worker also fails over internally: if its database is unreachable it serves its last snapshot, then asks the other Worker, then the origin copy. Responses served that way carry X-Oakley-Degraded: 1.
Save as /usr/local/bin/oakley-blocklist-update, run it every 20 minutes from cron, and add include /etc/nginx/oakley-blocklist.conf; inside http { }. Behind Cloudflare, configure real_ip_header CF-Connecting-IP with Cloudflare's ranges in set_real_ip_from first, or nginx will see Cloudflare's IPs instead of attackers'.
#!/bin/sh
# Tries each mirror in order until one answers with a valid list.
MIRRORS="https://blocklist.courtpass.sbs https://blocklist.embed.beer https://blocklist2.courtpass.sbs https://courtpass.sbs/guard"
OUT=/etc/nginx/oakley-blocklist.conf
TMP=$(mktemp)
GOT=
for B in $MIRRORS; do
if curl -fsS --max-time 15 "$B/v1/nginx.conf" -o "$TMP" && head -1 "$TMP" | grep -q '^# Oakley' \
&& ! grep -Evq '^(#.*|deny [0-9a-fA-F:.]+(/[0-9]+)?;|)$' "$TMP"; then GOT=$B; break; fi
done
[ -n "$GOT" ] || { echo "all mirrors failed, keeping current list"; rm -f "$TMP"; exit 1; }
[ -f "$OUT" ] && cp "$OUT" "$OUT.bak"
install -m 0644 "$TMP" "$OUT"; rm -f "$TMP"
if nginx -t -q; then nginx -s reload; else [ -f "$OUT.bak" ] && cp "$OUT.bak" "$OUT"; exit 1; fi
# crontab -e:
# */20 * * * * /usr/local/bin/oakley-blocklist-update >/dev/null 2>&1
Add this to a Worker that proxies your site; it refreshes the list every 20 minutes per Worker instance and returns 403 to listed IPs.
const MIRRORS = ["https://blocklist.courtpass.sbs","https://blocklist.embed.beer","https://blocklist2.courtpass.sbs","https://courtpass.sbs/guard"];
let list = null, loadedAt = 0;
function toBig(ip) {
if (ip.includes(':')) { // IPv6
let [h, t = ''] = ip.split('::'); const a = h ? h.split(':') : [], b = t ? t.split(':') : [];
const g = ip.includes('::') ? [...a, ...Array(8 - a.length - b.length).fill('0'), ...b] : a;
return { v: 6, n: g.reduce((n, x) => (n << 16n) + BigInt(parseInt(x || '0', 16)), 0n) };
}
return { v: 4, n: ip.split('.').reduce((n, x) => (n << 8n) + BigInt(+x), 0n) };
}
function parse(e) { const [a, b] = e.split('/'); const p = toBig(a), max = p.v === 4 ? 32 : 128, bits = b ? +b : max;
const h = BigInt(max - bits); return { v: p.v, lo: (p.n >> h) << h, hi: ((p.n >> h) << h) + (1n << h) - 1n }; }
async function blocked(ip) {
if (!list || Date.now() - loadedAt > 20 * 60e3) {
for (const base of MIRRORS) { // first mirror that answers wins; keep the old list if all fail
try {
const r = await fetch(base + '/v1/ips.json', { cf: { cacheTtl: 300 }, signal: AbortSignal.timeout(5000) });
if (!r.ok) continue;
const d = await r.json(); if (!Array.isArray(d.entries)) continue;
list = d.entries.map(e => parse(e.ip)); loadedAt = Date.now(); break;
} catch {}
}
if (!list) return false;
}
const p = toBig(ip); return list.some(r => r.v === p.v && p.n >= r.lo && p.n <= r.hi);
}
export default {
async fetch(request, env, ctx) {
const ip = request.headers.get('CF-Connecting-IP') || '';
if (ip && await blocked(ip)) return new Response('Forbidden', { status: 403 });
return fetch(request); // or your existing handler
},
};
Create an account IP List named oakley_blocklist (Manage Account → Configurations → Lists), add a custom rule ip.src in $oakley_blocklist → Block, then sync it every 20 minutes from any server. Needs an API token with Account → Account Filter Lists → Edit.
#!/bin/sh
# */20 * * * * CF_API_TOKEN=... ACCOUNT_ID=... LIST_ID=... /usr/local/bin/oakley-cf-list-sync
set -e
ITEMS=
for B in https://blocklist.courtpass.sbs https://blocklist.embed.beer https://blocklist2.courtpass.sbs https://courtpass.sbs/guard; do
ITEMS=$(curl -fsS --max-time 15 "$B/v1/ips.json" | jq -e '[.entries[] | {ip: .ip, comment: .reason}]') && break
done
[ -n "$ITEMS" ] || { echo "all mirrors failed"; exit 1; }
curl -fsS -X PUT "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/rules/lists/$LIST_ID/items" \
-H "Authorization: Bearer $CF_API_TOKEN" -H "Content-Type: application/json" --data "$ITEMS"
Or paste /v1/cloudflare.txt into the list by hand.
JavaScript in a visitor's browser cannot block a DDoS: attack tools never run your page's scripts and the traffic has already reached your server. embed.js only shows a badge and offers OakleyBlocklist.check(ip) for dashboards. Use options 1–3 for real blocking.
<div data-oakley-badge></div>
<script src="https://blocklist2.courtpass.sbs/embed.js" defer></script>
<script>
// optional lookup, e.g. in an admin page
// OakleyBlocklist.check('1.2.3.4').then(r => console.log(r.listed, r.entry));
</script>
curl 'https://blocklist2.courtpass.sbs/v1/check?ip=1.2.3.4'
Data: Oakley edge rules, server firewall bans and realtime flood detection. Never includes Cloudflare ranges, private/reserved addresses or our own infrastructure.