diff options
Diffstat (limited to 'debian/patches/debian-banner.patch')
-rw-r--r-- | debian/patches/debian-banner.patch | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/debian/patches/debian-banner.patch b/debian/patches/debian-banner.patch index 47a2fe372..82cc37c1b 100644 --- a/debian/patches/debian-banner.patch +++ b/debian/patches/debian-banner.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 90c1c8771b61dd3ee0eacb4e1cfac404dc42f4b0 Mon Sep 17 00:00:00 2001 | 1 | From 6353ee79cc71ef33a0a34d2d769a5fe327f6260d Mon Sep 17 00:00:00 2001 |
2 | From: Kees Cook <kees@debian.org> | 2 | From: Kees Cook <kees@debian.org> |
3 | Date: Sun, 9 Feb 2014 16:10:06 +0000 | 3 | Date: Sun, 9 Feb 2014 16:10:06 +0000 |
4 | Subject: Add DebianBanner server configuration option | 4 | Subject: Add DebianBanner server configuration option |
@@ -22,7 +22,7 @@ Patch-Name: debian-banner.patch | |||
22 | 7 files changed, 22 insertions(+), 5 deletions(-) | 22 | 7 files changed, 22 insertions(+), 5 deletions(-) |
23 | 23 | ||
24 | diff --git a/kex.c b/kex.c | 24 | diff --git a/kex.c b/kex.c |
25 | index 0e64bf760..aa5acaac3 100644 | 25 | index ce7bb5b3b..763c45536 100644 |
26 | --- a/kex.c | 26 | --- a/kex.c |
27 | +++ b/kex.c | 27 | +++ b/kex.c |
28 | @@ -1225,7 +1225,7 @@ send_error(struct ssh *ssh, char *msg) | 28 | @@ -1225,7 +1225,7 @@ send_error(struct ssh *ssh, char *msg) |
@@ -58,10 +58,10 @@ index fe7141414..938dca03b 100644 | |||
58 | struct kex *kex_new(void); | 58 | struct kex *kex_new(void); |
59 | int kex_ready(struct ssh *, char *[PROPOSAL_MAX]); | 59 | int kex_ready(struct ssh *, char *[PROPOSAL_MAX]); |
60 | diff --git a/servconf.c b/servconf.c | 60 | diff --git a/servconf.c b/servconf.c |
61 | index ff5b9436c..cf4e52f3b 100644 | 61 | index 21abe41ac..f9eb778d6 100644 |
62 | --- a/servconf.c | 62 | --- a/servconf.c |
63 | +++ b/servconf.c | 63 | +++ b/servconf.c |
64 | @@ -194,6 +194,7 @@ initialize_server_options(ServerOptions *options) | 64 | @@ -195,6 +195,7 @@ initialize_server_options(ServerOptions *options) |
65 | options->fingerprint_hash = -1; | 65 | options->fingerprint_hash = -1; |
66 | options->disable_forwarding = -1; | 66 | options->disable_forwarding = -1; |
67 | options->expose_userauth_info = -1; | 67 | options->expose_userauth_info = -1; |
@@ -69,7 +69,7 @@ index ff5b9436c..cf4e52f3b 100644 | |||
69 | } | 69 | } |
70 | 70 | ||
71 | /* Returns 1 if a string option is unset or set to "none" or 0 otherwise. */ | 71 | /* Returns 1 if a string option is unset or set to "none" or 0 otherwise. */ |
72 | @@ -468,6 +469,8 @@ fill_default_server_options(ServerOptions *options) | 72 | @@ -469,6 +470,8 @@ fill_default_server_options(ServerOptions *options) |
73 | options->expose_userauth_info = 0; | 73 | options->expose_userauth_info = 0; |
74 | if (options->sk_provider == NULL) | 74 | if (options->sk_provider == NULL) |
75 | options->sk_provider = xstrdup("internal"); | 75 | options->sk_provider = xstrdup("internal"); |
@@ -78,7 +78,7 @@ index ff5b9436c..cf4e52f3b 100644 | |||
78 | 78 | ||
79 | assemble_algorithms(options); | 79 | assemble_algorithms(options); |
80 | 80 | ||
81 | @@ -556,6 +559,7 @@ typedef enum { | 81 | @@ -548,6 +551,7 @@ typedef enum { |
82 | sStreamLocalBindMask, sStreamLocalBindUnlink, | 82 | sStreamLocalBindMask, sStreamLocalBindUnlink, |
83 | sAllowStreamLocalForwarding, sFingerprintHash, sDisableForwarding, | 83 | sAllowStreamLocalForwarding, sFingerprintHash, sDisableForwarding, |
84 | sExposeAuthInfo, sRDomain, sPubkeyAuthOptions, sSecurityKeyProvider, | 84 | sExposeAuthInfo, sRDomain, sPubkeyAuthOptions, sSecurityKeyProvider, |
@@ -86,7 +86,7 @@ index ff5b9436c..cf4e52f3b 100644 | |||
86 | sDeprecated, sIgnore, sUnsupported | 86 | sDeprecated, sIgnore, sUnsupported |
87 | } ServerOpCodes; | 87 | } ServerOpCodes; |
88 | 88 | ||
89 | @@ -719,6 +723,7 @@ static struct { | 89 | @@ -712,6 +716,7 @@ static struct { |
90 | { "rdomain", sRDomain, SSHCFG_ALL }, | 90 | { "rdomain", sRDomain, SSHCFG_ALL }, |
91 | { "casignaturealgorithms", sCASignatureAlgorithms, SSHCFG_ALL }, | 91 | { "casignaturealgorithms", sCASignatureAlgorithms, SSHCFG_ALL }, |
92 | { "securitykeyprovider", sSecurityKeyProvider, SSHCFG_GLOBAL }, | 92 | { "securitykeyprovider", sSecurityKeyProvider, SSHCFG_GLOBAL }, |
@@ -94,7 +94,7 @@ index ff5b9436c..cf4e52f3b 100644 | |||
94 | { NULL, sBadOption, 0 } | 94 | { NULL, sBadOption, 0 } |
95 | }; | 95 | }; |
96 | 96 | ||
97 | @@ -2393,6 +2398,10 @@ process_server_config_line_depth(ServerOptions *options, char *line, | 97 | @@ -2402,6 +2407,10 @@ process_server_config_line_depth(ServerOptions *options, char *line, |
98 | *charptr = xstrdup(arg); | 98 | *charptr = xstrdup(arg); |
99 | break; | 99 | break; |
100 | 100 | ||
@@ -106,10 +106,10 @@ index ff5b9436c..cf4e52f3b 100644 | |||
106 | case sIgnore: | 106 | case sIgnore: |
107 | case sUnsupported: | 107 | case sUnsupported: |
108 | diff --git a/servconf.h b/servconf.h | 108 | diff --git a/servconf.h b/servconf.h |
109 | index 253cad97e..5a2b60512 100644 | 109 | index f10908e5b..4afdf24d0 100644 |
110 | --- a/servconf.h | 110 | --- a/servconf.h |
111 | +++ b/servconf.h | 111 | +++ b/servconf.h |
112 | @@ -226,6 +226,8 @@ typedef struct { | 112 | @@ -227,6 +227,8 @@ typedef struct { |
113 | int expose_userauth_info; | 113 | int expose_userauth_info; |
114 | u_int64_t timing_secret; | 114 | u_int64_t timing_secret; |
115 | char *sk_provider; | 115 | char *sk_provider; |
@@ -119,10 +119,10 @@ index 253cad97e..5a2b60512 100644 | |||
119 | 119 | ||
120 | /* Information about the incoming connection as used by Match */ | 120 | /* Information about the incoming connection as used by Match */ |
121 | diff --git a/sshconnect.c b/sshconnect.c | 121 | diff --git a/sshconnect.c b/sshconnect.c |
122 | index f20d3e792..1e5b8ea5a 100644 | 122 | index 3ae20b74e..bab3916d8 100644 |
123 | --- a/sshconnect.c | 123 | --- a/sshconnect.c |
124 | +++ b/sshconnect.c | 124 | +++ b/sshconnect.c |
125 | @@ -1293,7 +1293,7 @@ ssh_login(struct ssh *ssh, Sensitive *sensitive, const char *orighost, | 125 | @@ -1296,7 +1296,7 @@ ssh_login(struct ssh *ssh, Sensitive *sensitive, const char *orighost, |
126 | lowercase(host); | 126 | lowercase(host); |
127 | 127 | ||
128 | /* Exchange protocol version identification strings with the server. */ | 128 | /* Exchange protocol version identification strings with the server. */ |
@@ -132,10 +132,10 @@ index f20d3e792..1e5b8ea5a 100644 | |||
132 | 132 | ||
133 | /* Put the connection into non-blocking mode. */ | 133 | /* Put the connection into non-blocking mode. */ |
134 | diff --git a/sshd.c b/sshd.c | 134 | diff --git a/sshd.c b/sshd.c |
135 | index e8b332ca4..baee13506 100644 | 135 | index 38d281ab4..50f2726bf 100644 |
136 | --- a/sshd.c | 136 | --- a/sshd.c |
137 | +++ b/sshd.c | 137 | +++ b/sshd.c |
138 | @@ -2181,7 +2181,7 @@ main(int ac, char **av) | 138 | @@ -2232,7 +2232,7 @@ main(int ac, char **av) |
139 | if (!debug_flag) | 139 | if (!debug_flag) |
140 | alarm(options.login_grace_time); | 140 | alarm(options.login_grace_time); |
141 | 141 | ||
@@ -145,7 +145,7 @@ index e8b332ca4..baee13506 100644 | |||
145 | sshpkt_fatal(ssh, r, "banner exchange"); | 145 | sshpkt_fatal(ssh, r, "banner exchange"); |
146 | 146 | ||
147 | diff --git a/sshd_config.5 b/sshd_config.5 | 147 | diff --git a/sshd_config.5 b/sshd_config.5 |
148 | index 9f093be1f..753ceda10 100644 | 148 | index 6457620bb..33dc0c675 100644 |
149 | --- a/sshd_config.5 | 149 | --- a/sshd_config.5 |
150 | +++ b/sshd_config.5 | 150 | +++ b/sshd_config.5 |
151 | @@ -540,6 +540,11 @@ or | 151 | @@ -540,6 +540,11 @@ or |