Commit graph

97 commits

Author SHA1 Message Date
Tobias Cudnik
94ca72e370
NET-173 Sync EndpointDetection config (#2374)
* adding serverconfig logic and variable to hosts

* - sync EndpointDetection on peerupdate
- add EndpointDetection to env config

* - endpoint detection always comes from the server
- fixed ENDPOINT_DETECTION -> NETCLIENT_ENDPOINT_DETECTION

---------

Co-authored-by: afeiszli <alex.feiszli@gmail.com>
2023-06-13 16:33:53 -04:00
Abhishek Kondur
423abf0fe4 add use_turn option to config,check if server is using turn 2023-04-28 14:06:28 +05:30
Abhishek Kondur
9e0038f39c merge conflicts resolved 2023-04-25 11:12:22 +04:00
Abhishek Kondur
4f95e9f562 add basic auth to turn server apis, handle host registration on server 2023-04-17 15:33:05 +04:00
Abhishek Kondur
f54ae9ae8f turnserver registration apis 2023-04-06 08:50:34 +04:00
Abhishek Kondur
cafdfa70c1 turn server poc 2023-03-22 11:00:03 +04:00
Anish Mukherjee
96d7b67822 add auto update config to server yaml 2023-03-21 18:05:04 +05:30
Matthew R Kasun
b3cfbe7266 default proxy mode 2023-03-13 14:39:13 -04:00
afeiszli
dba954c529 add stunlist string to serverconfig 2023-03-03 10:37:04 -05:00
afeiszli
bf8a5bbc69 changing StunList to slice 2023-03-03 10:28:50 -05:00
afeiszli
4ff135e196 adding StunList 2023-03-01 17:10:36 -05:00
dcarns
dbf6f1034b
Merge pull request #2058 from gravitl/feature_emqx
Add emqx boilerplate
2023-02-28 08:41:39 -05:00
Anish Mukherjee
c57c892119 remove duplicate env var 2023-02-27 21:19:59 +05:30
Anish Mukherjee
2700acc1d7 user BROKER_ENDPOINT and SERVER_BROKER_ENDPOINT 2023-02-23 17:48:37 +05:30
Anish Mukherjee
186064052c fix broker type yaml tag 2023-02-22 20:37:08 +05:30
Anish Mukherjee
d2adf88b21 add emqx boilerplate 2023-02-22 20:37:08 +05:30
yearski
efa8b0e465
remove DefaultNodeLimit
originally added in c97bb95203
2023-02-20 02:36:29 -07:00
yearski
ac0ff1fc2a
remove ServerCheckinInterval
orphaned by 2a5405982e
2023-02-20 02:29:43 -07:00
yearski
67f5eff181
config: remove AgentBackend
deprecated by 7152f6ccd4
2023-02-20 02:20:37 -07:00
Abhishek Kondur
cb308e11f4 Merge branch 'develop' of https://github.com/gravitl/netmaker into GRA-1011/remove_mq_dyn_sec 2023-02-07 20:46:57 +04:00
Abhishek Kondur
bd878f79c1 merge conflicts resolved 2023-02-07 14:24:39 +04:00
0xdcarns
6a5057f57b removed client mode and references 2023-02-06 12:14:52 -05:00
Matthew R Kasun
77cfae41ff remove postup/down 2023-02-02 11:16:54 -05:00
Matthew R Kasun
9b072e1050 remove network capabilities from netmaker
remove NET_ADMIN, NET_RAW, SYS_MODULE capabilities from docker-compose
files
remove sysctls from dockerfiles
remove ManageIPTables and PortForwardServices from ServerConfig
remove functions related to removed attributes
2023-01-23 12:37:07 -05:00
Abhishek Kondur
81e9febf2a rm mq dynamic security, add mq username,password to config 2023-01-19 23:11:28 +05:30
Abhishek Kondur
79aa9893dc change stun port to int type 2022-12-08 21:45:32 +05:30
Abhishek Kondur
80c7d46ec6 docker compose update, add stun to caddyfile 2022-12-06 19:27:38 +05:30
Abhishek Kondur
5b7ead91e6 merge conflicts resolved 2022-12-02 10:08:01 +05:30
Abhishek Kondur
f95306ddbd make proxy optional 2022-11-20 09:35:29 +05:30
Matthew R. Kasun
b3f90f2929 add hostid and separate server name/broker name 2022-11-02 11:22:40 -04:00
Abhishek Kondur
1b92cb2442 add stun to servercfg 2022-10-26 10:53:57 +05:30
Abhishek Kondur
f632bec11d merge conflicts resolved 2022-09-26 17:47:20 +05:30
Abhishek Kondur
55542f3359 mq admin password config 2022-09-26 16:54:09 +05:30
afeiszli
4917c457db added ee check 2022-09-13 15:44:45 -04:00
0xdcarns
88cd0a6497 initial commit 2022-09-13 15:25:56 -04:00
cameronts
a925f4635c Lowercased publicipservice. 2022-07-28 10:16:50 -07:00
cameronts
067d2aca2d Added config file handling for public IP service. 2022-07-27 11:57:37 -07:00
0xdcarns
5c2106dd46 re-add server mq port 2022-07-07 14:08:24 -04:00
0xdcarns
3a74170ab2 added v0.14.5 and removed MQ_SERVER_PORT 2022-07-07 10:23:07 -04:00
capric98
2fa31a6947 add oidc provider for auth 2022-06-25 23:47:00 +08:00
Matthew R. Kasun
53b3e7f415 configurable mq ports 2022-05-25 10:31:44 -04:00
Matthew R. Kasun
501108b53d Remove config.Server.Debug
no longer required with move to logger.Log and it's verbosity
capabilities
2022-05-09 09:49:17 -04:00
Matthew R. Kasun
747d6bc692 remove comms network leftovers
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-22 05:21:35 -04:00
Matthew R. Kasun
e1b590d43f another attempt at fixing logging 2022-04-21 17:48:36 -04:00
Matthew R. Kasun
fa29b09aab permit setting of verbosity from config
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-21 16:18:27 -04:00
Matthew R. Kasun
7152f6ccd4 remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
Matthew R. Kasun
935567761b mq direct to server public ip 2022-04-12 10:43:02 -04:00
John Sahhar
a27cabc744 main: Add flag (-c) for configuration path
Adds an optional flag (-c) to the netmaker binary
for passing in an absolute path to a netmaker config
file.

Example:

	netmaker -c /etc/default/netmaker-server.yaml

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-22 15:22:38 -06:00
john s
24f292c934
netclient: pass by value -> reference (#919)
* netclient: pass by value -> reference

Updates various function arguments to accept config.ClientConfig
as a reference to avoid deep copying the struct.

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-20 23:43:17 -05:00
john s
eb974dbd63
config/config_test: add test (#882)
* Adds a test for parsing the dev.yaml config included in the repository
* Changes readConfig() to return an error in addition to the envrionment
  config

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-18 14:06:48 -05:00