Commit graph

303 commits

Author SHA1 Message Date
afeiszli 8d422526b3 refactoring servercfg 2022-05-31 12:07:56 -04:00
afeiszli 0865a535c7 changing broker retrieval/setting logic 2022-05-30 12:39:33 -04:00
afeiszli 709ecd8cfe fixing ip check 2022-05-27 10:52:47 -04:00
Matthew R. Kasun 62b8b9bb8e update routes to use iplib 2022-05-26 17:39:18 -04:00
Matthew R. Kasun ef298fa343 update peers to use iplib 2022-05-26 16:28:08 -04:00
Matthew R. Kasun c37fa49096 switch to smaller ip lib 2022-05-26 16:14:52 -04:00
Matthew R. Kasun fef31752bd send server version in peer update message 2022-05-25 15:21:22 -04:00
afeiszli 3f038ab951 isStatic now only represents whether the Endpoint var is static 2022-05-23 15:24:09 -04:00
afeiszli d63bae351d fixing rangeupdate for ipv6, setting ipv4 assignment 2022-05-12 19:35:46 -04:00
0xdcarns 2de7beb31e added nil checks, handled empty map 2022-05-11 12:07:06 -04:00
0xdcarns e7f9310b3d added length checks as temp solution 2022-05-10 15:18:29 -04:00
dcarns 184ef00d63
Merge pull request #1072 from sullrich/patch-1
Add FreeBSD egress support
2022-05-10 09:12:30 -04:00
0xdcarns d1101ffe3a reworked dns to propogate all entries regardless 2022-05-09 11:17:16 -04:00
Scott Ullrich 360a13312a
Update gateway.go
* Add support for FreeBSD egress
* Make Post up and down commands a bit more readable
2022-05-08 13:37:22 -04:00
afeiszli 80cc86783d fixing ipv6 2022-05-02 10:48:00 -04:00
Alex Feiszli 726e5e1388
Merge pull request #1048 from gravitl/bugfix_v0.13.1_server_ipv6route
added static server routes
2022-04-28 10:19:00 -04:00
0xdcarns e1ab6b21fd added static server routes 2022-04-28 09:50:26 -04:00
0xdcarns 8a914d48e4 removed bad check for extra comma, added comment for relay handling of address6 later 2022-04-28 09:26:13 -04:00
0xdcarns 394c58319b test amend 2022-04-26 08:52:43 -04:00
afeiszli 894fd1f5bd making dual stack addressing work client side 2022-04-25 21:16:47 -04:00
afeiszli b03b4cfcff adding in ipv4 2022-04-25 20:50:09 -04:00
0xdcarns cee0ed1c39 reverted some old logic 2022-04-25 13:10:55 -04:00
0xdcarns 9d365c9c28 changes to allowedip parsing to handle ipv6 better 2022-04-25 13:10:55 -04:00
0xdcarns 7654556a3a bugfix tweaks 2022-04-25 13:10:55 -04:00
0xdcarns 6eab0498fc some changes around iptables 2022-04-25 13:10:55 -04:00
0xdcarns 5aae277551 added blank address check on peers 2022-04-25 13:10:55 -04:00
0xdcarns fed4650b3f start ipv6 from 1 2022-04-25 13:10:55 -04:00
0xdcarns 3298a074bb fixed issue around setting ipv6 or not unnecessarily 2022-04-25 13:10:55 -04:00
0xdcarns bcfc96ddd4 tidied go mod, fixed bug with last ipv6 addr 2022-04-25 13:10:55 -04:00
0xdcarns c39f2fed84 bugfix for reverse unique address 2022-04-25 13:10:55 -04:00
0xdcarns dc12b1e418 route changes + primary addr on node 2022-04-25 13:10:54 -04:00
0xdcarns 8e976d1f55 removed isdualstack references 2022-04-25 13:09:23 -04:00
0xdcarns ca1c75b620 set addresses appropriately based on if network is using ipv6/4 2022-04-25 13:08:45 -04:00
0xdcarns a78ebaaad1 added tests 2022-04-25 13:08:45 -04:00
0xdcarns 611a425852 added more uniform unique address checks 2022-04-25 13:08:45 -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 ccc0ed851d adding local listen port 2022-04-25 11:34:32 -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 7152f6ccd4 remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
Matthew R. Kasun 6aa1a68a6f register command - client 2022-04-13 15:25:35 -04:00
Matthew R. Kasun 935567761b mq direct to server public ip 2022-04-12 10:43:02 -04:00
0xdcarns 9b7631e6dc added ingress outbound to ext clients 2022-03-25 15:44:32 -04:00
dcarns 173916a4b3
Merge pull request #958 from gravitl/feature_v0.12.2_append_custom_dns
added custom dns entries to peer update
2022-03-23 20:34:26 -04:00
john s d1fb0b90af
netclient: math.Rand -> crypto.Rand (#956)
* netclient: math.Rand -> crypto.Rand

Signed-off-by: John Sahhar <john@gravitl.com>

* netclient: math.Rand -> crypto.Rand

* add tests

Signed-off-by: John Sahhar <john@gravitl.com>

* netclient: math.Rand -> crypto.Rand

* add test

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-23 12:06:26 -06:00
0xdcarns 5f1299042f added custom dns entries to peer update 2022-03-23 10:31:38 -04:00
0xdcarns 988c0d7629 fixed removing local servers on deletes 2022-03-22 14:29:20 -04:00
dcarns 9b2742a3c5
Merge pull request #925 from gravitl/refactor_v0.12.0_logging
replace ncutil.Log/PrintLog with logger.Log
2022-03-21 11:35:06 -04:00
Matthew R. Kasun 11b1098390 replace ncutil.Log/PrintLog with logger.Log 2022-03-21 11:27:25 -04:00