diff options
| author | tv <tv@krebsco.de> | 2026-11-17 01:01:06 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-17 01:01:06 +0000 |
| commit | ff3dafcc0003ffc2d48244fcd6e98984b6a9174d (patch) | |
| tree | 155a9ca9fed6d2ab3000665f724d98e8a0890937 /base | |
| parent | 9d7f66b9cbdc203226ef919a4108706248d9779d (diff) | |
per-user egress rules
The host module takes users = { NAME = TAPS; ... } instead of a single
user: each user gets that many taps, and rules of their own, in
/var/lib/fc-egress/USER/allowed, managed with fc-egress as before.
The proxy tells whose a guest is by its address: each tap has a fixed
one, handed out by dnsmasq by MAC address (derived from the tap's number,
as the run script does), and the bridge drops anything a guest sends from
another address. The decrypting server gets a socket per user, as it
can't see the guest's address. The run script only takes the user's own
taps.
Diffstat (limited to 'base')
0 files changed, 0 insertions, 0 deletions
