Goblin Eaters Cyber Cavern

Security escapades, opinions, and tools from the cavern.

Layers 5 and 6: The Contested Terrain Between Transport and Application

The kingdom’s roads do not concern us this week. We are not concerned with the portcullis guard, the distance between gate and gate, or the checkpoint captain squinting at addresses on a passing cart. All of that machinery exists to get a sealed letter from one place to another. This week the letter has already arrived, and it is on the desk of the person who receives it. The question is no longer how it traveled. The question is whether it can be trusted, and whether anyone read it, or altered it, along the way. ...

August 24, 2026

TCP and UDP: The Best of Frenemies.

Floods, Amplification, and What Firewalls Actually Do Last week’s post closed with a thesis worth restating: TCP’s flags tell the truth about what a packet claims to be. They say nothing about whether the claim is legitimate. Let’s wander back to our medieval landscape to frame this discussion. In the kingdom’s early days, the gap between a message’s claim and its legitimacy rarely mattered. There was one castle (host), one gate (network connection), and a guard (TCP/IP Stack) who knew most travelers by sight and could respond to their requests. When a visitor requested to enter, the guard reserved a room for him on the spot, not because he’d earned it, but because there was little reason to withhold it. Bad faith was rare and was not seen as an operational risk. ...

August 9, 2026

TCP: Raising the Wrong Flags

The City, the Duke, and the Portcullis Picture a walled city. A Duke — the operating system — presides over it, though he governs less than it sounds like he might. Behind the city walls, tradespeople work their own shops: a baker, a blacksmith, an armourer, a stableman. Each is a service running on the host, reachable through its own door — a port. Visitors arrive from other cities looking to trade, and each has to pass the portcullis first, where a guard decides who gets through and who doesn’t. ...

August 2, 2026

The Guild, the Road, and the Strays: How IP Won the Protocol Wars — and What Got Left Behind

In medieval Europe, if you wanted to make shoes, you joined the cobblers’ guild. Not because the guild made better shoes than you could make alone — though it might have. You joined because the guild controlled the knowledge of shoemaking, the supply of leather, the right to sell in the market square. The guild wasn’t just a craft association. It was an economic enclosure - you couldn’t compete with what you couldn’t learn. ...

July 23, 2026

Patching the Layer 2 gap: Ethernet, RARP, Wi-Fi, VLANs, and the protocols that lost

They say that if you don’t learn from history, then you are destined to repeat it. This week I have a companion post to The Switch, the Spring, and the Spy. This is a tour through layer 2 history, and a look at how history has shaped today. In that post, we covered ARP, the trust model, and the Gateway Mechanism. This post will cover how Ethernet was conceived and how competitive technologies offered more robust mechanisms for data transfer but lost. I also want to look at how the technology was adjusted and augmented by new protocols that overcame the limitations once Ethernet was pushed to and past its limits. ...

July 11, 2026

Subnetting Is a Measurement, Not a Guess

Most subnetting tutorials hand you a mask and march you through the arithmetic. That teaches the mechanics but hides the thing people actually get stuck on — which isn’t the math at all. It’s a category error about what kind of question subnetting actually is. Here is the reframe this whole piece rests on: An address block has no subnetting until you give it one. 172.16.0.0/16 is not secretly eight /19s waiting to be uncovered. Before you commit a mask, the question “what are its subnets?” has no determinate answer. In subnetting terms, the block is under-determined, not undecidable. It’s like a loaf of bread. Whole, one unit. It needs exactly one more constraint to resolve to a subnet scheme — and that constraint does not live in the address math. It doesn’t live in how big the loaf or the slices are. The constraint comes from outside the address space: the network’s requirements. How many segments? How many sandwiches to make. How many hosts in the largest one? Those are the measurement. Bring them, and the block snaps into one determinate layout. The classic hang-up is treating an underdetermined problem as an intractable one — staring harder at the range of possible subnet masks, when the resolution was never going to come from the possibles. It comes from asking what the network needs. Keep that in mind and the arithmetic stops being intimidating, because you’re no longer searching a space — you’re applying a requirement. Everything below is a tool for applying it cleanly. ...

July 3, 2026

IPv6 Shifts the Balance Between Achilles and Hermes

Architecture, security implications, and the competency gap the industry hasn’t closed. IPv6 is the second part of Layer 3. Last week we discussed IPv4, and the design assumptions that were made, and have led to many types of attacks due to the way the protocols work. This week, we’ll investigate IPv6 — the current version of the Internet Protocol, operating at Layer 3 of the OSI model. Back in the days of the early 1990’s it began to dawn on the industry that IPv4 was running out of steam. The two biggest challenges were the inefficient use of the class A, B, C (and D and E!!) address space, and the exploding capacity of router tables. They realized something needed to be done quickly, while deeper work began on a complete rework of IP. ...

June 12, 2026

The Label That Lies: How Layer 3 Was Designed to Route — and How That Design Gets Exploited

Week 3 of How Protocols Work, and How They Break In 2008, Pakistan Telecom took YouTube offline. Not just in Pakistan. Globally. For eighteen minutes, anyone on earth who tried to reach YouTube was either getting nothing, or their traffic was silently arriving in Islamabad. Nobody hacked YouTube. Nobody broke into a server. Nobody exploited a vulnerability in any conventional sense. Pakistan Telecom simply announced to the internet that they were the fastest path to YouTube’s address space — and the internet believed them. Every major router on the planet updated its table and started sending traffic their way. The “packages” went to the wrong destination. The internet’s routing system did exactly what it was designed to do, and that was the problem. ...

June 5, 2026

The Switch, the Spring, and the Spy: How Layer 2 Was Designed to Trust — and How That Trust Gets Weaponized

I want to talk to you about expectations, relationships, and deceit. Todays networks were designed to work. They were designed with straight forward, pragmatic protocols that performed the information exchange that aided the discovery of other nodes when required, and the exchange of information. The problem is, the designs didn’t foresee the way that these protocols could be used against the legitimate operators of networks. Let’s use a literary lens and have a walk through Layer 2 to see how key protocols can be usurped. ...

May 29, 2026

The Seven Terraces of Purgatory: Why the OSI Model Is a Passage, Not a Destination

In his book Purgatorio, Dante writes of seven terraces that must be crossed on the path to redemption. As souls cross each of these 7 terraces they must pay a penitential price to be cleansed of their 7 deadly sins. For many people who have studied networking and IT, I’m sure they have the feeling that each layer of the OSI model has done the same to them. But fear not, young cyber warrior, there is much good news. Drawing another parallel from Dante’s work, all is filled with hope. The secret that I hope to share with you comes from my own personal experience. I spent too long “in the terraces” and paid too heavy a price. What I want you to remember is that all you need to do is keep true to the path. These terraces are not to dwelt upon, they are just to be traversed. As you pay your price (learn the level), you move on. Cleansed. Through to the other side. To redemption, to a deeper understanding. This is the journey. ...

May 21, 2026