netbird/management/server
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
..
http Serve Management gRPC and HTTP on a single 80/443 port (#400) 2022-07-29 20:37:09 +02:00
idp Warmup IDP cache on Management start (#354) 2022-06-06 12:05:44 +02:00
jwtclaims OpenAPI specification and API Adjusts (#356) 2022-06-14 10:32:54 +02:00
migration Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
mock_server Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
testdata Replace IP allocation logic (#342) 2022-05-29 22:43:39 +02:00
account_test.go Check if new account ID is already being used (#364) 2022-06-20 18:20:43 +02:00
account.go Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
config.go Serve Management gRPC and HTTP on a single 80/443 port (#400) 2022-07-29 20:37:09 +02:00
file_store_test.go Check if new account ID is already being used (#364) 2022-06-20 18:20:43 +02:00
file_store.go OpenAPI specification and API Adjusts (#356) 2022-06-14 10:32:54 +02:00
group.go OpenAPI specification and API Adjusts (#356) 2022-06-14 10:32:54 +02:00
grpcserver.go Serve Management gRPC and HTTP on a single 80/443 port (#400) 2022-07-29 20:37:09 +02:00
management_proto_test.go Serve Management gRPC and HTTP on a single 80/443 port (#400) 2022-07-29 20:37:09 +02:00
management_suite_test.go Move management server to a separate directory (#67) 2021-07-24 16:14:29 +02:00
management_test.go Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
network_test.go Replace IP allocation logic (#342) 2022-05-29 22:43:39 +02:00
network.go Handle peer interface config change (#348) 2022-06-04 19:41:01 +02:00
peer_test.go Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
peer.go Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
rule.go OpenAPI specification and API Adjusts (#356) 2022-06-14 10:32:54 +02:00
setupkey_test.go feature: add update setup key endpoint 2021-08-20 22:33:43 +02:00
setupkey.go fix: minor HTTP bugs 2021-08-25 14:16:17 +02:00
store.go Add rules for ACL (#306) 2022-05-21 15:21:39 +02:00
turncredentials_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
turncredentials.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
updatechannel_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
updatechannel.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
user.go Check if new account ID is already being used (#364) 2022-06-20 18:20:43 +02:00