Currently, the firewall handles single policy using single JSON file.
The user should be able to create multiple policies using different JSON files stored in a dedicated directory.
When the firewall is activated, it should combine all the enabled policies all together, and prioritize fields.
For example:
Policy A: Block ICMP, Deny Source IP: 1.1.1.1
Policy B: Deny Source IP: 2.2.2.2
Applied policy:
Block ICMP -> Deny Source IP: 1.1.1.1 -> Deny Source IP: 2.2.2.2
Currently, the firewall handles single policy using single JSON file.
The user should be able to create multiple policies using different JSON files stored in a dedicated directory.
When the firewall is activated, it should combine all the enabled policies all together, and prioritize fields.
For example:
Policy A: Block ICMP, Deny Source IP: 1.1.1.1
Policy B: Deny Source IP: 2.2.2.2
Applied policy:
Block ICMP -> Deny Source IP: 1.1.1.1 -> Deny Source IP: 2.2.2.2