netbird/client/internal
Misha Bragin 966661fe91
Serve Management gRPC and HTTP on a single 80/443 port (#400)
This PR is a part of an effort to use standard ports (443 or 80) that are usually allowed by default in most of the environments.

Right now Management Service runs the Let'sEncrypt manager on port 443, HTTP API server on port 33071,
and a gRPC server on port 33073. There are three separate listeners.
This PR combines these listeners into one.
With this change, the HTTP and gRPC server runs on either 443 with TLS or 80 without TLS
by default (no --port specified).
Let's Encrypt manager always runs on port 443 if enabled.
The backward compatibility server runs on port 33073 (with TLS or without).
HTTP port 33071 is obsolete and not used anymore.

Newly installed agents will connect to port 443 by default instead of port 33073 if not specified otherwise.
2022-07-29 20:37:09 +02:00
..
peer Use proxy when any candidate is relay (#398) 2022-07-27 18:12:39 +02:00
proxy Handle peer interface config change (#348) 2022-06-04 19:41:01 +02:00
config_test.go Add Settings window to Agent UI 2022-04-15 17:30:12 +02:00
config.go Serve Management gRPC and HTTP on a single 80/443 port (#400) 2022-07-29 20:37:09 +02:00
connect.go Enhance status command (#382) 2022-07-05 19:47:50 +02:00
engine_test.go Add client status collection (#368) 2022-07-02 12:02:17 +02:00
engine.go Fix TURN credentials renewal (#394) 2022-07-21 22:07:38 +02:00
login.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
oauth_test.go Client Login via device authorization flow (#309) 2022-05-12 11:17:24 +02:00
oauth.go Unblock menu when login (#340) 2022-05-28 18:37:08 +02:00
state.go Client Login via device authorization flow (#309) 2022-05-12 11:17:24 +02:00