Purpose: say plainly who can reach a switch, what -C protects, and
what to do until authentication exists.
Template. Replace the TODO notes with prose. The README's "Security" section and udeswitch(8) have the details.
TODO: Open by default
- Any local process can plug in; there is no authentication yet.
- Authentication will be opt-in, so existing clients keep working.
TODO: Binding and -R
- 127.0.0.1 by default; a warning for any address outside 127.0.0.0/8, including 0.0.0.0.
-Rrequires HELLO before frames are accepted.- Unicast only reaches the endpoint that owns a port.
TODO: -C none|local|any
- Covers capture requests, monitor ports, the port and MAC lists, kick and flush.
- Capture files: the switch writes only to empty or pcapng files, but can create files wherever its user can.
TODO: Plans
- The reserved protocol space (AUTH_CHALLENGE, AUTH_RESPONSE, AUTH_RESULT, DATA_SEALED) and the planned HMAC-SHA256 exchange, in less detail than ude-protocol(7).
- Until then: use it where you trust the local users.
SW: box "udeswitch" "127.0.0.1:7500" fit U1: box "user A" "client" fit at SW + (-2.2, 0.5) U2: box "user B" "client" fit at SW + (-2.2, -0.5) M: box "udectl /" "udedump" fit at SW + (2.4, 0) arrow from U1.e to SW.w arrow from U2.e to SW.w arrow from M.w to SW.e "-C" above text "TODO: anyone local can join; -C guards management" at SW + (0, -1.2)→ /pikchrshow