Commit graph

248 commits

Author SHA1 Message Date
afeiszli
29ce2fa57a refactor failover logic to set per-peer. Uses Ingress Gateway logic instead of Relay logic 2022-09-27 13:59:49 -04:00
afeiszli
6dcd801941 changing default failover value 2022-09-27 10:30:01 -04:00
0xdcarns
d565dbeaf8 initial logic for failover 2022-09-27 10:30:01 -04:00
Matthew R. Kasun
d54fb0823e ee check 2022-09-22 12:59:59 -04:00
afeiszli
4157ddb73a fix staticcheck 2022-09-19 13:27:30 -04:00
afeiszli
255e400be8 set NetworkUser defaults 2022-09-14 15:08:38 -04:00
afeiszli
96772bb4bd network and ACL initialization 2022-09-13 15:41:23 -04:00
0xdcarns
88cd0a6497 initial commit 2022-09-13 15:25:56 -04:00
Matthew R. Kasun
8eb568e25a remove model validation for node.LocalAddress 2022-09-12 15:38:01 -04:00
Alex Feiszli
5d27db6e22
Merge pull request #1536 from gravitl/feature_v0.15.2_connect_status
send connected status on checkin
2022-09-12 11:51:55 -04:00
Abhishek Kondur
91cc77ee5b added comments 2022-09-12 18:11:21 +05:30
Abhishek Kondur
8cbe796748 add servers to telemetry data 2022-09-12 18:06:17 +05:30
Matthew R. Kasun
84e58d0d5a send connected status on checkin 2022-09-08 06:19:10 -04:00
Alex Feiszli
3ead2b5469
Merge pull request #1509 from gravitl/feature_v0.15.1_ipv6_egress
IPv6 support for gateways
2022-09-06 17:03:26 -04:00
Abhishek Kondur
eba6b98e10 add validate tag for ingress and egress 2022-09-06 19:42:08 +05:30
Alex Feiszli
a95e0d25c6
Merge pull request #1499 from k4s0/develop
added new controller for creating custom ExtClient
2022-09-02 14:49:58 -04:00
Matthew R. Kasun
ecc9ef5aac clean up nft rules 2022-09-02 11:01:19 -04:00
Casini Lorenzo
bcddc3f3c5 Fix url prameter to body
changed from url parameters to request body
2022-09-01 15:45:54 +02:00
Matthew R. Kasun
ea3a1933e1 add ip6table rules for gateways 2022-09-01 08:10:49 -04:00
afeiszli
8fc9dac969 adding security fixes 2022-08-31 11:38:29 -04:00
0xdcarns
c05320a323 initial logic added 2022-08-30 10:52:04 -04:00
Alex Feiszli
45df9b6bac
Merge pull request #1467 from gravitl/refactor_v0.14.7_server_routing
refactor server routing
2022-08-22 09:37:10 -04:00
Matthew R. Kasun
f536f0465c check firewall type on gateway creation 2022-08-19 15:32:25 -04:00
Matthew R. Kasun
abadb28a56 remove unused functions to pass staticchecks 2022-08-19 14:38:36 -04:00
Matthew R. Kasun
184e5a66d9 refactor server routing 2022-08-19 11:25:39 -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
a6660bb377 Pull firewall command building to separate functions for easier maintenance/reuse. Change DeleteIngressGateway's approach to preserving the egress gateway (if present). 2022-08-07 19:22:54 -07:00
0xdcarns
de91533372 added better state management to make OAuth sign-ins HA 2022-08-04 10:03:39 -04:00
cameronts
7c2fce3a55 Change to expandable switch-based firewall detection. 2022-08-03 12:18:04 -07:00
cameronts
e6d7c95669 Add netclient detection of nftables. 2022-08-02 15:01:45 -07:00
dcarns
4bc8afd731
Merge pull request #1399 from Exchizz/feature/disable-nat-for-egress-gw
Add field to /api/nodes/wg-net/<network id>/creategateway for enabling/disabling NAT
2022-07-22 14:36:41 -04:00
cameronts
38e4950ed1 Fixed by adding validation tags.
To test: run go test ./... -test.v (tested with go 1.18.4).
2022-07-20 12:32:48 -07:00
Mathias Neerup
0b4aca18db Make NatEnabled string instead of boolean + add tests 2022-07-20 13:01:28 +02:00
Mathias Neerup
4cc846a29c Fix typo 2022-07-19 21:37:38 +02:00
Mathias Neerup
f9666c0a66 Add option to select if source NATing should be enabled or not 2022-07-19 16:28:44 +02:00
0xdcarns
f8b1049c31 removed Gravitl from ascii logo 2022-07-06 09:34:57 -04:00
Matthew R. Kasun
0c4f5b100b update validation of usernames 2022-06-27 13:51:09 -04:00
Matthew R. Kasun
4dbcd0a630 switch to jwt.RegisterdClaims 2022-06-27 10:47:28 -04:00
ygelfand
3a457931fe retain traffickeys
Signed-off-by: ygelfand <yuri@shlitz.com>
2022-06-09 11:03:32 -04:00
afeiszli
f9d219c0ec changing yaml mapping 2022-06-03 11:31:57 -04:00
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
Matthew R. Kasun
fef31752bd send server version in peer update message 2022-05-25 15:21:22 -04:00
afeiszli
a2a9e2b788 changing auth params to ID from MacAddress 2022-05-23 15:24:09 -04:00
afeiszli
3f038ab951 isStatic now only represents whether the Endpoint var is static 2022-05-23 15:24:09 -04:00
0xdcarns
68b52279ae added peers to pull/join responses 2022-04-25 16:30:18 -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
0xdcarns
99abd9666d removed required status for ipv6 and added check on create network 2022-04-25 13:10:55 -04:00