mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00

Before this change, we tried to determine what firewall to use based on the version of iptables (if -V legacy -> nftables, otherwise iptables). This caused problems (#455), and as there's no support yet for nftables system firewall rules, it can't be configured to workaround these errors. Now the default firewall to use will be iptables. If it's not available (installed), can't be used or the configuration option is empty/missing, we'll use nftables.
13 lines
290 B
JSON
13 lines
290 B
JSON
{
|
|
"Server":
|
|
{
|
|
"Address":"unix:///tmp/osui.sock",
|
|
"LogFile":"/var/log/opensnitchd.log"
|
|
},
|
|
"DefaultAction": "allow",
|
|
"DefaultDuration": "once",
|
|
"InterceptUnknown": false,
|
|
"ProcMonitorMethod": "proc",
|
|
"LogLevel": 2,
|
|
"Firewall": "iptables"
|
|
}
|