News for hackers. Stuff that matters.
Re:HTTP 418: I'm a Teapot by geuis on Sunday February 02, 2020 @02:58AM (#22215791)
Somewhat personally funny story.

Some number of years ago I saw a huge traffic spike on https://jsonip.com. After investigating, I saw that someone who seemed to have a misconfigured squid proxy that wasn’t valid IP data was hitting the api hundreds of times a minute.

The scale of jsonip was a lot smaller back then and still just a personal project but the requests were significantly crushing the server in addition to regular traffic.

As a mild joke, I updated the code to return “418 You are a teapot” for the squid proxy briefly. Just long enough for the user to be “wth” and investigate so they’d update their configuration. I just targeted the obviously malformed requests.

Within a day or so the proxy either stopped making requests or got fixed.

I got a laugh out of it and removed that code. Hopefully the person on the other end also got the joke.

Re:HTTP 418: I'm a Teapot by c0restraint on Sunday February 02, 2020 @10:48PM (#22221279)
That’s clever and pretty funny! Thanks for sharing
Re:HTTP 418: I'm a Teapot by halfdan on Sunday February 02, 2020 @02:28AM (#22215698)
Ah yes, the Hyper Text Coffee Pot Control Protocol.

https://tools.ietf.org/html/rfc2324

Back in the day I really wanted to build an ethernet ready and HTCPCP compliant coffee machine. Never got around to it, but in the days of Pi Zero and similar hardware it's not as of complicated anymore.

Re:HTTP 418: I'm a Teapot by peteforde on Sunday February 02, 2020 @02:43AM (#22215742)
Honestly, this has been posted about so many times that the only way this shouldn't be flagged as a dupe is if you show us photographs of an actual teapot that implements this response.
Re:HTTP 418: I'm a Teapot by ninjay on Sunday February 02, 2020 @03:05AM (#22215812)
Not sure if it's actually serving traffic, but here's a teapot someone put a Raspberry Pi in: http://error418.net/
Re:HTTP 418: I'm a Teapot by kick on Sunday February 02, 2020 @02:52AM (#22215770)
Less than you might think:

https://hn.algolia.com/?q=418

Re:HTTP 418: I'm a Teapot by c0restraint on Sunday February 02, 2020 @10:47PM (#22221276)
I hope you found some joy and relaxation with a cup of tea today...
Re:HTTP 418: I'm a Teapot by guessmyname on Monday February 03, 2020 @01:49AM (#22221988)
Yes, I agree, this is a classic case of “Ten Thousand People” — https://xkcd.com/1053/
Re:HTTP 418: I'm a Teapot by plapetomain on Sunday February 02, 2020 @02:33AM (#22215711)
Always thought it cute that the spec mandates 4 allowable alcohol additions... but also completely forgot to specify the list of sweeteners.