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

« back to all changes in this revision

Viewing changes to lfs/make

  • 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
###############################################################################
2
2
#                                                                             #
3
3
# IPFire.org - A linux based firewall                                         #
4
 
# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
 
4
# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
5
5
#                                                                             #
6
6
# This program is free software: you can redistribute it and/or modify        #
7
7
# it under the terms of the GNU General Public License as published by        #
26
26
 
27
27
SUMMARY    = GNU make
28
28
 
29
 
VER        = 4.4.1
 
29
VER        = 4.3
30
30
 
31
31
THISAPP    = make-$(VER)
32
32
DL_FILE    = $(THISAPP).tar.gz
33
33
DL_FROM    = $(URL_IPFIRE)
34
34
DIR_APP    = $(DIR_SRC)/$(THISAPP)
35
35
PROG       = make
36
 
PAK_VER    = 7
 
36
PAK_VER    = 5
37
37
 
38
38
DEPS       =
39
39
 
59
59
 
60
60
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
61
61
 
62
 
$(DL_FILE)_BLAKE2 = 09a4ad8060259e36854b525ab610fd317a86f4926e44e3ab8adba75dccc8d4b445df9dd25ccfb4c25a54bc0e98238a9127e36401d74cbc3503a329eadcdf4995
 
62
$(DL_FILE)_BLAKE2 = 5a82ce1f30eb034366ac3b87d2ec6698aae17d7b1a611941cf42136b2453b34236ab55382eab0a593c43cee8b036ba4a054f966c41ba766fdbd2862942be5dff
63
63
 
64
64
install : $(TARGET)
65
65