Azure / WALinuxAgent

Microsoft Azure Linux Guest Agent
http://azure.microsoft.com/
Apache License 2.0
541 stars 372 forks source link

Add support for nftables + refactoring of firewall code #3221

Closed narrieta closed 1 month ago

narrieta commented 2 months ago

Adding support for nftables.

The code for setting up the firewall was scattered across multiple places and was not straightforward to follow up. Adding support for nftables on top of the existing code would have made things worse, so this PR also includes significant refactoring of that code and associated tests.

I also moved the code from the 'common' subdirectory to 'ga', since it is not needed by the provisioning agent.

nagworld9 commented 2 months ago

I didn't complete my review, will give another round trmw