Commit Graph
48 Commits
Author SHA1 Message Date
pascal 096d4ac529 rewrite peer creation and network map calc [WIP] 2026-02-04 20:01:00 +01:00
Alisdair MacLeod 8fafde614a Merge remote-tracking branch 'origin/prototype/reverse-proxy' into prototype/reverse-proxy 2026-02-04 16:52:42 +00:00
Alisdair MacLeod 694ae13418 add stateless proxy sessions 2026-02-04 16:52:35 +00:00
Eduard Gert b5b7dd4f53 Add other error pages 2026-02-04 17:12:26 +01:00
Viktor Liu 476785b122 Remove health check addr override 2026-02-04 22:32:46 +08:00
Viktor Liu 907677f835 Set readiness false on disconnect right away 2026-02-04 22:28:53 +08:00
Viktor Liu 7d844b9410 Add health checks 2026-02-04 22:18:45 +08:00
Eduard Gert eeabc64a73 Merge remote-tracking branch 'origin/prototype/reverse-proxy' into prototype/reverse-proxy 2026-02-04 15:11:33 +01:00
Eduard Gert 5da2b0fdcc Add error page 2026-02-04 15:11:22 +01:00
Alisdair MacLeod a0005a604e fix minor potential security issues with OIDC 2026-02-04 12:25:19 +00:00
Alisdair MacLeod 28f3354ffa Merge remote-tracking branch 'origin/prototype/reverse-proxy' into prototype/reverse-proxy
# Conflicts:
#	management/internals/modules/reverseproxy/reverseproxy.go
#	management/internals/server/boot.go
#	management/internals/shared/grpc/proxy.go
#	proxy/internal/auth/middleware.go
#	shared/management/proto/proxy_service.pb.go
#	shared/management/proto/proxy_service.proto
#	shared/management/proto/proxy_service_grpc.pb.go
2026-02-04 11:56:04 +00:00
Alisdair MacLeod 562923c600 management OIDC implementation using pkce 2026-02-04 11:51:46 +00:00
Viktor Liu ca33849f31 Use a 1:1 mapping of netbird client to netbird account
- Add debug endpoint for monitoring netbird clients
- Add types package with AccountID type
- Refactor netbird roundtrip to key clients by AccountID
- Multiple domains can share the same client per account
- Add status notifier for tunnel connection updates
- Add OIDC flags to CLI
- Add tests for netbird client management
2026-02-04 14:48:20 +08:00
Eduard Gert 733ea77c5c Add proxy auth ui 2026-02-03 19:05:55 +01:00
pascal bffb25bea7 add status confirmation for certs and tunnel creation 2026-02-03 16:58:14 +01:00
Alisdair MacLeod 5243481316 get OIDC configuration from proxy flags/env 2026-02-03 12:10:23 +00:00
Alisdair MacLeod 30cfc22cb6 correct proto and proxy authentication for oidc 2026-02-03 09:01:39 +00:00
Alisdair MacLeod a73ee47557 ignore ports when performing proxy mapping lookups 2026-02-02 14:39:13 +00:00
Alisdair MacLeod 30572fe1b8 add domain validation using values from proxies 2026-02-02 09:53:49 +00:00
Alisdair MacLeod 3a6f364b03 use a defined logger
this should avoid issues with the embedded
client also attempting to use the same global logger
2026-01-30 16:31:32 +00:00
Alisdair MacLeod f882c36e0a simplify authentication 2026-01-30 14:08:52 +00:00
Alisdair MacLeod e95cfa1a00 add support for some basic authentication methods 2026-01-29 16:34:52 +00:00
pascal 0d480071b6 pass accountID 2026-01-29 14:47:22 +01:00
pascal 8e0b7b6c25 add api for access log events 2026-01-29 14:27:57 +01:00
Alisdair MacLeod 7d74904d62 add roundtripper debug log 2026-01-29 12:03:14 +00:00
Alisdair MacLeod 760ac5e07d use the netbird client transport directly 2026-01-29 11:11:28 +00:00
Alisdair MacLeod 4352228797 allow setting the proxy url for autocert server name 2026-01-29 10:03:48 +00:00
Alisdair MacLeod 74c770609c fix access log context cancelled 2026-01-29 09:33:23 +00:00
mlsmaycon c86da92fc6 update log init 2026-01-28 23:18:54 +01:00
mlsmaycon 3f0c577456 use util.InitLog 2026-01-28 22:59:08 +01:00
mlsmaycon a0a61d4f47 add extra debug logs 2026-01-28 21:26:57 +01:00
Alisdair MacLeod 95bf97dc3c add env var for debug logs 2026-01-28 16:38:24 +00:00
Alisdair MacLeod 3d116c9d33 add debug logs and switch to logrus for logs 2026-01-28 15:44:35 +00:00
Alisdair MacLeod a9ce9f8d5a add grpc TLS with selection inferred from management URL 2026-01-28 13:44:47 +00:00
Alisdair MacLeod 1daea35e4b remove scheme information from management address when connecting via grpc 2026-01-28 12:36:13 +00:00
Alisdair MacLeod a4c1362bff pass proxy information to management on grpc connection 2026-01-28 10:50:35 +00:00
pascal a103f69767 remove basic auth scheme 2026-01-27 17:53:59 +01:00
pascal c084386b88 add docker file 2026-01-27 11:42:51 +01:00
Alisdair MacLeod 703ef29199 start and stop netbird embedded clients in proxy 2026-01-27 08:33:44 +00:00
Alisdair MacLeod 1d8390b935 refactor layout and structure 2026-01-26 09:28:46 +00:00
pascal 304321d019 put grpc endpoint on management and send test exposed service 2026-01-16 14:24:39 +01:00
pascal 183619d1e1 cleanup 2026-01-16 12:01:52 +01:00
pascal 3b832d1f21 discard client logs 2026-01-15 17:59:07 +01:00
pascal fcb849698f add cert manager with self signed cert support 2026-01-15 17:54:16 +01:00
pascal 7527e0ebdb use embedded netbird agent for tunneling 2026-01-15 17:03:27 +01:00
pascal ed5f98da5b cleanup 2026-01-15 14:54:33 +01:00
pascal 12b38e25da using go http reverseproxy with OIDC auth 2026-01-14 23:53:55 +01:00
pascal 626e892e3b trying embedded caddy reverse proxy 2026-01-14 17:16:42 +01:00