Meta tags:
description= Caddy module to block or manipulate requests originating from AIs or cloud services trying to train on your websites - JasonLovesDoggo/caddy-defender;
Headings (most frequently used words):
uh, oh, navigation, saved, searches, caddy, defender, files, history, examples, contributing, license, footer, search, code, repositories, users, issues, pull, requests, provide, feedback, jasonlovesdoggo, menu, use, to, filter, your, results, more, quickly, folders, and, latest, commit, repository, plugin, features, installation, configuration, quick, start, for, check, out, docs, md, embedded, ip, ranges, disabled, by, default, require, manual, inclusion, at, build, time, acknowledgments, star, about, releases, sponsor, this, project, packages, contributors, languages, using, docker, caddyfile, syntax, topics, resources, security, policy, stars, watchers, forks,
Text of the page (most frequently used words):
the (35), caddy (20), security (17), github (17), #ranges (14), #defender (13), for (13), your (12), all (11), and (11), code (11), this (10), plugin (10), custom (10), reload (9), requests (9), message (9), license (8), aws (8), you (7), please (7), page (7), more (7), contributing (7), caddyfile (7), view (7), there (6), was (6), error (6), while (6), loading (6), block (6), services (6), with (6), see (6), responder (6), redirect (6), use (6), enterprise (6), navigation (5), cloud (5), using (5), openai (5), copilot (5), deepseek (5), configuration (5), examples (5), documentation (5), url (5), return (5), data (5), training (5), ratelimit (5), garbage (5), docker (5), jasonlovesdoggo (5), pull (5), search (5), that (4), docs (4), community (4), latest (4), readme (4), manipulate (4), from (4), embedded (4), platform (4), pollute (4), returns (4), response (4), name (4), features (4), actions (4), issues (4), support (4), can (3), about (3), project (3), stars (3), mit (3), resources (3), topics (3), are (3), asn (3), tor (3), private (3), linode (3), cloudflare (3), vultr (3), mistral (3), gcloud (3), predefined (3), start (3), configurable (3), rate (3), requires (3), syntax (3), path (3), run (3), middleware (3), files (3), development (3), commit (3), open (3), insights (3), signed (3), settings (3), another (3), tab (3), window (3), refresh (3), session (3), sign (3), saved (3), feedback (3), grade (3), solutions (3), explore (3), time (2), information (2), manage (2), footer (2), 2026 (2), other (2), sponsors (2), sponsor (2), releases (2), repository (2), forks (2), 567 (2), policy (2), blocker (2), filtering (2), filter (2), module (2), originating (2), ais (2), trying (2), train (2), websites (2), star (2), history (2), built (2), our (2), file (2), welcome (2), started (2), list (2), results (2), key (2), service (2), build (2), digitalocean (2), azure (2), azurepubliccloud (2), oracle (2), githubcopilot (2), west (2), vpn (2), aliyun (2), includes (2), popular (2), used (2), additional (2), out (2), quick (2), has (2), website (2), range (2), client (2), ip_ranges (2), stream (2), slow (2), but (2), stall (2), bots (2), tarpit (2), 308 (2), permanent (2), drops (2), connection (2), drop (2), 403 (2), forbidden (2), following (2), installation (2), 443 (2), ghcr (2), container (2), image (2), via (2), add (2), address (2), mkdocs (2), yml (2), middleware_test (2), sum (2), mod (2), config_test (2), config (2), featured (2), dockerfile (2), golangci (2), yaml (2), gitignore (2), dockerignore (2), responders (2), matchers (2), cache (2), random (2), benchmarks (2), idea (2), 323 (2), commits (2), last (2), menu (2), quality (2), wiki (2), projects (2), discussions (2), appearance (2), cancel (2), available (2), searches (2), repositories (2), business (2), advanced (2), developer (2), source (2), customer (2), devops (2), app (2), perform, action, not, share, personal, cookies, contact, status, privacy, terms, inc, languages, contributors, packages, learn, may, report, watching, watchers, activity, chatgpt, blockers, blacklist, caddyserver, web, waf, jsn, cam, efficient, routing, table, implementation, balanced, art, adaptation, enabling, high, performance, matching, karl, gaissmaier, bart, inspiration, acknowledgments, licensed, under, details, contributions, get, precompiled, autonomous, system, numbers, exit, nodes, disabled, default, require, manual, inclusion, addresses, digital, ocean, microsoft, oci, infrastructure, google, aws_region, east, region, vpns, alibaba, these, binary, without, check, follow, guide, protect, server, getting, info, configurations, refer, uri, would, when, optional, cidr, keys, match, against, defaults, backend, supported, values, marks, limiting, installed, well, directive, configure, methods, online, replace, etc, command, easiest, way, pre, multiple, backends, own, specific, allows, based, particularly, useful, preventing, unwanted, traffic, polluting, returning, responses, items, date, folders, tags, branches, main, options, fork, must, change, notification, notifications, public, dismiss, alert, switched, accounts, resetting, focus, create, qualifiers, query, quickly, submit, include, email, contacted, read, every, piece, take, input, very, seriously, provide, tips, clear, users, jump, pricing, premium, ons, powered, collections, trending, archive, program, accelerator, maintainer, lab, programs, fund, developers, partners, trust, center, forum, skills, ebooks, reports, events, webinars, stories, type, software, topic, industries, government, manufacturing, financial, healthcare, industry, cases, devsecops, modernization, case, nonprofits, startups, small, medium, teams, enterprises, company, size, marketplace, changelog, blog, why, stop, leaks, before, they, secret, protection, secure, find, fix, vulnerabilities, application, changes, review, plan, track, work, instant, dev, environments, codespaces, automate, any, workflow, workflows, integrate, external, tools, mcp, registry, new, direct, agents, issue, merge, write, better, creation, toggle, skip, content,
Text of the page (random words):
github jasonlovesdoggo caddy defender caddy module to block or manipulate requests originating from ais or cloud services trying to train on your websites github skip to content navigation menu toggle navigation sign in appearance settings platform ai code creation github copilot write better code with ai github copilot app direct agents from issue to merge mcp registry new integrate external tools developer workflows actions automate any workflow codespaces instant dev environments issues plan and track work code review manage code changes application security github advanced security find and fix vulnerabilities code security secure your code as you build secret protection stop leaks before they start explore why github documentation blog changelog marketplace view all features solutions by company size enterprises small and medium teams startups nonprofits by use case app modernization devsecops devops ci cd view all use cases by industry healthcare financial services manufacturing government view all industries view all solutions resources explore by topic ai software development devops security view all topics explore by type customer stories events webinars ebooks reports business insights github skills support services documentation customer support community forum trust center partners view all resources open source community github sponsors fund open source developers programs security lab maintainer community accelerator github stars archive program repositories topics trending collections enterprise enterprise solutions enterprise platform ai powered developer platform available add ons github advanced security enterprise grade security features copilot for business enterprise grade ai features premium support enterprise grade 24 7 support pricing search or jump to search code repositories users issues pull requests search clear search syntax tips provide feedback we read every piece of feedback and take your input very seriously include my email address so i can be contacted cancel submit feedback saved searches use saved searches to filter your results more quickly name query to see all available qualifiers see our documentation cancel create saved search sign in sign up appearance settings resetting focus you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message jasonlovesdoggo caddy defender public uh oh there was an error while loading please reload this page notifications you must be signed in to change notification settings fork 21 star 567 code issues 13 pull requests 4 discussions actions projects wiki security and quality 1 insights additional navigation options code issues pull requests discussions actions projects wiki security and quality insights jasonlovesdoggo caddy defender main branches tags go to file code open more actions menu folders and files name name last commit message last commit date latest commit history 323 commits 323 commits github github idea idea benchmarks random benchmarks random cache cache development development docs docs examples examples matchers matchers ranges ranges responders responders dockerignore dockerignore gitignore gitignore golangci yaml golangci yaml contributing md contributing md dockerfile dockerfile featured featured license license readme md readme md security md security md config go config go config_test go config_test go go mod go mod go sum go sum middleware go middleware go middleware_test go middleware_test go mkdocs yml mkdocs yml plugin go plugin go view all files repository files navigation readme contributing mit license security more items caddy defender plugin the caddy defender plugin is a middleware for caddy that allows you to block or manipulate requests based on the client s ip address it is particularly useful for preventing unwanted traffic or polluting ai training data by returning garbage responses features ip range filtering block or manipulate requests from specific ip ranges embedded ip ranges predefined ip ranges for popular ai services e g openai deepseek github copilot custom ip ranges add your own ip ranges via caddyfile configuration multiple responder backends block return a 403 forbidden response custom return a custom message drop drops the connection garbage return garbage data to pollute ai training redirect return a 308 permanent redirect response with a custom url ratelimit ratelimit requests configurable via caddy ratelimit tarpit stream data at a slow but configurable rate to stall bots and pollute ai training installation using docker the easiest way to use the caddy defender plugin is by using the pre built docker image pull the docker image docker pull ghcr io jasonlovesdoggo caddy defender latest run the container use the following command to run the container with your caddyfile docker run d name caddy v path to caddyfile etc caddy caddyfile p 80 80 p 443 443 ghcr io jasonlovesdoggo caddy defender latest replace path to caddyfile with the path to your caddyfile please see the online documentation for other methods of installation configuration caddyfile syntax the defender directive is used to configure the caddy defender plugin it has the following syntax defender responder message custom message ranges ip_ranges url url responder the responder backend to use supported values are block returns a 403 forbidden response custom returns a custom message requires message drop drops the connection garbage returns garbage data to pollute ai training redirect returns a 308 permanent redirect response requires url ratelimit marks requests for rate limiting requires caddy ratelimit to be installed as well tarpit stream data at a slow but configurable rate to stall bots and pollute ai training ip_ranges an optional list of cidr ranges or predefined range keys to match against the client s ip defaults to aws azurepubliccloud deepseek gcloud githubcopilot openai custom message a custom message to return when using the custom responder url the uri that the redirect responder would redirect to for more information about the configuration refer to the configuration page on the website quick start the documentation website has info that includes the configurations of the plugin code examples and more for a quick start follow the getting started guide to protect your server using the caddy defender plugin for examples check out docs examples md embedded ip ranges the plugin includes predefined ip ranges for popular ai services these ranges are embedded in the binary and can be used without additional configuration service key ip ranges alibaba cloud aliyun aliyun go vpns vpn vpn go aws aws aws go aws region aws us east 1 aws us west 1 aws eu west 1 aws_region go deepseek deepseek deepseek go github copilot githubcopilot github go google cloud platform gcloud gcloud go oracle cloud infrastructure oci oracle go microsoft azure azurepubliccloud azure go openai openai openai go mistral mistral mistral go vultr vultr vultr go cloudflare cloudflare cloudflare go digital ocean digitalocean digitalocean go linode linode linode go private private private go all ip addresses all all go disabled by default require manual inclusion at build time service key ip ranges tor exit nodes tor tor go asn autonomous system numbers asn asn go more are welcome for a precompiled list see the embedded results contributing we welcome contributions to get started see contributing md license this project is licensed under the mit license see the license file for details acknowledgments the inspiration for this project bart karl gaissmaier s efficient routing table implementation balanced art adaptation enabling our high performance ip matching built with ️ using caddy star history about caddy module to block or manipulate requests originating from ais or cloud services trying to train on your websites defender jsn cam topics security ai filter waf caddy web security blocker caddyserver ip blacklist caddy plugin blockers ip filtering chatgpt ai blocker resources readme license mit license contributing contributing security policy security policy uh oh there was an error while loading please reload this page activity stars 567 stars watchers 4 watching forks 21 forks report repository releases 9 v0 10 1 latest may 14 2026 8 releases sponsor this project sponsor uh oh there was an error while loading please reload this page learn more about github sponsors packages 0 uh oh there was an error while loading please reload this page uh oh there was an error while loading please reload this page contributors uh oh there was an error while loading please reload this page languages go 99 7 other 0 3 footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|