Commit graph

52 commits

Author SHA1 Message Date
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
0xdcarns 6028e1b6de added comms checks 2022-02-18 19:37:12 -05:00
afeiszli c6a7238453 adding random comms network name logic 2022-02-18 15:18:50 -05:00
afeiszli f55eeedbb9 settings for comms network 2022-02-18 11:11:21 -05:00
Alex ec3d1c035f
Merge branch 'develop' into feature_v0.10.0_initialize_iptables 2022-01-26 00:47:21 -05:00
afeiszli 3b84aceec9 adding iptables functionality 2022-01-26 00:46:12 -05:00
afeiszli cc8037c921 initial commit of iptables functionality 2022-01-25 11:58:51 -05:00
Matthew R Kasun c239ee3787 Merge branch 'develop' into feature-messageQueue 2022-01-24 06:21:21 -05:00
Matthew R Kasun 2310977391 refactor to reduce number of types of message in message queue simplifying the subscribers and publishers 2022-01-21 05:19:17 -05:00
afeiszli 4d2a85f879 adding telemetry 2022-01-20 17:50:42 -05:00
Matthew R Kasun b15a5112fc fixes due to rebase 2022-01-20 15:41:06 -05:00
Matthew R Kasun a94e848021 WIP commit 2022-01-20 13:13:38 -05:00
Matthew R Kasun b85ab18404 Rebase to develop (#4)
* add nameserver in call to CreateUserSpaceConf

* fixed user deletion

* changed log

* go mod tidy and conver azure tenant to env/conf var

* added egress relayed addrs to relayed nodes

* added post commands for wg quick

* refactored ncutils x-platform

* log fix

* adding egress to relay

* fixing egress on relay

Co-authored-by: dcarns <75687250+0xdcarns@users.noreply.github.com>
Co-authored-by: 0xdcarns <dillon.carns@gmail.com>
Co-authored-by: afeiszli <alex.feiszli@gmail.com>
2022-01-20 13:10:59 -05:00
Matthew R Kasun 3e016ef8b5 WIP commit 2022-01-20 12:50:00 -05:00
0xdcarns 12e718f008 updated version, made RCE optional 2022-01-05 13:13:03 -05:00
0xdcarns dcaba24b11 added egress relayed addrs to relayed nodes 2022-01-03 11:30:02 -05:00
0xdcarns 76a75fb984 go mod tidy and conver azure tenant to env/conf var 2022-01-03 10:02:40 -05:00
afeiszli 84c8299bb0 freebsd working 2021-11-15 11:42:52 -05:00
afeiszli 437955ab90 saving to work on linux 2021-11-14 16:50:20 -05:00
0xdcarns 4e4e8b3ab5 began oauth implementation 2021-10-21 15:28:58 -04:00
0xdcarns 8a54f50676 initialized 2021-10-20 14:17:31 -04:00
afeiszli af3ff04f1b updating docs and helm charts for postgres 2021-10-19 10:45:35 -04:00
afeiszli 875b1d72b9 adding userspace docker server implementation 2021-10-08 22:46:39 -04:00
Alex f9a4eb6bb2
Merge pull request #340 from gravitl/feature_v0.8.3_cleanup
code linting
2021-10-08 15:12:19 -04:00
0xdcarns d7cafbbc4c code linting 2021-10-08 15:07:12 -04:00
afeiszli b61d415e9d postgres working 2021-10-08 13:11:31 -04:00
afeiszli 21ba362eca allowing IsServer to be modified, configurable checkin time, single checkin for linux, moved cfg files 2021-10-02 12:28:17 -04:00
afeiszli 70afe33246 one time CoreDNS file 2021-09-28 13:16:41 -04:00
afeiszli d0c2f06e60 adding yemplates 2021-08-19 17:00:44 -04:00
afeiszli 8056f024e2 client mode enablement 2021-08-19 13:41:04 -04:00
worker-9 fbb999f36b added sqlite support and ability to add dbs easier 2021-08-18 18:12:08 -04:00
afeiszli f42f81243f adding some rqlite vars 2021-08-18 14:55:41 -04:00
worker-9 9d2962a171 added version and fixed script and doc stuff 2021-08-16 16:30:55 -04:00
afeiszli 70493754b2 ripping out wg grpc stuff 2021-08-09 17:34:13 -04:00
afeiszli 382901b124 changed logs 2021-08-09 12:43:09 -04:00
afeiszli 93b0b94788 Mid way through adopting rqlite 2021-07-21 18:55:19 -04:00
afeiszli c360eb1878 fixing merge problems 2021-07-15 15:17:33 -04:00
afeiszli 68607ae8ca fixing netclient 2021-07-15 15:14:48 -04:00
afeiszli d41207172c Added logging and user specific requests 2021-07-14 16:47:05 -04:00
afeiszli 977da6b129 compiling with changes pushed for json token. Have NOT TESTED. Will probably run into issues. Need to test multiple egress ranges, AllowedIPs, and overriding connection strings. 2021-07-11 00:49:31 -04:00
afeiszli ccce74be97 added setting node limits 2021-07-02 23:25:36 -04:00
afeiszli be0d274ca6 making changes to grpc comms vars 2021-06-01 18:40:04 -04:00
afeiszli 6c13f06001 feature_v0.5_netclient 2021-05-29 13:22:18 -04:00
afeiszli 78ae219b03 major overhaul initiated 2021-05-25 12:48:04 -04:00
afeiszli de3d81db3a configs mostly working. Need to add in public dns default check. 2021-05-05 22:03:37 +00:00
afeiszli 46a81c9767 refactoring logic in main 2021-05-05 20:42:17 +00:00