Eduard Gert
ba9158d159
Remove peer card from proxy error page
2026-02-10 14:39:25 +01:00
pascal
a803f47685
add network map support for clustering
2026-02-10 14:29:20 +01:00
Viktor Liu
79fed32f01
Add wg port configuration
2026-02-10 19:55:48 +08:00
Viktor Liu
6b00bb0a66
Strip session_token on redirect
2026-02-10 18:27:31 +08:00
mlsmaycon
e2adef1eea
add back notBefore and now to cert log
2026-02-09 20:37:20 +01:00
pascal
9e5fa11792
handle multiple path
2026-02-09 19:25:30 +01:00
pascal
1ff75acb31
handle default ports
2026-02-09 19:23:39 +01:00
pascal
1754160686
handle default ports
2026-02-09 19:21:43 +01:00
pascal
423f6266fb
handle default ports
2026-02-09 18:18:53 +01:00
pascal
16d1b4a14a
handle default ports
2026-02-09 18:15:26 +01:00
pascal
7c14056faf
fix resource lookup
2026-02-09 17:58:28 +01:00
pascal
62e37dc2e2
fix host resolution
2026-02-09 17:56:38 +01:00
pascal
6a08695ee8
Merge branch 'main' into prototype/reverse-proxy
2026-02-09 17:16:00 +01:00
pascal
9a67a8e427
send updates on changes
2026-02-09 17:06:04 +01:00
Viktor Liu
73aa0785ba
Add cert health info to checks
2026-02-09 22:55:12 +08:00
Viktor Liu
53c1016a8e
Add graceful shutdown for Kubernetes
2026-02-09 22:55:12 +08:00
Viktor Liu
fd442138e6
Add cert hot reload and cert file locking
...
Adds file-watching certificate hot reload, cross-replica ACME
certificate lock coordination via flock (Unix) and Kubernetes lease
objects.
2026-02-09 22:55:12 +08:00
pascal
be5f30225a
fix embedded exception
2026-02-09 15:28:48 +01:00
pascal
7467e9fb8c
use portrange
2026-02-09 14:46:23 +01:00
pascal
2390c2e46e
change network map calc to inject proxy policies
2026-02-09 14:41:22 +01:00
Zoltan Papp
6981fdce7e
[client] Fix race condition and ensure correct message ordering in Relay ( #5265 )
...
* Fix race condition and ensure correct message ordering in
connection establishment
Reorder operations in OpenConn to register the connection before
waiting for peer availability. This ensures:
- Connection is ready to receive messages before peer subscription
completes
- Transport messages and onconnected events maintain proper ordering
- No messages are lost during the connection establishment window
- Concurrent OpenConn calls cannot create duplicate connections
If peer availability check fails, the pre-registered connection is
properly cleaned up.
* Handle service shutdown during relay connection initialization
Ensure relay connections are properly cleaned up when the service is not running by verifying `serviceIsRunning` and removing stale entries from `c.conns` to prevent unintended behaviors.
2026-02-09 11:34:24 +01:00
Viktor Liu
08403f64aa
[client] Add env var to skip DNS probing ( #5270 )
2026-02-09 11:09:11 +01:00
Viktor Liu
391221a986
[client] Fix uspfilter duplicate firewall rules ( #5269 )
2026-02-09 10:14:02 +01:00
mlsmaycon
778c223176
fix api handler path
2026-02-09 02:30:06 +01:00
mlsmaycon
36cd0dd85c
temp fix import cycle
2026-02-09 02:10:21 +01:00
mlsmaycon
09a1d5a02d
rename endpoint
2026-02-09 01:48:51 +01:00
mlsmaycon
7c996ac9b5
add AuthCallbackURL
2026-02-09 01:18:49 +01:00
mlsmaycon
cf9fd5d960
add AuthClientID
2026-02-08 19:41:52 +01:00
mlsmaycon
1c5ab7cb8f
add logger support to acme manager
2026-02-08 19:11:27 +01:00
Viktor Liu
aaad3b25a7
Increase client startup timeout
...
The client has to start mgmt, signal, relay and wireguard/netstack.
If this times out, the client shuts down and never manages to start.
2026-02-09 02:02:18 +08:00
Viktor Liu
9904235a2f
Improve embed client error detection and reporting
2026-02-09 01:51:53 +08:00
Viktor Liu
780e9f57a5
Improve mgmt backoff
2026-02-09 01:51:53 +08:00
mlsmaycon
a8db73285b
add issued time log and CT timestamp logs
2026-02-08 18:13:50 +01:00
Viktor Liu
3b43c00d12
Use unique static path for auth assets to avoid collision with routes
2026-02-09 01:10:50 +08:00
Viktor Liu
2f390e1794
Conflate default ports
2026-02-09 00:57:08 +08:00
Viktor Liu
3630ebb3ae
Add option to rewrite redirects
2026-02-09 00:44:47 +08:00
Viktor Liu
260c46df04
Fix broken auth redirect
2026-02-09 00:02:54 +08:00
Viktor Liu
7f11e3205d
Validate target id
2026-02-08 23:44:31 +08:00
Viktor Liu
1c8f92a96f
Fix management nil pointer
2026-02-08 23:29:16 +08:00
Viktor Liu
7b6294b624
Refuse to service a service if auth setup failed
2026-02-08 23:24:43 +08:00
Viktor Liu
156d0b1fef
Fix duplicate path
2026-02-08 21:41:32 +08:00
Viktor Liu
2cf00dba58
Fix missing route
2026-02-08 21:36:55 +08:00
Viktor Liu
d2a7f3ae36
Fix pass host header
2026-02-08 21:33:48 +08:00
Viktor Liu
6a64d4e4dd
Remove test deployment specs
2026-02-08 21:13:22 +08:00
Viktor Liu
51e63c246b
Add health status to debug
2026-02-08 21:04:46 +08:00
mlsmaycon
99e6b1eda4
attempt to trigger ssl before first request
...
1. When AddDomain() is called (when proxy receives a new mapping), it now spawns a goroutine to prefetch the certificate
2. prefetchCertificate() creates a synthetic tls.ClientHelloInfo and calls GetCertificate() to trigger the ACME flow
3. The certificate is cached by autocert.DirCache, so subsequent real requests will use the cached cert
4. If the cert is already cached (e.g., proxy restart), GetCertificate just returns it without making ACME requests
2026-02-08 10:59:36 +01:00
Viktor Liu
dc26a5a436
Merge branch 'main' into prototype/reverse-proxy
2026-02-08 17:50:16 +08:00
Viktor Liu
3883b2fb41
Fix netbird_test.go
2026-02-08 17:49:03 +08:00
Viktor Liu
ed58659a01
Set forwarded headers from trusted proxies only
2026-02-08 17:49:03 +08:00
Viktor Liu
5190923c70
Improve logging requests
2026-02-08 17:49:03 +08:00