opensnitch/daemon/firewall/common
Gustavo Iñiguez Goia 810b785b3a
sys,fw: put dns rule always at the top of the chain
The DNS rule to intercept DNS responses must always be at the top of
the (input-filter) rules, otherwise we won't receive DNS resolutions.

Adding, removing or changing system fw rules was removing the rule from 1st
position.

Another approach to this problem could be to remove&&add only the dns rule,
instead of disable-enable interception+rules monitor.
2023-05-25 01:20:53 +02:00
..
common.go sys,fw: put dns rule always at the top of the chain 2023-05-25 01:20:53 +02:00