diff options
author | Colin Watson <cjwatson@debian.org> | 2011-01-24 12:43:25 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2011-01-24 12:43:25 +0000 |
commit | 626f1d986ff72aa514da63e34744e1de9cf21b9a (patch) | |
tree | d215a5280bc2e57251e4a9e08bfd3674ad824a94 /misc.h | |
parent | 6ed622cb6fe8f71bbe0d998cdd12280410bfb420 (diff) | |
parent | 0970072c89b079b022538e3c366fbfa2c53fc821 (diff) |
* New upstream release (http://www.openssh.org/txt/release-5.7):
- Implement Elliptic Curve Cryptography modes for key exchange (ECDH)
and host/user keys (ECDSA) as specified by RFC5656. ECDH and ECDSA
offer better performance than plain DH and DSA at the same equivalent
symmetric key length, as well as much shorter keys.
- sftp(1)/sftp-server(8): add a protocol extension to support a hard
link operation. It is available through the "ln" command in the
client. The old "ln" behaviour of creating a symlink is available
using its "-s" option or through the preexisting "symlink" command.
- scp(1): Add a new -3 option to scp: Copies between two remote hosts
are transferred through the local host (closes: #508613).
- ssh(1): "atomically" create the listening mux socket by binding it on
a temporary name and then linking it into position after listen() has
succeeded. This allows the mux clients to determine that the server
socket is either ready or stale without races (closes: #454784).
Stale server sockets are now automatically removed (closes: #523250).
- ssh(1): install a SIGCHLD handler to reap expired child process
(closes: #594687).
- ssh(1)/ssh-agent(1): honour $TMPDIR for client xauth and ssh-agent
temporary directories (closes: #357469, although only if you arrange
for ssh-agent to actually see $TMPDIR since the setgid bit will cause
it to be stripped off).
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.43 2010/07/13 23:13:16 djm Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.47 2010/11/21 01:01:13 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -36,7 +36,6 @@ void sanitise_stdfd(void); | |||
36 | void ms_subtract_diff(struct timeval *, int *); | 36 | void ms_subtract_diff(struct timeval *, int *); |
37 | void ms_to_timeval(struct timeval *, int); | 37 | void ms_to_timeval(struct timeval *, int); |
38 | void sock_set_v6only(int); | 38 | void sock_set_v6only(int); |
39 | int timingsafe_bcmp(const void *, const void *, size_t); | ||
40 | 39 | ||
41 | struct passwd *pwcopy(struct passwd *); | 40 | struct passwd *pwcopy(struct passwd *); |
42 | const char *ssh_gai_strerror(int); | 41 | const char *ssh_gai_strerror(int); |
@@ -80,6 +79,17 @@ void put_u32(void *, u_int32_t) | |||
80 | void put_u16(void *, u_int16_t) | 79 | void put_u16(void *, u_int16_t) |
81 | __attribute__((__bounded__( __minbytes__, 1, 2))); | 80 | __attribute__((__bounded__( __minbytes__, 1, 2))); |
82 | 81 | ||
82 | struct bwlimit { | ||
83 | size_t buflen; | ||
84 | u_int64_t rate, thresh, lamt; | ||
85 | struct timeval bwstart, bwend; | ||
86 | }; | ||
87 | |||
88 | void bandwidth_limit_init(struct bwlimit *, u_int64_t, size_t); | ||
89 | void bandwidth_limit(struct bwlimit *, size_t); | ||
90 | |||
91 | int parse_ipqos(const char *); | ||
92 | void mktemp_proto(char *, size_t); | ||
83 | 93 | ||
84 | /* readpass.c */ | 94 | /* readpass.c */ |
85 | 95 | ||