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

« back to all changes in this revision

Viewing changes to lfs/shairport-sync

  • 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    = An AirPlay audio player
28
28
 
29
 
VER        = 4.1.1
 
29
VER        = 3.3.8
30
30
 
31
31
THISAPP    = shairport-sync-$(VER)
32
32
DL_FILE    = $(THISAPP).tar.gz
34
34
DIR_APP    = $(DIR_SRC)/$(THISAPP)
35
35
TARGET     = $(DIR_INFO)/$(THISAPP)
36
36
PROG       = shairport-sync
37
 
PAK_VER    = 12
 
37
PAK_VER    = 6
38
38
 
39
 
DEPS       = alac alsa avahi ffmpeg libdaemon libplist nqptp soxr
 
39
DEPS       = alac alsa avahi libdaemon soxr
40
40
 
41
41
SERVICES   = shairport-sync
42
42
 
48
48
 
49
49
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
50
50
 
51
 
$(DL_FILE)_BLAKE2 = 7f3fd50da49c6f57ef2de9a2969d00218b9668cc05f671b65c9ce38d27053d5a514e195027e8ee904d70eb495b31d70cb964861f0cee2ede7a7f9389c555abe3
 
51
$(DL_FILE)_BLAKE2 = adaaef3a65d3ffccda2ba3ed324312fe5e95db00f2ae2c67afd49a43e6e5c8517d7eeb751f0b663a1e75a470f1cfcd9547e26bd11fa095565ba048d98465dcd8
52
52
 
53
53
install : $(TARGET)
54
54
 
85
85
        cd $(DIR_APP) && ./configure \
86
86
                --prefix=/usr \
87
87
                --sysconfdir=/etc \
88
 
                --with-airplay-2 \
89
88
                --with-alsa \
90
89
                --with-apple-alac \
91
90
                --with-avahi \