Commit graph

285 commits

Author SHA1 Message Date
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
Matthew R. Kasun f615b685c7 server routes 2022-03-20 06:25:12 -04:00
0xdcarns 5ba79afeba added default acl value option for networks 2022-03-17 13:24:57 -04:00
0xdcarns ffbc0db33f send created network back in response to net create 2022-03-17 10:08:28 -04:00
John Sahhar c71c739ba2 logic/accesskeys: math.Rand -> crypto.Rand
This replaces the usage of the non-cryptographically
secure math.Rand with the system CSPRNG accessed via crypto.Rand.

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-16 22:19:22 -05:00
Matthew R Kasun 9e23e69141
Merge branch 'develop' into worklows 2022-03-15 09:10:10 -04:00
Matthew R. Kasun 628f1f1468 remove debug logs 2022-03-14 16:32:14 -04:00
Matthew R. Kasun 7d2aa4fc82 add network to peer 2022-03-14 15:56:01 -04:00
Matthew R. Kasun 0abba58bfb use string rather than []byte for dns 2022-03-14 14:59:41 -04:00
Matthew R. Kasun ead3570064 debugging log 2022-03-14 14:37:16 -04:00
Matthew R. Kasun fcbdca0263 change order of dns entry 2022-03-14 13:55:38 -04:00
Matthew R. Kasun 649bea1e40 fix typo
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-03-14 13:42:42 -04:00
Matthew R. Kasun 1b8a3ed347 calc dns entries during peerupdate 2022-03-14 11:34:25 -04:00
0xdcarns 8ab7266c30 moved acl check 2022-03-11 15:19:06 -05:00
Alex Feiszli 52c7a5897a
Merge pull request #888 from gravitl/feature_v0.12.0_disabling_ext_clients
added ability to disable ext clients
2022-03-11 12:01:52 -05:00
0xdcarns 80b7862370 made server peer check more efficient 2022-03-11 11:48:08 -05:00
0xdcarns 8385d02987 edited where server sets peers to account for ACLs 2022-03-11 11:48:08 -05:00
0xdcarns 3e8a0554c2 changed dir name and added to gitignore, removed log 2022-03-11 11:48:08 -05:00
0xdcarns 53c662476b comment changes 2022-03-11 11:48:08 -05:00