Commit Graph

  • 1f422af1c8 Save headscale logs if jobs fail Kristoffer Dalby 2021-08-20 16:50:55 +01:00
  • 53168d54d8 Make http timeout 30s instead of 10s Kristoffer Dalby 2021-08-19 22:29:03 +01:00
  • b0ec945dbb Make lastStateChange namespaced Kristoffer Dalby 2021-08-19 18:19:26 +01:00
  • 48ef6e5a6f Rename keepAlive function, as it now does more things Kristoffer Dalby 2021-08-19 18:06:57 +01:00
  • 8d1adaaef3 Move isOutdated logic to updateChan consumation Kristoffer Dalby 2021-08-19 18:05:33 +01:00
  • dd8c0d1e9e Move most "poll" functionality to poll.go Kristoffer Dalby 2021-08-18 23:24:22 +01:00
  • 57b79aa852 Set timeout, add lastupdate field Kristoffer Dalby 2021-08-18 23:21:11 +01:00
  • 2f883410d2 Add lastUpdate field to machine, function issue message on update channel Kristoffer Dalby 2021-08-18 23:17:38 +01:00
  • 6fa61380b2 Up client count, make arguments more explicit and clean up unused assignments Kristoffer Dalby 2021-08-18 23:17:09 +01:00
  • 47b61c0cea Merge pull request #86 from juanfont/better-ui v0.6.1 Juan Font 2021-08-16 09:33:47 +02:00
  • d739ac830f Merge pull request #87 from juanfont/fix-route-notify Juan Font 2021-08-16 09:25:31 +02:00
  • 26024fedc7 Merge branch 'main' into fix-route-notify Juan Font 2021-08-16 00:29:38 +02:00
  • a376b697c0 Send notifications when enabling a route Juan Font 2021-08-16 00:17:26 +02:00
  • bc2574680d Linting Juan Font 2021-08-15 23:35:03 +02:00
  • f194b41435 Better table in preauthkeys Juan Font 2021-08-15 23:29:55 +02:00
  • 350f7da55d Better table in namespaces Juan Font 2021-08-15 23:20:38 +02:00
  • 36f5f78f46 pterm dependency Juan Font 2021-08-15 23:10:50 +02:00
  • 55fe5b0b41 Use pterm table in node list Juan Font 2021-08-15 23:10:39 +02:00
  • 7d1a5c00a0 Try with longer timeout Kristoffer Dalby 2021-08-13 16:56:28 +01:00
  • 036061664e initial integration test file Kristoffer Dalby 2021-08-13 16:12:01 +01:00
  • 5b1b40ce93 Merge pull request #83 from kradalby/more-integration-tests Kristoffer Dalby 2021-08-13 16:05:32 +01:00
  • a8d9fdce3c Uncomment ping test Kristoffer Dalby 2021-08-13 11:01:23 +01:00
  • 700382cba4 Split stream part of pollhandlermap into its own func Kristoffer Dalby 2021-08-13 10:33:50 +01:00
  • 9698abbfd5 Resolve merge conflict Kristoffer Dalby 2021-08-13 10:33:19 +01:00
  • 5bfcf5c917 Merge pull request #82 from juanfont/really-expire-ephemeral Juan Font 2021-08-12 22:05:53 +02:00
  • 8eb7d47072 Fixed linting Juan Font 2021-08-12 21:57:20 +02:00
  • ab61c87701 Also notify peers when deleting ephemerals Juan Font 2021-08-12 21:53:37 +02:00
  • c1e6157847 Expire ephemeral is internal Juan Font 2021-08-12 21:45:40 +02:00
  • 4c849539fc Expire the ephemeral nodes in the Serve method Juan Font 2021-08-12 21:44:12 +02:00
  • 9c2a630055 Merge pull request #81 from kradalby/integration-tests v0.6.0 Juan Font 2021-08-12 11:15:45 +02:00
  • 0e1ddf9715 Set longer timeout for integration tests Kristoffer Dalby 2021-08-12 07:36:38 +01:00
  • 54da1a4155 Commit the correct integration etc files Kristoffer Dalby 2021-08-12 07:05:26 +01:00
  • 7141e2ed70 Fix hostname passed to join command Kristoffer Dalby 2021-08-11 17:12:39 +01:00
  • c9e5048015 Merge remote-tracking branch 'upstream/main' into integration-tests Kristoffer Dalby 2021-08-08 17:57:28 +01:00
  • 4e077b053c Initial work, add integration tests Kristoffer Dalby 2021-08-08 17:50:32 +01:00
  • f973aef80c Add Dockerfile to build tailscale docker image for integration tests Kristoffer Dalby 2021-08-08 17:43:06 +01:00
  • a43bb1bb40 Improve Dockerfile Kristoffer Dalby 2021-08-08 17:39:39 +01:00
  • d86123195c Add a dockerignore file to speed up builds and make cachine better Kristoffer Dalby 2021-08-08 17:38:44 +01:00
  • 91ffd10192 Remove "Keys: " from create auth key output Kristoffer Dalby 2021-08-08 17:37:23 +01:00
  • 642c7824a7 Add trace log for machine failing to parce ip in toNode Kristoffer Dalby 2021-08-08 17:37:04 +01:00
  • 149279f3d5 Add health endpoint Kristoffer Dalby 2021-08-08 17:36:25 +01:00
  • 275214920f Merge pull request #80 from juanfont/delete-pak Juan Font 2021-08-08 10:52:18 +02:00
  • 0124899759 fixed linting x 2 Juan Font 2021-08-08 00:14:10 +02:00
  • 033136cb9a fixed linting Juan Font 2021-08-08 00:13:44 +02:00
  • 05e08e0ac7 Added cmd to expire preauth keys (requested in #78) Juan Font 2021-08-08 00:10:30 +02:00
  • 226cb89d97 Added func to expire PAKs Juan Font 2021-08-07 23:57:52 +02:00
  • 3007c0ec4f Merge pull request #79 from felixonmars/patch-1 Juan Font 2021-08-07 20:02:16 +02:00
  • 3fa1ac9c79 Correct a typo in routes.go Felix Yan 2021-08-08 01:52:01 +08:00
  • bb2ccfddd9 Merge pull request #77 from kradalby/deadlierlocks v0.5.2 Juan Font 2021-08-07 01:05:01 +02:00
  • 99fd126219 Remove unused mutex Kristoffer Dalby 2021-08-06 21:11:38 +01:00
  • 15b8c8f4c5 Remove lock from keepAlive Kristoffer Dalby 2021-08-06 20:08:51 +01:00
  • 4243885246 Rewrite old lock error msg Kristoffer Dalby 2021-08-06 20:03:25 +01:00
  • 5bc5c5dc1b Remove forgotten lock Kristoffer Dalby 2021-08-06 20:02:47 +01:00
  • db4f49901e Merge pull request #76 from kradalby/no-color-logs v0.5.1 Juan Font 2021-08-06 08:40:54 +02:00
  • 73a00c89ff Try to detect color support, make color configurable Kristoffer Dalby 2021-08-06 07:29:57 +01:00
  • 8a614dabc0 Headscale is from no-juan v0.5.0 Juan Font 2021-08-06 00:23:07 +02:00
  • c95cf15731 Fixed log message Juan Font 2021-08-06 00:21:34 +02:00
  • e7ce902f9d Merge pull request #75 from kradalby/syncmap Juan Font 2021-08-06 00:19:34 +02:00
  • d421c7b665 Merge pull request #74 from kradalby/deadlock-logging Juan Font 2021-08-06 00:18:40 +02:00
  • 1abc68ccf4 Removes locks causing deadlock Kristoffer Dalby 2021-08-05 22:14:37 +01:00
  • 575b15e5fa Add more trace logging Kristoffer Dalby 2021-08-05 21:47:06 +01:00
  • a8c8a358d0 Make log keys lowercase Kristoffer Dalby 2021-08-05 20:57:47 +01:00
  • cd2ca137c0 Make log_level user configurable Kristoffer Dalby 2021-08-05 19:19:25 +01:00
  • 0660867a16 Correct url Kristoffer Dalby 2021-08-05 18:58:15 +01:00
  • b1200140b8 Convert cli/utils.go Kristoffer Dalby 2021-08-05 18:26:49 +01:00
  • d10b57b317 Convert namespaces.go Kristoffer Dalby 2021-08-05 18:23:02 +01:00
  • 42bf566fff Convert acls.go Kristoffer Dalby 2021-08-05 18:18:18 +01:00
  • 0bb2fabc6c Convert missing from api.go Kristoffer Dalby 2021-08-05 18:16:21 +01:00
  • ee704f8ef3 Initial port to zerologger Kristoffer Dalby 2021-08-05 18:11:26 +01:00
  • 4aad3b7933 Improved README.md on ip_prefix v0.4.0 Juan Font 2021-08-03 20:38:23 +02:00
  • 6091373b53 Merge pull request #63 from juanfont/use-kv-for-updates Juan Font 2021-08-03 20:30:33 +02:00
  • 3879120967 Merge pull request #72 from kradalby/ip-pool Juan Font 2021-08-03 20:27:42 +02:00
  • 465669f650 Merge pull request #1 from kradalby/ip-pool-test Kristoffer Dalby 2021-08-03 10:12:09 +01:00
  • ea615e3a26 Do not issue "network" or "broadcast" addresses (0 or 255) Kristoffer Dalby 2021-08-03 10:06:42 +01:00
  • d3349aa4d1 Add test to ensure we can deal with empty ips from database Kristoffer Dalby 2021-08-03 09:26:28 +01:00
  • 73207decfd Check that IP is set before parsing Kristoffer Dalby 2021-08-03 07:42:11 +01:00
  • eda6e560c3 debug logging Kristoffer Dalby 2021-08-02 22:51:50 +01:00
  • 95de823b72 Add test to ensure we can read back ips Kristoffer Dalby 2021-08-02 22:39:18 +01:00
  • 9f85efffd5 Update readme Kristoffer Dalby 2021-08-02 22:06:15 +01:00
  • b5841c8a8b Rework getAvailableIp Kristoffer Dalby 2021-08-02 21:57:45 +01:00
  • 309f868a21 Make IP prefix configurable Kristoffer Dalby 2021-08-02 20:06:26 +01:00
  • 6c903d4a2f Fixed missing nodes cmd v0.3.6 Juan Font 2021-07-31 23:14:24 +02:00
  • c3aa9a5d4c Merge pull request #69 from juanfont/change-default-port v0.3.5 Juan Font 2021-07-31 11:47:15 +02:00
  • 4fb55e1684 Use 8080 as default port, like in the Kubernetes yamls Juan Font Alonso 2021-07-30 17:07:19 +02:00
  • 91bfb481c1 Fix identation Juan Font Alonso 2021-07-30 16:42:26 +02:00
  • 201ba109c3 Merge pull request #62 from ohdearaugustin/topic/refactor-config Juan Font 2021-07-30 16:40:38 +02:00
  • d3f965d493 Merge pull request #66 from juanfont/remove-old-docker Juan Font 2021-07-28 13:43:58 +02:00
  • f832d7325b Merge pull request #67 from kradalby/patch-1 Juan Font 2021-07-27 19:58:15 +02:00
  • b1d1bd32c3 Fix typo in example Kristoffer Dalby 2021-07-27 18:37:43 +01:00
  • df6d4de6fd Remove old docker code Juan Font Alonso 2021-07-27 17:05:22 +02:00
  • 461a893ee4 Added log message when sending updates Juan Font Alonso 2021-07-25 20:47:51 +02:00
  • 97f7c90092 Added communication between Serve and CLI using KV table (helps in #52) Juan Font Alonso 2021-07-25 17:59:48 +02:00
  • ea3043cdcb cmd: Add error check for Persistent Flags ohdearaugustin 2021-07-25 16:26:15 +02:00
  • 04dffcc4ae Refactor cli commands ohdearaugustin 2021-07-25 15:14:09 +02:00
  • 3a07360b6e Add root cmd ohdearaugustin 2021-07-25 15:10:34 +02:00
  • b97d6f71b1 Refactor version cmd ohdearaugustin 2021-07-25 15:09:53 +02:00
  • 4915902e04 Refactor server cmd ohdearaugustin 2021-07-25 15:09:33 +02:00
  • d87a4c87cc Refactor routes cmd ohdearaugustin 2021-07-25 15:08:40 +02:00
  • e56755fd67 Refactor preauthkeys cmd ohdearaugustin 2021-07-25 15:07:27 +02:00
  • 2862c2034b Refactor nodes cmd ohdearaugustin 2021-07-25 15:04:06 +02:00