v0.22.2

juanfont/headscalev0.22.2May 11, 2023by github-actions[bot]

AI Summary

Release including profiling support, systemd fixes, and improvements to the Noise implementation.

Key Highlights

  • Add environment flags to enable pprof (profiling)
  • Fix systemd service file location in `.deb` packages
  • Improvements on Noise implementation
  • Replace node filter logic, ensuring nodes with access can see each other

Full Release Notes

## Changelog

- Add environment flags to enable pprof (profiling) [#1382](https://github.com/juanfont/headscale/pull/1382)
  - Profiles are continously generated in our integration tests.
- Fix systemd service file location in `.deb` packages [#1391](https://github.com/juanfont/headscale/pull/1391)
- Improvements on Noise implementation [#1379](https://github.com/juanfont/headscale/pull/1379)
- Replace node filter logic, ensuring nodes with access can see eachother [#1381](https://github.com/juanfont/headscale/pull/1381)
- Disable (or delete) both exit routes at the same time [#1428](https://github.com/juanfont/headscale/pull/1428)
- Ditch distroless for Docker image, create default socket dir in `/var/run/headscale` [#1450](https://github.com/juanfont/headscale/pull/1450)

## Commits
* 00c5146 Add IP forwarding requirement to documentation
* 1a7ae11 Add basic testcases for Machine.canAccess
* 56dd734 Add go profiling flag, and enable on integration tests (#1382)
* f113cc7 Add missing GH releases page link
* eacd687 Added DERP integration tests
* 9478c28 Added missing file
* 997e934 Added web ui section
* 991ff25 Added workflow for embedded derp
* f73354b Create default sock path in Docker
* 02ab0df Disable and Delete route must affect both exit routes (IPv4 and IPv6)
* 4c8f8c6 Ditch distroless for Docker image
* b465592 Do not use host networking in embedded DERP tests
* 549f5a1 Expand surface of hsic for better TLS support
* bb07aec Expand tsic to offer PingViaDerp
* df72508 Fix : Change master branch to main
* 0f8d8fc Fix : Updating the doc path
* a2b7608 Fix extra space
* f60c5a1 Fix socket location in config.go
* bab4e14 Further clarification on unsupported ranges in config example
* 7338775 Give a warning when users have set an unsupported prefix
* dcf2439 Improved website
* 8077203 Improvements on Noise implementation (#1379)
* a45777d Put systemd service file in proper location
* 1d2b4bc Remove legacy DERP tests
* 96f9680 Reuse Ping function for DERP ping
* 5706f84 Revert "Revert unix_socket to default value"
* ca54fb9 Revert unix_socket to default value
* 57fd5cf Update CHANGELOG.md
* 744e5a1 Update CHANGELOG.md
* 3ea1750 Update CHANGELOG.md
* 6c5723a Update CHANGELOG.md
* 526e568 Update changelog
* c7db99d Update changelog + prepare for 0.22.2
* 9f38125 Update config.go
* 493bcfc Update mkdocs.yml
* 6043ec8 Update mkdocs.yml
* 22e397e Use common path in unix_socket default setting
* ccedf27 add a filter case with really large destination set #1372
* 5bbbe43 clear up the acl function naming
* 10320a5 lint and nolint tailscale borrowed func
* 200e3b8 make generateFilterRule a pol struct func
* 644be82 move matcher to separate file
* d011373 optimize generateACLPeerCacheMap (#1377)
* 1700a74 outline tests for full filter generate
* ecd62fb remove terrible filter code
* 6de53e2 simplify expandAlias function, move seperate logic out
* 889d5a1 testing without that horrible filtercode
* b23a915 trim dockerfiles, script to rebuild test images (#1403)
* 0d24e87 update flake hash
* 6215eb6 update flake hash (#1376)
* ba45d7d update readme and templates to clarify scope (#1437)
* 735b185 use IPSet in acls instead of string slice
* 56b63c6 use netipx.IPSet for matcher