16 Commits

Author SHA1 Message Date
Fran Bull
24ce3279f4 close the conn, don't leave it open 2025-02-27 13:01:05 -08:00
Fran Bull
ad7d1ee07a addr -> netip.AddrPortFrom().String() 2025-02-27 11:41:28 -08:00
Fran Bull
e8b2224932 401 -> 403 2025-02-27 07:39:16 -08:00
Fran Bull
ae30f58b46 centralize cmd http auth 2025-02-27 05:15:49 -08:00
Fran Bull
66ecab9540 use a set for authorization, test it 2025-02-26 14:09:24 -08:00
Fran Bull
3a35ac716d only serve debug monitor if asked for 2025-02-26 09:04:51 -08:00
Fran Bull
5fa145674d make tests pass under -race 2025-02-25 14:57:50 -08:00
Fran Bull
8dfb749ea5 missed a direct events access 2025-02-24 12:01:15 -08:00
Fran Bull
0b971dffd3 configure logging 2025-02-24 11:41:53 -08:00
Fran Bull
f0223a9dba avoid race 2025-02-24 10:38:21 -08:00
Fran Bull
89af057be5 add copyright headers 2025-02-21 13:10:59 -08:00
Fran Bull
d944cd1778 do we need to wait longer? 2025-02-21 13:07:41 -08:00
Fran Bull
0354836398 don't actually need those bits for the interface 2025-02-21 13:06:07 -08:00
Fran Bull
82e6b2508a fix test 2025-02-21 12:34:53 -08:00
Fran Bull
7c539e3d2f to squash: restrict communication to tagged nodes 2025-02-20 15:14:22 -08:00
Fran Bull
6ebb0c749d tsconsensus: add a tsconsensus package
tsconsensus enables tsnet.Server instances to form a consensus.

tsconsensus wraps hashicorp/raft with
 * the ability to do discovery via tailscale tags
 * inter node communication over tailscale
 * routing of commands to the leader

Updates #14667

Signed-off-by: Fran Bull <fran@tailscale.com>
2025-02-20 11:12:17 -08:00