Commit graph

  • 6924b7bf4c Output json when deleting node (fixes #152) Juan Font Alonso 2021-10-12 23:48:08 +02:00
  • fa8cd96108 Get peers from namespaces where shared nodes are shared to Juan Font Alonso 2021-10-12 17:20:14 +02:00
  • dd1e425d02
    Merge pull request #147 from juanfont/fix-delete-shared-nodes Juan Font 2021-10-11 18:19:36 +02:00
  • 7f2027d7f2 Added unit tests Juan Font Alonso 2021-10-10 23:55:18 +02:00
  • 48f5a9a18c Fix error 500 when deleting shared node (fixes #133) Juan Font Alonso 2021-10-10 23:55:03 +02:00
  • 8843188b84 add notes to README.md about OIDC Raal Goff 2021-10-10 22:52:30 +08:00
  • 087c461762
    Merge pull request #145 from juanfont/discord Kristoffer Dalby 2021-10-10 12:24:50 +01:00
  • d579c1718c
    Merge branch 'main' into discord Juan Font 2021-10-10 13:05:33 +02:00
  • 4c5f667504
    Merge pull request #129 from juanfont/magic-dns-support Juan Font 2021-10-10 13:05:16 +02:00
  • 4c4c95198b
    Remove gitter for discord Kristoffer Dalby 2021-10-10 12:00:45 +01:00
  • 5ce1526a06 Do not return a pointer Juan Font Alonso 2021-10-10 12:43:41 +02:00
  • d70c3d6189 Added more comments, plus renamed vars with better names Juan Font Alonso 2021-10-10 12:34:55 +02:00
  • 74e6c1479e updates from code review Raal Goff 2021-10-10 17:22:42 +08:00
  • 9a0c9768ad Merge branch 'magic-dns-support' of https://github.com/juanfont/headscale into magic-dns-support Juan Font Alonso 2021-10-10 00:40:35 +02:00
  • 6884798404 Added some comments Juan Font Alonso 2021-10-10 00:40:25 +02:00
  • c4487b73c4
    Merge branch 'main' into magic-dns-support Juan Font 2021-10-09 12:24:07 +02:00
  • 32c3f09eb4 Fixed conflict Juan Font Alonso 2021-10-09 12:23:05 +02:00
  • d4dc133e20 Added unit tests Juan Font Alonso 2021-10-09 12:22:21 +02:00
  • fc5153af3e Generate MagicDNS search domains for any tailnet range Juan Font Alonso 2021-10-09 12:22:13 +02:00
  • 2997f4d251
    Merge branch 'main' into main Kristoffer Dalby 2021-10-08 22:21:41 +01:00
  • e407d423d4 updates from code review Raal Goff 2021-10-08 17:43:52 +08:00
  • 35795c79c3
    Handle trailing slash on uris unreality 2021-10-08 15:26:31 +08:00
  • fd8d888ddb
    Merge pull request #142 from kradalby/loopy-loop Kristoffer Dalby 2021-10-07 16:08:33 +01:00
  • 06f56411dd
    Update machine.go Kristoffer Dalby 2021-10-07 15:45:45 +01:00
  • e4f197b709
    Merge branch 'main' into loopy-loop Kristoffer Dalby 2021-10-07 15:38:17 +01:00
  • 13406175c1
    Merge pull request #144 from zekker6/main Kristoffer Dalby 2021-10-07 14:22:35 +01:00
  • 20117c51a2 Add CI builds with artifacts for PRs and main Zakhar Bessarab 2021-10-07 11:50:47 +03:00
  • f0c54490ed Allow multiple namespaces to be checked for state at the same time Kristoffer Dalby 2021-10-06 22:06:07 +00:00
  • 95f726fb31 Fix logic Kristoffer Dalby 2021-10-06 19:56:14 +00:00
  • ba391bc2ed Account for updates in shared namespaces Kristoffer Dalby 2021-10-06 19:32:15 +00:00
  • c487591437 use go-oidc instead of verifying and extracting tokens ourselves, rename oidc_endpoint to oidc_issuer to be more inline with spec Raal Goff 2021-10-06 17:19:15 +08:00
  • c582c8d206 Update metrics for new code Kristoffer Dalby 2021-10-05 21:59:15 +00:00
  • 1a0f6f6e39 Added note on TODO Juan Font 2021-10-05 19:01:56 +02:00
  • 6981543db6 Only search domain from current namespace in MapResponse Juan Font 2021-10-05 19:00:40 +02:00
  • 722084fbd3 Comment out aggressive logging Kristoffer Dalby 2021-10-05 16:51:42 +00:00
  • a01a0d1039 Remove unstable update channel, replace with state updates Kristoffer Dalby 2021-10-05 16:24:46 +00:00
  • 8abc7575cd Tear out all the complicated update logic Kristoffer Dalby 2021-10-05 16:17:18 +00:00
  • c9a411e341 Preload namespace Juan Font 2021-10-05 17:47:21 +02:00
  • b02a9f9769 Go mod updates Juan Font Alonso 2021-10-04 23:50:26 +02:00
  • a0fa652449 MagicDNS changes merged back Juan Font Alonso 2021-10-04 23:49:16 +02:00
  • 2eef535b4b Merged main Juan Font Alonso 2021-10-04 23:43:42 +02:00
  • 61870a275f WIP preparation for merge Juan Font Alonso 2021-10-04 22:51:05 +02:00
  • 088e8248d3 Improved doc Juan Font Alonso 2021-10-04 22:50:33 +02:00
  • da4a9dadd5 Warn users when MagicDNS is set with no DNS servers Juan Font Alonso 2021-10-04 22:16:53 +02:00
  • 02bc7314f4
    Update dns.go Juan Font 2021-10-04 21:47:09 +02:00
  • 6fb8d67825
    Merge pull request #136 from kradalby/db-cleaning Kristoffer Dalby 2021-10-04 20:44:54 +01:00
  • 1a41a9f2c7 Updated readme Juan Font Alonso 2021-10-04 20:27:45 +02:00
  • 040a18e6f8
    Merge branch 'main' into magic-dns-support Juan Font 2021-10-04 19:45:12 +02:00
  • ec911981c2 Do not allow magicdns if not nameservers set up Juan Font Alonso 2021-10-04 19:43:58 +02:00
  • f6a7564ec8 Add more test cases to prove that peers and shared peers work properly Kristoffer Dalby 2021-10-04 17:40:21 +00:00
  • 2eb57e6288 Clean up pointer usage consistency. Kristoffer Dalby 2021-10-04 17:39:01 +00:00
  • 94ba5181fc Resolve merge conflict Kristoffer Dalby 2021-10-04 16:38:52 +00:00
  • 1d5b090579 Initial work on Prometheus metrics Kristoffer Dalby 2021-10-04 16:28:07 +00:00
  • ef0f7c0c09 Integration tests for MagicDNS working Juan Font Alonso 2021-10-04 18:04:08 +02:00
  • e60ceefea9 Fixing nil issue Juan Font Alonso 2021-10-04 18:03:44 +02:00
  • ed6b5bc279
    Merge pull request #141 from ptman/patch-1 Kristoffer Dalby 2021-10-04 15:40:29 +01:00
  • d3ef39a58f Correctly use the internal docker dns and port for headscale joining Kristoffer Dalby 2021-10-04 14:39:52 +00:00
  • 07e32be5ce Remove host port, we only need internal ports Kristoffer Dalby 2021-10-04 14:39:28 +00:00
  • ed0b31d072
    Update README.md Paul Tötterman 2021-10-04 17:23:38 +03:00
  • fcc6991d62
    Update README.md Paul Tötterman 2021-10-04 17:23:31 +03:00
  • c09428acca Revert "Remove docker network, it wasnt used, comment out portmapping to host" Kristoffer Dalby 2021-10-04 14:09:21 +00:00
  • 931ef9482b
    Add checks to see if we can fetch the ip from map, remove possible null assignment Kristoffer Dalby 2021-10-04 14:17:05 +01:00
  • 772541afab
    add comment about poor error handling when headscale isnt becoming available Kristoffer Dalby 2021-10-04 14:16:37 +01:00
  • 2090a13dcd
    Remove docker network, it wasnt used, comment out portmapping to host Kristoffer Dalby 2021-10-04 14:15:20 +01:00
  • 31b4f03f96
    Set integration logging to trace Kristoffer Dalby 2021-10-04 14:14:28 +01:00
  • 7793012409
    Add error if peer api is empty Kristoffer Dalby 2021-10-04 14:14:12 +01:00
  • 566c2bc1fb
    Document client OS support in a table Paul Tötterman 2021-10-04 14:58:36 +03:00
  • 99efeb98f8
    Merge pull request #139 from cure/fix-goreleaser-version Juan Font 2021-10-04 00:17:13 +02:00
  • 836ee74e57
    Merge branch 'main' into fix-goreleaser-version Juan Font 2021-10-04 00:01:58 +02:00
  • 06689ed726
    Merge pull request #140 from qbit/buypass Juan Font 2021-10-04 00:01:29 +02:00
  • 817cc1e567 these are not files! Aaron Bieber 2021-10-03 14:02:44 -06:00
  • 8fa0fe65ba Add the ability to specify registration ACME email and ACME URL. Aaron Bieber 2021-10-03 12:26:38 -06:00
  • 1d81333685 Make sure that goreleaser uses the appropriate version string when building the headscale executable. Ward Vandewege 2021-10-03 12:06:50 -04:00
  • 1bddf1147b
    Resolve merge conflict Kristoffer Dalby 2021-10-03 11:01:13 +01:00
  • 63fa475913
    Merge pull request #134 from kradalby/loop-97 Kristoffer Dalby 2021-10-02 23:13:41 +01:00
  • d637a9c302
    Change ping count Kristoffer Dalby 2021-10-02 22:56:48 +01:00
  • 3c3189caa6
    Move toNode, add type helpers, split peers and shared Kristoffer Dalby 2021-10-02 22:03:34 +01:00
  • 0d4a006536
    Consitently use Machine pointers Kristoffer Dalby 2021-10-02 22:00:09 +01:00
  • 0475eb6ef7
    Move DB call of pollmap to Machine inside a function Kristoffer Dalby 2021-10-02 21:58:28 +01:00
  • 0d1b60ad63 Merge branch 'loop-97' of github.com:kradalby/headscale into loop-97 Kristoffer Dalby 2021-10-02 18:39:18 +01:00
  • 78a0f3ca37
    Up ping timeout Kristoffer Dalby 2021-10-02 18:39:09 +01:00
  • 2c83eac36f
    Merge branch 'main' into loop-97 Kristoffer Dalby 2021-10-02 18:37:21 +01:00
  • 42913e2c37
    Merge pull request #135 from cure/fix-README-typos Kristoffer Dalby 2021-10-02 17:46:25 +01:00
  • 54daa0da23
    Fix spelling error Kristoffer Dalby 2021-10-02 17:35:39 +01:00
  • 0435089eba Fix a few typos in the tailscale command line arguments. Ward Vandewege 2021-10-02 10:44:52 -04:00
  • 39abc4e973
    Clarify error messages for nodes that are not connected Kristoffer Dalby 2021-10-02 15:38:53 +01:00
  • cefe2d5bcc
    Improve and clarify log entry Kristoffer Dalby 2021-10-02 15:30:41 +01:00
  • ed728f57e0
    Remove WriteTimeout from HTTP Kristoffer Dalby 2021-10-02 15:29:27 +01:00
  • 6ffea2225d
    Attempt to close failed streams Kristoffer Dalby 2021-10-02 15:28:19 +01:00
  • 64185cc2bc Fixed go mod Juan Font Alonso 2021-10-02 15:18:05 +02:00
  • 990ff153c0
    Merge branch 'main' into magic-dns-support Juan Font 2021-10-02 15:16:51 +02:00
  • 47dcc940c0 Fixed issue in tests Juan Font Alonso 2021-10-02 14:49:14 +02:00
  • 8d60ae2c7e Tidy gomod Juan Font Alonso 2021-10-02 13:03:41 +02:00
  • 19492650d4 Fixed error on assign Juan Font Alonso 2021-10-02 13:03:08 +02:00
  • 36ae14bccf Send search domains Juan Font Alonso 2021-10-02 12:13:19 +02:00
  • 45e71ecba0 Generated MagicDNS search domains (only in 100.64.0.0/10) Juan Font Alonso 2021-10-02 12:13:05 +02:00
  • e432e98413 Send hostname in toNode Juan Font Alonso 2021-10-02 12:12:22 +02:00
  • 656237e167 Propagate dns config vales across Headscale Juan Font Alonso 2021-10-02 11:20:42 +02:00
  • 5dbf6b5127 Extended DNS config unit tests Juan Font Alonso 2021-10-02 11:14:18 +02:00
  • c9e4da3ff5 Improving documentation for DNS config Juan Font Alonso 2021-10-02 11:11:18 +02:00