20 Commits

Author SHA1 Message Date
Fran Bull
cd7d3ae4d2 add clarifying continue 2025-02-27 13:35:07 -08:00
Fran Bull
7dbcb388b8 shorten 2025-02-27 13:30:11 -08:00
Fran Bull
c4110ec886 Export functions in authorization file 2025-02-27 13:23:26 -08:00
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
af2fd8bd7e change comment style 2025-02-27 09:38:28 -08:00
Fran Bull
ace8630d89 splithostport -> parseaddrport 2025-02-27 07:47:07 -08:00
Fran Bull
ae30f58b46 centralize cmd http auth 2025-02-27 05:15:49 -08:00
Fran Bull
c35c3d1194 use a views.Slice 2025-02-26 14:45:44 -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
773894638c lint says conn can't be nil 2025-02-24 11:55:45 -08:00
Fran Bull
0b971dffd3 configure logging 2025-02-24 11:41:53 -08:00
Fran Bull
3ed0736ae9 protect nil pointer 2025-02-24 10:29:05 -08:00
Fran Bull
05277e020e move package doc to right place 2025-02-24 08:45:10 -08:00
Fran Bull
89af057be5 add copyright headers 2025-02-21 13:10:59 -08:00
Fran Bull
d593a85bae comments, whitespace 2025-02-21 11:23:22 -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