~vcs-imports/ipfire/ipfire-2.x

« back to all changes in this revision

Viewing changes to config/rootfiles/common/procps

  • Committer: Peter Müller
  • Date: 2022-04-23 14:27:56 UTC
  • mto: This revision was merged to the branch mainline in revision 9750.
  • Revision ID: git-v1:7a981d94cb2c3e48ecaf07c506c8353a2c839d79
SSH: do not send spoofable TCP keep alive messages

By default, both SSH server and client rely on TCP-based keep alive
messages to detect broken sessions, which can be spoofed rather easily
in order to keep a broken session opened (and vice versa).

Since we rely on SSH-based keep alive messages, which are not vulnerable
to this kind of tampering, there is no need to double-check connections
via TCP keep alive as well.

This patch thereof disables using TCP keep alive for both SSH client and
server scenario. For usability reasons, a timeout of 5 minutes (10
seconds * 30 keep alive messages = 300 seconds) will be used for both
client and server configuration, as 60 seconds were found to be too
short for unstable connectivity scenarios.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
bin/kill
2
2
bin/ps
3
 
#lib/libproc2.la
4
 
#lib/libproc2.so
5
 
lib/libproc2.so.0
6
 
lib/libproc2.so.0.0.2
 
3
#lib/libprocps.a
 
4
#lib/libprocps.la
 
5
#lib/libprocps.so
 
6
lib/libprocps.so.8
 
7
lib/libprocps.so.8.0.2
7
8
#lib/pkgconfig
8
 
#lib/pkgconfig/libproc2.pc
 
9
#lib/pkgconfig/libprocps.pc
9
10
sbin/sysctl
10
11
usr/bin/free
11
12
usr/bin/pgrep
12
13
usr/bin/pidof
13
 
usr/bin/pidwait
14
14
#usr/bin/pkill
15
15
#usr/bin/pmap
16
16
#usr/bin/pwdx
20
20
usr/bin/vmstat
21
21
usr/bin/w
22
22
usr/bin/watch
23
 
#usr/include/libproc2
24
 
#usr/include/libproc2/diskstats.h
25
 
#usr/include/libproc2/meminfo.h
26
 
#usr/include/libproc2/misc.h
27
 
#usr/include/libproc2/pids.h
28
 
#usr/include/libproc2/slabinfo.h
29
 
#usr/include/libproc2/stat.h
30
 
#usr/include/libproc2/vmstat.h
31
 
#usr/include/libproc2/xtra-procps-debug.h
 
23
#usr/include/proc
 
24
#usr/include/proc/alloc.h
 
25
#usr/include/proc/devname.h
 
26
#usr/include/proc/escape.h
 
27
#usr/include/proc/numa.h
 
28
#usr/include/proc/procps.h
 
29
#usr/include/proc/pwcache.h
 
30
#usr/include/proc/readproc.h
 
31
#usr/include/proc/sig.h
 
32
#usr/include/proc/slab.h
 
33
#usr/include/proc/sysinfo.h
 
34
#usr/include/proc/version.h
 
35
#usr/include/proc/wchan.h
 
36
#usr/include/proc/whattime.h
32
37
#usr/share/doc/procps-ng
33
38
#usr/share/doc/procps-ng/FAQ
34
39
#usr/share/doc/procps-ng/bugs.md
35
 
#usr/share/doc/procps-ng/libproc.supp
36
40
#usr/share/locale/de/LC_MESSAGES/procps-ng.mo
37
 
#usr/share/locale/es/LC_MESSAGES/procps-ng.mo
38
41
#usr/share/locale/fr/LC_MESSAGES/procps-ng.mo
39
 
#usr/share/locale/ka/LC_MESSAGES/procps-ng.mo
40
 
#usr/share/locale/ko/LC_MESSAGES/procps-ng.mo
41
42
#usr/share/locale/pl/LC_MESSAGES/procps-ng.mo
42
43
#usr/share/locale/pt_BR/LC_MESSAGES/procps-ng.mo
43
 
#usr/share/locale/ro/LC_MESSAGES/procps-ng.mo
44
44
#usr/share/locale/sv/LC_MESSAGES/procps-ng.mo
45
45
#usr/share/locale/uk/LC_MESSAGES/procps-ng.mo
46
46
#usr/share/locale/vi/LC_MESSAGES/procps-ng.mo
49
49
#usr/share/man/man1/kill.1
50
50
#usr/share/man/man1/pgrep.1
51
51
#usr/share/man/man1/pidof.1
52
 
#usr/share/man/man1/pidwait.1
53
52
#usr/share/man/man1/pkill.1
54
53
#usr/share/man/man1/pmap.1
 
54
#usr/share/man/man1/procps.1
55
55
#usr/share/man/man1/ps.1
56
56
#usr/share/man/man1/pwdx.1
57
57
#usr/share/man/man1/slabtop.1
59
59
#usr/share/man/man1/top.1
60
60
#usr/share/man/man1/w.1
61
61
#usr/share/man/man1/watch.1
62
 
#usr/share/man/man3/procps.3
63
 
#usr/share/man/man3/procps_misc.3
64
 
#usr/share/man/man3/procps_pids.3
 
62
#usr/share/man/man3/openproc.3
 
63
#usr/share/man/man3/readproc.3
 
64
#usr/share/man/man3/readproctab.3
65
65
#usr/share/man/man5/sysctl.conf.5
66
66
#usr/share/man/man8/sysctl.8
67
67
#usr/share/man/man8/vmstat.8