summaryrefslogtreecommitdiff
path: root/debian/patches/ssh1-keepalive.patch
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-02-09 16:10:19 +0000
committerColin Watson <cjwatson@debian.org>2014-02-09 16:25:52 +0000
commitd26565af8589d88f824b26f31da493f1056efcf4 (patch)
treeff5e3b9c0fbb553f4f4c6e8836070659f266108e /debian/patches/ssh1-keepalive.patch
parent16fb149cbb42efe0cb13f3edbafcb1a21ecfe574 (diff)
parentbb5616c94d6d6b97890e90dd01a7ad07c663dc0b (diff)
Initialize git-dpm
Diffstat (limited to 'debian/patches/ssh1-keepalive.patch')
-rw-r--r--debian/patches/ssh1-keepalive.patch27
1 files changed, 18 insertions, 9 deletions
diff --git a/debian/patches/ssh1-keepalive.patch b/debian/patches/ssh1-keepalive.patch
index de61e1dd9..e563bda7c 100644
--- a/debian/patches/ssh1-keepalive.patch
+++ b/debian/patches/ssh1-keepalive.patch
@@ -1,13 +1,22 @@
1Description: Partial server keep-alive implementation for SSH1 1From 4c7ed5c80e5f67277620ac973317cc516b67d0e7 Mon Sep 17 00:00:00 2001
2Author: Colin Watson <cjwatson@debian.org> 2From: Colin Watson <cjwatson@debian.org>
3Date: Sun, 9 Feb 2014 16:09:51 +0000
4Subject: Partial server keep-alive implementation for SSH1
5
3Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1712 6Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1712
4Last-Update: 2013-09-14 7Last-Update: 2013-09-14
5 8
6Index: b/clientloop.c 9Patch-Name: ssh1-keepalive.patch
7=================================================================== 10---
11 clientloop.c | 25 +++++++++++++++----------
12 ssh_config.5 | 5 ++++-
13 2 files changed, 19 insertions(+), 11 deletions(-)
14
15diff --git a/clientloop.c b/clientloop.c
16index 311dc13..dc76d69 100644
8--- a/clientloop.c 17--- a/clientloop.c
9+++ b/clientloop.c 18+++ b/clientloop.c
10@@ -563,16 +563,21 @@ 19@@ -563,16 +563,21 @@ client_global_request_reply(int type, u_int32_t seq, void *ctxt)
11 static void 20 static void
12 server_alive_check(void) 21 server_alive_check(void)
13 { 22 {
@@ -38,7 +47,7 @@ Index: b/clientloop.c
38 } 47 }
39 48
40 /* 49 /*
41@@ -634,7 +639,7 @@ 50@@ -634,7 +639,7 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp,
42 */ 51 */
43 52
44 timeout_secs = INT_MAX; /* we use INT_MAX to mean no timeout */ 53 timeout_secs = INT_MAX; /* we use INT_MAX to mean no timeout */
@@ -47,11 +56,11 @@ Index: b/clientloop.c
47 timeout_secs = options.server_alive_interval; 56 timeout_secs = options.server_alive_interval;
48 server_alive_time = now + options.server_alive_interval; 57 server_alive_time = now + options.server_alive_interval;
49 } 58 }
50Index: b/ssh_config.5 59diff --git a/ssh_config.5 b/ssh_config.5
51=================================================================== 60index 8d806c7..89b25cd 100644
52--- a/ssh_config.5 61--- a/ssh_config.5
53+++ b/ssh_config.5 62+++ b/ssh_config.5
54@@ -1130,7 +1130,10 @@ 63@@ -1130,7 +1130,10 @@ If, for example,
55 .Cm ServerAliveCountMax 64 .Cm ServerAliveCountMax
56 is left at the default, if the server becomes unresponsive, 65 is left at the default, if the server becomes unresponsive,
57 ssh will disconnect after approximately 45 seconds. 66 ssh will disconnect after approximately 45 seconds.