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 |
|
afeiszli
|
46b2cfef1c
|
removing port fallback
|
2022-05-30 12:56:58 -04:00 |
|
afeiszli
|
bad2a0faea
|
moving around some logic
|
2022-05-30 12:54:30 -04:00 |
|
afeiszli
|
0865a535c7
|
changing broker retrieval/setting logic
|
2022-05-30 12:39:33 -04:00 |
|
Matthew R. Kasun
|
85ad06941d
|
use interface as hostctl profile
|
2022-05-27 09:45:52 -04:00 |
|
Matthew R. Kasun
|
28a6ea85cb
|
remove debug logs
|
2022-05-25 17:50:13 -04:00 |
|
Matthew R. Kasun
|
fef31752bd
|
send server version in peer update message
|
2022-05-25 15:21:22 -04:00 |
|
Matthew R. Kasun
|
0764632b30
|
add : in server connection string
|
2022-05-25 11:37:55 -04:00 |
|
Matthew R. Kasun
|
53b3e7f415
|
configurable mq ports
|
2022-05-25 10:31:44 -04:00 |
|
Alex Feiszli
|
e6e686b8b6
|
Merge pull request #1130 from gravitl/bugfix_v0.14.1_slash
remove slash
|
2022-05-24 16:42:48 -04:00 |
|
afeiszli
|
556b7499dd
|
remove slash
|
2022-05-24 16:31:18 -04:00 |
|
0xdcarns
|
553b03c1b4
|
made daemon only get networks once
|
2022-05-24 14:19:47 -04:00 |
|
0xdcarns
|
bf4fdd94ac
|
removed unnecessary loop from daemon start
|
2022-05-24 09:38:27 -04:00 |
|
Matthew R Kasun
|
2a35ef39a6
|
fix startup
|
2022-05-23 16:10:02 -04:00 |
|
Matthew R. Kasun
|
a1fd52d7d5
|
check broker connectivity on mqtt setup
|
2022-05-20 10:50:23 -04:00 |
|
dcarns
|
d4bd11ec32
|
Merge pull request #1105 from gravitl/bugfix_v0.14.1_ports
fixing logic for port setting
|
2022-05-20 10:21:31 -04:00 |
|
afeiszli
|
91fe618fae
|
log
|
2022-05-20 09:06:12 -04:00 |
|
afeiszli
|
92f243a1ba
|
fixing logic for port setting
|
2022-05-20 08:38:32 -04:00 |
|
Matthew R. Kasun
|
5b2013eda4
|
move logging to checkBroker function
|
2022-05-19 15:51:06 -04:00 |
|
Matthew R. Kasun
|
9a9f1b973e
|
add checks/logs on broker connect timeout
|
2022-05-19 10:44:28 -04:00 |
|
Matthew R. Kasun
|
976ab07de1
|
use token.WaitTimeout()
|
2022-05-16 09:38:47 -04:00 |
|
Matthew R. Kasun
|
f440b5cc07
|
remove dns entries in /etc/hosts on leave/uninstall
|
2022-05-16 07:23:44 -04:00 |
|
0xdcarns
|
3e0094e822
|
made daemon install optional and changed mac logging path
|
2022-05-13 09:35:00 -04:00 |
|
afeiszli
|
d63bae351d
|
fixing rangeupdate for ipv6, setting ipv4 assignment
|
2022-05-12 19:35:46 -04:00 |
|
afeiszli
|
14b1f561b1
|
updating netclient.exe for new gui
|
2022-05-10 09:27:22 -04:00 |
|
0xdcarns
|
a36a20fa4c
|
messed with sizing
|
2022-05-10 09:26:54 -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
|
5d3274e48d
|
remove initial pull on daemon start
|
2022-05-09 09:37:00 -04:00 |
|
Matthew R. Kasun
|
4c634bc02f
|
apply saved config on start up
|
2022-05-09 08:00:14 -04:00 |
|
afeiszli
|
0531b6f78d
|
removing ping server function. Unnecessary
|
2022-05-03 11:43:15 -04:00 |
|
Matthew R. Kasun
|
d34ed51c8a
|
remove debug logs
|
2022-04-29 15:35:25 -04:00 |
|
Matthew R. Kasun
|
d1db0ab45a
|
refactor mq connect
|
2022-04-29 15:34:11 -04:00 |
|
0xdcarns
|
55dd7c18f7
|
added address struct
|
2022-04-27 15:51:29 -04:00 |
|
0xdcarns
|
8496a834c3
|
initial list remake
|
2022-04-27 15:40:48 -04:00 |
|
afeiszli
|
b03b4cfcff
|
adding in ipv4
|
2022-04-25 20:50:09 -04:00 |
|
afeiszli
|
13db6ced0c
|
adding separator
|
2022-04-25 20:07:47 -04:00 |
|
0xdcarns
|
cfb0904bd6
|
refactor + bugs
|
2022-04-25 19:33:31 -04:00 |
|
0xdcarns
|
a6ee8101e6
|
small refactors
|
2022-04-25 19:28:56 -04:00 |
|
Alex Feiszli
|
baeae557ce
|
Merge pull request #1033 from gravitl/bugfix_v0.13.0_cidr_parsing
Bugfix v0.13.0 cidr parsing
|
2022-04-25 16:48:08 -04:00 |
|
afeiszli
|
6766219574
|
fix cidr parsing
|
2022-04-25 20:37:05 -04:00 |
|
0xdcarns
|
68b52279ae
|
added peers to pull/join responses
|
2022-04-25 16:30:18 -04:00 |
|
dcarns
|
6c024dd5e5
|
Merge pull request #1031 from gravitl/feature_v0.13.0_reorder_join_register
gen new key and re-register on pull
|
2022-04-25 14:32:54 -04:00 |
|
Matthew R. Kasun
|
092441441c
|
redo register on pull
|
2022-04-25 14:30:51 -04:00 |
|
Matthew R. Kasun
|
e3206c5b4c
|
gen new key and re-register on pull
|
2022-04-25 14:04:36 -04:00 |
|
dcarns
|
1b7efe1ced
|
Merge pull request #1029 from gravitl/feature_v0.13.0_btr_serv_reset
added initial notification to clients on server startup
|
2022-04-25 13:40:51 -04:00 |
|
Matthew R. Kasun
|
1ae9240d86
|
gen new key and re-register on pull
|
2022-04-25 13:25:21 -04:00 |
|
0xdcarns
|
dc12b1e418
|
route changes + primary addr on node
|
2022-04-25 13:10:54 -04:00 |
|
afeiszli
|
14cebf56a0
|
rebased off develop
|
2022-04-25 11:37:30 -04:00 |
|
afeiszli
|
93a25bb9a6
|
adding freebsd logic and using wgctrl.Device
|
2022-04-25 11:36:09 -04:00 |
|
afeiszli
|
9a66674a5c
|
minor logic revisions
|
2022-04-25 11:36:09 -04:00 |
|
afeiszli
|
91ca96534b
|
adding comments, removing bad check
|
2022-04-25 11:36:09 -04:00 |
|
afeiszli
|
6a90cd803a
|
publishing port changes
|
2022-04-25 11:36:08 -04:00 |
|
afeiszli
|
5f303cb50a
|
fixing localport issues
|
2022-04-25 11:34:55 -04:00 |
|
afeiszli
|
ccc0ed851d
|
adding local listen port
|
2022-04-25 11:34:32 -04:00 |
|
0xdcarns
|
773ad9b753
|
added initial notification to clients on server startup
|
2022-04-25 11:12:49 -04:00 |
|
Matthew R. Kasun
|
d626cf0e9b
|
remove write and return error
|
2022-04-25 11:11:44 -04:00 |
|
Matthew R. Kasun
|
38309aab20
|
remove cfg.Registered
|
2022-04-25 11:07:21 -04:00 |
|
Matthew R. Kasun
|
f5aa1d1e62
|
reorder register/join
|
2022-04-25 10:38:29 -04:00 |
|
Matthew R. Kasun
|
a8b1d48e02
|
more certificate cleanup
|
2022-04-25 06:38:20 -04:00 |
|
Matthew R. Kasun
|
8f8272aad7
|
certificate cleanup
|
2022-04-25 06:33:06 -04:00 |
|