12 Commits

Author SHA1 Message Date
Fran Bull
c4110ec886 Export functions in authorization file 2025-02-27 13:23:26 -08:00
Fran Bull
4175e2e21d don't try to http.Error after trying to encode to w 2025-02-27 10:18:30 -08:00
Fran Bull
559643b034 command mux robustness 2025-02-27 08:47:24 -08:00
Fran Bull
b789daaf99 badrequest -> methodnotallowed 2025-02-27 08:01:23 -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
5afa742b06 unnecessary export 2025-02-26 15:03:37 -08:00
Fran Bull
aee5b38001 use httpm i guess? 2025-02-21 13:38:53 -08:00
Fran Bull
89af057be5 add copyright headers 2025-02-21 13:10:59 -08:00
Fran Bull
4040e14cb8 use the error value 2025-02-21 13:02:05 -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