Little things hidden around the internet
About five days ago I found out that Twitch chat can be read with an ordinary IRC client. That made me curious about what else is out there, quietly answering for anyone who knocks on the right door, so I went looking for more of these little hidden things. This is what I found. Everything here was tested today.
Old protocols that still answer #
Twitch chat is IRC. The server is irc.chat.twitch.tv, port 6697 with TLS, and each channel is # plus the streamer's name. Reading needs no account: a nickname that starts with justinfan plus some numbers gets you in. The server's message of the day is a line from the 1970s game Colossal Cave Adventure:
:tmi.twitch.tv 001 justinfan48213 :Welcome, GLHF!
:tmi.twitch.tv 372 justinfan48213 :You are in a maze of twisty passages, all alike.
Star Wars in ASCII. Simon Jansen's ASCIImation of A New Hope, put online over telnet, has been playing for decades. The credits end with "So long and thanks for all the fish".
telnet towel.blinkenlights.nl
A fake 1980s internet. Telehack simulates the ARPANET and Usenet era, with dozens of commands: advent, eliza, starwars, usenet, finger. When I connected it said "There are 26657 hosts on the network" and "May the command line live forever".
telnet telehack.com
NetHack, still going. nethack.alt.org hosts public games of the classic dungeon crawler. When I checked, 12 people were playing and the server had recorded about 8.7 million games.
telnet nethack.alt.org
Gopher. The protocol that almost became the web, from 1991, is still alive. Floodgap has run a gopher server since 1999, on an IBM Power 520 running AIX, as its welcome message proudly explains. curl speaks gopher:
curl gopher://gopher.floodgap.com/
Weather by finger. The finger protocol was made to ask who was logged in to a machine. graph.no uses it to send a weather chart drawn in text:
finger oslo@graph.no
A quote of the day, by protocol. RFC 865, from 1983, defines a service on port 17 whose only job is to send a quote and hang up. Some servers still run it:
nc djxmmx.net 17
"In Heaven an angel is nobody in particular." George Bernard Shaw (1856-1950)
The time, from NIST. Same idea, RFC 867, port 13. The US time lab still answers:
nc time.nist.gov 13
61359 26-11-15 22:22:16 00 0 0 705.5 UTC(NIST) *
On Windows, telnet is off by default (turn on Telnet Client in "Turn Windows features on or off"), finger comes built in, and telnet host port works wherever this post says nc.
Things that live in the terminal #
Weather. curl wttr.in/Sao+Paulo draws a full forecast with little ASCII clouds.
Cheat sheets. curl cheat.sh/tar shows quick examples for almost any command, so nobody has to remember the flags of tar ever again.
A dancing parrot. curl parrot.live, in color, until Ctrl+C.
A chat room over SSH. ssh ssh.chat opens a public chat room. The SSH key is the identity, no sign-up.
Coffee over SSH. terminal.shop sells coffee only through the terminal: ssh terminal.shop opens a store with menus, an address form and checkout. It launched in 2024, built live on stream by a group of developers, and the first batch sold out within days. According to its site, the coffee is Brazilian.
A free Unix account. SDF has offered public Unix accounts since 1987, and the sign-up happens over SSH with ssh new@sdf.org.
DNS tricks #
DNS is the internet's phone book, but some servers answer more than phone numbers.
Your IP, from Google. Google's own name server answers with the address the request came from:
nslookup -type=TXT o-o.myaddr.l.google.com ns1.google.com
Which datacenter answers. Ask Cloudflare's 1.1.1.1 a question in the CHAOS class, an old DNS class almost nobody uses, and it names the datacenter that answered. Cloudflare names them after airports:
nslookup -type=TXT -class=CHAOS id.server 1.1.1.1
"gig11"
GIG is Rio de Janeiro's airport code, so my question was answered in Rio.
Weather, again. dns.toys puts small tools inside DNS:
nslookup -type=TXT saopaulo.weather dns.toys
"Sao Paulo (BR)"
"19.80C (67.64F)"
"93.50% hu."
Notes left for whoever reads the source #
Google is a teapot. google.com/teapot answers with HTTP status 418, "I'm a teapot", a joke from an April Fools' RFC published in 1998.
humans.txt. Some sites keep a file for people, next to robots.txt for machines. Google's starts with "Google is built by a large team of engineers, designers, researchers, robots, and others". Netflix's is a whole movie screen drawn in ASCII, "STARRING an all-star cast of talented designers & engineers".
robots.txt with a sense of humor. YouTube's begins: "Created in the distant future (the year 2000) after the robotic uprising of the mid 90's which wiped out all humans." Last.fm's forbids robots from three paths: /harming/humans, /ignoring/human/orders and /harm/to/self, Asimov's three laws in crawler form.
curl https://www.youtube.com/robots.txt
curl https://www.last.fm/robots.txt
A name in the headers. Mozilla's website sends an extra HTTP header on every page: X-Clacks-Overhead: GNU Terry Pratchett. It comes from Pratchett's Discworld, where messages kept a dead person's name moving through the clacks towers so they wouldn't be forgotten. After he died in 2015, people started adding it to their servers.
curl -I https://www.mozilla.org | grep -i clacks
x-clacks-overhead: GNU Terry Pratchett
GitHub's zen. curl https://api.github.com/zen returns a random line of GitHub's design philosophy, like "Encourage flow." And github.com/username.keys shows anyone's public SSH keys, which is handy for giving someone access to a server.
Python's inside jokes. Run these in Python:
import this: prints The Zen of Python, by Tim Peters
import antigravity: opens xkcd's comic about Python in your browser
from __future__ import braces: SyntaxError: not a chance
How your phone knows it's online #
On joining a Wi-Fi network, a phone or computer quietly fetches a tiny page to check whether the internet works or a hotel login page is in the way. The same pages open in any browser:
captive.apple.com: Success
connectivitycheck.gstatic.com/generate_204: an empty answer with status 204 (Android, Chrome)
detectportal.firefox.com/success.txt: success
www.msftconnecttest.com/connecttest.txt: Microsoft Connect Test
If the answer is anything else, the device assumes there's a login page and shows it.
What the internet sees #
icanhazip.com returns the visitor's IP and nothing else. Major Hayden started it in 2009 as an internal tool. By 2021 it was handling over a billion requests a day, then 30 to 35 billion a day after a sudden flood of traffic, more than 90% of it malicious. That June he handed it over to Cloudflare, which runs it today.
Cloudflare's trace. Any site behind Cloudflare answers at /cdn-cgi/trace with the IP, country, the datacenter that answered (again by airport code), and the HTTP and TLS versions:
curl https://www.cloudflare.com/cdn-cgi/trace
Mullvad's check. curl https://am.i.mullvad.net/connected says whether the traffic is going through Mullvad's VPN, and shows the IP if it isn't.
Feeds nobody advertises #
YouTube and Bluesky never mention it, but both publish RSS. Every YouTube channel has a feed at youtube.com/feeds/videos.xml?channel_id= followed by the channel ID, and every Bluesky profile has one by adding /rss to its address, like bsky.app/profile/bsky.app/rss. In a feed reader, they follow people without opening either app.
If you know more little things like these, send them my way.