You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UDP ports: a lane on a node forwards them as TCP, and the main slot does not move them #192
devstack forwards TCP only: tcpfwd.rs, the tunnels to a lane on a node (ADR-0029) and the shared-lane forwards. There is no UDP socket anywhere in the code. Most dev stacks only need TCP (an API, a UI, a database, a game server's realm and world ports). UDP turns up with game voice/position ports, DNS, syslog and some media servers.
What happens today
A local lane: works. Its Compose overlay moves a UDP host port by the lane's offset and keeps the /udp suffix (devstack-composeoverlay(); the test with 5353:53/udp).
A lane on a node: broken, and without saying so.
The node lists every published port of a started service, whatever its protocol: initial_infra in crates/devstack-node/src/lanerun.rs, published keyed by the target port only.
The requester then listens on that number as TCP (remote.rs, forward_port).
So a UDP port of such a lane is unreachable here, and a TCP listener sits on its number.
published maps are keyed without the protocol. A service that publishes the same target port as TCP and as UDP (DNS: 53/tcp and 53/udp) keeps only one of the two.
The main slot (ADR-0048, accepted): main_ports moves TCP ports only. A UDP port of a named service stays with Docker in the main tree and does not follow a lane.
Proposal
Short term:
The node skips non-TCP ports when it builds the forward list.
The lane's page and devstack lane list say "UDP port … is not forwarded".
The published maps carry the protocol.
Later, when a stack needs it:
A UDP relay: sessions keyed by the client's address, with an idle timeout. There is no "hold" while a container starts; datagrams are dropped.
A datagram framing through the node tunnel, which means a pool protocol bump.
Then main_ports can move UDP too.
Seen while writing ADR-0048 (#190, part 2 of #184).
The short-term part shipped with #217 (0.19.0): a lane on a node forwards TCP ports only, the published maps carry the protocol, and the dashboard and devstack lane list name UDP ports as not forwarded. The UDP relay is tracked in #219.
Activity
docs(adr): accept 0048; UDP is #192
docs(adr): 0048, a container's main port can move with the main slot (#…
fix: a lane on a node forwards its TCP ports only, and says which UDP…
7schmiede commentedon Oct 22, 2026
The short-term part shipped with #217 (0.19.0): a lane on a node forwards TCP ports only, the
publishedmaps carry the protocol, and the dashboard anddevstack lane listname UDP ports as not forwarded. The UDP relay is tracked in #219.