summaryrefslogtreecommitdiff
path: root/debian/patches/syslog-level-silent.patch
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-03-31 10:46:28 +0100
committerColin Watson <cjwatson@debian.org>2010-03-31 10:46:28 +0100
commitefd3d4522636ae029488c2e9730b60c88e257d2e (patch)
tree31e02ac3f16090ce8c53448677356b2b7f423683 /debian/patches/syslog-level-silent.patch
parentbbec4db36d464ea1d464a707625125f9fd5c7b5e (diff)
parentd1a87e462e1db89f19cd960588d0c6b287cb5ccc (diff)
* New upstream release (LP: #535029).
- After a transition period of about 10 years, this release disables SSH protocol 1 by default. Clients and servers that need to use the legacy protocol must explicitly enable it in ssh_config / sshd_config or on the command-line. - Remove the libsectok/OpenSC-based smartcard code and add support for PKCS#11 tokens. This support is enabled by default in the Debian packaging, since it now doesn't involve additional library dependencies (closes: #231472, LP: #16918). - Add support for certificate authentication of users and hosts using a new, minimal OpenSSH certificate format (closes: #482806). - Added a 'netcat mode' to ssh(1): "ssh -W host:port ...". - Add the ability to revoke keys in sshd(8) and ssh(1). (For the Debian package, this overlaps with the key blacklisting facility added in openssh 1:4.7p1-9, but with different file formats and slightly different scopes; for the moment, I've roughly merged the two.) - Various multiplexing improvements, including support for requesting port-forwardings via the multiplex protocol (closes: #360151). - Allow setting an explicit umask on the sftp-server(8) commandline to override whatever default the user has (closes: #496843). - Many sftp client improvements, including tab-completion, more options, and recursive transfer support for get/put (LP: #33378). The old mget/mput commands never worked properly and have been removed (closes: #270399, #428082). - Do not prompt for a passphrase if we fail to open a keyfile, and log the reason why the open failed to debug (closes: #431538). - Prevent sftp from crashing when given a "-" without a command. Also, allow whitespace to follow a "-" (closes: #531561).
Diffstat (limited to 'debian/patches/syslog-level-silent.patch')
-rw-r--r--debian/patches/syslog-level-silent.patch26
1 files changed, 13 insertions, 13 deletions
diff --git a/debian/patches/syslog-level-silent.patch b/debian/patches/syslog-level-silent.patch
index 04ea64d34..3ed46c8f8 100644
--- a/debian/patches/syslog-level-silent.patch
+++ b/debian/patches/syslog-level-silent.patch
@@ -18,7 +18,7 @@ Index: b/clientloop.c
18=================================================================== 18===================================================================
19--- a/clientloop.c 19--- a/clientloop.c
20+++ b/clientloop.c 20+++ b/clientloop.c
21@@ -1533,7 +1533,7 @@ 21@@ -1536,7 +1536,7 @@
22 * In interactive mode (with pseudo tty) display a message indicating 22 * In interactive mode (with pseudo tty) display a message indicating
23 * that the connection has been closed. 23 * that the connection has been closed.
24 */ 24 */
@@ -63,20 +63,20 @@ Index: b/mux.c
63=================================================================== 63===================================================================
64--- a/mux.c 64--- a/mux.c
65+++ b/mux.c 65+++ b/mux.c
66@@ -721,7 +721,7 @@ 66@@ -1553,7 +1553,7 @@
67 } else 67 } else
68 debug2("Received exit status from master %d", exitval[0]); 68 debug2("Received exit status from master %d", exitval);
69 69
70- if (tty_flag && options.log_level != SYSLOG_LEVEL_QUIET) 70- if (tty_flag && options.log_level != SYSLOG_LEVEL_QUIET)
71+ if (tty_flag && options.log_level > SYSLOG_LEVEL_QUIET) 71+ if (tty_flag && options.log_level > SYSLOG_LEVEL_QUIET)
72 fprintf(stderr, "Shared connection to %s closed.\r\n", host); 72 fprintf(stderr, "Shared connection to %s closed.\r\n", host);
73 73
74 exit(exitval[0]); 74 exit(exitval);
75Index: b/sftp-server.8 75Index: b/sftp-server.8
76=================================================================== 76===================================================================
77--- a/sftp-server.8 77--- a/sftp-server.8
78+++ b/sftp-server.8 78+++ b/sftp-server.8
79@@ -64,7 +64,7 @@ 79@@ -74,7 +74,7 @@
80 Specifies which messages will be logged by 80 Specifies which messages will be logged by
81 .Nm . 81 .Nm .
82 The possible values are: 82 The possible values are:
@@ -89,7 +89,7 @@ Index: b/ssh.1
89=================================================================== 89===================================================================
90--- a/ssh.1 90--- a/ssh.1
91+++ b/ssh.1 91+++ b/ssh.1
92@@ -500,6 +500,11 @@ 92@@ -504,6 +504,11 @@
93 .It Fl q 93 .It Fl q
94 Quiet mode. 94 Quiet mode.
95 Causes most warning and diagnostic messages to be suppressed. 95 Causes most warning and diagnostic messages to be suppressed.
@@ -105,8 +105,8 @@ Index: b/ssh.c
105=================================================================== 105===================================================================
106--- a/ssh.c 106--- a/ssh.c
107+++ b/ssh.c 107+++ b/ssh.c
108@@ -389,7 +389,12 @@ 108@@ -421,7 +421,12 @@
109 } 109 options.exit_on_forward_failure = 1;
110 break; 110 break;
111 case 'q': 111 case 'q':
112- options.log_level = SYSLOG_LEVEL_QUIET; 112- options.log_level = SYSLOG_LEVEL_QUIET;
@@ -119,7 +119,7 @@ Index: b/ssh.c
119 break; 119 break;
120 case 'e': 120 case 'e':
121 if (optarg[0] == '^' && optarg[2] == 0 && 121 if (optarg[0] == '^' && optarg[2] == 0 &&
122@@ -592,7 +597,7 @@ 122@@ -624,7 +629,7 @@
123 tty_flag = 0; 123 tty_flag = 0;
124 /* Do not allocate a tty if stdin is not a tty. */ 124 /* Do not allocate a tty if stdin is not a tty. */
125 if ((!isatty(fileno(stdin)) || stdin_null_flag) && !force_tty_flag) { 125 if ((!isatty(fileno(stdin)) || stdin_null_flag) && !force_tty_flag) {
@@ -132,7 +132,7 @@ Index: b/ssh_config.5
132=================================================================== 132===================================================================
133--- a/ssh_config.5 133--- a/ssh_config.5
134+++ b/ssh_config.5 134+++ b/ssh_config.5
135@@ -685,7 +685,7 @@ 135@@ -698,7 +698,7 @@
136 Gives the verbosity level that is used when logging messages from 136 Gives the verbosity level that is used when logging messages from
137 .Xr ssh 1 . 137 .Xr ssh 1 .
138 The possible values are: 138 The possible values are:
@@ -145,7 +145,7 @@ Index: b/sshd.8
145=================================================================== 145===================================================================
146--- a/sshd.8 146--- a/sshd.8
147+++ b/sshd.8 147+++ b/sshd.8
148@@ -207,9 +207,12 @@ 148@@ -217,9 +217,12 @@
149 option override command-line ports. 149 option override command-line ports.
150 .It Fl q 150 .It Fl q
151 Quiet mode. 151 Quiet mode.
@@ -163,7 +163,7 @@ Index: b/sshd.c
163=================================================================== 163===================================================================
164--- a/sshd.c 164--- a/sshd.c
165+++ b/sshd.c 165+++ b/sshd.c
166@@ -1355,7 +1355,12 @@ 166@@ -1370,7 +1370,12 @@
167 /* ignored */ 167 /* ignored */
168 break; 168 break;
169 case 'q': 169 case 'q':
@@ -181,7 +181,7 @@ Index: b/sshd_config.5
181=================================================================== 181===================================================================
182--- a/sshd_config.5 182--- a/sshd_config.5
183+++ b/sshd_config.5 183+++ b/sshd_config.5
184@@ -567,7 +567,7 @@ 184@@ -575,7 +575,7 @@
185 Gives the verbosity level that is used when logging messages from 185 Gives the verbosity level that is used when logging messages from
186 .Xr sshd 8 . 186 .Xr sshd 8 .
187 The possible values are: 187 The possible values are: