Commit graph

605 commits

Author SHA1 Message Date
Alex Feiszli 2fb0056ce5
Merge pull request #1495 from gravitl/feature_v0.15.1_reuse_mq_connection
Feature v0.15.1 reuse mq connection
2022-08-30 16:12:35 -04:00
Alex Feiszli eec81e1849
Merge pull request #1468 from gravitl/feature_v0.14.9_node_disconnect
Feature v0.14.9 node disconnect
2022-08-30 11:15:12 -04:00
Alex Feiszli 7fd879a851
Merge pull request #1494 from gravitl/refactor_0.15.1_uninstall_leave
Refactor 0.15.1 uninstall leave
2022-08-30 11:14:28 -04:00
0xdcarns 2f792e92df removed param 2022-08-30 10:53:52 -04:00
0xdcarns 8adc5bf449 fix const reference and comment 2022-08-30 10:52:42 -04:00
0xdcarns 449118c24d added upgrade logic for connected 2022-08-30 10:52:40 -04:00
0xdcarns 029b4fbe0c added logic upon connect/disconnect 2022-08-30 10:52:04 -04:00
Matthew R. Kasun c9037db19f remove debugging logs 2022-08-29 14:29:28 -04:00
Matthew R. Kasun 49c6380643 reuse mq connections 2022-08-29 14:08:01 -04:00
Matthew R. Kasun 3824284688 delete broker keys if required 2022-08-29 08:12:25 -04:00
Matthew R Kasun 6ca8bce70d leave cleanup 2022-08-29 05:35:23 -04:00
Hintay 97f00aeb8b
Fix panic if interfaces does not have any mac address 2022-08-28 20:14:01 +08:00
Alex Feiszli 2bc017bb0f
Merge pull request #1487 from gravitl/feature_v0.15.0_version_number
Feature v0.15.0 version number
2022-08-26 12:12:27 -04:00
afeiszli 513609859b removing upgrade function 2022-08-26 12:08:30 -04:00
afeiszli fbe119f0cd small windows fix 2022-08-26 11:57:37 -04:00
Matthew R. Kasun a9d3033200 update version numbers 2022-08-26 11:33:35 -04:00
Matthew R. Kasun 997ec430ce prefer nft over iptables 2022-08-25 08:37:26 -04:00
Matthew R Kasun 723e4ebeee
Merge branch 'develop' into feature_v0.14.7_explicit_routes 2022-08-25 07:31:34 -04:00
afeiszli f3361170fe reverting mac path 2022-08-24 16:04:29 -04:00
Matthew R. Kasun 4e61f6a586 prefer iptables 2022-08-24 08:03:31 -04:00
Matthew R. Kasun d83be55d70 single http client 2022-08-23 14:18:22 -04:00
afeiszli 858e57e958 add explicit routing + domain for netmaker 2022-08-23 10:12:13 -04:00
Alex Feiszli 0c7bef6e80
Merge pull request #1466 from gravitl/bugfix_v0.14.7_check_firewall
add checks for firewall
2022-08-22 09:35:49 -04:00
Matthew R. Kasun f536f0465c check firewall type on gateway creation 2022-08-19 15:32:25 -04:00
Matthew R Kasun f569830910
Merge pull request #1442 from theguy951357/bugfix_v0.14.7_apple_data_path
Bugfix v0.14.7 apple data path
2022-08-19 10:55:49 -04:00
Matthew R Kasun a529222bff
Merge pull request #1460 from gravitl/feature_v0.14.7_ipchecker
move client public ip check to use server
2022-08-18 15:45:16 -04:00
afeiszli 983d90026c move client public ip check to use server 2022-08-17 17:30:30 -04:00
theguy951357 334c579a2e upgrade logic for moving Netclient data folder 2022-08-11 16:22:19 -04:00
Matthew R Kasun 65723e23dd
Merge branch 'develop' into feature_v0.14.8_internet_gateway 2022-08-09 13:55:16 -04:00
Matthew R. Kasun 85cb88f0ad use 0.0.0.0/0 ::/0 as egress range for internet gateways 2022-08-09 13:51:28 -04:00
dcarns c7a3d2b098
Merge pull request #1449 from gravitl/feature_v0.14.7_translateiftablestonftables
Feature v0.14.7 translateiftablestonftables
2022-08-09 09:06:20 -04:00
cameronts 82d8d4ff1e Rearrange imports per PR comments. 2022-08-08 13:02:32 -07:00
dcarns 40c4a7842c
Merge pull request #1432 from gravitl/feature_v0.14.7_netclientaddvarforpublicipservice
Netclient: Add Public IP Service handling to config and GetPublicIP().
2022-08-04 08:50:59 -04:00
cameronts 7c2fce3a55 Change to expandable switch-based firewall detection. 2022-08-03 12:18:04 -07:00
cameronts b9b79ed9f9 Changed order of imports. 2022-08-02 16:25:38 -07:00
cameronts 766084d6a3 Add check for nftables on daemon start. 2022-08-02 15:58:39 -07:00
cameronts e6d7c95669 Add netclient detection of nftables. 2022-08-02 15:01:45 -07:00
Abhishek Kondur 494cd690db GRA-408: change daemon check to install 2022-08-02 17:12:03 +04:00
Abhishek Kondur c772d15080 GRA-408: check if netclient daemon exists to start client daemon service 2022-08-02 11:19:46 +04:00
Abhishek Kondur c537722b76 GRA-408: wipe local fix 2022-08-01 14:18:34 +04:00
cameronts 3f0f2c88ca Updated with PR review comments. 2022-07-29 12:10:42 -07:00
cameronts 3dcce87868 Fixed an old reference. 2022-07-28 14:57:20 -07:00
cameronts f656a48f3a Move public IP services handling to a map-based approach to work for daemon (multiple network configs) and CLI-based setting of the IP services. 2022-07-28 14:33:47 -07:00
cameronts 05283eff14 Change to single variable in ClientConfig (no nested GlobalSettings). 2022-07-28 12:50:53 -07:00
cameronts 1cb42e8f8b Add Public IP Service handling to config and GetPublicIP(). 2022-07-27 16:45:12 -07:00
Matthew R. Kasun 67e62cfaa7 consistent file name for upgrade files 2022-07-26 15:00:10 -04:00
Matthew R. Kasun da828263cb more version number changes
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-07-26 14:24:22 -04:00
Matthew R. Kasun 66cbc96b89 version numbers 2022-07-26 13:45:41 -04:00
Christopher Blaha 1bfdcbecb7 space 2022-07-25 08:57:20 -04:00
Christopher Blaha 68a904c3ac fixed lowercase lettering and extra spaces in logs 2022-07-23 08:58:53 -04:00
Christopher Blaha d0c09aa2c0 fixed lowercase letters and extra spaces 2022-07-23 08:54:20 -04:00
Christopher Blaha 4a5ae8fb31 removed ". " 2022-07-22 23:48:46 -04:00
Christopher Blaha bc009d03e3 things 2022-07-22 23:26:46 -04:00
Christopher Blaha b5be396f87 commas, amiright? 2022-07-22 23:24:10 -04:00
Christopher Blaha cb8958e927 log stuff 2022-07-22 22:45:29 -04:00
Christopher Blaha 9be779f666 log messages 2022-07-22 20:32:34 -04:00
Christopher Blaha ac4515c38a logging 2022-07-22 15:51:22 -04:00
Matthew R. Kasun 3a9f75cc83 lockfile path 2022-07-20 12:51:38 -04:00
Matthew R. Kasun 0ac12e9eb3 lockfile path:w 2022-07-19 15:36:53 -04:00
Matthew R. Kasun 7169c232ed add lockfile to prevent corruption of /etc/hosts 2022-07-19 15:12:45 -04:00
Matthew R. Kasun 0c3a5b7767 code review changes 2022-07-18 16:07:36 -04:00
Matthew R. Kasun df0e882a7e updated logic for join/leave network 2022-07-18 16:07:36 -04:00
Matthew R. Kasun aa9be268f3 fetch networks for checkin 2022-07-18 16:07:36 -04:00
Matthew R. Kasun cdc7ec7495 remove debugging logs 2022-07-18 16:07:36 -04:00
Matthew R. Kasun e202dc3a44 debugging logs 2022-07-18 16:07:36 -04:00
Matthew R. Kasun b2131d6d8b eliminate unused var staticcheck 2022-07-18 16:07:36 -04:00
Matthew R. Kasun 23c3b0c276 fix waitgroup 2022-07-18 16:07:36 -04:00
Matthew R. Kasun 1fa4becb48 use SIGHUP to restart daemon 2022-07-18 16:07:36 -04:00
0xdcarns cadb466d19 fixed missing comma 2022-07-18 16:07:36 -04:00
Matthew R. Kasun c7151f0b01 update logic for determing when to check for free port 2022-07-18 16:07:36 -04:00
Matthew R. Kasun b6df54482b refactor client mq connection logic2 2022-07-08 10:22:23 -04:00
Matthew R. Kasun bda6f4e2c6 refactor client mq connection logic 2022-07-08 09:46:21 -04:00
afeiszli 2500331024 mod log 2022-07-07 16:16:56 -04:00
0xdcarns 7cc66870e2 merge fix 2022-07-07 13:40:07 -04:00
0xdcarns 5631f30e50 changed requiredversion to requiredversions 2022-07-07 13:36:14 -04:00
Matthew R. Kasun dcc637e98a add log on completion of update
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-07-07 13:27:08 -04:00
Matthew R. Kasun f59a3c860e support upgrades from multiple version 2022-07-07 13:27:08 -04:00
0xdcarns 6d125eb2fa added upgrade func list 2022-07-07 13:17:08 -04:00
Matthew R. Kasun ab9f0f05e0 client infrastructure to support updates 2022-07-07 13:17:08 -04:00
dcarns ef82ac4af5
Merge pull request #1296 from gravitl/feature_v0.14.5_longer_client_peer_cache
changed client message cache to a day
2022-07-07 13:16:09 -04:00
0xdcarns 52b876b333 moved log to reflect when message is actually consumed 2022-07-07 12:54:21 -04:00
dcarns 07729b56f9
Merge pull request #1316 from gravitl/bugfix_v0.14.5_wg_ports
Bugfix v0.14.5 wg ports
2022-07-07 11:29:45 -04:00
0xdcarns 27dbfc867c added node name to logs 2022-07-07 09:58:52 -04:00
0xdcarns 5fc73e6a80 added inform port change util func 2022-07-07 09:52:20 -04:00
Matthew R. Kasun c481f27200 moved checks around 2022-07-06 16:13:51 -04:00
afeiszli c06c7868c0 moving port check logic 2022-07-06 15:20:28 -04:00
Matthew R. Kasun a17173fa0f add timeout for http requests 2022-07-06 09:32:00 -04:00
0xdcarns 8da999f21d changed client message cache to a day 2022-07-05 20:22:34 -04:00
afeiszli f28d361bea refactoring cert logic to use database 2022-06-30 22:30:28 -04:00
afeiszli b281047168 adding functions to handle certs in DB 2022-06-30 21:56:11 -04:00
Matthew R. Kasun 0410e1d4fb install command 2022-06-23 14:06:26 -04:00
Matthew R. Kasun c8ec46391d refactor logic for client.key generation 2022-06-22 09:55:10 -04:00
Matthew R. Kasun 4bc04d5922 updated join logic
if join fails, don't try to leave as authentication will fail --- just
    wipe
2022-06-20 10:37:31 -04:00
Matthew R. Kasun 932eba8d21 fix statticcheck errors 2022-06-16 15:42:32 -04:00
Matthew R. Kasun afe12b277d force lowercase for /etc/hosts profile names
to test:
create newtwork with Upper case name
check profile in /etc/hosts is created with all lowercase
2022-06-06 13:01:51 -04:00
guppy0130 5ca5710f61
typo fixup, resolves #1181
* fixes a typo
2022-06-03 22:57:09 -07:00
Matthew R. Kasun 9578b72d5e remove publish prior to registration with server 2022-06-01 08:00:22 -04:00
afeiszli 716c717265 fix freebsd build 2022-05-31 13:49:27 -04:00
afeiszli 8d422526b3 refactoring servercfg 2022-05-31 12:07:56 -04:00
afeiszli e4189ad8bd refactoring serverinfo logic 2022-05-31 08:42:12 -04:00