Commit Graph

  • 07418140a2 Remove config loading of private key path Kristoffer Dalby 2021-11-26 23:29:41 +00:00
  • c63c259d31 Switch wgkey for types/key Kristoffer Dalby 2021-11-26 23:28:06 +00:00
  • 50b47adaa3 Upgrade tailscale to 1.18 Kristoffer Dalby 2021-11-26 23:27:09 +00:00
  • b6ae60cc44 The create-node subcommand under debug needs a 64 character key. Ward Vandewege 2021-11-26 14:49:51 -05:00
  • d944aa6e79
    Merge pull request #237 from cure/preauthkeys-fix-default-expiration Ward Vandewege 2021-11-26 11:09:43 -05:00
  • 25cb6a9dd5 Reverted my poor fix for the expiration bug, fixed in #237 Josef Citrine 2021-11-26 15:59:16 +00:00
  • c2cc71b3d2
    Merge branch 'main' into auth-subnet Josef Citrine 2021-11-26 15:56:11 +00:00
  • 2830ecc1d4 Test subnet validation Josef Citrine 2021-11-26 15:54:24 +00:00
  • eceb8d7ca7 Moved subnet validation out of CLI Josef Citrine 2021-11-26 15:54:19 +00:00
  • 06f05d6cc2
    Merge branch 'main' into preauthkeys-fix-default-expiration Kristoffer Dalby 2021-11-26 15:46:00 +00:00
  • 0819c6515a
    Merge pull request #238 from juanfont/kradalby-patch-3 Kristoffer Dalby 2021-11-26 15:45:38 +00:00
  • 16a0c3e55e Linted Josef Citrine 2021-11-26 15:37:49 +00:00
  • 3eeb2757e0 Parse IP with netaddr Josef Citrine 2021-11-26 15:31:39 +00:00
  • 167925b264 Fixed auth key expired error Josef Citrine 2021-11-26 15:13:20 +00:00
  • c7f3e0632b When creating a preauthkey, the default expiration was passed through as a nil value, instead of the default value (1h). This resulted in the preauthkey being created with expiration key '0001-01-01 00:00:00', which meant the key would not work, because it was already expired. Ward Vandewege 2021-11-25 19:23:10 -05:00
  • 657f8948cc Removed shorthand for subnet Josef Citrine 2021-11-26 14:13:25 +00:00
  • 77a3ac8890 Added subnet to protobuf Josef Citrine 2021-11-26 14:12:19 +00:00
  • 5f3c6a46a0 Merge remote-tracking branch 'upstream/main' into auth-subnet Josef Citrine 2021-11-26 13:50:04 +00:00
  • 58fd6c4ba5
    Revert postgres constant value Kristoffer Dalby 2021-11-26 07:13:00 +00:00
  • aab4a6043a
    Merge branch 'main' into kradalby-patch-2 Kristoffer Dalby 2021-11-25 08:38:59 +00:00
  • a52a4d45c0
    Merge pull request #236 from restanrm/fix-derp-example-config Kristoffer Dalby 2021-11-25 08:37:45 +00:00
  • 54d19877ab
    Merge branch 'main' into patch-1 Juan Font 2021-11-24 18:57:43 +01:00
  • 45bc3f7a09
    Merge branch 'main' into fix-derp-example-config Juan Font 2021-11-24 18:57:31 +01:00
  • 5620858549
    Merge pull request #227 from kradalby/expired-issue Kristoffer Dalby 2021-11-24 17:49:33 +00:00
  • f2e273b8a2 fix(derp-example): change regionid in nodes Adrien Raffin-Caboisse 2021-11-24 15:51:24 +01:00
  • cec1e86b58 Add missing request arguemnt Kristoffer Dalby 2021-11-24 12:16:56 +00:00
  • dcbf289470 Rename idKey to machineKey to keep consistency Kristoffer Dalby 2021-11-24 12:15:55 +00:00
  • fdd64d98c8 Add missing iff to handle expired preauthkey machines Kristoffer Dalby 2021-11-24 12:15:32 +00:00
  • 9968992be0 Fix prettier Kristoffer Dalby 2021-11-24 10:47:20 +00:00
  • f50f9ac894 Merge branch 'expired-issue' of github.com:kradalby/headscale into expired-issue Kristoffer Dalby 2021-11-24 10:13:49 +00:00
  • 2eca344f0e Fix gocritic Kristoffer Dalby 2021-11-24 10:13:41 +00:00
  • 349264830b
    Use .1 Kristoffer Dalby 2021-11-23 11:27:44 +00:00
  • 0b5c29022b
    Merge branch 'main' into expired-issue Kristoffer Dalby 2021-11-22 20:13:33 +00:00
  • 1f1c45a2c0 Fix cli_test Kristoffer Dalby 2021-11-22 19:59:44 +00:00
  • 68dc2a70db Update neighbours if node is expired or refreshed Kristoffer Dalby 2021-11-22 19:51:16 +00:00
  • caf1b1cabc Fix typo Kristoffer Dalby 2021-11-22 19:35:24 +00:00
  • 021c464148 Add cache for requested expiry times Kristoffer Dalby 2021-11-22 19:32:52 +00:00
  • e600ead3e9 Make sure nodes can reauthenticate Kristoffer Dalby 2021-11-22 19:32:11 +00:00
  • 200c10e48c Add missing return in oidc.go Kristoffer Dalby 2021-11-22 17:22:47 +00:00
  • e8faff4fe2 Use uint64 straight instead of converting Kristoffer Dalby 2021-11-22 17:22:22 +00:00
  • 5cbd4513a4 Simplify register function if Kristoffer Dalby 2021-11-22 17:21:56 +00:00
  • a477c808c7
    Merge pull request #230 from lion24/patch-1 Kristoffer Dalby 2021-11-22 09:47:37 +00:00
  • 74044f62f4
    Remove anouther potential error leak Kristoffer Dalby 2021-11-21 21:54:19 +00:00
  • fcd4d94927
    Clean up logging and error handling in oidc Kristoffer Dalby 2021-11-21 21:51:39 +00:00
  • fac33e46e1
    Add long description for expire Kristoffer Dalby 2021-11-21 21:35:36 +00:00
  • b152e53b13
    Use correct type for nodes command Kristoffer Dalby 2021-11-21 21:34:03 +00:00
  • 1687e3b03f
    Removed unused parameter Kristoffer Dalby 2021-11-21 21:29:27 +00:00
  • c2393685f1
    Remove expiry update in expiry, we dont want to extend it just because they _try_ to connect Kristoffer Dalby 2021-11-21 21:14:40 +00:00
  • fd5f42c2e6
    Move handle expired machine to the end of registration Kristoffer Dalby 2021-11-21 21:14:13 +00:00
  • bda2d9c3b0 Remove unused param Kristoffer Dalby 2021-11-21 14:00:48 +00:00
  • c4ecc4db91 Simplify control flow in RegistrationHandler Kristoffer Dalby 2021-11-21 13:59:24 +00:00
  • 8ccc51ae57 Remove special case for authkey Kristoffer Dalby 2021-11-21 13:45:19 +00:00
  • a2b9f3bede Add expire (logout) machine command Kristoffer Dalby 2021-11-21 13:40:44 +00:00
  • bd1d1b1a3b Implement ExpireMachine rpc Kristoffer Dalby 2021-11-21 13:40:19 +00:00
  • f1c05f8010 Add ExpireMachine spec to rpc Kristoffer Dalby 2021-11-21 13:40:04 +00:00
  • f85a77edb5 Remove println statement Kristoffer Dalby 2021-11-21 09:48:59 +00:00
  • 1c7aff5dd9 Add expired column to machine list command Kristoffer Dalby 2021-11-21 09:44:38 +00:00
  • e7531eeccf
    Update Running.md Nerdtality 2021-11-20 20:17:15 -06:00
  • e91f72fe4c
    Running.md: fix missing backslash (\) lion24 2021-11-20 23:31:49 +01:00
  • 5a2cae5081
    Add new Tailscale version to integration tests Kristoffer Dalby 2021-11-19 09:16:11 +00:00
  • 6a9dd2029e Remove expiry logic, this needs to be redone Kristoffer Dalby 2021-11-19 09:02:49 +00:00
  • 9aac1fb255 Remove expiry logic, this needs to be redone Kristoffer Dalby 2021-11-19 09:02:29 +00:00
  • 106b1e7e8d Create constants for other reg methods Kristoffer Dalby 2021-11-18 17:51:54 +00:00
  • 836986aa59
    Merge pull request #225 from fdelucchijr/patch-1 Kristoffer Dalby 2021-11-18 10:13:07 +00:00
  • 58d1255357 Remove unneeded returns Kristoffer Dalby 2021-11-18 08:51:33 +00:00
  • 981f712660 Remove unused param Kristoffer Dalby 2021-11-18 08:51:21 +00:00
  • 50dcb8bb75 Use valid handler for registered authkey machines Kristoffer Dalby 2021-11-18 08:50:53 +00:00
  • a8a8f01429 Make "authKey" a constant Kristoffer Dalby 2021-11-18 08:49:55 +00:00
  • 35c3fe9608 Move registration workflow into functions Kristoffer Dalby 2021-11-17 22:39:41 +00:00
  • f74b9f5fe2 Styling and prettier Fernando De Lucchi 2021-11-17 16:25:37 -05:00
  • de42fe3b04
    Merge branch 'main' into patch-1 Fernando De Lucchi 2021-11-16 19:10:42 -05:00
  • 49f835d8cf
    Merge pull request #214 from ItalyPaleAle/docker-distroless Kristoffer Dalby 2021-11-16 07:34:08 +00:00
  • 7bc2f41b33 Run prettier 💄 ItalyPaleAle 2021-11-15 15:37:40 -08:00
  • a10388b709
    Merge branch 'main' into docker-distroless Alessandro (Ale) Segala 2021-11-15 15:19:06 -08:00
  • bd7b5e97cb
    Merge branch 'main' into patch-1 Kristoffer Dalby 2021-11-15 23:00:45 +00:00
  • 4b525a3967
    Merge pull request #223 from kradalby/golanglint Kristoffer Dalby 2021-11-15 22:36:02 +00:00
  • d6739386a0
    Get rid of dynamic errors Kristoffer Dalby 2021-11-15 19:18:14 +00:00
  • 25b790d025
    Add and fix forcetypeassert Kristoffer Dalby 2021-11-15 18:42:44 +00:00
  • db8be91d8b
    Add and fix forbidigo Kristoffer Dalby 2021-11-15 18:36:02 +00:00
  • c4d4c9c4e4
    Add and fix gosec Kristoffer Dalby 2021-11-15 18:31:52 +00:00
  • 715542ac1c
    Add and fix stylecheck (golint replacement) Kristoffer Dalby 2021-11-15 17:24:24 +00:00
  • 0c005a6b01
    Add and fix errname Kristoffer Dalby 2021-11-15 16:33:16 +00:00
  • 0c45f8d252
    Add and fix errorlint Kristoffer Dalby 2021-11-15 16:26:41 +00:00
  • 2dde1242cf
    Fix formatting Kristoffer Dalby 2021-11-15 16:16:35 +00:00
  • 78cfba0a31
    Add exceptions to var name length Kristoffer Dalby 2021-11-15 16:16:16 +00:00
  • 8ae682b412
    Fix var name length in tests Kristoffer Dalby 2021-11-15 16:16:04 +00:00
  • 333be80f9c
    Fix rest of var name in main code Kristoffer Dalby 2021-11-15 16:15:50 +00:00
  • 2efefca737
    Merge pull request #1 from ohdearaugustin/docker-workflows Alessandro (Ale) Segala 2021-11-14 13:33:13 -08:00
  • c6bc9fffe9 workflows/release: fix docker debug tags ohdearaugustin 2021-11-14 22:24:27 +01:00
  • 8454c1b52c workflows/release: add docker debug ohdearaugustin 2021-11-14 21:15:33 +01:00
  • 471c0b4993
    Initial work eliminating one/two letter variables Kristoffer Dalby 2021-11-14 20:32:03 +01:00
  • 53ed749f45
    Start work on making gocritic pass Kristoffer Dalby 2021-11-14 18:44:37 +01:00
  • ba084b9987
    Lint fix integration tests Kristoffer Dalby 2021-11-14 18:35:49 +01:00
  • 85f28a3f4a
    Remove all instances of undefined numbers (gonmd) Kristoffer Dalby 2021-11-14 18:31:51 +01:00
  • 796072a5a4
    Add and fix ifshort Kristoffer Dalby 2021-11-14 18:09:22 +01:00
  • 9390348a65
    Add and fix goconst Kristoffer Dalby 2021-11-14 18:06:25 +01:00
  • c9c16c7fb8
    Remove unused params or returns Kristoffer Dalby 2021-11-14 18:03:21 +01:00
  • 19cd7a4eac
    Add and fix exhaustive Kristoffer Dalby 2021-11-14 17:52:55 +01:00
  • 0315f55fcd
    Add and fix nilnil Kristoffer Dalby 2021-11-14 17:51:34 +01:00
  • 668e958d3e
    Add and fix unconvert Kristoffer Dalby 2021-11-14 17:49:54 +01:00