Skip to content

Tags: mitchellkellett/headscale

Tags

v0.23.0-alpha12

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Simplify map session management (juanfont#1931)

This PR removes the complicated session management introduced in juanfont#1791 which kept track of the sessions in a map, in addition to the channel already kept track of in the notifier.

Instead of trying to close the mapsession, it will now be replaced by the new one and closed after so all new updates goes to the right place.

The map session serve function is also split into a streaming and a non-streaming version for better readability.

RemoveNode in the notifier will not remove a node if the channel is not matching the one that has been passed (e.g. it has been replaced with a new one).

A new tuning parameter has been added to added to set timeout before the notifier gives up to send an update to a node.

Add a keep alive resetter so we wait with sending keep alives if a node has just received an update.

In addition it adds a bunch of env debug flags that can be set:

- `HEADSCALE_DEBUG_HIGH_CARDINALITY_METRICS`: make certain metrics include per node.id, not recommended to use in prod. 
- `HEADSCALE_DEBUG_PROFILING_ENABLED`: activate tracing 
- `HEADSCALE_DEBUG_PROFILING_PATH`: where to store traces 
- `HEADSCALE_DEBUG_DUMP_CONFIG`: calls `spew.Dump` on the config object startup
- `HEADSCALE_DEBUG_DEADLOCK`: enable go-deadlock to dump goroutines if it looks like a deadlock has occured, enabled in integration tests.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

v0.23.0-alpha11

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
trace log and notifier shutdown (juanfont#1922)

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

v0.23.0-alpha10

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
add autogroup:internet, fix reduce filter rules (juanfont#1917)

v0.23.0-alpha9

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Move pprof to metrics router (juanfont#1902)

v0.23.0-alpha8

Fix crash when a prefix family was empty

v0.23.0-alpha7

fix ip migration

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

v0.23.0-alpha6

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Migrate IP fields in database to dedicated columns (juanfont#1869)

v0.23.0-alpha5

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
move debug inside if in docker goreleaser tag (juanfont#1783)

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

v0.23.0-alpha4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix ko dockerhub builds (juanfont#1751)

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

v0.23.0-alpha4-docker-ko-test9

Verified

This commit was signed with the committer’s verified signature.
kradalby Kristoffer Dalby
lol fix

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>