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

« back to all changes in this revision

Viewing changes to config/rootfiles/common/bind

  • 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:
157
157
#usr/include/isc/heap.h
158
158
#usr/include/isc/hex.h
159
159
#usr/include/isc/hmac.h
 
160
#usr/include/isc/hp.h
160
161
#usr/include/isc/ht.h
161
162
#usr/include/isc/httpd.h
162
163
#usr/include/isc/interfaceiter.h
174
175
#usr/include/isc/mem.h
175
176
#usr/include/isc/meminfo.h
176
177
#usr/include/isc/mutex.h
 
178
#usr/include/isc/mutexatomic.h
177
179
#usr/include/isc/mutexblock.h
178
180
#usr/include/isc/net.h
179
181
#usr/include/isc/netaddr.h
189
191
#usr/include/isc/pool.h
190
192
#usr/include/isc/portset.h
191
193
#usr/include/isc/print.h
 
194
#usr/include/isc/queue.h
192
195
#usr/include/isc/quota.h
193
196
#usr/include/isc/radix.h
194
197
#usr/include/isc/random.h
271
274
#usr/include/pk11/site.h
272
275
#usr/include/pkcs11
273
276
#usr/include/pkcs11/pkcs11.h
274
 
usr/lib/libbind9-9.16.44.so
 
277
usr/lib/libbind9-9.16.28.so
275
278
#usr/lib/libbind9.la
276
279
#usr/lib/libbind9.so
277
 
usr/lib/libdns-9.16.44.so
 
280
usr/lib/libdns-9.16.28.so
278
281
#usr/lib/libdns.la
279
282
#usr/lib/libdns.so
280
 
usr/lib/libirs-9.16.44.so
 
283
usr/lib/libirs-9.16.28.so
281
284
#usr/lib/libirs.la
282
285
#usr/lib/libirs.so
283
 
usr/lib/libisc-9.16.44.so
 
286
usr/lib/libisc-9.16.28.so
284
287
#usr/lib/libisc.la
285
288
#usr/lib/libisc.so
286
 
usr/lib/libisccc-9.16.44.so
 
289
usr/lib/libisccc-9.16.28.so
287
290
#usr/lib/libisccc.la
288
291
#usr/lib/libisccc.so
289
 
usr/lib/libisccfg-9.16.44.so
 
292
usr/lib/libisccfg-9.16.28.so
290
293
#usr/lib/libisccfg.la
291
294
#usr/lib/libisccfg.so
292
 
usr/lib/libns-9.16.44.so
 
295
usr/lib/libns-9.16.28.so
293
296
#usr/lib/libns.la
294
297
#usr/lib/libns.so