opensnitch/daemon/default-config.json
Gustavo Iñiguez Goia 1c94da7cb6
updated default-config.json
Added the default Authentication fields, to avoid detecting that the
config has changed.

It was causing the daemon to disconnect and reconnect on the first
config change made by the user.
2025-07-02 21:14:57 +02:00

48 lines
1.1 KiB
JSON

{
"Server":
{
"Address":"unix:///tmp/osui.sock",
"Authentication": {
"Type": "simple",
"TLSOptions": {
"CACert": "",
"ServerCert": "",
"ClientCert": "",
"ClientKey": "",
"SkipVerify": false,
"ClientAuthType": "no-client-cert"
}
},
"LogFile":"/var/log/opensnitchd.log"
},
"DefaultAction": "allow",
"DefaultDuration": "once",
"InterceptUnknown": false,
"ProcMonitorMethod": "ebpf",
"LogLevel": 2,
"LogUTC": true,
"LogMicro": false,
"Firewall": "nftables",
"FwOptions": {
"ConfigPath": "/etc/opensnitchd/system-fw.json",
"MonitorInterval": "15s",
"QueueBypass": true
},
"Rules": {
"Path": "/etc/opensnitchd/rules/",
"EnableChecksums": false
},
"Ebpf": {
"EventsWorkers": 8,
"QueueEventsSize": 0
},
"Stats": {
"MaxEvents": 250,
"MaxStats": 25,
"Workers": 6
},
"Internal": {
"GCPercent": 100,
"FlushConnsOnStart": true
}
}