KamoCRM

Refuse every HTTPS request from China and Singapore at the edge

FeatureKlusterServices
Shipped
November 16, 2026 at 12:21 AM UTC
Author
Kamo
Commit
2a86e46

87% of the requests Traefik logged in an hour on 2026-11-15 (9,686 of 11,128) came from China, most of them to www.kamocrm.com. traefik/geoblock/generate.py from the GeoLite tables kamo-analytics uses: 17,151 collapsed IPv4 ranges (CN 7,707, SG 9,444) as ClientIP() rules at priority 1000000, above every other route, handed to refuse-all (403). This is the blocked-clients-route mechanism scaled up. Traefik v3.3 has no deny-list middleware, and nothing here sits on the entrypoint, so a bad range can't take the edge down. websecure only: port 80 just redirects and serves ACME HTTP-01, which a Let's Encrypt vantage point in Singapore must still reach. Tested against traefik:v3.3: loads in under 3s, +~20 MiB, ~3.4 ms added to a request that matches no range. **************** checks that the routes only refuse, that the ranges are public IPv4, that they outrank every other route and that each object fits kubectl's annotation limit.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing