Brandon Schneider
2858ab402a
Add new shasum for flake.nix
2024-04-11 08:01:26 +02:00
Brandon Schneider
7bea885b8c
Updated dependencies, fixing segfault for OpenBSD
...
Fixes #1857
2024-04-11 08:01:26 +02:00
Riezebos
84de1854f8
Run prettier
2024-04-10 22:19:47 +02:00
Riezebos
6efc50789d
Update docs/faq.md
...
Co-authored-by: Juan Font <juanfontalonso@gmail.com>
2024-04-10 22:19:47 +02:00
Riezebos
0fcfd643fa
More concise
2024-04-10 22:19:47 +02:00
Riezebos
bdf54e802e
Update answer based on comment
2024-04-10 22:19:47 +02:00
Riezebos
dbe32829a1
Update docs/faq.md
...
Co-authored-by: ohdearaugustin <ohdearaugustin@users.noreply.github.com>
2024-04-10 22:19:47 +02:00
Riezebos
2fb7428ba9
Add FAQ question about using the same machine as server and client
2024-04-10 22:19:47 +02:00
Daniel Lo Nigro
8a8e25a8d1
[docs] Use modern Apt command to install package ( #1420 )
2024-03-22 20:32:01 +01:00
Maja Bojarska
4d9021047f
Fix/improve documentation formatting ( #1575 )
...
* Fix docs formatting
* .prettierignore add docu
---------
Co-authored-by: ohdearaugustin <ohdearaugustin@users.noreply.github.com>
2024-03-22 19:55:20 +01:00
ohdearaugustin
74ff14eb30
update docs workflow ( #1832 )
2024-03-22 19:50:35 +01:00
Sandro
c1d4fef194
Downgrade update sent to debug ( #1843 )
2024-03-22 09:28:10 +00:00
George Pchelkin
785b150467
Fix typo in docs - DB file path ( #1546 )
2024-03-19 22:43:43 +01:00
github-actions[bot]
20bf3777d3
docs(README): update contributors ( #1834 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-19 22:39:43 +01:00
github-actions[bot]
c29eddded3
flake.lock: Update ( #1833 )
2024-03-17 09:01:57 +01:00
zx
b477e5f366
Update docker related doc ( #1421 )
2024-03-14 23:01:33 +01:00
Sandro
95004de5e8
docs/reverse-proxy: use standard map, correct X-Forwarded-Proto variable for nginx ( #1790 )
2024-03-14 22:56:55 +01:00
Vitalij Dovhanyc
ef26f58085
update gh workflow actions ( #1809 )
2024-03-13 13:43:06 +01:00
github-actions[bot]
1d3eae8861
Update flake.lock ( #1657 )
...
Flake lock file updates:
• Updated input 'flake-utils':
'github:numtide/flake-utils/1ef2e671c3b0c19053962c07dbda38332dcebf26' (2024-01-15)
→ 'github:numtide/flake-utils/d465f4819400de7c8d874d50b982301f28a84605' (2024-02-28)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/442d407992384ed9c0e6d352de75b69079904e4e' (2024-02-09)
→ 'github:NixOS/nixpkgs/0e7f98a5f30166cbed344569426850b21e4091d4' (2024-03-09)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-10 12:40:31 +01:00
Juan Font
a244eabd03
Ephemeral keys can now be reusable and non-reusable
...
Fixes the issue reported in #1712 . In Tailscale SaaS, ephemeral keys can be single-user or reusable. Until now, our ephemerals were only reusable. This PR makes us adhere to the .com behaviour.
2024-03-03 12:37:37 +01:00
Vitalij Dovhanyc
e15a08326c
simplify integration testing with matrix jobs ( #1799 )
...
* simplify integration testing with matrix jobs
* check if all of the integration tests are in the test-integration workflow
2024-03-02 22:36:38 +01:00
Kristoffer Dalby
c9966ba6c2
fix postgres migration ( #1802 )
2024-03-01 19:11:46 +01:00
Kristoffer Dalby
7a920ee701
move debug inside if in docker goreleaser tag ( #1783 )
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-19 14:03:31 +01:00
Kristoffer Dalby
8b2c31aabc
fix ifs in goreleaser gotemplate ( #1781 )
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-19 10:50:52 +01:00
Kristoffer Dalby
5dbd59ca55
Get integration test netmap from watch-ipn command ( #1729 )
2024-02-18 23:22:18 +01:00
Kristoffer Dalby
3f162c212c
drop unused last_successful_update field from node table ( #1754 )
2024-02-18 23:22:07 +01:00
Kristoffer Dalby
384ca03208
new IP allocator and add postgres to integration tests. ( #1756 )
2024-02-18 19:31:29 +01:00
Kristoffer Dalby
f581d4d9c0
replace linter actions with nix to ensure consistent version ( #1773 )
2024-02-18 13:33:40 +01:00
Kristoffer Dalby
b60ee9db54
improve errors for missing directories ( #1765 )
...
* improve errors for missing directories
Fixes #1761
Updates #1760
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
* update container docs
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
* update changelog with /var changes
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
---------
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-17 13:36:19 +01:00
Kristoffer Dalby
c73e8476b9
make database configuration change breaking ( #1766 )
...
A lot of things are breaking in 0.23 so instead of having this
be a long process, just rip of the plaster.
Updates #1758
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-17 13:18:15 +01:00
Kristoffer Dalby
6055d0b397
rollback gorm, broke migration #1755 ( #1762 )
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-17 13:17:16 +01:00
Kristoffer Dalby
1904d79e90
rework docker tags ( #1763 )
...
* rework docker tags
This commit tries to align the new docker tags with the old schema
A prerelease will end up with the following tags:
- unstable
- v0.23.0-alpha3
- 0.23.0.alpha3
- sha-1234adsfg
A release will end up with:
- latest
- stable
- v0.23.0
- v0.23
- v0
- 0.23.0
- 0.23
- 0
- sha-1234adsfg
All of the builds will also have a `-debug` version.
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
* update changelog
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
---------
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-17 13:15:31 +01:00
Sandro
1b01b9e14f
Reduce poll logging to debug ( #1746 )
...
Before this logged ~10 messages every few seconds and quite spamming the
log.
2024-02-16 10:32:23 +01:00
Calvin Figuereo-Supraner
5717c8255a
Use result of fmt.Errorf call ( #1668 )
2024-02-15 11:02:54 +01:00
Kristoffer Dalby
c42f25bd72
fix ko dockerhub builds ( #1751 )
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-15 10:23:01 +01:00
Stepan
82c64f682c
Docs: fix path to nologin shell ( #1610 )
2024-02-15 08:43:50 +01:00
Linus
7afc2fd180
TLS documentation updates ( #1733 )
...
* TLS documentation updates
Move "Bring your own certificates" to the top
since the letsencrypt section is now much longer, it seems wrong to
keep such a short section way down at the bottom.
Restructure "Challenge types" into separate sections
Add technical description of letsencrypt renewals
this aims to answer:
- what can be expected in terms of renewals
- what logs can be expected (none)
- how to validate that renewal happened successfully
- the reason for some of the 'acme/autocert' logs, or at least
some best-effort assumptions
* +prettier
2024-02-15 08:43:01 +01:00
Kristoffer Dalby
5109af94a3
login to docker registries ( #1744 )
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-12 16:01:56 +01:00
Kristoffer Dalby
905fdaa409
remove quotes from command ( #1742 )
...
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-12 15:09:19 +01:00
Kristoffer Dalby
0333e97630
Build docker images with ko (goreleaser) ( #1716 )
...
* make dockerfiles testing only note
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
* setup ko image builder for goreleaser
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
* remove release-docker
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
* remove non-debug Dockerfile
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
* Comments and lint
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
* build debug images based on debian
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
* remove debug flag for goreleaser
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
---------
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
2024-02-12 14:53:07 +01:00
DeveloperDragon
e3553aae50
Allow when user has only a subnet route ( #1734 )
...
* Add test because of issue 1604
* Add peer for routes
* Revert previous change to try different way to add peer
* Add traces
* Remove traces
* Make sure tests have IPPrefix comparator
* Get allowedIps before loop
* Remove comment
* Add composite literals :)
2024-02-12 11:44:37 +01:00
Pallab Pain
47405931c6
✨ feat(apikey): adds command to delete api keys ( #1702 )
...
We currently do not have a way to clean up api keys. There may be cases
where users of headscale may generate a lot of api keys and these may
end up accumulating in the database. This commit adds the command to
delete an api key given a prefix.
2024-02-12 11:31:21 +01:00
foosinn
c4beb0b8af
document setting oidc client secret cia env ( #1649 )
2024-02-12 09:20:31 +01:00
Kristoffer Dalby
3f2b238a46
Upgrade to Go 1.22 and update deps ( #1728 )
...
* go 1.22
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
* upgrade tailscale
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
* add script for getting nix sri for go
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
* update deps and only build headscale
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
* add script to update all deps
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
* get golines and golangci from upstream nix
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
---------
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
2024-02-12 09:11:33 +01:00
Kristoffer Dalby
68a8ecee7a
Prepare notify channel before sending first update ( #1730 )
...
* create channel before sending first update
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
* do not notify on register, wait for connect
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
---------
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-12 09:11:17 +01:00
lööps
c3257e2146
docs(windows-client): add Windows registry command ( #1658 )
...
Add Windows registry command to create the `Tailscale IPN` path before setting properties.
2024-02-09 19:16:17 +01:00
Pallab Pain
9047c09871
✨ feat: add pqsql configs for open and idle connections ( #1583 )
...
When Postgres is used as the backing database for headscale,
it does not set a limit on maximum open and idle connections
which leads to hundreds of open connections to the Postgres
server.
This commit introduces the configuration variables to set those
values and also sets default while opening a new postgres connection.
2024-02-09 17:34:28 +01:00
Kristoffer Dalby
91bb85e7d2
Update bug_report.md ( #1672 )
2024-02-09 07:27:13 +01:00
Kristoffer Dalby
94b30abf56
Restructure database config ( #1700 )
2024-02-09 07:27:00 +01:00
Kristoffer Dalby
00e7550e76
Add assert func for verifying status, netmap and netcheck ( #1723 )
2024-02-09 07:26:41 +01:00