Skip to content

Releases: juanfont/headscale

v0.17.0-beta1

31 Oct 17:03
Compare
Choose a tag to compare
v0.17.0-beta1 Pre-release
Pre-release

Changelog

0.17.0 (2022-XX-XX)

BREAKING

  • Log level option log_level was moved to a distinct log config section and renamed to level #768

Changes

  • Added support for Tailscale TS2021 protocol #738
  • Add ability to specify config location via env var HEADSCALE_CONFIG #674
  • Target Go 1.19 for Headscale #778
  • Target Tailscale v1.30.0 to build Headscale #780
  • Give a warning when running Headscale with reverse proxy improperly configured for WebSockets #788
  • Fix subnet routers with Primary Routes #811
  • Added support for JSON logs #653
  • Sanitise the node key passed to registration url #823
  • Add support for generating pre-auth keys with tags #767
  • Add support for evaluating autoApprovers ACL entries when a machine is registered #763
  • Add config flag to allow Headscale to start if OIDC provider is down #829
  • Random node DNS suffix only applied if names collide in namespace. #766
  • Remove ip_prefix configuration option and warning #899
  • Add dns_config.override_local_dns option #905
  • Fix some DNS config issues #660

Commits

  • 2c0488d Add Execute helper for controlserver
  • ff217cc Add back head and unstable, ts 1.32.0
  • ed2236a Add buildtags to pls
  • 13aa845 Add comment about scenario test
  • 25e39d9 Add get ips command to scenario
  • d8144ee Add initial pingallbyhostname
  • cb61a49 Add namespace command test
  • 2bf50bc Add new integration tests to ci
  • 0cf9c4c Add nolint since go os has weird casing
  • 239ef16 Add preauthkey command test
  • 5013187 Add some sort stability
  • ca8bca9 Add support for "override local DNS" (#905)
  • 0db608a Add tailscale versions, waiters and helpers for scenario
  • 3951f39 Add wait for peers and status to tsic
  • 308b9e7 Defince control server interface
  • a9c3b14 Define a "scenario", which is a controlserver with nodes
  • a846e13 Expose and use ports consistently
  • 7155b22 Factor out some commonly used patterns
  • 8893100 Fail correctly if container exist
  • 6b67584 Fix DERP name in integration tests
  • aca3a66 Fix declaration of pointer
  • a0ec369 Fix error declaration
  • 12ee9bc Fix golangcilint
  • 6d8c18d Fix golangcilint
  • 4e8b95e Fix issue 660 (#874)
  • 40c048f Fix lint
  • e8b3de4 Fix lint
  • df36bcf Fix machine test from marger
  • bc1c1f5 Fix most nil pointers, actually make it check for unique across headscale
  • d56ad29 Fix nolint comment
  • 073308f Fix the proposed noise private_key_path
  • 70ecda6 Fix warning on success
  • 9f58eeb Fix zero arguments error
  • 53b4bb2 Fixup after ts interface
  • 79864e0 Fmt md with prettier
  • 21ec543 Give user better feedback if headscale socket is unwritable
  • 23a0946 Integration, remove retry
  • f109b54 Join test suite container to network, allowing seperate networks
  • 37a4d41 Make addr configurable
  • d242cea Make hostname dns safe, allow string in ping command
  • 4904ccc Make sure mock container is removed before started
  • 201f81c Make sure mockoidc is up, has unique name and removed if exist
  • 830d59f Merge branch 'main' into feature-random-suffix-on-collision
  • 40b3de9 Merge branch 'main' into feature-random-suffix-on-collision
  • 03194e2 Merge branch 'main' into feature-random-suffix-on-collision
  • 611f7c3 Merge branch 'main' into integration-remove-v1-genera
  • e112514 Merge branch 'main' into integration-ts-interface
  • 73eae8e Merge branch 'main' into integration-v2-cli
  • 2ca286e Merge branch 'main' into integration-v2-cli
  • 21b06f6 Merge branch 'main' into integration-v2-no-verbose
  • e7e2c78 Merge branch 'main' into integration-v2-resolve-magicdns
  • 907aa07 Merge branch 'main' into main
  • 852cb90 Merge branch 'main' into main
  • 463180c Merge branch 'main' into main
  • 88d1287 Merge branch 'main' into patch-1
  • 1eea9c9 Merge branch 'main' into patch-1
  • 5333df2 Merge branch 'main' into sanitise-machine-key-url
  • d06ba7b Merge branch 'main' into sanitise-machine-key-url
  • d69a5f6 Merge branch 'main' into update-xsync-version
  • babd303 Merge pull request #771 from shanna/feature-random-suffix-on-collision
  • d575dac Merge pull request #823 from kradalby/sanitise-machine-key-url
  • 98f5b7f Merge pull request #837 from ShadowJonathan/patch-1
  • c00e559 Merge pull request #840 from juanfont/update-contributors
  • 9c16d5e Merge pull request #843 from phpmalik/patch-1
  • f18e222 Merge pull request #844 from kradalby/container-exist-fix
  • 399c325 Merge pull request #852 from kevin1sMe/main
  • 0048ed0 Merge pull request #853 from zhzy0077/patch-1
  • cf40d2a Merge pull request #854 from kradalby/integration-split
  • 4dd2eef Merge pull request #855 from Donran/main
  • 587a016 Merge pull request #856 from kradalby/integration-v2
  • e96bcee Merge pull request #859 from kradalby/new-integration-versions
  • a395045 Merge pull request #865 from kradalby/integration-no-build-tags
  • 129afdb Merge pull request #871 from kradalby/integration-ts-interface
  • ecce82d Merge pull request #875 from thetillhoff/main
  • ae189c0 Merge pull request #884 from kradalby/integration-v2-ping-by-hostname
  • 9c30939 Merge pull request #887 from kradalby/integration-v2-taildrop
  • 8d46986 Merge pull request #888 from juanfont/update-contributors
  • a647e6a Merge pull request #889 from kradalby/integration-v2-resolve-magicdns
  • 91c0a15 Merge pull request #890 from kradalby/integration-v2-cli
  • a14f482 Merge pull request #891 from kradalby/integration-ditch-retry
  • 5c9c4f2 Merge pull request #892 from kradalby/integration-v2-no-verbose
  • 341db0c Merge pull request #895 from puzpuzpuz/update-xsync-version
  • 7f69b08 Merge pull request #896 from kradalby/update-golines
  • c1c22a4 Merge pull request #897 from kradalby/integration-remove-v1-genera
  • 018b1d6 Migrate taildrop test to v2
  • 0b0fb0a Minor change
  • f68ba75 Move some helper functions into dockertestutil package
  • 22cabc1 No interactive tty
  • b2bca2a Only run integration tests from dir in new tests
  • 39bc6f7 Port PingAll test to new test suite
  • 7e6ab19 Port preauthkey subcommand tests
  • 93082b8 Protect against user injection for registration CLI page
  • 2aebd29 Random suffix only on collision.
  • d706c35 Remove 1.16 from FQDN, bump 1.32.1
  • 2b10226 Remove extra line
  • dde39aa Remove general v1 makefile entry
  • 94ad0a1 Remove ip_prefix, its been deprecated for a long time (#899)
  • e45ba37 Remove v1 general integration tests
  • bcdd34b Remove v1 general integration tests code
  • 86c132c Remove verbose flag for v2 tests, increase timeout
  • fa3d21c Rename pingall test to signal ip
  • a94ed05 Run all integration tests fully in docker
  • 85df2c8 Run oidc tests fully in docker
  • 4cb7d63 Set better names for different integration tests
  • 0e12b66 Simplify code around latest state change map updates
  • eda4321 Skip integration tests on short or lack of docker
  • 21dd212 Split integration tests into seperate jobs
  • 8ee35c9 Stuff
  • f3dbfc9 Style change
  • c6f82c3 Switch from hacking buildtags to selecting tests
  • 382a37f Test against last patch version
  • 54e3a0d Test with a longer timeout
  • 701f990 Unify code snippet comment location
  • 75a8fc8 Update changelog
  • 3a6257b Update everything else
  • 5d3c027 Update golines
  • 62e3fa0 Update nix
  • 3659461 Update reverse-proxy document for istio/envoy
  • ad31378 Update vendor sha in nix
  • 06e12f7 Update: tips about warnning log
  • fafa3f8 Upgrade tailscale
  • cbbf9fb Use FQDN from tailscale client
  • c9823ce Use TailscaleClient interface instead of tsic
  • dfadb96 Use short test to signal that we dont run integration
  • 2bb3475 Validate the incoming nodekey with regex before attempting to parse
  • 4df47de add nolint to integrationtests, they are going away ™️
  • 32c21a0 cache go mod in docker, speed up local
  • a3d3ad2 docs(README): update contributors
  • b22e628 docs(README): update contributors
  • 72e2fa4 docs(README): update contributors
  • 8502a0a dont request tty
  • d900f48 expose right porsts
  • 84f9f60 go mod tidy
  • 8be14ef gofumpt
  • 36ad000 golangci-lint --fix
  • b331e3f hsic: ControlServer implementation of headscale in docker
  • 8c4744a make TailscaleClient interface
  • fe4e05b only print stdout on err
  • 7015d72 port resolve magicdns test
  • 76689c2 remove fixed todo
  • c90d0dd remove the need to bind host port
  • b0a4ee4 test login with one node
  • fa8b02a tsic: Tailscale in Container abstraction
  • 1469425 update flake vendor hash
  • 2d170fe update tests
  • 2f36a11 use short flag for nix build test
  • aef77a1 use variable for namespace

v0.17.0-alpha4

26 Sep 12:53
5fe6538
Compare
Choose a tag to compare
v0.17.0-alpha4 Pre-release
Pre-release

Changelog

  • f6e8341 Add PR link to changelog
  • a3f18f2 Add internal mockoidc command
  • 3abca99 Add logs for issues in Actions
  • 2462989 Add new config option to cli integration tests
  • 256b6cb Add new option to config-example
  • 98e7842 Add nix overlay to flake
  • 90e840c Add reverse proxy documentation
  • 60cc9dd Add test for autoApprovers feature
  • 3a04247 Add web sockets section
  • dc18d64 Add websockets config
  • b27b789 Added base config file template
  • 2e97119 Added derp config to OIDC etc
  • 95948e0 Added indication of workaround for #814
  • 41353a5 Added integration tests for OIDC on Makefile
  • b117ca7 Added missing TLS key for testing
  • 7a171cf Added sleep to workaround #814
  • 791272e Adds grpc/cli support for preauthkey tags
  • dbe58e5 Allow headscale to start if oidc setup fails.
  • 45df6e7 Apply suggestions from code review
  • 1c267f7 Capture listen error on mockoidc
  • fc4361b Delete FUNDING.yml
  • b3a53bf Do not load the config for CLI mockoidc (and version)
  • 6faa1d2 Fix tests broken by preauthkey tags
  • 804d9d8 Format nix with alejandra
  • e286ba8 Format reverse-proxy.md
  • 5774b32 Include OIDC in the full execution
  • fca3805 Initial work on OIDC tests
  • 083d2a8 Linting fixes
  • a9da953 Merge branch 'main' into autoapprovers
  • 5b12ab9 Merge branch 'main' into autoapprovers
  • 548551c Merge branch 'main' into autoapprovers
  • adb352e Merge branch 'main' into autoapprovers
  • 6d2cfd5 Merge branch 'main' into autoapprovers
  • 9810d84 Merge branch 'main' into autoapprovers
  • 84c4b03 Merge branch 'main' into fix-https-listen
  • ed58b2e Merge branch 'main' into fix-https-listen
  • 1a30bcb Merge branch 'main' into nix-overlay
  • d83a28b Merge branch 'main' into oidc-integration-testing
  • 8aa0eef Merge branch 'main' into oidc-integration-testing
  • f6153a9 Merge branch 'main' into preauthkey-tags
  • 8a1c0e0 Merge branch 'main' into preauthkey-tags
  • 470c493 Merge branch 'main' into preauthkey-tags
  • e056b86 Merge branch 'main' into preauthkey-tags
  • 09863b5 Merge branch 'main' into preauthkey-tags
  • 2c73f8e Merge branch 'main' into remove-gin-references
  • ddd9282 Merge branch 'main' into remove-gin-references
  • 12d5b6a Merge branch 'main' into remove-sponsorship
  • e3f1fd1 Merge branch 'main' into remove-sponsorship
  • aca1c1b Merge branch 'main' into remove-sponsorship
  • 6fe86df Merge branch 'main' into remove-sponsorship
  • becf918 Merge branch 'main' into remove-sponsorship
  • 31662bc Merge branch 'main' into reverse-proxy
  • 9b1dcb2 Merge branch 'main' into reverse-proxy
  • e6e5872 Merge branch 'main' into reverse-proxy
  • 44be239 Merge branch 'main' into reverse-proxy
  • 7092a3e Merge branch 'oidc-integration-testing' of https://github.com/juanfont/headscale into oidc-integration-testing
  • a507a04 Merge pull request #763 from tsujamin/autoapprovers
  • 8fa05c1 Merge pull request #767 from tsujamin/preauthkey-tags
  • c9b39da Merge pull request #790 from mike-lloyd03/reverse-proxy
  • a46170e Merge pull request #793 from juanfont/remove-sponsorship
  • bd6282d Merge pull request #801 from juanfont/oidc-integration-testing
  • 22c68ff Merge pull request #815 from juanfont/remove-gin-references
  • 5f975cb Merge pull request #829 from kradalby/oidc-dependency
  • 8fbba1a Merge pull request #830 from kradalby/nix-overlay
  • 5fe6538 Merge pull request #831 from kradalby/fix-https-listen
  • 71b7123 Minor change on the base config for OIDC
  • 9088521 Move lets enc listener into go routine
  • 0fe3c21 Move map block out of server block
  • 94be5ca Nix update
  • 9c0cf45 OIDC integration tests working
  • f33e3e3 Parse the OIDC login URL
  • fb25a06 Preserve current behaviour with a config flag
  • c21479c Print docker network config
  • 91e3039 Remove --rm flag from Docker example
  • ce25a1e Remove sponsor buttons
  • e87b470 Removed fmt.Println for linting
  • f2928d7 Removed gin from go.sum (Github security notice)
  • 5f384c6 Removed old code and minor changes
  • 9c58395 Removed unused param after routes fix
  • 6953598 Return stderr too in ExecuteCommand
  • cb70d7c Return the results on error
  • fc6a1e1 Revert overlay overlapping
  • b2f3ffb Run integration tests in Actions
  • ac18723 Set tags as part of handleAuthKeyCommon
  • 7653ad4 Split GetRouteApprovers from EnableAutoApprovedRoutes
  • 6b4d533 Update changelog
  • e5decbd Update changelog
  • d764f52 Update changelog
  • 02ab3a2 Update changelog
  • 99307d1 Update nix sum
  • 1563d75 Use Headscale container to run mockoidc
  • 8dcc82c Use oidc if it initialised, not if it is configured
  • d0e945f _ unused variable
  • e27a4db add acl_tags to PreAuthKey proto
  • 7761a7b fix autoapprover test following tagged authkey change
  • 72a4300 fix broken preauth-key tag test
  • 8a8ec74 fix linting issues in preauthkey tags
  • 688cba7 fix linting mistakes
  • 81dd9b2 format
  • 004ebca initial implementation of autoApprovers support
  • c52e3aa remove unnecessary checks on slices
  • 842c28a replace netaddr usage with netip

v0.17.0-alpha3

21 Sep 09:01
cdc8bab
Compare
Choose a tag to compare
v0.17.0-alpha3 Pre-release
Pre-release

BREAKING

  • Log level option log_level was moved to a distinct log config section and renamed to level #768

Changes

  • Added support for Tailscale TS2021 protocol #738
  • Add ability to specify config location via env var HEADSCALE_CONFIG #674
  • Target Go 1.19 for Headscale #778
  • Target Tailscale v1.30.0 to build Headscale #780
  • Give a warning when running Headscale with reverse proxy improperly configured for WebSockets #788
  • Fix subnet routers with Primary Routes #811
  • Added support for JSON logs #653

v0.17.0-alpha2

04 Sep 15:01
af60ffb
Compare
Choose a tag to compare
v0.17.0-alpha2 Pre-release
Pre-release

Changelog

  • Added support for Tailscale TS2021 protocol #738
  • Add ability to specify config location via env var HEADSCALE_CONFIG #674
  • Target Go 1.19 for Headscale #778
  • Target Tailscale v1.30.0 to build Headscale #780
  • Give a warning when running Headscale with reverse proxy improperly configured for WebSockets #788

v0.17.0-alpha1

22 Aug 21:15
53857d4
Compare
Choose a tag to compare
v0.17.0-alpha1 Pre-release
Pre-release

Changelog

  • Added support for Tailscale TS2021 protocol #738
  • Add ability to specify config location via env var HEADSCALE_CONFIG #674

v0.16.4

21 Aug 09:57
0c7f1ea
Compare
Choose a tag to compare

Changelog

  • Add ability to connect to PostgreSQL over TLS/SSL #745
  • Fix CLI registration of expired machines #754

v0.16.3

18 Aug 09:48
f738031
Compare
Choose a tag to compare

Changelog

  • Fix issue with OIDC authentication #747

v0.16.2

14 Aug 21:22
e29ac8a
Compare
Choose a tag to compare

Changelog

  • Fixed bugs in the client registration process after migration to NodeKey #735

v0.16.1

12 Aug 08:06
Compare
Choose a tag to compare

Changelog

  • Updated dependencies (including the library that lacked armhf support) #722
  • Fix missing group expansion in function excludeCorretlyTaggedNodes #563
  • Improve registration protocol implementation and switch to NodeKey as main identifier #725
  • Add ability to connect to PostgreSQL via unix socket #734

v0.16.0

25 Jul 08:30
0212db3
Compare
Choose a tag to compare

BREAKING

  • Old ACL syntax is no longer supported ("users" & "ports" -> "src" & "dst"). Please check the new syntax.

Changes

  • Drop armhf (32-bit ARM) support. #609
  • Headscale fails to serve if the ACL policy file cannot be parsed #537
  • Fix labels cardinality error when registering unknown pre-auth key #519
  • Fix send on closed channel crash in polling #542
  • Fixed spurious calls to setLastStateChangeToNow from ephemeral nodes #566
  • Add command for moving nodes between namespaces #362
  • Added more configuration parameters for OpenID Connect (scopes, free-form paramters, domain and user allowlist)
  • Add command to set tags on a node #525
  • Add command to view tags of nodes #356
  • Add --all (-a) flag to enable routes command #360
  • Fix issue where nodes was not updated across namespaces #560
  • Add the ability to rename a nodes name #560
    • Node DNS names are now unique, a random suffix will be added when a node joins
    • This change contains database changes, remember to backup your database before upgrading
  • Add option to enable/disable logtail (Tailscale's logging infrastructure) #596
    • This change disables the logs by default
  • Use [Prometheus]'s duration parser, supporting days (d), weeks (w) and years (y) #598
  • Add support for reloading ACLs with SIGHUP #601
  • Use new ACL syntax #618
  • Add -c option to specify config file from command line #285 #612
  • Add configuration option to allow Tailscale clients to use a random WireGuard port. kb/1181/firewalls #624
  • Improve obtuse UX regarding missing configuration (ephemeral_node_inactivity_timeout not set) #639
  • Fix nodes being shown as 'offline' in tailscale status #648
  • Improve shutdown behaviour #651
  • Drop Gin as web framework in Headscale 648 677
  • Make tailnet node updates check interval configurable #675
  • Fix regression with HTTP API #684
  • nodes ls now print both Hostname and Name(Issue #647 PR #687)