]>
git.ipfire.org Git - thirdparty/openssh-portable.git/log
Damien Miller [Wed, 28 Sep 2016 17:19:23 +0000 (03:19 +1000)]
Remove portability support for mmap
We no longer need to wrap/replace mmap for portability now that
pre-auth compression has been removed from OpenSSH.
djm@openbsd.org [Wed, 28 Sep 2016 16:33:06 +0000 (16:33 +0000)]
upstream commit
Remove support for pre-authentication compression. Doing
compression early in the protocol probably seemed reasonable in the 1990s,
but today it's clearly a bad idea in terms of both cryptography (cf. multiple
compression oracle attacks in TLS) and attack surface.
Moreover, to support it across privilege-separation zlib needed
the assistance of a complex shared-memory manager that made the
required attack surface considerably larger.
Prompted by Guido Vranken pointing out a compiler-elided security
check in the shared memory manager found by Stack
(http://css.csail.mit.edu/stack/); ok deraadt@ markus@
NB. pre-auth authentication has been disabled by default in sshd
for >10 years.
Upstream-ID:
32af9771788d45a0779693b41d06ec199d849caf
djm@openbsd.org [Mon, 26 Sep 2016 21:16:11 +0000 (21:16 +0000)]
upstream commit
Avoid a theoretical signed integer overflow should
BN_num_bytes() ever violate its manpage and return a negative value. Improve
order of tests to avoid confusing increasingly pedantic compilers.
Reported by Guido Vranken from stack (css.csail.mit.edu/stack)
unstable optimisation analyser output. ok deraadt@
Upstream-ID:
f8508c830c86d8f36c113985e52bf8eedae23505
Damien Miller [Tue, 27 Sep 2016 21:40:33 +0000 (07:40 +1000)]
fix mdoc2man.awk formatting for top-level lists
Reported by Glenn Golden
Diagnosis and fix from Ingo Schwarze
djm@openbsd.org [Thu, 22 Sep 2016 21:15:41 +0000 (21:15 +0000)]
upstream commit
missing bit from previous commit
Upstream-ID:
438d5ed6338b28b46e822eb13eee448aca31df37
jmc@openbsd.org [Thu, 22 Sep 2016 19:19:01 +0000 (19:19 +0000)]
upstream commit
organise the token stuff into a separate section; ok
markus for an earlier version of the diff ok/tweaks djm
Upstream-ID:
81a6daa506a4a5af985fce7cf9e59699156527c8
djm@openbsd.org [Thu, 22 Sep 2016 17:55:13 +0000 (17:55 +0000)]
upstream commit
mention curve25519-sha256 KEX
Upstream-ID:
33ae1f433ce4795ffa6203761fbdf86e0d7ffbaf
djm@openbsd.org [Thu, 22 Sep 2016 17:52:53 +0000 (17:52 +0000)]
upstream commit
support plain curve25519-sha256 KEX algorithm now that it
is approaching standardisation (same algorithm is currently supported as
curve25519-sha256@libssh.org)
Upstream-ID:
5e2b6db2e72667048cf426da43c0ee3fc777baa2
dtucker@openbsd.org [Thu, 22 Sep 2016 02:29:57 +0000 (02:29 +0000)]
upstream commit
If ssh receives a PACKET_DISCONNECT during userauth it
will cause ssh_dispatch_run(DISPATCH_BLOCK, ...) to return without the
session being authenticated. Check for this and exit if necessary. ok djm@
Upstream-ID:
b3afe126c0839d2eae6cddd41ff2ba317eda0903
djm@openbsd.org [Wed, 21 Sep 2016 19:53:12 +0000 (19:53 +0000)]
upstream commit
correctly return errors from kex_send_ext_info(). Fix from
Sami Farin via https://github.com/openssh/openssh-portable/pull/50
Upstream-ID:
c85999af28aaecbf92cfa2283381df81e839b42c
djm@openbsd.org [Wed, 21 Sep 2016 17:44:20 +0000 (17:44 +0000)]
upstream commit
cast uint64_t for printf
Upstream-ID:
76d23e89419ccbd2320f92792a6d878211666ac1
djm@openbsd.org [Wed, 21 Sep 2016 17:03:54 +0000 (17:03 +0000)]
upstream commit
disable tests for affirmative negated match after backout of
match change
Upstream-Regress-ID:
acebb8e5042f03d66d86a50405c46c4de0badcfd
djm@openbsd.org [Wed, 21 Sep 2016 16:55:42 +0000 (16:55 +0000)]
upstream commit
Revert two recent changes to negated address matching. The
new behaviour offers unintuitive surprises. We'll find a better way to deal
with single negated matches.
match.c 1.31:
> fix matching for pattern lists that contain a single negated match,
> e.g. "Host !example"
>
> report and patch from Robin Becker. bz#1918 ok dtucker@
addrmatch.c 1.11:
> fix negated address matching where the address list consists of a
> single negated match, e.g. "Match addr !192.20.0.1"
>
> Report and patch from Jakub Jelen. bz#2397 ok dtucker@
Upstream-ID:
ec96c770f0f5b9a54e5e72fda25387545e9c80c6
djm@openbsd.org [Wed, 21 Sep 2016 01:35:12 +0000 (01:35 +0000)]
upstream commit
test all the AuthorizedPrincipalsCommand % expansions
Upstream-Regress-ID:
0a79a84dfaa59f958e46b474c3db780b454d30e3
djm@openbsd.org [Wed, 21 Sep 2016 01:34:45 +0000 (01:34 +0000)]
upstream commit
add a way for principals command to get see key ID and serial
too
Upstream-ID:
0d30978bdcf7e8eaeee4eea1b030eb2eb1823fcb
djm@openbsd.org [Fri, 16 Sep 2016 06:09:31 +0000 (06:09 +0000)]
upstream commit
add a note on kexfuzz' limitations
Upstream-Regress-ID:
03804d4a0dbc5163e1a285a4c8cc0a76a4e864ec
djm@openbsd.org [Fri, 16 Sep 2016 01:01:41 +0000 (01:01 +0000)]
upstream commit
fix for newer modp DH groups
(diffie-hellman-group14-sha256 etc)
Upstream-Regress-ID:
fe942c669959462b507516ae1634fde0725f1c68
markus@openbsd.org [Mon, 19 Sep 2016 19:02:19 +0000 (19:02 +0000)]
upstream commit
move inbound NEWKEYS handling to kex layer; otherwise
early NEWKEYS causes NULL deref; found by Robert Swiecki/honggfuzz; fixed
with & ok djm@
Upstream-ID:
9a68b882892e9f51dc7bfa9f5a423858af358b2f
natano@openbsd.org [Mon, 19 Sep 2016 07:52:42 +0000 (07:52 +0000)]
upstream commit
Replace two more arc4random() loops with
arc4random_buf().
tweaks and ok dtucker
ok deraadt
Upstream-ID:
738d3229130ccc7eac975c190276ca6fcf0208e4
tedu@openbsd.org [Sat, 17 Sep 2016 18:00:27 +0000 (18:00 +0000)]
upstream commit
replace two arc4random loops with arc4random_buf ok
deraadt natano
Upstream-ID:
e18ede972d1737df54b49f011fa4f3917a403f48
djm@openbsd.org [Wed, 14 Sep 2016 20:11:26 +0000 (20:11 +0000)]
upstream commit
take fingerprint of correct key for
AuthorizedPrincipalsCommand
Upstream-ID:
553581a549cd6a3e73ce9f57559a325cc2cb1f38
djm@openbsd.org [Wed, 14 Sep 2016 05:42:25 +0000 (05:42 +0000)]
upstream commit
add %-escapes to AuthorizedPrincipalsCommand to match those
supported for AuthorizedKeysCommand (key, key type, fingerprint, etc) and a
few more to provide access to the certificate's CA key; 'looks ok' dtucker@
Upstream-ID:
6b00fd446dbebe67f4e4e146d2e492d650ae04eb
dtucker@openbsd.org [Wed, 14 Sep 2016 00:45:31 +0000 (00:45 +0000)]
upstream commit
Improve test coverage of ssh-keygen -T a bit.
Upstream-Regress-ID:
8851668c721bcc2b400600cfc5a87644cc024e72
dtucker@openbsd.org [Mon, 12 Sep 2016 02:25:46 +0000 (02:25 +0000)]
upstream commit
Add testcase for ssh-keygen -j, -J and -K options for
moduli screening. Does not currently test generation as that is extremely
slow.
Upstream-Regress-ID:
9de6ce801377ed3ce0a63a1413f1cd5fd3c2d062
djm@openbsd.org [Tue, 23 Aug 2016 08:17:04 +0000 (08:17 +0000)]
upstream commit
add tests for addr_match_list()
Upstream-Regress-ID:
fae2d1fef84687ece584738a924c7bf969616c8e
djm@openbsd.org [Mon, 12 Sep 2016 23:39:34 +0000 (23:39 +0000)]
upstream commit
handle certs in rsa_hash_alg_from_ident(), saving an
unnecessary special case elsewhere.
Upstream-ID:
901cb081c59d6d2698b57901c427f3f6dc7397d4
djm@openbsd.org [Mon, 12 Sep 2016 23:31:27 +0000 (23:31 +0000)]
upstream commit
list all supported signature algorithms in the
server-sig-algs Reported by mb AT smartftp.com in bz#2547 and (independantly)
Ron Frederick; ok markus@
Upstream-ID:
ddf702d721f54646b11ef2cee6d916666cb685cd
Darren Tucker [Mon, 12 Sep 2016 04:43:58 +0000 (14:43 +1000)]
Remove no-op brackets to resync with upstream.
Darren Tucker [Mon, 12 Sep 2016 03:57:28 +0000 (13:57 +1000)]
Resync ssh-keygen -W error message with upstream.
Darren Tucker [Mon, 12 Sep 2016 03:55:37 +0000 (13:55 +1000)]
Move ssh-keygen -W handling code to match upstream
Darren Tucker [Mon, 12 Sep 2016 03:52:17 +0000 (13:52 +1000)]
Move ssh-keygen -T handling code to match upstream.
Darren Tucker [Mon, 12 Sep 2016 03:30:50 +0000 (13:30 +1000)]
Move -M handling code to match upstream.
dtucker@openbsd.org [Mon, 12 Sep 2016 03:29:16 +0000 (03:29 +0000)]
upstream commit
Spaces->tabs.
Upstream-ID:
f4829dfc3f36318273f6082b379ac562eead70b7
dtucker@openbsd.org [Mon, 12 Sep 2016 03:25:20 +0000 (03:25 +0000)]
upstream commit
Style whitespace fix. Also happens to remove a no-op
diff with portable.
Upstream-ID:
45d90f9a62ad56340913a433a9453eb30ceb8bf3
deraadt@openbsd.org [Mon, 12 Sep 2016 01:22:38 +0000 (01:22 +0000)]
upstream commit
Add MAXIMUM(), MINIMUM(), and ROUNDUP() to misc.h, then
use those definitions rather than pulling <sys/param.h> and unknown namespace
pollution. ok djm markus dtucker
Upstream-ID:
712cafa816c9f012a61628b66b9fbd5687223fb8
jmc@openbsd.org [Wed, 7 Sep 2016 18:39:24 +0000 (18:39 +0000)]
upstream commit
sort; from matthew martin
Upstream-ID:
73cec7f7ecc82d37a4adffad7745e4684de67ce7
markus@openbsd.org [Tue, 6 Sep 2016 09:22:56 +0000 (09:22 +0000)]
upstream commit
ssh_set_newkeys: print correct block counters on
rekeying; ok djm@
Upstream-ID:
32bb7a9cb9919ff5bab28d50ecef3a2b2045dd1e
markus@openbsd.org [Tue, 6 Sep 2016 09:14:05 +0000 (09:14 +0000)]
upstream commit
update ext_info_c every time we receive a kexinit msg;
fixes sending of ext_info if privsep is disabled; report Aris Adamantiadis &
Mancha; ok djm@
Upstream-ID:
2ceaa1076e19dbd3542254b4fb8e42d608f28856
djm@openbsd.org [Mon, 5 Sep 2016 14:02:42 +0000 (14:02 +0000)]
upstream commit
remove 3des-cbc from the client's default proposal;
64-bit block ciphers are not safe in 2016 and we don't want to wait until
attacks like sweet32 are extended to SSH.
As 3des-cbc was the only mandatory cipher in the SSH RFCs, this may
cause problems connecting to older devices using the defaults, but
it's highly likely that such devices already need explicit
configuration for KEX and hostkeys anyway.
ok deraadt, markus, dtucker
Upstream-ID:
a505dfe65c6733af0f751b64cbc4bb7e0761bc2f
djm@openbsd.org [Mon, 5 Sep 2016 13:57:31 +0000 (13:57 +0000)]
upstream commit
enforce expected request flow for GSSAPI calls; thanks to
Jakub Jelen for testing; ok markus@
Upstream-ID:
d4bc0e70e1be403735d3d9d7e176309b1fd626b9
Darren Tucker [Mon, 12 Sep 2016 01:07:00 +0000 (11:07 +1000)]
Restore ssh-keygen's -J and -j option handling.
These were incorrectly removed in the
1d9a2e28 sync commit.
Damien Miller [Wed, 31 Aug 2016 00:48:07 +0000 (10:48 +1000)]
tighten PAM monitor calls
only allow kbd-interactive ones when that authentication method is
enabled. Prompted by Solar Designer
djm@openbsd.org [Tue, 30 Aug 2016 07:50:21 +0000 (07:50 +0000)]
upstream commit
restrict monitor auth calls to be allowed only when their
respective authentication methods are enabled in the configuration.
prompted by Solar Designer; ok markus dtucker
Upstream-ID:
6eb3f89332b3546d41d6dbf5a8e6ff920142b553
Damien Miller [Mon, 29 Aug 2016 01:47:07 +0000 (11:47 +1000)]
Tighten monitor state-machine flow for PAM calls
(attack surface reduction)
djm@openbsd.org [Sun, 28 Aug 2016 22:28:12 +0000 (22:28 +0000)]
upstream commit
fix uninitialised optlen in getsockopt() call; harmless
on Unix/BSD but potentially crashy on Cygwin. Reported by James Slepicka ok
deraadt@
Upstream-ID:
1987ccee508ba5b18f016c85100d7ac3f70ff965
guenther@openbsd.org [Sat, 27 Aug 2016 04:05:12 +0000 (04:05 +0000)]
upstream commit
Pull in <sys/time.h> for struct timeval
ok deraadt@
Upstream-ID:
ae34525485a173bccd61ac8eefeb91c57e3b7df6
guenther@openbsd.org [Sat, 27 Aug 2016 04:04:56 +0000 (04:04 +0000)]
upstream commit
Pull in <stdlib.h> for NULL
ok deraadt@
Upstream-ID:
7baa6a0f1e049bb3682522b4b95a26c866bfc043
djm@openbsd.org [Thu, 25 Aug 2016 23:57:54 +0000 (23:57 +0000)]
upstream commit
add a sIgnore opcode that silently ignores options and
use it to suppress noisy deprecation warnings for the Protocol directive.
req henning, ok markus
Upstream-ID:
9fe040aca3d6ff393f6f7e60045cdd821dc4cbe0
djm@openbsd.org [Thu, 25 Aug 2016 23:56:51 +0000 (23:56 +0000)]
upstream commit
remove superfluous NOTREACHED comment
Upstream-ID:
a7485c1f1be618e8c9e38fd9be46c13b2d03b90c
otto@openbsd.org [Tue, 23 Aug 2016 16:21:45 +0000 (16:21 +0000)]
upstream commit
fix previous, a condition was modified incorrectly; ok
markus@ deraadt@
Upstream-ID:
c443e339768e7ed396dff3bb55f693e7d3641453
djm@openbsd.org [Tue, 23 Aug 2016 08:17:42 +0000 (08:17 +0000)]
upstream commit
downgrade an error() to a debug2() to match similar cases
in addr_match_list()
Upstream-ID:
07c3d53e357214153d9d08f234411e0d1a3d6f5c
djm@openbsd.org [Tue, 23 Aug 2016 06:36:23 +0000 (06:36 +0000)]
upstream commit
remove Protocol directive from client/server configs that
causes spammy deprecation warnings
hardcode SSH_PROTOCOLS=2, since that's all we support on the server
now (the client still may support both, so it could get confused)
Upstream-Regress-ID:
c16662c631af51633f9fd06aca552a70535de181
Damien Miller [Tue, 23 Aug 2016 06:33:48 +0000 (16:33 +1000)]
hook match and utf8 unittests up to Makefile
djm@openbsd.org [Fri, 19 Aug 2016 06:44:13 +0000 (06:44 +0000)]
upstream commit
add tests for matching functions
Upstream-Regress-ID:
0869d4f5c5d627c583c6a929d69c17d5dd65882c
Damien Miller [Tue, 23 Aug 2016 04:32:37 +0000 (14:32 +1000)]
removing UseLogin bits from configure.ac
djm@openbsd.org [Tue, 23 Aug 2016 03:24:10 +0000 (03:24 +0000)]
upstream commit
fix negated address matching where the address list
consists of a single negated match, e.g. "Match addr !192.20.0.1"
Report and patch from Jakub Jelen. bz#2397 ok dtucker@
Upstream-ID:
01dcac3f3e6ca47518cf293e31c73597a4bb40d8
djm@openbsd.org [Tue, 23 Aug 2016 03:22:49 +0000 (03:22 +0000)]
upstream commit
fix matching for pattern lists that contain a single
negated match, e.g. "Host !example"
report and patch from Robin Becker. bz#1918 ok dtucker@
Upstream-ID:
05a0cb323ea4bc20e98db099b42c067bfb9ea1ea
djm@openbsd.org [Fri, 19 Aug 2016 03:18:06 +0000 (03:18 +0000)]
upstream commit
remove UseLogin option and support for having /bin/login
manage login sessions; ok deraadt markus dtucker
Upstream-ID:
bea7213fbf158efab7e602d9d844fba4837d2712
naddy@openbsd.org [Mon, 15 Aug 2016 12:32:04 +0000 (12:32 +0000)]
upstream commit
Catch up with the SSH1 code removal and delete all
mention of protocol 1 particularities, key files and formats, command line
options, and configuration keywords from the server documentation and
examples. ok jmc@
Upstream-ID:
850328854675b4b6a0d4a90f0b4a9dd9ca4e905f
naddy@openbsd.org [Mon, 15 Aug 2016 12:27:56 +0000 (12:27 +0000)]
upstream commit
Remove more SSH1 server code: * Drop sshd's -k option. *
Retire configuration keywords that only apply to protocol 1, as well as the
"protocol" keyword. * Remove some related vestiges of protocol 1 support.
ok markus@
Upstream-ID:
9402f82886de917779db12f8ee3f03d4decc244d
Darren Tucker [Wed, 17 Aug 2016 06:26:04 +0000 (16:26 +1000)]
Only check for prctl once.
Darren Tucker [Wed, 17 Aug 2016 05:33:10 +0000 (15:33 +1000)]
Fix typo.
Darren Tucker [Wed, 17 Aug 2016 04:25:43 +0000 (14:25 +1000)]
Correct LDFLAGS for clang example.
--with-ldflags isn't used until after the -ftrapv test, so mention
LDFLAGS instead for now.
Darren Tucker [Wed, 17 Aug 2016 04:08:42 +0000 (14:08 +1000)]
Remove obsolete CVS $Id from source files.
Since -portable switched to git the CVS $Id tags are no longer being
updated and are becoming increasingly misleading. Remove them.
Darren Tucker [Wed, 17 Aug 2016 03:40:58 +0000 (13:40 +1000)]
Remove now-obsolete CVS $Id tags from text files.
Since -portable switched to git, the CVS $Id tags are no longer being
updated and are becoming increasingly misleading. Remove them.
Darren Tucker [Wed, 17 Aug 2016 03:38:30 +0000 (13:38 +1000)]
Add a section for compiler specifics.
Add a section for compiler specifics and document the runtime requirements
for clang's integer sanitization.
Darren Tucker [Wed, 17 Aug 2016 03:35:43 +0000 (13:35 +1000)]
Test multiplying two long long ints.
When using clang with -ftrapv or -sanitize=integer the tests would pass
but linking would fail with "undefined reference to __mulodi4".
Explicitly test for this before enabling -trapv.
Damien Miller [Tue, 16 Aug 2016 04:47:34 +0000 (14:47 +1000)]
add a --with-login-program configure argument
Saves messing around with LOGIN_PROGRAM env var, which come
packaging environments make hard to do during configure phase.
Damien Miller [Tue, 16 Aug 2016 03:30:56 +0000 (13:30 +1000)]
add --with-pam-service to specify PAM service name
Saves messing around with CFLAGS to do it.
Damien Miller [Tue, 16 Aug 2016 03:28:23 +0000 (13:28 +1000)]
fix false positives when compiled with msan
Our explicit_bzero successfully confused clang -fsanitize-memory
in to thinking that memset is never called to initialise memory.
Ensure that it is called in a way that the compiler recognises.
markus@openbsd.org [Sat, 13 Aug 2016 17:47:40 +0000 (17:47 +0000)]
upstream commit
remove ssh1 server code; ok djm@
Upstream-ID:
c24c0c32c49b91740d5a94ae914fb1898ea5f534
jca@openbsd.org [Fri, 12 Aug 2016 19:19:04 +0000 (19:19 +0000)]
upstream commit
Use 2001:db8::/32, the official IPv6 subnet for
configuration examples.
This makes the IPv6 example consistent with IPv4, and removes a dubious
mention of a 6bone subnet.
ok sthen@ millert@
Upstream-ID:
b027f3d0e0073419a132fd1bf002e8089b233634
dtucker@openbsd.org [Thu, 11 Aug 2016 01:42:11 +0000 (01:42 +0000)]
upstream commit
Update moduli file.
Upstream-ID:
6da9a37f74aef9f9cc639004345ad893cad582d8
Darren Tucker [Thu, 11 Aug 2016 01:42:48 +0000 (11:42 +1000)]
Import updated moduli.
dtucker@openbsd.org [Mon, 8 Aug 2016 22:40:57 +0000 (22:40 +0000)]
upstream commit
Improve error message for overlong ControlPath. ok markus@
djm@
Upstream-ID:
aed374e2e88dd3eb41390003e5303d0089861eb5
djm@openbsd.org [Wed, 3 Aug 2016 05:41:57 +0000 (05:41 +0000)]
upstream commit
small refactor of cipher.c: make ciphercontext opaque to
callers feedback and ok markus@
Upstream-ID:
094849f8be68c3bdad2c0f3dee551ecf7be87f6f
dtucker@openbsd.org [Wed, 3 Aug 2016 04:23:55 +0000 (04:23 +0000)]
upstream commit
Fix bug introduced in rev 1.467 which causes
"buffer_get_bignum_ret: incomplete message" errors when built with WITH_SSH1
and run such that no Protocol 1 ephemeral host key is generated (eg "Protocol
2", no SSH1 host key supplied). Reported by rainer.laatsch at t-online.de,
ok deraadt@
Upstream-ID:
aa6b132da5c325523aed7989cc5a320497c919dc
djm@openbsd.org [Wed, 27 Jul 2016 23:18:12 +0000 (23:18 +0000)]
upstream commit
better bounds check on iovcnt (we only ever use fixed,
positive values)
Upstream-ID:
9baa6eb5cd6e30c9dc7398e5fe853721a3a5bdee
Darren Tucker [Tue, 2 Aug 2016 05:22:40 +0000 (15:22 +1000)]
Use tabs consistently inside "case $host".
Darren Tucker [Tue, 2 Aug 2016 02:16:34 +0000 (12:16 +1000)]
Explicitly test for broken strnvis.
NetBSD added an strnvis and unfortunately made it incompatible with the
existing one in OpenBSD and Linux's libbsd (the former having existed
for over ten years). Despite this incompatibility being reported during
development (see http://gnats.netbsd.org/44977) they still shipped it.
Even more unfortunately FreeBSD and later MacOS picked up this incompatible
implementation. Try to detect this mess, and assume the only safe option
if we're cross compiling.
OpenBSD 2.9 (2001): strnvis(char *dst, const char *src, size_t dlen, int flag);
NetBSD 6.0 (2012): strnvis(char *dst, size_t dlen, const char *src, int flag);
ok djm@
Damien Miller [Tue, 2 Aug 2016 01:06:23 +0000 (11:06 +1000)]
update recommended autoconf version
Damien Miller [Tue, 2 Aug 2016 00:48:04 +0000 (10:48 +1000)]
update config.guess and config.sub to current
upstream commit
562f3512b3911ba0c77a7f68214881d1f241f46e
Darren Tucker [Tue, 2 Aug 2016 00:01:52 +0000 (10:01 +1000)]
Replace spaces with tabs.
Mechanically replace spaces with tabs in compat files not synced with
OpenBSD.
Darren Tucker [Mon, 1 Aug 2016 23:44:25 +0000 (09:44 +1000)]
Strip trailing whitespace.
Mechanically strip trailing whitespace on files not synced with OpenBSD
(or in the case of bsd-snprint.c, rsync).
Darren Tucker [Mon, 1 Aug 2016 23:06:27 +0000 (09:06 +1000)]
Repair $OpenBSD markers.
Darren Tucker [Mon, 1 Aug 2016 23:02:42 +0000 (09:02 +1000)]
Repair $OpenBSD marker.
Tim Rice [Mon, 1 Aug 2016 21:31:52 +0000 (14:31 -0700)]
modified: configure.ac opensshd.init.in
Skip generating missing RSA1 key on startup unless ssh1 support is enabled.
Spotted by Jean-Pierre Radley
Damien Miller [Wed, 27 Jul 2016 22:54:27 +0000 (08:54 +1000)]
define _OPENBSD_SOURCE for reallocarray on NetBSD
Report by and debugged with Hisashi T Fujinaka, dtucker nailed
the problem (lack of prototype causing return type confusion).
Damien Miller [Tue, 26 Jul 2016 22:25:42 +0000 (08:25 +1000)]
KNF
Damien Miller [Tue, 26 Jul 2016 22:25:23 +0000 (08:25 +1000)]
Linux auditing also needs packet.h
Damien Miller [Tue, 26 Jul 2016 22:18:05 +0000 (08:18 +1000)]
fix auditing on Linux
get_remote_ipaddr() was replaced with ssh_remote_ipaddr()
Damien Miller [Sun, 24 Jul 2016 11:50:13 +0000 (21:50 +1000)]
crank version numbers
djm@openbsd.org [Sun, 24 Jul 2016 11:45:36 +0000 (11:45 +0000)]
upstream commit
openssh-7.3
Upstream-ID:
af106a7eb665f642648cf1993e162c899f358718
Darren Tucker [Sat, 23 Jul 2016 06:14:42 +0000 (16:14 +1000)]
Move Cygwin IPPORT_RESERVED overrride to defines.h
Patch from vinschen at redhat.com.
djm@openbsd.org [Sat, 23 Jul 2016 02:54:08 +0000 (02:54 +0000)]
upstream commit
fix pledge violation with ssh -f; reported by Valentin
Kozamernik ok dtucker@
Upstream-ID:
a61db7988db88d9dac3c4dd70e18876a8edf84aa
djm@openbsd.org [Fri, 22 Jul 2016 07:00:46 +0000 (07:00 +0000)]
upstream commit
improve wording; suggested by jmc@
Upstream-ID:
55cb0a24c8e0618b3ceec80998dc82c85db2d2f8
dtucker@openbsd.org [Fri, 22 Jul 2016 05:46:11 +0000 (05:46 +0000)]
upstream commit
Lower loglevel for "Authenticated with partial success"
message similar to other similar level. bz#2599, patch from cgallek at
gmail.com, ok markus@
Upstream-ID:
3faab814e947dc7b2e292edede23e94c608cb4dd
Damien Miller [Fri, 22 Jul 2016 04:06:36 +0000 (14:06 +1000)]
retry waitpid on EINTR failure
patch from Jakub Jelen on bz#2581; ok dtucker@
djm@openbsd.org [Fri, 22 Jul 2016 03:47:36 +0000 (03:47 +0000)]
upstream commit
constify a few functions' arguments; patch from Jakub
Jelen bz#2581
Upstream-ID:
f2043f51454ea37830ff6ad60c8b32b4220f448d
djm@openbsd.org [Fri, 22 Jul 2016 03:39:13 +0000 (03:39 +0000)]
upstream commit
move debug("%p", key) to before key is free'd; probable
undefined behaviour on strict compilers; reported by Jakub Jelen bz#2581
Upstream-ID:
767f323e1f5819508a0e35e388ec241bac2f953a