File: 2010-no-tcp-flush-on-restart.patch

package info (click to toggle)
opensnitch 1.6.9-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,980 kB
  • sloc: python: 12,604; ansic: 1,965; sh: 435; makefile: 239; xml: 50; sql: 3
file content (20 lines) | stat: -rw-r--r-- 831 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Tell opensnitch daemon to not flush al TCP connections on restart.
 This avoid killing connections like SSH and IRC when upgrading or restarting
 the service.  See discussion in https://github.com/evilsocket/opensnitch/issues/1329 .
Author: Petter Reinholdtsen <pere@hungry.com>
Bug-Debian: https://bugs.debian.org/1103496
Forwarded: not-needed
Last-update: 2025-05-26
---
Index: opensnitch-salsa/daemon/default-config.json
===================================================================
--- opensnitch-salsa.orig/daemon/default-config.json	2025-04-26 07:33:06.345354492 +0200
+++ opensnitch-salsa/daemon/default-config.json	2025-04-26 07:33:52.681782972 +0200
@@ -22,6 +22,6 @@
     },
     "Internal": {
         "GCPercent": 100,
-        "FlushConnsOnStart": true
+        "FlushConnsOnStart": false
     }
 }