Commit graph

37 commits

Author SHA1 Message Date
Matthew R. Kasun e2b50d9a0f ipv6 rules - case 2022-09-06 10:37:49 -04:00
Matthew R. Kasun 24cbaaa50b fix case for iptables rules 2022-09-03 08:41:38 -04:00
Matthew R. Kasun dd7945bb5c fix postup/postdown for dualstack 2022-09-02 16:33:48 -04:00
Matthew R. Kasun 9ac0bdc41d fix ingress rules 2022-09-02 11:31:17 -04:00
Matthew R. Kasun ecc9ef5aac clean up nft rules 2022-09-02 11:01:19 -04:00
Matthew R. Kasun 16959f395a ipv6 nat 2022-09-02 09:25:17 -04:00
Matthew R. Kasun ea3a1933e1 add ip6table rules for gateways 2022-09-01 08:10:49 -04:00
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 5240da222a freebsd saving post up/post down command to conf file 2022-08-25 06:59:12 -04:00
Matthew R. Kasun f536f0465c check firewall type on gateway creation 2022-08-19 15:32:25 -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 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
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
cameronts 7c2fce3a55 Change to expandable switch-based firewall detection. 2022-08-03 12:18:04 -07: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 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
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
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 3bd4be258f fix gateway error 2022-03-07 14:48:56 -05:00
Schemen dbe5336a8e Add accept iptables rule for out interface 2022-03-03 11:58:17 +01:00
afeiszli be1763bb74 removing old node logic 2022-02-18 10:15:21 -05:00
0xdcarns 456272d549 fixed issue with delete 2022-02-08 11:01:44 -05:00
Matthew R Kasun dd62e90924 fix for GRA-129 prevent freebsd from being a gateway 2022-01-26 09:04:30 -05:00
0xdcarns 0502ff131c adapted node routes further to new id 2022-01-17 14:21:40 -05:00
0xdcarns 52195cd040 updated routes to use uuid 2022-01-17 14:21:40 -05:00
0xdcarns 9af3688b24 fixed egress to use id 2022-01-17 14:21:40 -05:00
0xdcarns 64e7791011 restructuring continued 2022-01-17 14:21:40 -05:00
0xdcarns 0c6c09caa9 organized http logic, renamed files 2021-12-07 12:46:55 -05:00