Tunneling protocols allow data to travel through networks that would otherwise block it.

Tunneling protocols allow data to travel through networks that would otherwise block it.
Image: Intellect (generated)

In short: Tunneling protocols repackage data into a different form, enabling it to cross incompatible networks or bypass firewalls. By wrapping restricted traffic inside permitted protocols like HTTP, users can navigate around network policies. However, this process can introduce complex performance issues, such as the destructive TCP meltdown problem.

At its core, a tunneling protocol functions by encapsulating one network protocol within another. This process typically involves using the data payload of a packet to carry a service that the underlying network does not natively support. For example, tunneling allows IPv6 traffic to run over an IPv4 network, or enables remote users to access corporate network addresses that are physically incompatible with their current location. By repackaging data, these protocols can also provide encryption or obscure the nature of the traffic moving across a public network.

Firewalls often rely on strict policies to block specific types of traffic. Tunneling can circumvent these restrictions by wrapping prohibited data inside a protocol that the firewall permits, such as HTTP. While this provides flexibility, it can also create security vulnerabilities. For instance, HTTP CONNECT methods allow proxies to relay data to specific ports, but because this can be exploited, many administrators restrict access to these commands. In some cases, tunneling has been adopted for malicious communication, utilizing protocols like DNS, MQTT, or SMS to bypass protected network boundaries.

A significant technical challenge in tunneling is the TCP meltdown problem, which occurs when a TCP-based payload is tunneled over another TCP connection. Because both the inner and outer TCP layers attempt to manage packet loss and congestion independently, their control loops can interfere destructively. The outer TCP may fill its buffer while the inner TCP, unaware of the actual connection latency, continues to transmit, eventually causing the inner connection to time out and fail. To avoid this, modern implementations like OpenSSH port forwarding often process the payload directly, unwrapping and re-wrapping it to maintain performance and transparency.

Opens the Intellect+ feed with this card first. Swipe up for the next one.

Sources

To cite this card, link to https://intellectplus.co.uk/app/technology-tunneling-protocol.

How we source, check and correct cards: Editorial standards.

General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.

Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?

Related

Finding something worth knowing…