netbird/client/firewall
Givi Khojanashvili c20f98c8b6
ACL firewall manager fix/improvement (#970)
* ACL firewall manager fix/improvement

Fix issue with rule squashing, it contained issue when calculated
total amount of IPs in the Peer map (doesn't included offline peers).
That why squashing not worked.
Also this commit changes the rules apply behaviour. Instead policy:
1. Apply all rules from network map
2. Remove all previous applied rules
We do:
1. Apply only new rules
2. Remove outdated rules
Why first variant was implemented: because when you have drop policy
it is important in which order order you rules are and you need totally
clean previous state to apply the new. But in the release we didn't
include drop policy so we can do this improvement.

* Print log message about processed ACL rules
2023-06-20 20:33:41 +02:00
..
iptables Fix routes allow acl rule (#940) 2023-06-07 15:24:27 +02:00
nftables Fix routes allow acl rule (#940) 2023-06-07 15:24:27 +02:00
uspfilter Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
firewall.go Feat linux firewall support (#805) 2023-05-29 16:00:18 +02:00
port.go ACL firewall manager fix/improvement (#970) 2023-06-20 20:33:41 +02:00