HackerTrans
TopNewTrendsCommentsPastAskShowJobs

palsecam

no profile record

comments

palsecam
·8 months ago·discuss
Yes @ 444 (https://http.cat/status/444). That’s indeed the lightest-weight option.

> You have an image on your error page, which some crappy bots will download over and over again.

Most bots won’t download subresources (almost none of them do, actually). The HTML page itself is lean (475 bytes); the image is an Easter egg for humans ;-) Moreover, I use a caching CDN (Cloudflare).
palsecam
·8 months ago·discuss
I do something quite similar with nginx:

  # Nothing to hack around here, I’m just a teapot:
  location ~* \.(?:php|aspx?|jsp|dll|sql|bak)$ { 
      return 418; 
  }
  error_page 418 /418.html;
No hard block, instead reply to bots the funny HTTP 418 code (https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...). That makes filtering logs easier.

Live example: https://FreeSolitaire.win/wp-login.php (NB: /wp-login.php is WordPress login URL, and it’s commonly blindly requested by bots searching for weak WordPress installs.)
palsecam
·last year·discuss
That’s a fun variation of crosswords! I like it.

Btw, a self-plug, for the polyglots out-there: https://paul.fragara.com/cw.html Poly-alphabets crosswords, mixing Latin and Cyrillic letters!