Article View: comp.misc
Article #187The Port That Does Not Exist
From: Lawrence D’Oliveiro
Date: Sat, 21 Nov 2026 03:16
Date: Sat, 21 Nov 2026 03:16
19 lines
2093 bytes
2093 bytes
This entertaining little item <https://acid.vegas/blog/the-port-that-does-not-exist/> (linked from <https://www.osnews.com/story/146330/the-port-that-does-not-exist/>) relates the tale of what happened when some curious hackers set out to discover what happens when you try to connect to TCP port 0. Normal network protocol stacks (like the one built into the Linux kernel) do not (easily) allow the use of this port number for either making connections or accepting them. The network protocol specs themselves do not say that this port number is invalid; it is just a convention from the earliest days that specifying a port number of 0 on a network function call means “give me any available port at our end”. So what did the article writers do? Having worked out a mechanism for *accepting* connections on port 0, they then set out to discover what nodes out on the wide, wild Internet would allow *connecting* to port 0 at their end. And they found a remarkable motley of very odd things ...
Technical Details
Message-ID:
<11dr2ej$3oop5$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: comp.misc Subject: The Port That Does Not Exist Date: Sat, 21 Nov 2026 03:16:35 -0000 (UTC) Organization: A noiseless patient Spider Lines: 19 Message-ID: <11dr2ej$3oop5$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 21 Nov 2026 03:16:36 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3957541"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Sa2Cy2Em3N7yavgrlvbbl"; posting-host="4309f76036daa359ba2b9ca0fd953229" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:EZTml+/VD3bLB4z6Z/R5SRXGKu8= sha256:THJhBRxaaVW7BP0RC6jxn6lJh/BY0rwKv7OO9wCeIxw= sha1:efwlO5UC2VeqTjjQhSzuwI/+IEU= sha256:jr9ukCizSf0S1VSPPpoCcz0C9UjJzMORr6r4r8buUwM=