summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-12-24 10:29:57 +0000
committerColin Watson <cjwatson@debian.org>2007-12-24 10:29:57 +0000
commitc3e531b12b2335b7fa5a6bcc9a309d3c523ff64b (patch)
treeb72c0867348e7e7914d64af6fc5e25c728922e03 /defines.h
parent6b222fdf3cb54c11a446df38e027fe7acf2220cb (diff)
parent70847d299887abb96f8703ca99db6d817b78960e (diff)
* New upstream release (closes: #453367).
- CVE-2007-4752: Prevent ssh(1) from using a trusted X11 cookie if creation of an untrusted cookie fails; found and fixed by Jan Pechanec (closes: #444738). - sshd(8) in new installations defaults to SSH Protocol 2 only. Existing installations are unchanged. - The SSH channel window size has been increased, and both ssh(1) sshd(8) now send window updates more aggressively. These improves performance on high-BDP (Bandwidth Delay Product) networks. - ssh(1) and sshd(8) now preserve MAC contexts between packets, which saves 2 hash calls per packet and results in 12-16% speedup for arcfour256/hmac-md5. - A new MAC algorithm has been added, UMAC-64 (RFC4418) as "umac-64@openssh.com". UMAC-64 has been measured to be approximately 20% faster than HMAC-MD5. - Failure to establish a ssh(1) TunnelForward is now treated as a fatal error when the ExitOnForwardFailure option is set. - ssh(1) returns a sensible exit status if the control master goes away without passing the full exit status. - When using a ProxyCommand in ssh(1), set the outgoing hostname with gethostname(2), allowing hostbased authentication to work. - Make scp(1) skip FIFOs rather than hanging (closes: #246774). - Encode non-printing characters in scp(1) filenames. These could cause copies to be aborted with a "protocol error". - Handle SIGINT in sshd(8) privilege separation child process to ensure that wtmp and lastlog records are correctly updated. - Report GSSAPI mechanism in errors, for libraries that support multiple mechanisms. - Improve documentation for ssh-add(1)'s -d option. - Rearrange and tidy GSSAPI code, removing server-only code being linked into the client. - Delay execution of ssh(1)'s LocalCommand until after all forwardings have been established. - In scp(1), do not truncate non-regular files. - Improve exit message from ControlMaster clients. - Prevent sftp-server(8) from reading until it runs out of buffer space, whereupon it would exit with a fatal error (closes: #365541). - pam_end() was not being called if authentication failed (closes: #405041). - Manual page datestamps updated (closes: #433181).
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/defines.h b/defines.h
index 8a4e2c73e..5e7d6769d 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.138 2006/09/21 13:13:30 dtucker Exp $ */ 28/* $Id: defines.h,v 1.143 2007/08/09 04:37:52 dtucker Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -68,7 +68,7 @@ enum
68# endif 68# endif
69#endif 69#endif
70 70
71#ifndef MAXSYMLINKS 71#if defined(HAVE_DECL_MAXSYMLINKS) && HAVE_DECL_MAXSYMLINKS == 0
72# define MAXSYMLINKS 5 72# define MAXSYMLINKS 5
73#endif 73#endif
74 74
@@ -321,12 +321,6 @@ struct winsize {
321#ifndef _PATH_BSHELL 321#ifndef _PATH_BSHELL
322# define _PATH_BSHELL "/bin/sh" 322# define _PATH_BSHELL "/bin/sh"
323#endif 323#endif
324#ifndef _PATH_CSHELL
325# define _PATH_CSHELL "/bin/csh"
326#endif
327#ifndef _PATH_SHELLS
328# define _PATH_SHELLS "/etc/shells"
329#endif
330 324
331#ifdef USER_PATH 325#ifdef USER_PATH
332# ifdef _PATH_STDPATH 326# ifdef _PATH_STDPATH
@@ -449,6 +443,10 @@ struct winsize {
449# define __bounded__(x, y, z) 443# define __bounded__(x, y, z)
450#endif 444#endif
451 445
446#if !defined(HAVE_ATTRIBUTE__NONNULL__) && !defined(__nonnull__)
447# define __nonnull__(x)
448#endif
449
452/* *-*-nto-qnx doesn't define this macro in the system headers */ 450/* *-*-nto-qnx doesn't define this macro in the system headers */
453#ifdef MISSING_HOWMANY 451#ifdef MISSING_HOWMANY
454# define howmany(x,y) (((x)+((y)-1))/(y)) 452# define howmany(x,y) (((x)+((y)-1))/(y))
@@ -487,7 +485,7 @@ struct winsize {
487 (struct cmsghdr *)NULL) 485 (struct cmsghdr *)NULL)
488#endif /* CMSG_FIRSTHDR */ 486#endif /* CMSG_FIRSTHDR */
489 487
490#ifndef offsetof 488#if defined(HAVE_DECL_OFFSETOF) && HAVE_DECL_OFFSETOF == 0
491# define offsetof(type, member) ((size_t) &((type *)0)->member) 489# define offsetof(type, member) ((size_t) &((type *)0)->member)
492#endif 490#endif
493 491
@@ -696,7 +694,8 @@ struct winsize {
696# define CUSTOM_SYS_AUTH_PASSWD 1 694# define CUSTOM_SYS_AUTH_PASSWD 1
697#endif 695#endif
698 696
699#ifdef HAVE_LIBIAF 697#if defined(HAVE_LIBIAF) && defined(HAVE_SET_ID) && !defined(BROKEN_LIBIAF)
698# define USE_LIBIAF
700# define CUSTOM_SYS_AUTH_PASSWD 1 699# define CUSTOM_SYS_AUTH_PASSWD 1
701#endif 700#endif
702 701