Documentation
¶
Overview ¶
Package commands cmd/sub/commands/sub.go c2-net-transport
Standalone (dmsg-only) UDP→dmsg bridge ("sub" — sky UDP bridge). Wraps UDP datagrams in length-prefixed frames, ferries them over a dmsg stream, and replays them as UDP on the peer. Mirrors the smb shape — one binary, no visor dependency, own dmsg.Client.
Two subcommands:
sub client — local UDP listener → peer-dialed dmsg stream sub server — accept dmsg streams → forward as UDP to target
Plan B for UDP-over-skynet (TCP-over-UDP, reliable + in-order). For media-class UDP (RTP, voice, game) use Plan A — the packet-level UDP at the route-group layer (RFC #2607).
Index ¶
Constants ¶
This section is empty.
Variables ¶
var RootCmd = &cobra.Command{ Use: "sub", Short: "Standalone UDP→dmsg bridge — ferries length-prefixed UDP datagrams over dmsg streams", Long: calvin.AsciiFont("sub"), SilenceErrors: true, SilenceUsage: true, DisableSuggestions: true, DisableFlagsInUseLine: true, Version: buildinfo.Version(), }
RootCmd is the cobra entry for the standalone UDP→dmsg bridge. Used both as the top-level binary (cmd/sub) and the integrated subcommand `skywire dmsg sub`.
Functions ¶
Types ¶
This section is empty.