Commit graph

296 commits

Author SHA1 Message Date
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
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