Commit graph

408 commits

Author SHA1 Message Date
Matthew R. Kasun
0d00e8289f fix nft rules for internet gateway 2022-08-25 14:55:03 -04:00
Matthew R. Kasun
ed7e263fb1 fix parsing postup/postdown 2022-08-25 09:38:36 -04:00
Matthew R. Kasun
b7ea52c3b2 fix ; spacing on postup/postdown 2022-08-25 08:35:48 -04:00
Matthew R Kasun
723e4ebeee
Merge branch 'develop' into feature_v0.14.7_explicit_routes 2022-08-25 07:31:34 -04:00
Matthew R. Kasun
5240da222a freebsd saving post up/post down command to conf file 2022-08-25 06:59:12 -04:00
Matthew R. Kasun
cd5e9abe06 Revert "freebsd post up/post down logic"
This reverts commit a0c8795d38.
2022-08-25 06:50:19 -04:00
Matthew R. Kasun
a0c8795d38 freebsd post up/post down logic 2022-08-25 06:40:37 -04:00
afeiszli
48f8dd79e7 disabling zombie logic 2022-08-24 11:04:52 -04:00
Matthew R. Kasun
b2e5b239db fix range check 2022-08-23 16:35:36 -04:00
afeiszli
dbec514d5d doing a backwards loop instead 2022-08-23 15:21:36 -04:00
afeiszli
f07a6dcf2f add handling for slice size reduction to for loop 2022-08-23 15:21:36 -04:00
Matthew R. Kasun
eb3ad7974d fix interation logic 2022-08-23 15:21:36 -04:00
afeiszli
2db1571afb doing a backwards loop instead 2022-08-23 15:06:49 -04:00
afeiszli
4a247d8f41 add handling for slice size reduction to for loop 2022-08-23 15:06:49 -04:00
Matthew R. Kasun
447e80efee remove internet gateway from server peers allowed ip 2022-08-23 15:06:49 -04:00
afeiszli
5b21b03a61 doing a backwards loop instead 2022-08-23 15:04:24 -04:00
afeiszli
d836718f04 add handling for slice size reduction to for loop 2022-08-23 15:04:24 -04:00
Matthew R. Kasun
b572a8cdaf fix interation logic 2022-08-23 14:56:53 -04:00
Matthew R. Kasun
044e0734c1 remove internet gateway from server peers allowed ip 2022-08-23 14:36:39 -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
d7384b6a81
Merge pull request #1462 from gravitl/refactor_v0.14.7_unnecessary_code
remove func NetworkNodesUpdatePullChanges
2022-08-18 15:51:01 -04:00
Matthew R. Kasun
43258b642e Merge branch 'develop' into bugfix_v0.14.7_nft 2022-08-18 15:49:06 -04:00
Matthew R. Kasun
3a1dd8dc1e remove func NetworkNodesUpdatePullChanges 2022-08-18 04:49:35 -04:00
Matthew R. Kasun
e3c1189008 flush tables vice delete rules for nft 2022-08-18 04:20:23 -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
82d8d4ff1e Rearrange imports per PR comments. 2022-08-08 13:02:32 -07:00
cameronts
e190bff807 Fix failing test. 2022-08-07 20:28:10 -07: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
cameronts
aeca559a8a Update code handling of firewall commands and add more logging. 2022-08-06 15:00:20 -07:00
cameronts
9f92b20a15 Added chain creation for nftables. 2022-08-05 05:07:00 -07:00
0xdcarns
de91533372 added better state management to make OAuth sign-ins HA 2022-08-04 10:03:39 -04:00
cameronts
c858d76bad Merge branch 'develop' of https://github.com/gravitl/netmaker into feature_v0.14.7_translateiftablestonftables 2022-08-03 12:25:40 -07:00
cameronts
7c2fce3a55 Change to expandable switch-based firewall detection. 2022-08-03 12:18:04 -07:00
Bob
e202b0a045 fix removal of egress range from relayed egress allowedips 2022-08-03 18:59:55 +00:00
cameronts
eab23b7022 Modified ingress deletion handling to preserve egress gateway if present. Removed ingress from FreeBSD as not supported. 2022-08-03 11:36:16 -07:00
cameronts
e6d7c95669 Add netclient detection of nftables. 2022-08-02 15:01:45 -07:00
cameronts
903a7a65c8 Fix nftFound handling in logger.Log call. 2022-08-01 16:52:30 -07:00
cameronts
1b01914c52 Added logging for nftables handling. 2022-08-01 15:52:49 -07:00
cameronts
81c896b22a Add nftables support. 2022-08-01 11:12:25 -07:00
Matthew R. Kasun
437e672360 code review comments 2022-07-28 07:57:19 -04:00
Matthew R. Kasun
7a763fec66 add extclient ip if relayed node is ingress 2022-07-27 06:20:54 -04:00
Matthew R. Kasun
82fe2b60f5 relayed node peer update for ingress 2022-07-26 16:40:54 -04:00
Mathias Neerup
0b4aca18db Make NatEnabled string instead of boolean + add tests 2022-07-20 13:01:28 +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
afeiszli
da293409d8 fix egress on server 2022-07-06 13:52:05 -04:00