]> git.ipfire.org Git - thirdparty/openssh-portable.git/log
thirdparty/openssh-portable.git
8 years agoupstream commit
djm@openbsd.org [Sat, 24 Jun 2017 05:37:44 +0000 (05:37 +0000)] 
upstream commit

switch sshconnect.c from (slightly abused) select() to
poll(); ok deraadt@ a while back

Upstream-ID: efc1937fc591bbe70ac9e9542bb984f354c8c175

8 years agoupstream commit
djm@openbsd.org [Sat, 24 Jun 2017 05:35:05 +0000 (05:35 +0000)] 
upstream commit

use HostKeyAlias if specified instead of hostname for
matching host certificate principal names; bz#2728; ok dtucker@

Upstream-ID: dc2e11c83ae9201bbe74872a0c895ae9725536dd

8 years agoupstream commit
djm@openbsd.org [Sat, 24 Jun 2017 05:24:11 +0000 (05:24 +0000)] 
upstream commit

no need to call log_init to reinitialise logged PID in
child sessions, since we haven't called openlog() in log_init() since 1999;
ok markus@

Upstream-ID: 0906e4002af5d83d3d544df75e1187c932a3cf2e

8 years agoupstream commit
mestre@openbsd.org [Fri, 23 Jun 2017 07:24:48 +0000 (07:24 +0000)] 
upstream commit

When using the escape sequence &~ the code path is
client_loop() -> client_simple_escape_filter() -> process_escapes() -> fork()
and the pledge for this path lacks the proc promise and therefore aborts the
process. The solution is to just add proc the promise to this specific
pledge.

Reported by Gregoire Jadi gjadi ! omecha.info
Insight with tb@, OK jca@

Upstream-ID: 63c05e30c28209519f476023b65b0b1b0387a05b

8 years agoupstream commit
dtucker@openbsd.org [Fri, 23 Jun 2017 03:30:42 +0000 (03:30 +0000)] 
upstream commit

Import regenerated moduli.

Upstream-ID: b25bf747544265b39af74fe0716dc8d9f5b63b95

8 years agoupstream commit
dtucker@openbsd.org [Fri, 23 Jun 2017 03:25:53 +0000 (03:25 +0000)] 
upstream commit

Run the screen twice so we end up with more candidate
groups.  ok djm@

Upstream-ID: b92c93266d8234d493857bb822260dacf4366157

8 years agoupstream commit
dtucker@openbsd.org [Wed, 14 Jun 2017 00:31:38 +0000 (00:31 +0000)] 
upstream commit

Add user@host prefix to client's "Permisison denied"
messages, useful in particular when using "stacked" connections where it's
not clear which host is denying.  bz#2720, ok djm@ markus@

Upstream-ID: de88e1e9dcb050c98e85377482d1287a9fe0d2be

8 years agoupstream commit
djm@openbsd.org [Tue, 13 Jun 2017 12:13:59 +0000 (12:13 +0000)] 
upstream commit

Do not require that unknown EXT_INFO extension values not
contain \0 characters. This would cause fatal connection errors if an
implementation sent e.g. string-encoded sub-values inside a value.

Reported by Denis Bider; ok markus@

Upstream-ID: 030e10fdc605563c040244c4b4f1d8ae75811a5c

8 years agoupstream commit
djm@openbsd.org [Tue, 13 Jun 2017 11:22:15 +0000 (11:22 +0000)] 
upstream commit

missing prototype.

Upstream-ID: f443d2be9910fd2165a0667956d03343c46f66c9

8 years agoportability for sftp globbed ls sort by mtime
Damien Miller [Sat, 10 Jun 2017 13:41:25 +0000 (23:41 +1000)] 
portability for sftp globbed ls sort by mtime

Include replacement timespeccmp() for systems that lack it.
Support time_t struct stat->st_mtime in addition to
timespec stat->st_mtim, as well as unsorted fallback.

8 years agoupstream commit
djm@openbsd.org [Sat, 10 Jun 2017 06:36:46 +0000 (06:36 +0000)] 
upstream commit

print '?' instead of incorrect link count (that the
protocol doesn't provide) for remote listings. bz#2710 ok dtucker@

Upstream-ID: c611f98a66302cea452ef10f13fff8cf0385242e

8 years agoupstream commit
djm@openbsd.org [Sat, 10 Jun 2017 06:33:34 +0000 (06:33 +0000)] 
upstream commit

implement sorting for globbed ls; bz#2649 ok dtucker@

Upstream-ID: ed3110f351cc9703411bf847ba864041fb7216a8

8 years agoupstream commit
djm@openbsd.org [Fri, 9 Jun 2017 06:47:13 +0000 (06:47 +0000)] 
upstream commit

return failure rather than fatal() for more cases during
mux negotiations. Causes the session to fall back to a non-mux connection if
they occur. bz#2707 ok dtucker@

Upstream-ID: d2a7892f464d434e1f615334a1c9d0cdb83b29ab

8 years agoupstream commit
djm@openbsd.org [Fri, 9 Jun 2017 06:43:01 +0000 (06:43 +0000)] 
upstream commit

in description of public key authentication, mention that
the server will send debug messages to the client for some error conditions
after authentication has completed. bz#2709 ok dtucker

Upstream-ID: 750127dbd58c5a2672c2d28bc35fe221fcc8d1dd

8 years agoupstream commit
djm@openbsd.org [Fri, 9 Jun 2017 06:40:24 +0000 (06:40 +0000)] 
upstream commit

better translate libcrypto errors by looking deeper in
the accursed error stack for codes that indicate the wrong passphrase was
supplied for a PEM key. bz#2699 ok dtucker@

Upstream-ID: 4da4286326d570f4f0489459bb71f6297e54b681

8 years agoupstream commit
dtucker@openbsd.org [Fri, 9 Jun 2017 04:40:04 +0000 (04:40 +0000)] 
upstream commit

Add comments referring to the relevant RFC sections for
rekeying behaviour.

Upstream-ID: 6fc8e82485757a27633f9175ad00468f49a07d40

8 years agodrop two more privileges in the Solaris sandbox
Damien Miller [Fri, 9 Jun 2017 04:43:47 +0000 (14:43 +1000)] 
drop two more privileges in the Solaris sandbox

Drop PRIV_DAX_ACCESS and PRIV_SYS_IB_INFO.
Patch from huieying.lee AT oracle.com via bz#2723

8 years agoWrap stdint.h include in #ifdef.
Darren Tucker [Fri, 9 Jun 2017 03:36:29 +0000 (13:36 +1000)] 
Wrap stdint.h include in #ifdef.

8 years agoupstream commit
djm@openbsd.org [Wed, 7 Jun 2017 01:48:15 +0000 (01:48 +0000)] 
upstream commit

unbreak after sshv1 purge

Upstream-Regress-ID: 8ea01a92d5f571b9fba88c1463a4254a7552d51b

8 years agoupstream commit
dtucker@openbsd.org [Tue, 6 Jun 2017 09:12:17 +0000 (09:12 +0000)] 
upstream commit

Fix compression output stats broken in rev 1.201.  Patch
originally by Russell Coker via Debian bug #797964 and Christoph Biedl.  ok
djm@

Upstream-ID: 83a1903b95ec2e4ed100703debb4b4a313b01016

8 years agoupstream commit
djm@openbsd.org [Fri, 2 Jun 2017 06:06:10 +0000 (06:06 +0000)] 
upstream commit

rationalise the long list of manual CDIAGFLAGS that we
add; most of these were redundant to -Wall -Wextra

Upstream-ID: ea80f445e819719ccdcb237022cacfac990fdc5c

8 years agoupstream commit
djm@openbsd.org [Thu, 1 Jun 2017 06:59:21 +0000 (06:59 +0000)] 
upstream commit

no need to bzero allocated space now that we use use
recallocarray; ok deraadt@

Upstream-ID: 53333c62ccf97de60b8cb570608c1ba5ca5803c8

8 years agoupstream commit
djm@openbsd.org [Thu, 1 Jun 2017 06:58:25 +0000 (06:58 +0000)] 
upstream commit

unconditionally zero init size of buffer; ok markus@
deraadt@

Upstream-ID: 218963e846d8f26763ba25afe79294547b99da29

8 years agoavoid compiler warning
Damien Miller [Thu, 1 Jun 2017 06:25:09 +0000 (16:25 +1000)] 
avoid compiler warning

8 years agoupstream commit
djm@openbsd.org [Thu, 1 Jun 2017 06:16:43 +0000 (06:16 +0000)] 
upstream commit

some warnings spotted by clang; ok markus@

Upstream-ID: 24381d68ca249c5cee4388ceb0f383fa5b43991b

8 years agoadd recallocarray replacement and dependency
Damien Miller [Thu, 1 Jun 2017 05:25:13 +0000 (15:25 +1000)] 
add recallocarray replacement and dependency

recallocarray() needs getpagesize() so add a tiny replacement for that.

8 years agoadd *.0 manpage droppings
Damien Miller [Thu, 1 Jun 2017 05:16:24 +0000 (15:16 +1000)] 
add *.0 manpage droppings

8 years agoupstream commit
djm@openbsd.org [Thu, 1 Jun 2017 04:51:58 +0000 (04:51 +0000)] 
upstream commit

fix casts re constness

Upstream-ID: e38f2bac162b37dbaf784d349c8327a6626fa266

8 years agoupstream commit
markus@openbsd.org [Wed, 31 May 2017 10:54:00 +0000 (10:54 +0000)] 
upstream commit

make sure we don't pass a NULL string to vfprintf
(triggered by the principals-command regress test); ok bluhm

Upstream-ID: eb49854f274ab37a0b57056a6af379a0b7111990

8 years agoupstream commit
markus@openbsd.org [Wed, 31 May 2017 10:04:29 +0000 (10:04 +0000)] 
upstream commit

use SO_ZEROIZE for privsep communication (if available)

Upstream-ID: abcbb6d2f8039fc4367a6a78096e5d5c39de4a62

8 years agoupstream commit
deraadt@openbsd.org [Wed, 31 May 2017 09:15:42 +0000 (09:15 +0000)] 
upstream commit

Switch to recallocarray() for a few operations.  Both
growth and shrinkage are handled safely, and there also is no need for
preallocation dances. Future changes in this area will be less error prone.
Review and one bug found by markus

Upstream-ID: 822d664d6a5a1d10eccb23acdd53578a679d5065

8 years agoupstream commit
deraadt@openbsd.org [Wed, 31 May 2017 08:58:52 +0000 (08:58 +0000)] 
upstream commit

These shutdown() SHUT_RDWR are not needed before close()
ok djm markus claudio

Upstream-ID: 36f13ae4ba10f5618cb9347933101eb4a98dbcb5

8 years agoupstream commit
markus@openbsd.org [Wed, 31 May 2017 08:09:45 +0000 (08:09 +0000)] 
upstream commit

clear session keys from memory; ok djm@

Upstream-ID: ecd178819868975affd5fd6637458b7c712b6a0f

8 years agoupstream commit
markus@openbsd.org [Wed, 31 May 2017 07:00:13 +0000 (07:00 +0000)] 
upstream commit

remove now obsolete ctx from ssh_dispatch_run; ok djm@

Upstream-ID: 9870aabf7f4d71660c31fda91b942b19a8e68d29

8 years agoupstream commit
markus@openbsd.org [Wed, 31 May 2017 05:34:14 +0000 (05:34 +0000)] 
upstream commit

use the ssh_dispatch_run_fatal variant

Upstream-ID: 28c5b364e37c755d1b22652b8cd6735a05c625d8

8 years agoupstream commit
djm@openbsd.org [Wed, 31 May 2017 05:08:46 +0000 (05:08 +0000)] 
upstream commit

another ctx => ssh conversion (in GSSAPI code)

Upstream-ID: 4d6574c3948075c60608d8e045af42fe5b5d8ae0

8 years agofix conversion of kexc25519s.c to struct ssh too
Damien Miller [Wed, 31 May 2017 04:56:07 +0000 (14:56 +1000)] 
fix conversion of kexc25519s.c to struct ssh too

git cvsimport missed this commit for some reason

8 years agoupstream commit
djm@openbsd.org [Wed, 31 May 2017 04:29:44 +0000 (04:29 +0000)] 
upstream commit

spell out that custom options/extensions should follow the
usual SSH naming rules, e.g. "extension@example.com"

Upstream-ID: ab326666d2fad40769ec96b5a6de4015ffd97b8d

8 years agoupstream commit
djm@openbsd.org [Wed, 31 May 2017 04:17:12 +0000 (04:17 +0000)] 
upstream commit

one more void *ctx => struct ssh *ssh conversion

Upstream-ID: d299d043471c10214cf52c03daa10f1c232759e2

8 years agoupstream commit
djm@openbsd.org [Wed, 31 May 2017 00:43:04 +0000 (00:43 +0000)] 
upstream commit

fix possible OOB strlen() in SOCKS4A hostname parsing;
ok markus@

Upstream-ID: c67297cbeb0e5a19d81752aa18ec44d31270cd11

8 years agoupstream commit
jmc@openbsd.org [Tue, 30 May 2017 19:38:17 +0000 (19:38 +0000)] 
upstream commit

tweak previous;

Upstream-ID: 66987651046c42d142f7318c9695fb81a6d14031

8 years agoupstream commit
bluhm@openbsd.org [Tue, 30 May 2017 18:58:37 +0000 (18:58 +0000)] 
upstream commit

Add RemoteCommand option to specify a command in the
ssh config file instead of giving it on the client's command line.  This
command will be executed on the remote host.  The feature allows to automate
tasks using ssh config. OK markus@

Upstream-ID: 5d982fc17adea373a9c68cae1021ce0a0904a5ee

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 14:29:59 +0000 (14:29 +0000)] 
upstream commit

switch auth2 to ssh_dispatch API; ok djm@

Upstream-ID: a752ca19e2782900dd83060b5c6344008106215f

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 14:27:22 +0000 (14:27 +0000)] 
upstream commit

switch auth2-none.c to modern APIs; ok djm@

Upstream-ID: 07252b58e064d332214bcabbeae8e08c44b2001b

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 14:26:49 +0000 (14:26 +0000)] 
upstream commit

switch auth2-passwd.c to modern APIs; ok djm@

Upstream-ID: cba0a8b72b4f97adfb7e3b3fd2f8ba3159981fc7

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 14:25:42 +0000 (14:25 +0000)] 
upstream commit

switch auth2-hostbased.c to modern APIs; ok djm@

Upstream-ID: 146af25c36daeeb83d5dbbb8ca52b5d25de88f4e

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 14:23:52 +0000 (14:23 +0000)] 
upstream commit

protocol handlers all get struct ssh passed; ok djm@

Upstream-ID: 0ca9ea2a5d01a6d2ded94c5024456a930c5bfb5d

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 14:19:15 +0000 (14:19 +0000)] 
upstream commit

ssh: pass struct ssh to auth functions, too; ok djm@

Upstream-ID: d13c509cc782f8f19728fbea47ac7cf36f6e85dd

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 14:18:15 +0000 (14:18 +0000)] 
upstream commit

sshd: pass struct ssh to auth functions; ok djm@

Upstream-ID: b00a80c3460884ebcdd14ef550154c761aebe488

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 14:16:41 +0000 (14:16 +0000)] 
upstream commit

remove unused wrapper functions from key.[ch]; ok djm@

Upstream-ID: ea0f4016666a6817fc11f439dd4be06bab69707e

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 14:15:17 +0000 (14:15 +0000)] 
upstream commit

sshkey_new() might return NULL (pkcs#11 code only); ok
djm@

Upstream-ID: de9f2ad4a42c0b430caaa7d08dea7bac943075dd

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 14:13:40 +0000 (14:13 +0000)] 
upstream commit

switch sshconnect.c to modern APIs; ok djm@

Upstream-ID: 27be17f84b950d5e139b7a9b281aa487187945ad

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 14:10:53 +0000 (14:10 +0000)] 
upstream commit

switch auth2-pubkey.c to modern APIs; with & ok djm@

Upstream-ID: 8f08d4316eb1b0c4ffe4a206c05cdd45ed1daf07

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 08:52:19 +0000 (08:52 +0000)] 
upstream commit

switch from Key typedef with struct sshkey; ok djm@

Upstream-ID: 3067d33e04efbe5131ce8f70668c47a58e5b7a1f

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 08:49:58 +0000 (08:49 +0000)] 
upstream commit

remove ssh1 references; ok djm@

Upstream-ID: fc23b7578e7b0a8daaec72946d7f5e58ffff5a3d

8 years agoupstream commit
markus@openbsd.org [Tue, 30 May 2017 08:49:32 +0000 (08:49 +0000)] 
upstream commit

revise sshkey_load_public(): remove ssh1 related
comments, remove extra open()/close() on keyfile, prevent leak of 'pub' if
'keyp' is NULL, replace strlcpy+cat with asprintf; ok djm@

Upstream-ID: 6175e47cab5b4794dcd99c1175549a483ec673ca

8 years agoupstream commit
markus@openbsd.org [Fri, 26 May 2017 20:34:49 +0000 (20:34 +0000)] 
upstream commit

sshbuf_consume: reset empty buffer; ok djm@

Upstream-ID: 0d4583ba57f69e369d38bbd7843d85cac37fa821

8 years agoupstream commit
markus@openbsd.org [Fri, 26 May 2017 19:35:50 +0000 (19:35 +0000)] 
upstream commit

remove SSH_CHANNEL_XXX_DRAINING (ssh1 only); ok djm@

Upstream-ID: e2e225b6ac67b84dd024f38819afff2554fafe42

8 years agoupstream commit
markus@openbsd.org [Fri, 26 May 2017 19:34:12 +0000 (19:34 +0000)] 
upstream commit

remove channel_input_close_confirmation (ssh1 only); ok
djm@

Upstream-ID: 8e7c8c38f322d255bb0294a5c0ebef53fdf576f1

8 years agoupstream commit
djm@openbsd.org [Fri, 26 May 2017 01:40:07 +0000 (01:40 +0000)] 
upstream commit

fix references to obsolete v00 cert format; spotted by
Jakub Jelen

Upstream-ID: 7600ce193ab8fd19451acfe24fc2eb39d46b2c4f

8 years agoconfigure: actually set cache vars when cross-compiling
Mike Frysinger [Thu, 25 May 2017 03:21:19 +0000 (23:21 -0400)] 
configure: actually set cache vars when cross-compiling

The cross-compiling fallback message says it's assuming the test
passed, but it didn't actually set the cache var which causes
later tests to fail.

8 years agoupstream commit
djm@openbsd.org [Sat, 20 May 2017 02:35:47 +0000 (02:35 +0000)] 
upstream commit

there's no reason to artificially limit the key path
here, just check that it fits PATH_MAX; spotted by Matthew Patton

Upstream-ID: 858addaf2009c9cf04d80164a41b2088edb30b58

8 years agoupstream commit
djm@openbsd.org [Fri, 19 May 2017 21:07:17 +0000 (21:07 +0000)] 
upstream commit

Now that we no longer support SSHv1, replace the contents
of this file with a pointer to
https://tools.ietf.org/html/draft-miller-ssh-agent-00 It's better edited,
doesn't need to document stuff we no longer implement and does document stuff
that we do implement (RSA SHA256/512 signature flags)

Upstream-ID: da8cdc46bbcc266efabd565ddddd0d8e556f846e

8 years agoupstream commit
djm@openbsd.org [Wed, 17 May 2017 01:24:17 +0000 (01:24 +0000)] 
upstream commit

allow LogLevel in sshd_config Match blocks; ok dtucker
bz#2717

Upstream-ID: 662e303be63148f47db1aa78ab81c5c2e732baa8

8 years agoupstream commit
djm@openbsd.org [Tue, 16 May 2017 16:56:15 +0000 (16:56 +0000)] 
upstream commit

remove duplicate check; spotted by Jakub Jelen

Upstream-ID: 30c2996c1767616a8fdc49d4cee088efac69c3b0

8 years agoupstream commit
djm@openbsd.org [Tue, 16 May 2017 16:54:05 +0000 (16:54 +0000)] 
upstream commit

mention that Ed25519 keys are valid as CA keys; spotted
by Jakub Jelen

Upstream-ID: d3f6db58b30418cb1c3058211b893a1ffed3dfd4

8 years agoclean up regress files and add a .gitignore
Damien Miller [Tue, 9 May 2017 04:35:03 +0000 (14:35 +1000)] 
clean up regress files and add a .gitignore

8 years agoupstream commit
djm@openbsd.org [Mon, 8 May 2017 22:57:38 +0000 (22:57 +0000)] 
upstream commit

remove hmac-ripemd160; ok dtucker

Upstream-ID: 896e737ea0bad6e23327d1c127e02d5e9e9c654d

8 years agoupstream commit
djm@openbsd.org [Mon, 8 May 2017 06:11:06 +0000 (06:11 +0000)] 
upstream commit

make requesting bad ECDSA bits yield the same error
(SSH_ERR_KEY_LENGTH) as the same mistake for RSA/DSA

Upstream-ID: bf40d3fee567c271e33f05ef8e4e0fa0b6f0ece6

8 years agoupstream commit
djm@openbsd.org [Mon, 8 May 2017 06:08:42 +0000 (06:08 +0000)] 
upstream commit

fix for new SSH_ERR_KEY_LENGTH error value

Upstream-Regress-ID: c38a6e6174d4c3feca3518df150d4fbae0dca8dc

8 years agoupstream commit
djm@openbsd.org [Mon, 8 May 2017 06:03:39 +0000 (06:03 +0000)] 
upstream commit

helps if I commit the correct version of the file. fix
missing return statement.

Upstream-ID: c86394a3beeb1ec6611e659bfa830254f325546c

8 years agoupstream commit
djm@openbsd.org [Mon, 8 May 2017 01:52:49 +0000 (01:52 +0000)] 
upstream commit

remove arcfour, blowfish and CAST here too

Upstream-Regress-ID: c613b3bcbef75df1fe84ca4dc2d3ef253dc5e920

8 years agoupstream commit
djm@openbsd.org [Mon, 8 May 2017 00:21:36 +0000 (00:21 +0000)] 
upstream commit

I was too aggressive with the scalpel in the last commit;
unbreak sshd, spotted quickly by naddy@

Upstream-ID: fb7e75d2b2c7e6ca57dee00ca645e322dd49adbf

8 years agoupstream commit
djm@openbsd.org [Sun, 7 May 2017 23:15:59 +0000 (23:15 +0000)] 
upstream commit

Refuse RSA keys <1024 bits in length. Improve reporting
for keys that do not meet this requirement. ok markus@

Upstream-ID: b385e2a7b13b1484792ee681daaf79e1e203df6c

8 years agoupstream commit
djm@openbsd.org [Sun, 7 May 2017 23:13:42 +0000 (23:13 +0000)] 
upstream commit

Don't offer CBC ciphers by default in the client. ok
markus@

Upstream-ID: 94c9ce8d0d1a085052e11c7f3307950fdc0901ef

8 years agoupstream commit
djm@openbsd.org [Sun, 7 May 2017 23:12:57 +0000 (23:12 +0000)] 
upstream commit

As promised in last release announcement: remove
support for Blowfish, RC4 and CAST ciphers. ok markus@ deraadt@

Upstream-ID: 21f8facdba3fd8da248df6417000867cec6ba222

8 years agoupstream commit
naddy@openbsd.org [Fri, 5 May 2017 10:42:49 +0000 (10:42 +0000)] 
upstream commit

more simplification and removal of SSHv1-related code;
ok djm@

Upstream-ID: d2f041aa0b79c0ebd98c68a01e5a0bfab2cf3b55

8 years agoupstream commit
naddy@openbsd.org [Fri, 5 May 2017 10:41:58 +0000 (10:41 +0000)] 
upstream commit

remove superfluous protocol 2 mentions; ok jmc@

Upstream-ID: 0aaf7567c9f2e50fac5906b6a500a39c33c4664d

8 years agoupstream commit
djm@openbsd.org [Thu, 4 May 2017 06:10:57 +0000 (06:10 +0000)] 
upstream commit

since a couple of people have asked, leave a comment
explaining why we retain SSH v.1 support in the "delete all keys from agent"
path.

Upstream-ID: 4b42dcfa339813c15fe9248a2c1b7ed41c21bbb4

8 years agoupstream commit
djm@openbsd.org [Thu, 4 May 2017 01:33:21 +0000 (01:33 +0000)] 
upstream commit

another tentacle: cipher_set_key_string() was only ever
used for SSHv1

Upstream-ID: 7fd31eb6c48946f7e7cc12af0699fe8eb637e94a

8 years agoupstream commit
naddy@openbsd.org [Wed, 3 May 2017 21:49:18 +0000 (21:49 +0000)] 
upstream commit

restore mistakenly deleted description of the
ConnectionAttempts option ok markus@

Upstream-ID: 943002b1b7c470caea3253ba7b7348c359de0348

8 years agoupstream commit
naddy@openbsd.org [Wed, 3 May 2017 21:08:09 +0000 (21:08 +0000)] 
upstream commit

remove miscellaneous SSH1 leftovers; ok markus@

Upstream-ID: af23696022ae4d45a1abc2fb8b490d8d9dd63b7c

8 years agoupstream commit
jmc@openbsd.org [Wed, 3 May 2017 10:01:44 +0000 (10:01 +0000)] 
upstream commit

more protocol 1 bits removed; ok djm

Upstream-ID: b5b977eaf756915acb56aef3604a650e27f7c2b9

8 years agoupstream commit
jmc@openbsd.org [Wed, 3 May 2017 06:32:02 +0000 (06:32 +0000)] 
upstream commit

more protocol 1 stuff to go; ok djm

Upstream-ID: 307a30441d2edda480fd1661d998d36665671e47

8 years agoupstream commit
jmc@openbsd.org [Tue, 2 May 2017 17:04:09 +0000 (17:04 +0000)] 
upstream commit

rsa1 is no longer valid;

Upstream-ID: 9953d09ed9841c44b7dcf7019fa874783a709d89

8 years agoupstream commit
jmc@openbsd.org [Tue, 2 May 2017 14:06:37 +0000 (14:06 +0000)] 
upstream commit

add PubKeyAcceptedKeyTypes to the -o list: scp(1) has
it, so i guess this should too;

Upstream-ID: 7fab32e869ca5831d09ab0c40d210b461d527a2c

8 years agoupstream commit
jmc@openbsd.org [Tue, 2 May 2017 13:44:51 +0000 (13:44 +0000)] 
upstream commit

remove now obsolete protocol1 options from the -o
lists;

Upstream-ID: 828e478a440bc5f9947672c392420510a362b3dd

8 years agoupstream commit
jmc@openbsd.org [Tue, 2 May 2017 09:05:58 +0000 (09:05 +0000)] 
upstream commit

more -O shuffle; ok djm

Upstream-ID: c239991a3a025cdbb030b73e990188dd9bfbeceb

8 years agoupstream commit
djm@openbsd.org [Tue, 2 May 2017 08:54:19 +0000 (08:54 +0000)] 
upstream commit

remove -1 / -2 options; pointed out by jmc@

Upstream-ID: 65d2a816000741a95df1c7cfdb5fa8469fcc7daa

8 years agoupstream commit
jmc@openbsd.org [Tue, 2 May 2017 08:06:33 +0000 (08:06 +0000)] 
upstream commit

remove options -12 from usage();

Upstream-ID: db7ceef25132e63b50ed05289bf447fece1d1270

8 years agoupstream commit
jmc@openbsd.org [Tue, 2 May 2017 07:13:31 +0000 (07:13 +0000)] 
upstream commit

tidy up -O somewhat; ok djm

Upstream-ID: 804405f716bf7ef15c1f36ab48581ca16aeb4d52

8 years agoupstream commit
djm@openbsd.org [Mon, 1 May 2017 22:09:48 +0000 (22:09 +0000)] 
upstream commit

when freeing a bitmap, zero all it bytes; spotted by Ilya
Kaliman

Upstream-ID: 834ac024f2c82389d6ea6b1c7d6701b3836e28e4

8 years agoupstream commit
djm@openbsd.org [Mon, 1 May 2017 14:08:26 +0000 (14:08 +0000)] 
upstream commit

this one I did forget to "cvs rm"

Upstream-ID: 5781670c0578fe89663c9085ed3ba477cf7e7913

8 years agoupstream commit
djm@openbsd.org [Mon, 1 May 2017 09:27:45 +0000 (09:27 +0000)] 
upstream commit

don't know why cvs didn't exterminate these the first
time around, I use rm -f and everuthing...

pointed out by sobrado@

Upstream-ID: a6c44a0c2885330d322ee01fcfd7f6f209b1e15d

8 years agoDefine INT32_MAX and INT64_MAX if needed.
Darren Tucker [Mon, 1 May 2017 03:53:07 +0000 (13:53 +1000)] 
Define INT32_MAX and INT64_MAX if needed.

8 years agoWrap stdint.h in HAVE_STDINT_H
Darren Tucker [Mon, 1 May 2017 03:19:41 +0000 (13:19 +1000)] 
Wrap stdint.h in HAVE_STDINT_H

8 years agoupstream commit
djm@openbsd.org [Mon, 1 May 2017 02:27:11 +0000 (02:27 +0000)] 
upstream commit

remove unused variable

Upstream-ID: 66011f00819d0e71b14700449a98414033284516

8 years agoupstream commit
djm@openbsd.org [Sun, 30 Apr 2017 23:34:55 +0000 (23:34 +0000)] 
upstream commit

eliminate explicit specification of protocol in tests and
loops over protocol. We only support SSHv2 now.

Upstream-Regress-ID: 0082838a9b8a382b7ee9cbf0c1b9db727784fadd

8 years agoupstream commit
djm@openbsd.org [Sun, 30 Apr 2017 23:33:48 +0000 (23:33 +0000)] 
upstream commit

remove SSHv1 support from unit tests

Upstream-Regress-ID: 395ca2aa48f1f7d23eefff6cb849ea733ca8bbfe

8 years agoupstream commit
djm@openbsd.org [Mon, 1 May 2017 00:03:18 +0000 (00:03 +0000)] 
upstream commit

fixup setting ciphercontext->plaintext (lost in SSHv1 purge),
though it isn't really used for much anymore.

Upstream-ID: 859b8bce84ff4865b32097db5430349d04b9b747