Purpose: show VDE users how each VDE idea maps to UDE, how to bridge the two today, and where they really differ.
Template. Replace the TODO notes with prose. The README's "VDE compatibility" table and ude(7) are the starting point.
TODO: Side by side
| Classic VDE | UDE |
|---|---|
vde_switch -s /tmp/sw (socket directory) |
udeswitch -p 7500 (UDP endpoint) |
port registration on the ctl stream |
first datagram, or HELLO |
| per-port Unix datagram socket | the client's UDP endpoint |
ctl EOF = port gone |
BYE, or the idle timeout |
vde_plug, libvdeplug URLs |
libude, ude_open() URLs |
dpipe + wirefilter |
udelink -I/-A/-B |
unixterm console |
udectl |
| hub mode, VLANs | -H; VLANs not yet |
TODO: Bridging that works today
- Every libude tool joins a
vde_switchwithvde:///path. udelink 127.0.0.1:7500 vde:///tmp/swcables the two.udelink -speaksvde_plug's stream format, sodpipeandsshwork as with VDE (links over ssh).
TODO: Planned
libvdeplug_ude.so(schemeude://), so every VDE application can join a udeswitch.
TODO: Security, honestly
- VDE can use directory permissions; a loopback UDP port is reachable by every local user. See Security.
V: box "vde_switch" fit VP: box "vde_plug" fit at V + (0, -1) line from VP.n to V.s U: box "udeswitch" fit at V + (3.2, 0) UL: box "libude client" fit at U + (0, -1) line from UL.n to U.s L: box "udelink" fit at V + (1.6, 0) arrow <-> from V.e to L.w arrow <-> from L.e to U.w text "TODO: VDE and UDE side by side, joined by udelink" at L + (0, -1.6)→ /pikchrshow