opensnitch/daemon/firewall
Gustavo Iñiguez Goia 9c483b1a59
sys,fw: allow to create multiprotocol rules
Now you can add rules to allow multiple protocols.
For example you can add a rule to allow dport/sport for both TCP
and UDP.

There're two options to allow a port:

Statement {
 Name: tcp
 Values:
   Key: dport
   Value: 1234
}

Statement {
 Name: meta
 Values:
   Key: l4proto
   Value: tcp,udp

   Key: dport
   Value: 1234
}

Closes #951.
2023-05-27 22:02:14 +02:00
..
common sys,fw: put dns rule always at the top of the chain 2023-05-25 01:20:53 +02:00
config sys fw: silence error parsing configuration 2022-12-11 22:11:37 +01:00
iptables fw: minor changes for better code reading 2023-01-30 13:43:44 +01:00
nftables sys,fw: allow to create multiprotocol rules 2023-05-27 22:02:14 +02:00
rules.go fw: minor changes for better code reading 2023-01-30 13:43:44 +01:00