diff options
author | Colin Watson <cjwatson@debian.org> | 2014-10-07 13:33:15 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-10-07 14:27:30 +0100 |
commit | f0b009aea83e9ff3a50be30f51012099a5143c16 (patch) | |
tree | 3825e6f7e3b7ea4481d06ed89aba9a7a95150df5 /channels.h | |
parent | 47f0bad4330b16ec3bad870fcf9839c196e42c12 (diff) | |
parent | 762c062828f5a8f6ed189ed6e44ad38fd92f8b36 (diff) |
Merge 6.7p1.
* New upstream release (http://www.openssh.com/txt/release-6.7):
- sshd(8): The default set of ciphers and MACs has been altered to
remove unsafe algorithms. In particular, CBC ciphers and arcfour* are
disabled by default. The full set of algorithms remains available if
configured explicitly via the Ciphers and MACs sshd_config options.
- ssh(1), sshd(8): Add support for Unix domain socket forwarding. A
remote TCP port may be forwarded to a local Unix domain socket and
vice versa or both ends may be a Unix domain socket (closes: #236718).
- ssh(1), ssh-keygen(1): Add support for SSHFP DNS records for ED25519
key types.
- sftp(1): Allow resumption of interrupted uploads.
- ssh(1): When rekeying, skip file/DNS lookups of the hostkey if it is
the same as the one sent during initial key exchange.
- sshd(8): Allow explicit ::1 and 127.0.0.1 forwarding bind addresses
when GatewayPorts=no; allows client to choose address family.
- sshd(8): Add a sshd_config PermitUserRC option to control whether
~/.ssh/rc is executed, mirroring the no-user-rc authorized_keys
option.
- ssh(1): Add a %C escape sequence for LocalCommand and ControlPath that
expands to a unique identifer based on a hash of the tuple of (local
host, remote user, hostname, port). Helps avoid exceeding miserly
pathname limits for Unix domain sockets in multiplexing control paths.
- sshd(8): Make the "Too many authentication failures" message include
the user, source address, port and protocol in a format similar to the
authentication success / failure messages.
- Use CLOCK_BOOTTIME in preference to CLOCK_MONOTONIC when it is
available. It considers time spent suspended, thereby ensuring
timeouts (e.g. for expiring agent keys) fire correctly (closes:
#734553).
- Use prctl() to prevent sftp-server from accessing
/proc/self/{mem,maps}.
* Restore TCP wrappers support, removed upstream in 6.7. It is true that
dropping this reduces preauth attack surface in sshd. On the other
hand, this support seems to be quite widely used, and abruptly dropping
it (from the perspective of users who don't read openssh-unix-dev) could
easily cause more serious problems in practice. It's not entirely clear
what the right long-term answer for Debian is, but it at least probably
doesn't involve dropping this feature shortly before a freeze.
* Replace patch to disable OpenSSL version check with an updated version
of Kurt Roeckx's patch from #732940 to just avoid checking the status
field.
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/channels.h b/channels.h index 4fab9d7c4..a000c98e5 100644 --- a/channels.h +++ b/channels.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: channels.h,v 1.113 2013/06/07 15:37:52 dtucker Exp $ */ | 1 | /* $OpenBSD: channels.h,v 1.115 2014/07/15 15:54:14 millert Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -56,7 +56,9 @@ | |||
56 | #define SSH_CHANNEL_MUX_LISTENER 15 /* Listener for mux conn. */ | 56 | #define SSH_CHANNEL_MUX_LISTENER 15 /* Listener for mux conn. */ |
57 | #define SSH_CHANNEL_MUX_CLIENT 16 /* Conn. to mux slave */ | 57 | #define SSH_CHANNEL_MUX_CLIENT 16 /* Conn. to mux slave */ |
58 | #define SSH_CHANNEL_ABANDONED 17 /* Abandoned session, eg mux */ | 58 | #define SSH_CHANNEL_ABANDONED 17 /* Abandoned session, eg mux */ |
59 | #define SSH_CHANNEL_MAX_TYPE 18 | 59 | #define SSH_CHANNEL_UNIX_LISTENER 18 /* Listening on a domain socket. */ |
60 | #define SSH_CHANNEL_RUNIX_LISTENER 19 /* Listening to a R-style domain socket. */ | ||
61 | #define SSH_CHANNEL_MAX_TYPE 20 | ||
60 | 62 | ||
61 | #define CHANNEL_CANCEL_PORT_STATIC -1 | 63 | #define CHANNEL_CANCEL_PORT_STATIC -1 |
62 | 64 | ||
@@ -254,6 +256,8 @@ char *channel_open_message(void); | |||
254 | int channel_find_open(void); | 256 | int channel_find_open(void); |
255 | 257 | ||
256 | /* tcp forwarding */ | 258 | /* tcp forwarding */ |
259 | struct Forward; | ||
260 | struct ForwardOptions; | ||
257 | void channel_set_af(int af); | 261 | void channel_set_af(int af); |
258 | void channel_permit_all_opens(void); | 262 | void channel_permit_all_opens(void); |
259 | void channel_add_permitted_opens(char *, int); | 263 | void channel_add_permitted_opens(char *, int); |
@@ -263,18 +267,19 @@ void channel_update_permitted_opens(int, int); | |||
263 | void channel_clear_permitted_opens(void); | 267 | void channel_clear_permitted_opens(void); |
264 | void channel_clear_adm_permitted_opens(void); | 268 | void channel_clear_adm_permitted_opens(void); |
265 | void channel_print_adm_permitted_opens(void); | 269 | void channel_print_adm_permitted_opens(void); |
266 | int channel_input_port_forward_request(int, int); | 270 | int channel_input_port_forward_request(int, struct ForwardOptions *); |
267 | Channel *channel_connect_to(const char *, u_short, char *, char *); | 271 | Channel *channel_connect_to_port(const char *, u_short, char *, char *); |
272 | Channel *channel_connect_to_path(const char *, char *, char *); | ||
268 | Channel *channel_connect_stdio_fwd(const char*, u_short, int, int); | 273 | Channel *channel_connect_stdio_fwd(const char*, u_short, int, int); |
269 | Channel *channel_connect_by_listen_address(u_short, char *, char *); | 274 | Channel *channel_connect_by_listen_address(const char *, u_short, |
270 | int channel_request_remote_forwarding(const char *, u_short, | 275 | char *, char *); |
271 | const char *, u_short); | 276 | Channel *channel_connect_by_listen_path(const char *, char *, char *); |
272 | int channel_setup_local_fwd_listener(const char *, u_short, | 277 | int channel_request_remote_forwarding(struct Forward *); |
273 | const char *, u_short, int); | 278 | int channel_setup_local_fwd_listener(struct Forward *, struct ForwardOptions *); |
274 | int channel_request_rforward_cancel(const char *host, u_short port); | 279 | int channel_request_rforward_cancel(struct Forward *); |
275 | int channel_setup_remote_fwd_listener(const char *, u_short, int *, int); | 280 | int channel_setup_remote_fwd_listener(struct Forward *, int *, struct ForwardOptions *); |
276 | int channel_cancel_rport_listener(const char *, u_short); | 281 | int channel_cancel_rport_listener(struct Forward *); |
277 | int channel_cancel_lport_listener(const char *, u_short, int, int); | 282 | int channel_cancel_lport_listener(struct Forward *, int, struct ForwardOptions *); |
278 | int permitopen_port(const char *); | 283 | int permitopen_port(const char *); |
279 | 284 | ||
280 | /* x11 forwarding */ | 285 | /* x11 forwarding */ |