Every page carries a link to /__hp/archive that people never see (off screen, aria-hidden, not focusable, not prefetched) and robots.txt disallows. Traefik sends /__hp/ to main-server's honeypot, so whatever follows it ignored robots.txt and gets banned for a week. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2 files changed
+12
No files matched your search
@@ -142,6 +142,17 @@ import "./global.css";
|
||||
<span class="i-tabler-brand-git"></span>{t("website-source")}
|
||||
</a>
|
||||
</footer>
|
||||
<!-- BotBuster's hidden link: traefik sends /__hp/ to the honeypot, which
|
||||
bans whoever follows it. robots.txt disallows it, people never see it. -->
|
||||
<a
|
||||
href="/__hp/archive"
|
||||
rel="nofollow"
|
||||
aria-hidden="true"
|
||||
tabindex="-1"
|
||||
data-astro-prefetch="false"
|
||||
style="position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden"
|
||||
>Archive</a
|
||||
>
|
||||
<script is:inline>
|
||||
(function () {
|
||||
// prettier-ignore
|
||||
|
||||
@@ -3,6 +3,7 @@ import type { APIRoute } from 'astro';
|
||||
const getRobotsTxt = (sitemapURL: URL) => `
|
||||
User-agent: *
|
||||
Allow: /
|
||||
Disallow: /__hp/
|
||||
|
||||
Sitemap: ${sitemapURL.href}
|
||||
`;
|
||||
|
||||
Reference in new issue
Block a user