Thread View: comp.misc
2 messages
2 total messages
Started by Lawrence D’Oliveiro
Sat, 21 Nov 2026 03:16
The Port That Does Not Exist
Author: 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 ...
Re: The Port That Does Not Exist
Author: Ian
Date: Sat, 21 Nov 2026 09:01
Date: Sat, 21 Nov 2026 09:01
20 lines
2001 bytes
2001 bytes
On 2026-11-21, Lawrence D’Oliveiro <ldo@nz.invalid> wrote: > 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. Fascinating. Would be intersting to know what other ports give the same response as port 0 on any of those addresses. I wonder if some of these systems are lightweight/embedded/homebrew IP stacks that just ignore the dstport and salute to any incoming SYN. Or maybe honeypots that are reading and responding to raw packets while logging the source for whatever reason... -- Ian "Tamahome!!!" - "Miaka!!!"
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads