Tell opensnitch daemon to not flush al TCP connections on restart.
authorPetter Reinholdtsen <pere@hungry.com>
Sat, 3 May 2025 03:50:32 +0000 (05:50 +0200)
committerPetter Reinholdtsen <pere@debian.org>
Sat, 3 May 2025 03:50:32 +0000 (05:50 +0200)
Bug-Debian: https://bugs.debian.org/1103496
Forwarded: not-needed
Last-update: 2025-05-26

This avoid killing connections like SSH and IRC when upgrading or restarting
the service.  See discussion in https://github.com/evilsocket/opensnitch/issues/1329 .
Last-update: 2025-05-26
Gbp-Pq: Name 2010-no-tcp-flush-on-restart.patch

daemon/default-config.json

index 302014a0252b5f2fe8c12cf81abda4d11ed67c8d..ba8f9b7c75960ed901da665cb364b3299f68ea3c 100644 (file)
@@ -22,6 +22,6 @@
     },
     "Internal": {
         "GCPercent": 100,
-        "FlushConnsOnStart": true
+        "FlushConnsOnStart": false
     }
 }