]> git.ipfire.org Git - thirdparty/openssh-portable.git/log
thirdparty/openssh-portable.git
11 years ago - (djm) [configure.ac] Delay checks for arc4random* until after libcrypto V_6_6 anongit/V_6_6 github-selfhosted/V_6_6 github/V_6_6
Damien Miller [Tue, 15 Jul 2014 01:51:08 +0000 (11:51 +1000)] 
 - (djm) [configure.ac] Delay checks for arc4random* until after libcrypto
   has been located; fixes builds agains libressl-portable

11 years ago - (djm) [bufaux.c compat.c compat.h sshconnect2.c sshd.c version.h]
Damien Miller [Sun, 20 Apr 2014 03:44:47 +0000 (13:44 +1000)] 
 - (djm) [bufaux.c compat.c compat.h sshconnect2.c sshd.c version.h]
   OpenSSH 6.5 and 6.6 sometimes encode a value used in the curve25519
   key exchange incorrectly, causing connection failures about 0.2% of
   the time when this method is used against a peer that implements
   the method properly.

   Fix the problem and disable the curve25519 KEX when speaking to
   OpenSSH 6.5 or 6.6. This version will identify itself as 6.6.1
   to enable the compatability code.

11 years agogratuitious commit to let the git tree see this branch
Damien Miller [Wed, 19 Mar 2014 21:15:42 +0000 (08:15 +1100)] 
gratuitious commit to let the git tree see this branch

11 years ago - (djm) [sandbox-seccomp-filter.c] Soft-fail stat() syscalls. Add XXX to
Damien Miller [Mon, 17 Mar 2014 03:45:56 +0000 (14:45 +1100)] 
 - (djm) [sandbox-seccomp-filter.c] Soft-fail stat() syscalls. Add XXX to
   remind myself to add sandbox violation logging via the log socket.

11 years ago20140314
Tim Rice [Fri, 14 Mar 2014 19:45:01 +0000 (12:45 -0700)] 
20140314
 - (tim) [opensshd.init.in] Add support for ed25519

11 years ago - (djm) Release OpenSSH 6.6 V_6_6_P1
Damien Miller [Thu, 13 Mar 2014 02:14:21 +0000 (13:14 +1100)] 
 - (djm) Release OpenSSH 6.6

11 years ago - djm@cvs.openbsd.org 2014/03/03 22:22:30
Damien Miller [Mon, 3 Mar 2014 22:35:17 +0000 (09:35 +1100)] 
   - djm@cvs.openbsd.org 2014/03/03 22:22:30
     [session.c]
     ignore enviornment variables with embedded '=' or '\0' characters;
     spotted by Jann Horn; ok deraadt@

11 years ago - (djm) [regress/Makefile] Disable dhgex regress test; it breaks when
Damien Miller [Sat, 1 Mar 2014 17:01:00 +0000 (04:01 +1100)] 
 - (djm) [regress/Makefile] Disable dhgex regress test; it breaks when
   no moduli file exists at the expected location.

11 years ago - (djm) [regress/host-expand.sh] Add RCS Id
Damien Miller [Thu, 27 Feb 2014 23:34:03 +0000 (10:34 +1100)] 
 - (djm) [regress/host-expand.sh] Add RCS Id

11 years ago - djm@cvs.openbsd.org 2014/02/27 21:21:25
Damien Miller [Thu, 27 Feb 2014 23:25:16 +0000 (10:25 +1100)] 
   - djm@cvs.openbsd.org 2014/02/27 21:21:25
     [agent-ptrace.sh agent.sh]
     keep return values that are printed in error messages;
     from portable
     (Id sync only)

11 years ago - djm@cvs.openbsd.org 2014/02/27 20:04:16
Damien Miller [Thu, 27 Feb 2014 23:24:11 +0000 (10:24 +1100)] 
   - djm@cvs.openbsd.org 2014/02/27 20:04:16
     [login-timeout.sh]
     remove any existing LoginGraceTime from sshd_config before adding
     a specific one for the test back in

11 years ago - djm@cvs.openbsd.org 2014/01/26 10:49:17
Damien Miller [Thu, 27 Feb 2014 23:23:26 +0000 (10:23 +1100)] 
   - djm@cvs.openbsd.org 2014/01/26 10:49:17
     [scp-ssh-wrapper.sh scp.sh]
     make sure $SCP is tested on the remote end rather than whichever one
     happens to be in $PATH; from portable
     (Id sync only)

11 years ago - djm@cvs.openbsd.org 2014/01/26 10:22:10
Damien Miller [Thu, 27 Feb 2014 23:22:37 +0000 (10:22 +1100)] 
   - djm@cvs.openbsd.org 2014/01/26 10:22:10
     [regress/cert-hostkey.sh]
     automatically generate revoked keys from listed keys rather than
     manually specifying each type; from portable
     (Id sync only)

11 years ago - dtucker@cvs.openbsd.org 2014/01/25 04:35:32
Damien Miller [Thu, 27 Feb 2014 23:21:26 +0000 (10:21 +1100)] 
   - dtucker@cvs.openbsd.org 2014/01/25 04:35:32
     [regress/Makefile regress/dhgex.sh]
     Add a test for DH GEX sizes

11 years ago - dtucker@cvs.openbsd.org 2014/01/20 00:00:30
Damien Miller [Thu, 27 Feb 2014 23:19:51 +0000 (10:19 +1100)] 
   - dtucker@cvs.openbsd.org 2014/01/20 00:00:30
     [sftp-chroot.sh]
     append to rather than truncating the log file

11 years ago - dtucker@cvs.openbsd.org 2014/01/19 23:43:02
Damien Miller [Thu, 27 Feb 2014 23:19:11 +0000 (10:19 +1100)] 
   - dtucker@cvs.openbsd.org 2014/01/19 23:43:02
     [regress/sftp-chroot.sh]
     Don't use -q on sftp as it suppresses logging, instead redirect the
     output to the regress logfile.

11 years ago - (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
Damien Miller [Thu, 27 Feb 2014 23:03:52 +0000 (10:03 +1100)] 
 - (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
   [contrib/suse/openssh.spec] Crank version numbers

11 years ago - djm@cvs.openbsd.org 2014/02/27 22:57:40
Damien Miller [Thu, 27 Feb 2014 23:01:53 +0000 (10:01 +1100)] 
   - djm@cvs.openbsd.org 2014/02/27 22:57:40
     [version.h]
     openssh-6.6

11 years ago - djm@cvs.openbsd.org 2014/02/27 22:47:07
Damien Miller [Thu, 27 Feb 2014 23:01:28 +0000 (10:01 +1100)] 
   - djm@cvs.openbsd.org 2014/02/27 22:47:07
     [sshd_config.5]
     bz#2184 clarify behaviour of a keyword that appears in multiple
     matching Match blocks; ok dtucker@

11 years ago - djm@cvs.openbsd.org 2014/02/27 08:25:09
Damien Miller [Thu, 27 Feb 2014 23:00:57 +0000 (10:00 +1100)] 
   - djm@cvs.openbsd.org 2014/02/27 08:25:09
     [bufbn.c]
     off by one in range check

11 years ago - djm@cvs.openbsd.org 2014/02/27 00:41:49
Damien Miller [Thu, 27 Feb 2014 23:00:27 +0000 (10:00 +1100)] 
   - djm@cvs.openbsd.org 2014/02/27 00:41:49
     [bufbn.c]
     fix unsigned overflow that could lead to reading a short ssh protocol
     1 bignum value; found by Ben Hawkes; ok deraadt@

11 years ago - markus@cvs.openbsd.org 2014/02/26 21:53:37
Damien Miller [Wed, 26 Feb 2014 23:20:07 +0000 (10:20 +1100)] 
   - markus@cvs.openbsd.org 2014/02/26 21:53:37
     [sshd.c]
     ssh_gssapi_prepare_supported_oids needs GSSAPI

11 years ago - djm@cvs.openbsd.org 2014/02/26 20:29:29
Damien Miller [Wed, 26 Feb 2014 23:18:32 +0000 (10:18 +1100)] 
   - djm@cvs.openbsd.org 2014/02/26 20:29:29
     [channels.c]
     don't assume that the socks4 username is \0 terminated;
     spotted by Ben Hawkes; ok markus@

11 years ago - djm@cvs.openbsd.org 2014/02/26 20:28:44
Damien Miller [Wed, 26 Feb 2014 23:17:49 +0000 (10:17 +1100)] 
   - djm@cvs.openbsd.org 2014/02/26 20:28:44
     [auth2-gss.c gss-serv.c ssh-gss.h sshd.c]
     bz#2107 - cache OIDs of supported GSSAPI mechanisms before privsep
     sandboxing, as running this code in the sandbox can cause violations;
     ok markus@

11 years ago - djm@cvs.openbsd.org 2014/02/26 20:18:37
Damien Miller [Wed, 26 Feb 2014 23:17:13 +0000 (10:17 +1100)] 
   - djm@cvs.openbsd.org 2014/02/26 20:18:37
     [ssh.c]
     bz#2205: avoid early hostname lookups unless canonicalisation is enabled;
     ok dtucker@ markus@

11 years ago - djm@cvs.openbsd.org 2014/02/23 20:11:36
Damien Miller [Mon, 24 Feb 2014 04:57:55 +0000 (15:57 +1100)] 
   - djm@cvs.openbsd.org 2014/02/23 20:11:36
     [readconf.c readconf.h ssh.c ssh_config.5]
     reparse ssh_config and ~/.ssh/config if hostname canonicalisation changes
     the hostname. This allows users to write configurations that always
     refer to canonical hostnames, e.g.

     CanonicalizeHostname yes
     CanonicalDomains int.example.org example.org
     CanonicalizeFallbackLocal no

     Host *.int.example.org
         Compression off
     Host *.example.org
         User djm

     ok markus@

11 years ago - djm@cvs.openbsd.org 2014/02/23 20:03:42
Damien Miller [Mon, 24 Feb 2014 04:57:22 +0000 (15:57 +1100)] 
   - djm@cvs.openbsd.org 2014/02/23 20:03:42
     [ssh-ed25519.c]
     check for unsigned overflow; not reachable in OpenSSH but others might
     copy our code...

11 years ago - djm@cvs.openbsd.org 2014/02/22 01:32:19
Damien Miller [Mon, 24 Feb 2014 04:56:45 +0000 (15:56 +1100)] 
   - djm@cvs.openbsd.org 2014/02/22 01:32:19
     [readconf.c]
     when processing Match blocks, skip 'exec' clauses if previous predicates
     failed to match; ok markus@

11 years ago - djm@cvs.openbsd.org 2014/02/15 23:05:36
Damien Miller [Mon, 24 Feb 2014 04:56:07 +0000 (15:56 +1100)] 
   - djm@cvs.openbsd.org 2014/02/15 23:05:36
     [channels.c]
     avoid spurious "getsockname failed: Bad file descriptor" errors in ssh -W;
     bz#2200, debian#738692 via Colin Watson; ok dtucker@

11 years ago - djm@cvs.openbsd.org 2014/02/07 06:55:54
Damien Miller [Mon, 24 Feb 2014 04:55:36 +0000 (15:55 +1100)] 
   - djm@cvs.openbsd.org 2014/02/07 06:55:54
     [cipher.c mac.c]
     remove some logging that makes ssh debugging output very verbose;
     ok markus

11 years ago20140221
Tim Rice [Fri, 21 Feb 2014 17:09:34 +0000 (09:09 -0800)] 
20140221
 - (tim) [configure.ac]  Fix cut-and-paste error. Patch from Bryan Drewery.

11 years ago - (dtucker) [configure.ac openbsd-compat/openssl-compat.{c,h}] Add compat
Darren Tucker [Thu, 13 Feb 2014 05:38:32 +0000 (16:38 +1100)] 
 - (dtucker) [configure.ac openbsd-compat/openssl-compat.{c,h}]  Add compat
   code for older OpenSSL versions that don't have EVP_MD_CTX_copy_ex.

11 years ago - djm@cvs.openbsd.org 2014/02/06 22:21:01
Damien Miller [Thu, 6 Feb 2014 22:24:33 +0000 (09:24 +1100)] 
   - djm@cvs.openbsd.org 2014/02/06 22:21:01
     [sshconnect.c]
     in ssh_create_socket(), only do the getaddrinfo for BindAddress when
     BindAddress is actually specified. Fixes regression in 6.5 for
     UsePrivilegedPort=yes; patch from Corinna Vinschen

11 years ago - naddy@cvs.openbsd.org 2014/02/05 20:13:25
Damien Miller [Thu, 6 Feb 2014 22:24:14 +0000 (09:24 +1100)] 
   - naddy@cvs.openbsd.org 2014/02/05 20:13:25
     [ssh-keygen.1 ssh-keygen.c]
     tweak synopsis: calling ssh-keygen without any arguments is fine; ok jmc@
     while here, fix ordering in usage(); requested by jmc@

11 years ago - (djm) [sandbox-seccomp-filter.c] Not all Linux architectures define
Damien Miller [Thu, 6 Feb 2014 00:17:50 +0000 (11:17 +1100)] 
 - (djm) [sandbox-seccomp-filter.c] Not all Linux architectures define
    __NR_shutdown; some go via the socketcall(2) multiplexer.

11 years ago - (dtucker) [openbsd-compat/bsd-poll.c] Don't bother checking for non-NULL
Darren Tucker [Wed, 5 Feb 2014 23:44:13 +0000 (10:44 +1100)] 
 - (dtucker) [openbsd-compat/bsd-poll.c] Don't bother checking for non-NULL
   before freeing since free(NULL) is a no-op.  ok djm.

11 years ago - (djm) [sandbox-capsicum.c] Don't fatal if Capsicum is offered by
Damien Miller [Tue, 4 Feb 2014 23:33:45 +0000 (10:33 +1100)] 
 - (djm) [sandbox-capsicum.c] Don't fatal if Capsicum is offered by
   headers/libc but not supported by the kernel. Patch from Loganaden
   Velvindron @ AfriNIC

11 years ago - (djm) [regress/setuid-allowed.c] Missing string.h for strerror()
Damien Miller [Tue, 4 Feb 2014 00:38:28 +0000 (11:38 +1100)] 
 - (djm) [regress/setuid-allowed.c] Missing string.h for strerror()

11 years ago - (djm) [openbsd-compat/Makefile.in] Add missing explicit_bzero.o
Damien Miller [Tue, 4 Feb 2014 00:37:50 +0000 (11:37 +1100)] 
 - (djm) [openbsd-compat/Makefile.in] Add missing explicit_bzero.o

11 years ago - djm@cvs.openbsd.org 2014/02/04 00:24:29
Damien Miller [Tue, 4 Feb 2014 00:26:34 +0000 (11:26 +1100)] 
   - djm@cvs.openbsd.org 2014/02/04 00:24:29
     [ssh.c]
     delay lowercasing of hostname until right before hostname
     canonicalisation to unbreak case-sensitive matching of ssh_config;
     reported by Ike Devolder; ok markus@

11 years ago - djm@cvs.openbsd.org 2014/02/04 00:24:29
Damien Miller [Tue, 4 Feb 2014 00:26:04 +0000 (11:26 +1100)] 
   - djm@cvs.openbsd.org 2014/02/04 00:24:29
     [ssh.c]
     delay lowercasing of hostname until right before hostname
     canonicalisation to unbreak case-sensitive matching of ssh_config;
     reported by Ike Devolder; ok markus@

11 years ago - djm@cvs.openbsd.org 2014/02/02 03:44:31
Damien Miller [Tue, 4 Feb 2014 00:25:45 +0000 (11:25 +1100)] 
   - djm@cvs.openbsd.org 2014/02/02 03:44:31
     [digest-libc.c digest-openssl.c]
     convert memset of potentially-private data to explicit_bzero()

11 years ago - djm@cvs.openbsd.org 2014/02/03 23:28:00
Damien Miller [Tue, 4 Feb 2014 00:20:40 +0000 (11:20 +1100)] 
   - djm@cvs.openbsd.org 2014/02/03 23:28:00
     [ssh-ecdsa.c]
     fix memory leak; ECDSA_SIG_new() allocates 'r' and 's' for us, unlike
     DSA_SIG_new. Reported by Batz Spear; ok markus@

11 years ago - djm@cvs.openbsd.org 2014/02/02 03:44:32
Damien Miller [Tue, 4 Feb 2014 00:20:14 +0000 (11:20 +1100)] 
   - djm@cvs.openbsd.org 2014/02/02 03:44:32
     [auth1.c auth2-chall.c auth2-passwd.c authfile.c bufaux.c bufbn.c]
     [buffer.c cipher-3des1.c cipher.c clientloop.c gss-serv.c kex.c]
     [kexdhc.c kexdhs.c kexecdhc.c kexgexc.c kexecdhs.c kexgexs.c key.c]
     [monitor.c monitor_wrap.c packet.c readpass.c rsa.c serverloop.c]
     [ssh-add.c ssh-agent.c ssh-dss.c ssh-ecdsa.c ssh-ed25519.c]
     [ssh-keygen.c ssh-rsa.c sshconnect.c sshconnect1.c sshconnect2.c]
     [sshd.c]
     convert memset of potentially-private data to explicit_bzero()

11 years ago - tedu@cvs.openbsd.org 2014/01/31 16:39:19
Damien Miller [Tue, 4 Feb 2014 00:18:20 +0000 (11:18 +1100)] 
   - tedu@cvs.openbsd.org 2014/01/31 16:39:19
     [auth2-chall.c authfd.c authfile.c bufaux.c bufec.c canohost.c]
     [channels.c cipher-chachapoly.c clientloop.c configure.ac hostfile.c]
     [kexc25519.c krl.c monitor.c sandbox-systrace.c session.c]
     [sftp-client.c ssh-keygen.c ssh.c sshconnect2.c sshd.c sshlogin.c]
     [openbsd-compat/explicit_bzero.c openbsd-compat/openbsd-compat.h]
     replace most bzero with explicit_bzero, except a few that cna be memset
     ok djm dtucker

11 years ago - djm@cvs.openbsd.org 2014/01/30 22:26:14
Damien Miller [Tue, 4 Feb 2014 00:13:54 +0000 (11:13 +1100)] 
   - djm@cvs.openbsd.org 2014/01/30 22:26:14
     [sandbox-systrace.c]
     allow shutdown(2) syscall in sandbox - it may be called by packet_close()
     from portable
     (Id sync only; change is already in portable)

11 years ago - jmc@cvs.openbsd.org 2014/01/29 14:04:51
Damien Miller [Tue, 4 Feb 2014 00:13:17 +0000 (11:13 +1100)] 
   - jmc@cvs.openbsd.org 2014/01/29 14:04:51
     [sshd_config.5]
     document kbdinteractiveauthentication;
     requested From: Ross L Richardson

     dtucker/markus helped explain its workings;

11 years ago - djm@cvs.openbsd.org 2014/01/29 06:18:35
Damien Miller [Tue, 4 Feb 2014 00:12:56 +0000 (11:12 +1100)] 
   - djm@cvs.openbsd.org 2014/01/29 06:18:35
     [Makefile.in auth.h auth2-jpake.c auth2.c jpake.c jpake.h monitor.c]
     [monitor.h monitor_wrap.c monitor_wrap.h readconf.c readconf.h]
     [schnorr.c schnorr.h servconf.c servconf.h ssh2.h sshconnect2.c]
     remove experimental, never-enabled JPAKE code; ok markus@

11 years ago - djm@cvs.openbsd.org 2014/01/29 00:19:26
Damien Miller [Tue, 4 Feb 2014 00:10:01 +0000 (11:10 +1100)] 
   - djm@cvs.openbsd.org 2014/01/29 00:19:26
     [sshd.c]
     use kill(0, ...) instead of killpg(0, ...); on most operating systems
     they are equivalent, but SUSv2 describes the latter as having undefined
     behaviour; from portable; ok dtucker
     (Id sync only; change is already in portable)

11 years ago - jmc@cvs.openbsd.org 2014/01/28 14:13:39
Damien Miller [Tue, 4 Feb 2014 00:09:12 +0000 (11:09 +1100)] 
   - jmc@cvs.openbsd.org 2014/01/28 14:13:39
     [ssh-keyscan.1]
     kill some bad Pa;
     From: Jan Stary

11 years agoignore a few more regress droppings
Damien Miller [Tue, 4 Feb 2014 00:08:38 +0000 (11:08 +1100)] 
ignore a few more regress droppings

11 years ago - markus@cvs.openbsd.org 2014/01/27 20:13:46
Damien Miller [Tue, 4 Feb 2014 00:07:13 +0000 (11:07 +1100)] 
   - markus@cvs.openbsd.org 2014/01/27 20:13:46
     [digest.c digest-openssl.c digest-libc.c Makefile.in]
     rename digest.c to digest-openssl.c and add libc variant; ok djm@

11 years ago - markus@cvs.openbsd.org 2014/01/27 19:18:54
Damien Miller [Tue, 4 Feb 2014 00:03:36 +0000 (11:03 +1100)] 
   - markus@cvs.openbsd.org 2014/01/27 19:18:54
     [auth-rsa.c cipher.c ssh-agent.c sshconnect1.c sshd.c]
     replace openssl MD5 with our ssh_digest_*; ok djm@

11 years ago - markus@cvs.openbsd.org 2014/01/27 18:58:14
Damien Miller [Tue, 4 Feb 2014 00:02:42 +0000 (11:02 +1100)] 
   - markus@cvs.openbsd.org 2014/01/27 18:58:14
     [Makefile.in digest.c digest.h hostfile.c kex.h mac.c hmac.c hmac.h]
     replace openssl HMAC with an implementation based on our ssh_digest_*
     ok and feedback djm@

11 years ago - (tim) [Makefile.in] build regress/setuid-allow.
Tim Rice [Fri, 31 Jan 2014 22:25:18 +0000 (14:25 -0800)] 
 - (tim) [Makefile.in] build regress/setuid-allow.

11 years ago - (dtucker) [readconf.c] Include <arpa/inet.h> for the hton macros. Fixes
Darren Tucker [Fri, 31 Jan 2014 03:18:51 +0000 (14:18 +1100)] 
 - (dtucker) [readconf.c] Include <arpa/inet.h> for the hton macros.  Fixes
   build with HP-UX's compiler.  Patch from Kevin Brott.

11 years ago - (djm) [sandbox-seccomp-filter.c sandbox-systrace.c] Allow shutdown(2)
Damien Miller [Thu, 30 Jan 2014 22:25:34 +0000 (09:25 +1100)] 
 - (djm) [sandbox-seccomp-filter.c sandbox-systrace.c] Allow shutdown(2)
   syscall from sandboxes; it may be called by packet_close.

11 years ago - (djm) Release openssh-6.5p1 V_6_5_P1
Damien Miller [Thu, 30 Jan 2014 01:50:17 +0000 (12:50 +1100)] 
 - (djm) Release openssh-6.5p1

11 years agotrim entries prior to openssh-6.0p1
Damien Miller [Thu, 30 Jan 2014 01:49:55 +0000 (12:49 +1100)] 
trim entries prior to openssh-6.0p1

11 years ago - (djm) [configure.ac atomicio.c] Kludge around NetBSD offering
Damien Miller [Thu, 30 Jan 2014 00:26:46 +0000 (11:26 +1100)] 
 - (djm) [configure.ac atomicio.c] Kludge around NetBSD offering
   different symbols for 'read' when various compiler flags are
   in use, causing atomicio.c comparisons against it to break and
   read/write operations to hang; ok dtucker

11 years ago - (djm) [configure.ac] Only check for width-specified integer types
Damien Miller [Wed, 29 Jan 2014 23:21:19 +0000 (10:21 +1100)] 
 - (djm) [configure.ac] Only check for width-specified integer types
   in headers that actually exist. patch from Tom G. Christensen;
   ok dtucker@

11 years ago - (djm) [configure.ac] Fix broken shell test '==' vs '='; patch from
Damien Miller [Wed, 29 Jan 2014 10:01:33 +0000 (21:01 +1100)] 
 - (djm) [configure.ac] Fix broken shell test '==' vs '='; patch from
   Tom G. Christensen

11 years ago - (tim) [regress/agent.sh regress/agent-ptrace.sh] Assign $? to a variable
Tim Rice [Tue, 28 Jan 2014 18:26:25 +0000 (10:26 -0800)] 
 - (tim) [regress/agent.sh regress/agent-ptrace.sh] Assign $? to a variable
   when used as an error message inside an if statement so we display the
   correct into. agent.sh patch from Petr Lautrbach.

11 years ago - (djm) [sshd.c] Use kill(0, ...) instead of killpg(0, ...); the
Damien Miller [Tue, 28 Jan 2014 04:08:12 +0000 (15:08 +1100)] 
 - (djm) [sshd.c] Use kill(0, ...) instead of killpg(0, ...); the
   latter being specified to have undefined behaviour in SUSv3;
   ok dtucker

11 years ago - (djm) [configure.ac] Search for inet_ntop in libnsl and libresovl;
Damien Miller [Tue, 28 Jan 2014 04:07:10 +0000 (15:07 +1100)] 
 - (djm) [configure.ac] Search for inet_ntop in libnsl and libresovl;
   ok dtucker

11 years ago - (dtucker) [Makefile.in] Remove trailing backslash which some make
Darren Tucker [Mon, 27 Jan 2014 06:35:04 +0000 (17:35 +1100)] 
 - (dtucker) [Makefile.in] Remove trailing backslash which some make
   implementations (eg older Solaris) do not cope with.

11 years agoWelcome to 2014
Darren Tucker [Mon, 27 Jan 2014 06:32:50 +0000 (17:32 +1100)] 
Welcome to 2014

11 years ago - (djm) [configure.ac] correct AC_DEFINE for previous.
Damien Miller [Sat, 25 Jan 2014 22:46:53 +0000 (09:46 +1100)] 
 - (djm) [configure.ac] correct AC_DEFINE for previous.

11 years ago - (djm) [configure.ac sandbox-capsicum.c sandbox-rlimit.c] Disable
Damien Miller [Sat, 25 Jan 2014 22:39:53 +0000 (09:39 +1100)] 
  - (djm) [configure.ac sandbox-capsicum.c sandbox-rlimit.c] Disable
    RLIMIT_NOFILE pseudo-sandbox on FreeBSD. In some configurations,
    libc will attempt to open additional file descriptors for crypto
    offload and crash if they cannot be opened.

11 years ago - markus@cvs.openbsd.org 2014/01/25 20:35:37
Damien Miller [Sat, 25 Jan 2014 22:38:03 +0000 (09:38 +1100)] 
   - markus@cvs.openbsd.org 2014/01/25 20:35:37
     [kex.c]
     dh_need needs to be set to max(seclen, blocksize, ivlen, mac_len)
     ok dtucker@, noted by mancha

11 years ago - dtucker@cvs.openbsd.org 2014/01/25 10:12:50
Damien Miller [Sat, 25 Jan 2014 22:37:25 +0000 (09:37 +1100)] 
   - dtucker@cvs.openbsd.org 2014/01/25 10:12:50
     [cipher.c cipher.h kex.c kex.h kexgexc.c]
     Add a special case for the DH group size for 3des-cbc, which has an
     effective strength much lower than the key size.  This causes problems
     with some cryptlib implementations, which don't support group sizes larger
     than 4k but also don't use the largest group size it does support as
     specified in the RFC.  Based on a patch from Petr Lautrbach at Redhat,
     reduced by me with input from Markus.  ok djm@ markus@

11 years ago - (djm) [configure.ac] autoconf sets finds to 'yes' not '1', so test
Damien Miller [Sat, 25 Jan 2014 02:16:59 +0000 (13:16 +1100)] 
 - (djm) [configure.ac] autoconf sets finds to 'yes' not '1', so test
   against the correct thing.

11 years ago - (djm) [configure.ac] Do not attempt to use capsicum sandbox unless
Damien Miller [Sat, 25 Jan 2014 02:12:28 +0000 (13:12 +1100)] 
 - (djm) [configure.ac] Do not attempt to use capsicum sandbox unless
   sys/capability.h exists and cap_rights_limit is in libc. Fixes
   build on FreeBSD9x which provides the header but not the libc
   support.

11 years ago - (djm) [configure.ac] Fix detection of capsicum sandbox on FreeBSD
Damien Miller [Sat, 25 Jan 2014 01:34:38 +0000 (12:34 +1100)] 
 - (djm) [configure.ac] Fix detection of capsicum sandbox on FreeBSD

11 years ago - (djm) [Makefile.in regress/scp-ssh-wrapper.sh regress/scp.sh] Make
Damien Miller [Fri, 24 Jan 2014 03:27:04 +0000 (14:27 +1100)] 
 - (djm) [Makefile.in regress/scp-ssh-wrapper.sh regress/scp.sh] Make
   the scp regress test actually test the built scp rather than the one
   in $PATH. ok dtucker@

11 years ago - (dtucker) [configure.ac] NetBSD's (and FreeBSD's) strnvis is gratuitously
Darren Tucker [Thu, 23 Jan 2014 12:14:39 +0000 (23:14 +1100)] 
 - (dtucker) [configure.ac] NetBSD's (and FreeBSD's) strnvis is gratuitously
   incompatible with OpenBSD's despite post-dating it by more than a decade.
   Declare it as broken, and document FreeBSD's as the same.  ok djm@

11 years ago - (tim) [session.c] Improve error reporting on set_id().
Tim Rice [Thu, 23 Jan 2014 03:16:10 +0000 (19:16 -0800)] 
 - (tim) [session.c] Improve error reporting on set_id().

11 years ago - (djm) [configure.ac aclocal.m4] More tests to detect fallout from
Damien Miller [Wed, 22 Jan 2014 10:30:12 +0000 (21:30 +1100)] 
 - (djm) [configure.ac aclocal.m4] More tests to detect fallout from
   platform hardening options: include some long long int arithmatic
   to detect missing support functions for -ftrapv in libgcc and
   equivalents, actually test linking when -ftrapv is supplied and
   set either both -pie/-fPIE or neither. feedback and ok dtucker@

11 years ago - (djm) [configure.ac] Unless specifically requested, only attempt
Damien Miller [Wed, 22 Jan 2014 05:31:18 +0000 (16:31 +1100)] 
 - (djm) [configure.ac] Unless specifically requested, only attempt
   to build Position Independent Executables on gcc >= 4.x; ok dtucker

11 years ago - (djm) [openbsd-compat/setproctitle.c] Don't fail to compile if a
Damien Miller [Wed, 22 Jan 2014 05:30:15 +0000 (16:30 +1100)] 
 - (djm) [openbsd-compat/setproctitle.c] Don't fail to compile if a
   platform that is expected to use the reuse-argv style setproctitle
   hack surprises us by providing a setproctitle in libc; ok dtucker

11 years ago - (djm) [aclocal.m4] Flesh out the code run in the OSSH_CHECK_CFLAG_COMPILE
Damien Miller [Tue, 21 Jan 2014 02:10:26 +0000 (13:10 +1100)] 
 - (djm) [aclocal.m4] Flesh out the code run in the OSSH_CHECK_CFLAG_COMPILE
   and OSSH_CHECK_LDFLAG_LINK tests to give them a better chance of
   detecting toolchain-related problems; ok dtucker

11 years ago - (tim) [platform.c session.c] Fix bug affecting SVR5 platforms introduced
Tim Rice [Tue, 21 Jan 2014 01:59:28 +0000 (17:59 -0800)] 
 - (tim) [platform.c session.c] Fix bug affecting SVR5 platforms introduced
   with sftp chroot support. Move set_id call after chroot.

11 years ago - (dtucker) [aclocal.m4] Differentiate between compile-time and link-time
Darren Tucker [Tue, 21 Jan 2014 01:50:46 +0000 (12:50 +1100)] 
 - (dtucker) [aclocal.m4] Differentiate between compile-time and link-time
   tests in the configure output.  ok djm.

11 years ago - (dtucker) [configure.ac] Make PIE a configure-time option which defaults
Darren Tucker [Tue, 21 Jan 2014 01:48:51 +0000 (12:48 +1100)] 
 - (dtucker) [configure.ac] Make PIE a configure-time option which defaults
   to on platforms where it's known to be reliably detected and off elsewhere.
   Works around platforms such as FreeBSD 9.1 where it does not interop with
   -ftrapv (it seems to work but fails when trying to link ssh).  ok djm@

11 years ago - (djm) [regress/cert-hostkey.sh] Fix regress failure on platforms that
Damien Miller [Mon, 20 Jan 2014 09:07:15 +0000 (20:07 +1100)] 
 - (djm) [regress/cert-hostkey.sh] Fix regress failure on platforms that
    skip one or more key types (e.g. RHEL/CentOS 6.5); ok dtucker@

11 years ago- (dtucker) [gss-serv-krb5.c] Fall back to krb5_cc_gen_new if the Kerberos
Darren Tucker [Mon, 20 Jan 2014 02:18:09 +0000 (13:18 +1100)] 
- (dtucker) [gss-serv-krb5.c] Fall back to krb5_cc_gen_new if the Kerberos
   implementation does not have krb5_cc_new_unique, similar to what we do
   in auth-krb5.c.

11 years ago - djm@cvs.openbsd.org 2014/01/20 00:08:48
Damien Miller [Mon, 20 Jan 2014 01:41:53 +0000 (12:41 +1100)] 
   - djm@cvs.openbsd.org 2014/01/20 00:08:48
     [digest.c]
     memleak; found by Loganaden Velvindron @ AfriNIC; ok markus@

11 years ago - dtucker@cvs.openbsd.org 2014/01/19 11:21:51
Darren Tucker [Sun, 19 Jan 2014 11:37:02 +0000 (22:37 +1100)] 
   - dtucker@cvs.openbsd.org 2014/01/19 11:21:51
     [addrmatch.c]
     Cast the sizeof to socklen_t so it'll work even if the supplied len is
     negative.  Suggested by and ok djm, ok deraadt.

11 years ago - djm@cvs.openbsd.org 2014/01/19 04:48:08
Darren Tucker [Sun, 19 Jan 2014 11:36:13 +0000 (22:36 +1100)] 
   - djm@cvs.openbsd.org 2014/01/19 04:48:08
     [ssh_config.5]
     fix inverted meaning of 'no' and 'yes' for CanonicalizeFallbackLocal

11 years ago - dtucker@cvs.openbsd.org 2014/01/19 04:17:29
Darren Tucker [Sun, 19 Jan 2014 04:30:02 +0000 (15:30 +1100)] 
   - dtucker@cvs.openbsd.org 2014/01/19 04:17:29
     [canohost.c addrmatch.c]
     Cast socklen_t when comparing to size_t and use socklen_t to iterate over
     the ip options, both to prevent signed/unsigned comparison warnings.
     Patch from vinschen at redhat via portable openssh, begrudging ok deraadt.

11 years ago - dtucker@cvs.openbsd.org 2014/01/18 09:36:26
Darren Tucker [Sun, 19 Jan 2014 04:28:01 +0000 (15:28 +1100)] 
   - dtucker@cvs.openbsd.org 2014/01/18 09:36:26
     [session.c]
     explicitly define USE_PIPES to 1 to prevent redefinition warnings in
     portable on platforms that use pipes for everything.  From redhat @
     redhat.

11 years ago - dtucker@cvs.openbsd.org 2014/01/17 06:23:24
Darren Tucker [Sun, 19 Jan 2014 04:25:34 +0000 (15:25 +1100)] 
   - dtucker@cvs.openbsd.org 2014/01/17 06:23:24
     [sftp-server.c]
     fix log message statvfs.  ok djm

11 years ago - (dtucker) [sandbox-capsicum.c] Correct some error messages and make the
Darren Tucker [Sat, 18 Jan 2014 11:12:15 +0000 (22:12 +1100)] 
 - (dtucker) [sandbox-capsicum.c] Correct some error messages and make the
   return value check for cap_enter() consistent with the other uses in
   FreeBSD.  From by Loganaden Velvindron @ AfriNIC via bz#2140.

11 years ago - (dtucker) [configure.ac] On Cygwin the getopt variables (like optargs,
Darren Tucker [Sat, 18 Jan 2014 10:12:42 +0000 (21:12 +1100)] 
 - (dtucker) [configure.ac] On Cygwin the getopt variables (like optargs,
   optind) are defined in getopt.h already.  Unfortunately they are defined as
   "declspec(dllimport)" for historical reasons, because the GNU linker didn't
   allow auto-import on PE/COFF targets way back when.  The problem is the
   dllexport attributes collide with the definitions in the various source
   files in OpenSSH, which obviousy define the variables without
   declspec(dllimport).  The least intrusive way to get rid of these warnings
   is to disable warnings for GCC compiler attributes when building on Cygwin.
   Patch from vinschen at redhat.com.

11 years ago - (dtucker) [openbsd-compat/bsd-cygwin_util.h] Add missing function
Darren Tucker [Sat, 18 Jan 2014 10:03:59 +0000 (21:03 +1100)] 
 - (dtucker) [openbsd-compat/bsd-cygwin_util.h] Add missing function
   declarations that stopped being included when we stopped including
   <windows.h> from openbsd-compat/bsd-cygwin_util.h.  Patch from vinschen at
   redhat.com.

11 years ago - (dtucker) [uidswap.c] Prevent unused variable warnings on Cygwin. Patch
Darren Tucker [Sat, 18 Jan 2014 09:43:49 +0000 (20:43 +1100)] 
 - (dtucker) [uidswap.c] Prevent unused variable warnings on Cygwin.  Patch
   from vinschen at redhat.com

11 years ago - (dtucker) [defines.h] Move our definitions of uintXX_t types down to after
Darren Tucker [Fri, 17 Jan 2014 13:12:38 +0000 (00:12 +1100)] 
 - (dtucker) [defines.h] Move our definitions of uintXX_t types down to after
   they're defined if we have to define them ourselves.  Fixes builds on old
   AIX.

11 years ago - (dtucker) [readconf.c] Wrap paths.h inside an ifdef. Allows building on
Darren Tucker [Fri, 17 Jan 2014 13:03:57 +0000 (00:03 +1100)] 
 - (dtucker) [readconf.c] Wrap paths.h inside an ifdef.  Allows building on
   Solaris.

11 years ago - (dtucker) [configure.ac] Have --without-toolchain-hardening not turn off
Darren Tucker [Fri, 17 Jan 2014 10:54:32 +0000 (21:54 +1100)] 
 - (dtucker) [configure.ac] Have --without-toolchain-hardening not turn off
   stack-protector since that has a separate flag that's been around a while.

11 years ago - (dtucker) [configure.ac] Also look in inttypes.h for uintXX_t types.
Darren Tucker [Fri, 17 Jan 2014 08:17:34 +0000 (19:17 +1100)] 
 - (dtucker) [configure.ac] Also look in inttypes.h for uintXX_t types.