🛡️ Oakley DDoS blocklist

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-28T19:13:24Z.

⏱️ 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.

Endpoints

GETWhat
/v1/ips.txtone IP or CIDR per line
/v1/ips.jsonentries with reason, first/last seen, expiry, hits, updated_at
/v1/nginx.confready-made deny lines
/v1/cloudflare.txtcomma-separated list (Cloudflare IP Lists / expressions)
/v1/check?ip=1.2.3.4is this IP listed, and why
/v1/statuscount and last update
/embed.jsbadge + lookup helper (see note)

All endpoints are read-only, CORS-open and need no key.

1. nginx (recommended for your own server)

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
set -e
URL=https://blocklist.courtpass.sbs/v1/nginx.conf
OUT=/etc/nginx/oakley-blocklist.conf
TMP=$(mktemp)
curl -fsS --max-time 20 "$URL" -o "$TMP"
# accept only comments and deny lines
if grep -Evq '^(#.*|deny [0-9a-fA-F:.]+(/[0-9]+)?;|)$' "$TMP"; then echo "unexpected content"; rm -f "$TMP"; exit 1; fi
[ -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

2. Cloudflare Worker (in front of your site)

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 FEED = 'https://blocklist.courtpass.sbs/v1/ips.json';
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) {
    try { const d = await (await fetch(FEED, { cf: { cacheTtl: 300 } })).json(); list = d.entries.map(e => parse(e.ip)); loadedAt = Date.now(); }
    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
  },
};

3. Cloudflare IP List + one WAF rule (no code in the request path)

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=$(curl -fsS --max-time 20 https://blocklist.courtpass.sbs/v1/ips.json | jq '[.entries[] | {ip: .ip, comment: .reason}]')
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.

4. Badge / lookup script (embed.js)

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://blocklist.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>

Check one IP

curl 'https://blocklist.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.