Damien Miller
bcd1485075
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.
2017-06-10 23:41:25 +10:00
djm@openbsd.org
072e172f1d
upstream commit
...
print '?' instead of incorrect link count (that the
protocol doesn't provide) for remote listings. bz#2710 ok dtucker@
Upstream-ID: c611f98a66302cea452ef10f13fff8cf0385242e
2017-06-10 16:40:11 +10:00
djm@openbsd.org
72be5b2f8e
upstream commit
...
implement sorting for globbed ls; bz#2649 ok dtucker@
Upstream-ID: ed3110f351cc9703411bf847ba864041fb7216a8
2017-06-10 16:40:11 +10:00
djm@openbsd.org
5b2f34a74a
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
2017-06-10 16:40:11 +10:00
djm@openbsd.org
7f5637c4a6
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
2017-06-10 16:40:10 +10:00
djm@openbsd.org
2076e4adb9
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
2017-06-10 16:40:10 +10:00
dtucker@openbsd.org
ad0531614c
upstream commit
...
Add comments referring to the relevant RFC sections for
rekeying behaviour.
Upstream-ID: 6fc8e82485757a27633f9175ad00468f49a07d40
2017-06-10 16:39:09 +10:00
Damien Miller
ce9134260b
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
2017-06-09 14:44:43 +10:00
Darren Tucker
e0f609c8a2
Wrap stdint.h include in #ifdef.
2017-06-09 13:36:29 +10:00
bagajjal
f8077a9f8e
Added support for SFTP only server for Windows
...
https://github.com/PowerShell/Win32-OpenSSH/issues/757
2017-06-08 11:48:54 -07:00
bagajjal
45de6ba06c
Readpassphrase #692 ( #156 )
...
Fix for #692
PowerShell/Win32-OpenSSH#692
Implement readpassphrase to align with unix implementation.
2017-06-08 11:47:59 -07:00
Manoj Ampalam
8f5a769312
Porting upstream changes that broke key based auth on Windows
2017-06-08 11:23:25 -07:00
Manoj Ampalam
bf124757d6
Fixed x86 build
2017-06-07 22:29:34 -07:00
Manoj Ampalam
849b637a7e
Porting latest openssh/master changes to Windows
2017-06-07 22:04:05 -07:00
Manoj Ampalam
f7e6475b96
Merge remote-tracking branch 'openssh/master' into latestw
2017-06-07 21:46:18 -07:00
djm@openbsd.org
1de5e47a85
upstream commit
...
unbreak after sshv1 purge
Upstream-Regress-ID: 8ea01a92d5f571b9fba88c1463a4254a7552d51b
2017-06-08 13:11:11 +10:00
Yanbing
19733a0811
update the script so it compile on psh 2.0 on win7 ( #160 )
...
PowerShell/Win32-OpenSSH#758
2017-06-06 21:07:05 -07:00
dtucker@openbsd.org
550c053168
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
2017-06-07 11:31:15 +10:00
djm@openbsd.org
55d06c6e72
upstream commit
...
rationalise the long list of manual CDIAGFLAGS that we
add; most of these were redundant to -Wall -Wextra
Upstream-ID: ea80f445e819719ccdcb237022cacfac990fdc5c
2017-06-07 11:31:15 +10:00
djm@openbsd.org
1527d9f61e
upstream commit
...
no need to bzero allocated space now that we use use
recallocarray; ok deraadt@
Upstream-ID: 53333c62ccf97de60b8cb570608c1ba5ca5803c8
2017-06-07 11:31:15 +10:00
djm@openbsd.org
cc812baf39
upstream commit
...
unconditionally zero init size of buffer; ok markus@
deraadt@
Upstream-ID: 218963e846d8f26763ba25afe79294547b99da29
2017-06-07 11:31:15 +10:00
Manoj Ampalam
aa992ff908
Removed dependency on sysinternals and psexec. Added PS utility for hostkey management
...
PowerShell/Win32-OpenSSH#755
2017-06-06 14:45:10 -07:00
Yanbing
3ec7a419ac
Fix of issue 750 and 756 ( #158 )
...
PowerShell/Win32-OpenSSH#750
PowerShell/Win32-OpenSSH#756
2017-06-06 10:34:05 -07:00
Yanbing
44a36e4c5b
Crank version ( #155 )
2017-06-02 16:42:05 -07:00
Manoj Ampalam
fb192e832a
Fixed issue with binary input stream over ssh
...
PowerShell/Win32-OpenSSH#658
2017-06-02 15:08:02 -07:00
Yanbing
bbd97bfb66
File perm utilites and temporary suspension of psexec usage ( #154 )
2017-06-02 15:07:26 -07:00
Damien Miller
65eb8fae0d
avoid compiler warning
2017-06-01 16:25:26 +10:00
djm@openbsd.org
2d75d74272
upstream commit
...
some warnings spotted by clang; ok markus@
Upstream-ID: 24381d68ca249c5cee4388ceb0f383fa5b43991b
2017-06-01 16:24:31 +10:00
Damien Miller
151c6e433a
add recallocarray replacement and dependency
...
recallocarray() needs getpagesize() so add a tiny replacement for that.
2017-06-01 15:25:13 +10:00
Damien Miller
01e6f78924
add *.0 manpage droppings
2017-06-01 15:16:24 +10:00
djm@openbsd.org
4b2e2d3fd9
upstream commit
...
fix casts re constness
Upstream-ID: e38f2bac162b37dbaf784d349c8327a6626fa266
2017-06-01 14:55:23 +10:00
markus@openbsd.org
75b8af8de8
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
2017-06-01 14:55:23 +10:00
markus@openbsd.org
84008608c9
upstream commit
...
use SO_ZEROIZE for privsep communication (if available)
Upstream-ID: abcbb6d2f8039fc4367a6a78096e5d5c39de4a62
2017-06-01 14:55:23 +10:00
deraadt@openbsd.org
9e509d4ec9
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
2017-06-01 14:55:22 +10:00
deraadt@openbsd.org
dc5dc45662
upstream commit
...
These shutdown() SHUT_RDWR are not needed before close()
ok djm markus claudio
Upstream-ID: 36f13ae4ba10f5618cb9347933101eb4a98dbcb5
2017-06-01 14:54:46 +10:00
markus@openbsd.org
1e0cdf8efb
upstream commit
...
clear session keys from memory; ok djm@
Upstream-ID: ecd178819868975affd5fd6637458b7c712b6a0f
2017-06-01 14:54:46 +10:00
markus@openbsd.org
92e9fe6331
upstream commit
...
remove now obsolete ctx from ssh_dispatch_run; ok djm@
Upstream-ID: 9870aabf7f4d71660c31fda91b942b19a8e68d29
2017-06-01 14:53:33 +10:00
markus@openbsd.org
17ad5b3460
upstream commit
...
use the ssh_dispatch_run_fatal variant
Upstream-ID: 28c5b364e37c755d1b22652b8cd6735a05c625d8
2017-05-31 18:39:10 +10:00
djm@openbsd.org
39896b7773
upstream commit
...
another ctx => ssh conversion (in GSSAPI code)
Upstream-ID: 4d6574c3948075c60608d8e045af42fe5b5d8ae0
2017-05-31 15:09:24 +10:00
Damien Miller
6116bd4ed3
fix conversion of kexc25519s.c to struct ssh too
...
git cvsimport missed this commit for some reason
2017-05-31 14:56:07 +10:00
djm@openbsd.org
d40dbdc85b
upstream commit
...
spell out that custom options/extensions should follow the
usual SSH naming rules, e.g. "extension@example.com"
Upstream-ID: ab326666d2fad40769ec96b5a6de4015ffd97b8d
2017-05-31 14:30:52 +10:00
djm@openbsd.org
2a108277f9
upstream commit
...
one more void *ctx => struct ssh *ssh conversion
Upstream-ID: d299d043471c10214cf52c03daa10f1c232759e2
2017-05-31 14:17:41 +10:00
djm@openbsd.org
c04e979503
upstream commit
...
fix possible OOB strlen() in SOCKS4A hostname parsing;
ok markus@
Upstream-ID: c67297cbeb0e5a19d81752aa18ec44d31270cd11
2017-05-31 10:51:09 +10:00
jmc@openbsd.org
a3bb250c93
upstream commit
...
tweak previous;
Upstream-ID: 66987651046c42d142f7318c9695fb81a6d14031
2017-05-31 10:51:09 +10:00
bluhm@openbsd.org
1112b534a6
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
2017-05-31 10:51:09 +10:00
markus@openbsd.org
eb272ea409
upstream commit
...
switch auth2 to ssh_dispatch API; ok djm@
Upstream-ID: a752ca19e2782900dd83060b5c6344008106215f
2017-05-31 10:50:33 +10:00
markus@openbsd.org
5a146bbd4f
upstream commit
...
switch auth2-none.c to modern APIs; ok djm@
Upstream-ID: 07252b58e064d332214bcabbeae8e08c44b2001b
2017-05-31 10:50:20 +10:00
markus@openbsd.org
60306b2d2f
upstream commit
...
switch auth2-passwd.c to modern APIs; ok djm@
Upstream-ID: cba0a8b72b4f97adfb7e3b3fd2f8ba3159981fc7
2017-05-31 10:50:05 +10:00
markus@openbsd.org
eb76698b91
upstream commit
...
switch auth2-hostbased.c to modern APIs; ok djm@
Upstream-ID: 146af25c36daeeb83d5dbbb8ca52b5d25de88f4e
2017-05-31 10:50:05 +10:00
markus@openbsd.org
2ae666a8fc
upstream commit
...
protocol handlers all get struct ssh passed; ok djm@
Upstream-ID: 0ca9ea2a5d01a6d2ded94c5024456a930c5bfb5d
2017-05-31 10:50:05 +10:00