Files
tailscale/kernel/linux
Brad Fitzpatrick e7d0021cac kernel/linux/DESIGN.md: describe the kernel interface in one place
The module's userspace interface was described piecemeal, across the
sections on the shared socket, roaming, events, peer restarts and
hybrid handshakes, and its module parameters only in the performance
notes. Add a "Kernel interface" reference section: the link kind, the
genetlink family and its permissions, every tswg device and peer
attribute and flag, the events group, the shared socket's
classification, the module parameters with their defaults, and what
versioning there is (none yet beyond rejecting unknown attributes).

Writing it found that the events group needs no privilege to join, so
any process in the namespace can watch peers' keys and activity; noted
as a TODO there.

Updates #426

Signed-off-by: Brad Fitzpatrick <[email protected]>
Change-Id: I7084d45a7394b77eaf969171312147331c7010e4
2026-11-08 21:45:54 +00:00
..