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

« back to all changes in this revision

Viewing changes to lfs/foomatic

  • 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-2019  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     = Tools for using the foomatic database of printers and printer drivers
28
28
 
29
 
VER         = 4.0.13
 
29
VER         = 4.0.9
30
30
VER_DB      = 4.0-$(DATE)
31
31
VER_FILTERS = 4.0.17
32
 
DATE        = 20230828
 
32
DATE        = 20131023
33
33
 
34
34
THISAPP    = foomatic-$(VER)
35
35
DL_FILE    = foomatic-filters-$(VER_FILTERS).tar.gz
37
37
DIR_APP    = $(DIR_SRC)/foomatic-filters-$(VER_FILTERS)
38
38
TARGET     = $(DIR_INFO)/$(THISAPP)
39
39
PROG       = foomatic
40
 
PAK_VER    = 9
 
40
PAK_VER    = 6
41
41
 
42
 
DEPS       = cups ghostscript hplip
 
42
DEPS       = cups ghostscript libtiff hplip
43
43
 
44
44
SERVICES   =
45
45
 
63
63
foomatic-db-engine-$(VER).tar.gz = $(DL_FROM)/foomatic-db-engine-$(VER).tar.gz
64
64
 
65
65
$(DL_FILE)_BLAKE2 = 2c8089dd0a07677885180efd6157576a1e84448aeda83bdb0e1c2692242cd711eaa0c32956a5434ea109706bc9733118ee886caf1cab085d53d480ac45fd80e7
66
 
foomatic-db-$(VER_DB).tar.gz_BLAKE2 = 9887993715c7d3037f76c9d97f52b02f5748d365cd0f547abcbce4098b5dc478aeac541d925a3a36bd3cae174df74860429174179ec1a29f6a7812f7ba793442
67
 
foomatic-db-engine-$(VER).tar.gz_BLAKE2 = 7784a3fec0bf7059f13ecd9eb31be61811b1d10d28c0bdc1f9eaaf4068a462f70b4147ac3d7015a66faf0e55d205b906d6d23aa365e5ffa52020c4c120845d37
 
66
foomatic-db-$(VER_DB).tar.gz_BLAKE2 = 030f9753327c745dfbd6648ca624fe396eb83da2a94aafd0ada948377350dcc4432f3ceac3f544f2c03dba579561c272004ba9f29ddaeefcaae31b9ebd81cfac
 
67
foomatic-db-engine-$(VER).tar.gz_BLAKE2 = e4835ce6f2f683852fef9f6b2cdd13a8a5c232b1cb0ef78d81944795fac115a8c68c0e0ff1d4dfa4926b72eaa5f6e6abc1e639a4c6be8e907e1ad3da271c9fe6
68
68
 
69
69
install : $(TARGET)
70
70