Commit Graph

  • 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
  • 53185eaa9e Refactor namespaces cmd ohdearaugustin 2021-07-25 15:03:45 +02:00
  • b83ecc3e6e
    Merge pull request #61 from ohdearaugustin/topic/refactor-cli-versionCmd Juan Font 2021-07-25 12:00:06 +02:00
  • 04fdd94201
    Merge pull request #60 from cure/tls-more-readme-changes Juan Font 2021-07-25 11:38:31 +02:00
  • 48ec51d166 Refactor cmdVersion to cli package ohdearaugustin 2021-07-25 02:02:05 +02:00
  • 3260362436 Add some more detail to the README about the different Let's Encrypt validation methods. Ward Vandewege 2021-07-24 09:01:20 -04:00
  • 5f60671d12
    Merge pull request #59 from qbit/tls_letsencrypt_listen Ward Vandewege 2021-07-24 09:03:04 -04:00
  • 69d77f6e9d Add a 'tls_letsencrypt_listen' config option Aaron Bieber 2021-07-23 16:12:01 -06:00
  • 09ec217bb1 Fixing linting issue Juan Font 2021-07-19 20:12:37 +02:00
  • 52f372cdbe Added init command to generate a working env Juan Font 2021-07-19 19:42:42 +02:00
  • 1af9c11bdd
    Merge pull request #54 from juanfont/delete-nodes Juan Font 2021-07-19 16:18:09 +02:00
  • 57c115e60a Fix linting error: Juan Font Alonso 2021-07-17 11:17:42 +02:00
  • 96b4d2f391 Mark the machine as unregistered before soft delete Juan Font Alonso 2021-07-17 11:12:24 +02:00
  • 0f649aae8b Ask for confirmation before deleting Juan Font Alonso 2021-07-17 11:09:42 +02:00
  • f491db232b
    Merge pull request #55 from cure/letsencrypt-more-flexible-config v0.3.4 Juan Font 2021-07-17 11:01:08 +02:00
  • 9a24340bd4 Turn the combination of TLS-ALPN-01 and listen_addr on a port other than 443 into a warning, not an error, refs #53. Ward Vandewege 2021-07-16 22:02:05 -04:00
  • 39b756cf55 Fixed linting Juan Font Alonso 2021-07-17 00:29:14 +02:00
  • 9ca2ae7fc5 Implemented delete nodes (#52) Juan Font Alonso 2021-07-17 00:23:12 +02:00
  • f3139d26c8 Added methods to delete nodes Juan Font Alonso 2021-07-17 00:14:22 +02:00
  • 6f20a1fc68
    Merge pull request #51 from tianon/typo Juan Font 2021-07-16 18:04:46 +02:00
  • 243b961cbe
    Fix minor typo Tianon Gravi 2021-07-16 15:07:13 +00:00
  • 5748744134 Use ubuntu 18.04 as build env v0.3.3 Juan Font Alonso 2021-07-12 17:04:28 +02:00
  • 31556e1ac0
    Merge pull request #48 from juanfont/better-profile-info v0.3.2 Juan Font 2021-07-11 16:44:16 +02:00
  • 0159649d0a Send the namespace name as user to the clients Juan Font Alonso 2021-07-11 16:39:19 +02:00
  • cf9d920e4a Minor typo v0.3.1 Juan Font Alonso 2021-07-11 15:10:37 +02:00
  • 7d46dfe012 Only load ACLs if a path is present Juan Font Alonso 2021-07-11 15:10:11 +02:00
  • eabb1ce881 Fix minor typo on the register webpage Juan Font Alonso 2021-07-11 15:05:32 +02:00
  • db20985b06 Show N/A in reusable when key is ephemeral v0.3.0 Juan Font Alonso 2021-07-11 13:14:25 +02:00
  • 29b80e3ca1 Fix debug mode enabled by default in db Juan Font Alonso 2021-07-11 13:13:36 +02:00
  • a16a763283 Update README.md with info on ACLs Juan Font Alonso 2021-07-11 13:04:33 +02:00
  • ad7f03c9dd
    Merge pull request #47 from juanfont/handle-ephemeral-reconnect Juan Font 2021-07-11 11:41:23 +02:00
  • bff3d2d613 Added HTTP responses on errors Juan Font Alonso 2021-07-11 11:37:17 +02:00
  • f66c283756
    Merge pull request #46 from Teteros/update-derp-servers Juan Font 2021-07-10 23:29:54 +02:00
  • ad454d95b9
    Update DERP server definitions Teteros 2021-07-10 09:00:35 +01:00
  • e67a98b758
    Merge pull request #44 from juanfont/acls Juan Font 2021-07-07 16:19:45 +02:00
  • ecf258f995 Use gorm connection pool Juan Font Alonso 2021-07-04 21:56:13 +02:00
  • d4b27fd54b Merge branch 'main' into acls Juan Font Alonso 2021-07-04 21:54:55 +02:00
  • 90e9ad9a0e
    Merge pull request #45 from juanfont/reuse-gorm-connection v0.2.2 Juan Font 2021-07-04 21:51:43 +02:00
  • ff9d99b9ea Use gorm connection pool Juan Font Alonso 2021-07-04 21:40:46 +02:00
  • 7590dee1f2 Removed unnecessary prints Juan Font 2021-07-04 13:47:59 +02:00
  • 315bc6b677 Added acl path key in example config Juan Font 2021-07-04 13:41:38 +02:00
  • a1b8f77b1b Fixed tests Juan Font 2021-07-04 13:40:45 +02:00
  • 19443669bf Fixed linting issues Juan Font 2021-07-04 13:33:00 +02:00
  • d446e8a2fb More stuff in go.sum Juan Font 2021-07-04 13:24:27 +02:00
  • 202d6b506f Load ACL policy on headscale startup Juan Font 2021-07-04 13:24:05 +02:00
  • 401e6aec32 And more tests Juan Font 2021-07-04 13:23:31 +02:00
  • bd86975d10 Added missing go.mod Juan Font 2021-07-04 13:10:15 +02:00
  • d0e970f21d Added more unit tests Juan Font 2021-07-04 13:01:41 +02:00
  • 07e95393b3 Rule generation kinda working, missing tests Juan Font 2021-07-04 12:35:18 +02:00
  • 136aab9dc8 Work in progress in rule generation Juan Font 2021-07-03 17:31:32 +02:00
  • bbd6a67c46 Added more acl test hujsons Juan Font 2021-07-03 17:31:08 +02:00
  • 31ea67bcaf
    Minor addenda to README.md Juan Font 2021-07-03 16:10:22 +02:00
  • 5644dadaf9 Added dependency on hujson Juan Font 2021-07-03 12:02:46 +02:00
  • 874aa4277d
    Minor changes in the README.md Juan Font 2021-07-03 12:01:19 +02:00
  • b161a92e58 Initial work on ACLs Juan Font 2021-07-03 11:55:32 +02:00
  • 95fee5aa6f
    Merge pull request #43 from juanfont/use-plurals-for-cmds v0.2.1 Juan Font 2021-06-29 23:38:03 +02:00
  • f5b8a3f710 Make all commands a plural word Juan Font Alonso 2021-06-28 20:04:05 +02:00
  • ba87ade9c5
    Merge pull request #42 from juanfont/tailscale-1.8.x Juan Font 2021-06-26 18:36:46 +02:00
  • aa27709e60 Update code to Tailscale 1.10 v0.2.0 Juan Font Alonso 2021-06-25 18:57:08 +02:00