Purpose: explain the problem UDE solves and its model, and walk a new user from nothing to a working network in a few minutes.
Template. This page is an outline. Each TODO heading lists what the section should cover; replace the notes with prose. The README's "Quick start" section has most of the material.
TODO: The problem
- Emulators and small network services need a virtual Ethernet that is not a kernel bridge (no root, no host configuration) and is not tied to Unix-domain sockets (so it works on Windows too).
- VDE solved this on Unix; UDE does it over UDP.
TODO: The model
- A switch process; ports are UDP endpoints.
- Raw frames on the hot path, one datagram per frame.
- Optional control messages: HELLO, KEEPALIVE, BYE (see the protocol).
TODO: A client in 15 lines
- The
ude_open/ude_send_frame/ude_recv_frameexample frominclude/ude.hand the README ("libude in 15 lines"); link to libude.
TODO: A first network
- Start
udeswitch, thenudedhcpd -a 10.0.0.1/24, twoudencsessions,udeping 10.0.0.1. - Show the expected output of each.
TODO: What UDE is not (yet)
- No spanning tree, no VLAN-aware forwarding, no authentication, no IPv6.
- No
ude://libvdeplug plugin and no first-party 86Box backend yet (both on the roadmap).
SW: box "udeswitch" wid 1.4 ht 0.6 VM: box "VM" "(QEMU)" fit at SW + (-2.2, 0.8) TAP: box "udetap" "host TAP" fit at SW + (-2.2, -0.8) NC: box "udenc" fit at SW + (2.2, 0.8) D: box "udedhcpd" "10.0.0.1" fit at SW + (2.2, -0.8) line from VM.e to SW.w line from TAP.e to SW.w line from NC.w to SW.e line from D.w to SW.e text "TODO: one switch, a VM, a TAP and udenc, with DHCP" at SW + (0, -1.4)→ /pikchrshow