]>
git.ipfire.org Git - thirdparty/openssh-portable.git/log
Darren Tucker [Thu, 15 Feb 2018 11:18:37 +0000 (22:18 +1100)]
Remove extra newline.
Darren Tucker [Thu, 15 Feb 2018 11:16:54 +0000 (22:16 +1100)]
OpenSSH's builtin entropy gathering is long gone.
Darren Tucker [Thu, 15 Feb 2018 10:43:01 +0000 (21:43 +1100)]
Replace remaining mysignal() with signal().
These seem to have been missed during the replacement of mysignal
with #define signal in commit
5ade9ab . Both include the requisite
headers to pick up the #define.
Darren Tucker [Thu, 15 Feb 2018 09:06:19 +0000 (20:06 +1100)]
Remove remaining now-obsolete cvs $Ids.
Darren Tucker [Thu, 15 Feb 2018 06:01:54 +0000 (17:01 +1100)]
Regenerate dependencies after UNICOS removal.
Darren Tucker [Mon, 12 Feb 2018 22:10:46 +0000 (09:10 +1100)]
Remove UNICOS support.
The code required to support it is quite invasive to the mainline
code that is synced with upstream and is an ongoing maintenance burden.
Both the hardware and software are literal museum pieces these days and
we could not find anyone still running OpenSSH on one.
Darren Tucker [Tue, 13 Feb 2018 07:12:47 +0000 (18:12 +1100)]
Retpoline linker flag only needed for linking.
Darren Tucker [Tue, 13 Feb 2018 06:36:43 +0000 (17:36 +1100)]
Default PidFile is sshd.pid not ssh.pid.
Darren Tucker [Tue, 13 Feb 2018 05:27:09 +0000 (16:27 +1100)]
Remove assigned-to-but-never-used variable.
'p' was removed in previous change but I neglected to remove the
otherwise-unused assignment to it.
djm@openbsd.org [Tue, 13 Feb 2018 03:36:56 +0000 (03:36 +0000)]
upstream: remove space before tab
OpenBSD-Commit-ID:
674edd214d0a7332dd4623c9cf8117301b012890
dtucker@openbsd.org [Sun, 11 Feb 2018 21:16:56 +0000 (21:16 +0000)]
upstream Don't reset signal handlers inside handlers.
The signal handlers from the original ssh1 code on which OpenSSH
is based assume unreliable signals and reinstall their handlers.
Since OpenBSD (and pretty much every current system) has reliable
signals this is not needed. In the unlikely even that -portable
is still being used on such systems we will deal with it in the
compat layer. ok deraadt@
OpenBSD-Commit-ID:
f53a1015cb6908431b92116130d285d71589612c
Darren Tucker [Mon, 12 Feb 2018 22:07:29 +0000 (09:07 +1100)]
Whitespace sync with upstream.
Darren Tucker [Mon, 12 Feb 2018 21:25:46 +0000 (08:25 +1100)]
Whitespace sync with upstream.
Darren Tucker [Sun, 11 Feb 2018 08:25:11 +0000 (21:25 +1300)]
Move signal compat code into bsd-signal.{c,h}
Darren Tucker [Sun, 11 Feb 2018 08:20:39 +0000 (21:20 +1300)]
Include headers for linux/if.h.
Prevents configure-time "present but cannot be compiled" warning.
Darren Tucker [Sun, 11 Feb 2018 06:45:47 +0000 (19:45 +1300)]
Fix test for -z,retpolineplt linker flag.
Darren Tucker [Sat, 10 Feb 2018 22:32:37 +0000 (09:32 +1100)]
Add checks for Spectre v2 mitigation (retpoline)
This adds checks for gcc and clang flags for mitigations for Spectre
variant 2, ie "retpoline". It'll automatically enabled if the compiler
supports it as part of toolchain hardening flag. ok djm@
djm@openbsd.org [Sat, 10 Feb 2018 09:25:34 +0000 (09:25 +0000)]
upstream commit
constify some private key-related functions; based on
https://github.com/openssh/openssh-portable/pull/56 by Vincent Brillault
OpenBSD-Commit-ID:
dcb94a41834a15f4d00275cb5051616fdc4c988c
djm@openbsd.org [Sat, 10 Feb 2018 09:03:54 +0000 (09:03 +0000)]
upstream commit
Mention ServerAliveTimeout in context of TCPKeepAlives;
prompted by Christoph Anton Mitterer via github
OpenBSD-Commit-ID:
f0cf1b5bd3f1fbf41d71c88d75d93afc1c880ca2
djm@openbsd.org [Sat, 10 Feb 2018 06:54:38 +0000 (06:54 +0000)]
upstream commit
clarify IgnoreUserKnownHosts; based on github PR from
Christoph Anton Mitterer.
OpenBSD-Commit-ID:
4fff2c17620c342fb2f1f9c2d2e679aab3e589c3
djm@openbsd.org [Sat, 10 Feb 2018 06:40:28 +0000 (06:40 +0000)]
upstream commit
Shorter, more accurate explanation of
NoHostAuthenticationForLocalhost without the confusing example. Prompted by
Christoph Anton Mitterer via github and bz#2293.
OpenBSD-Commit-ID:
19dc96bea25b80d78d416b581fb8506f1e7b76df
djm@openbsd.org [Sat, 10 Feb 2018 06:15:12 +0000 (06:15 +0000)]
upstream commit
Disable RemoteCommand and RequestTTY in the ssh session
started by scp. sftp is already doing this. From Camden Narzt via github; ok
dtucker
OpenBSD-Commit-ID:
59e2611141c0b2ee579c6866e8eb9d7d8217bc6b
djm@openbsd.org [Sat, 10 Feb 2018 05:48:46 +0000 (05:48 +0000)]
upstream commit
Refuse to create a certificate with an unusable number of
principals; Prompted by gdestuynder via github
OpenBSD-Commit-ID:
8cfae2451e8f07810e3e2546dfdcce66984cbd29
djm@openbsd.org [Sat, 10 Feb 2018 05:43:26 +0000 (05:43 +0000)]
upstream commit
fatal if we're unable to write all the public key; previously
we would silently ignore errors writing the comment and terminating newline.
Prompted by github PR from WillerZ; ok dtucker
OpenBSD-Commit-ID:
18fbfcfd4e8c6adbc84820039b64d70906e49831
Darren Tucker [Sat, 10 Feb 2018 00:18:38 +0000 (11:18 +1100)]
Add changelog entry for binary strip change.
Darren Tucker [Sat, 10 Feb 2018 00:14:54 +0000 (11:14 +1100)]
Remove unused variables.
Darren Tucker [Sat, 10 Feb 2018 00:12:45 +0000 (11:12 +1100)]
Don't strip binaries so debuginfo gets built.
Tell install not to strip binaries during package creation so that the
debuginfo package can be built.
Darren Tucker [Fri, 9 Feb 2018 23:33:11 +0000 (10:33 +1100)]
Fix bogus dates in changelog.
Darren Tucker [Fri, 9 Feb 2018 23:25:15 +0000 (10:25 +1100)]
Remove SSH1 from description.
Darren Tucker [Fri, 9 Feb 2018 23:19:16 +0000 (10:19 +1100)]
Add support for compat-openssl10 build dep.
Darren Tucker [Fri, 9 Feb 2018 22:57:04 +0000 (09:57 +1100)]
Add leading zero so it'll work when rhel not set.
When rhel is not set it will error out with "bad if". Add leading zero
as per https://fedoraproject.org/wiki/Packaging:DistTag so it'll work
on non-RHEL.
Darren Tucker [Fri, 9 Feb 2018 22:56:34 +0000 (09:56 +1100)]
Update openssl-devel dependency.
nkadel [Sun, 16 Nov 2014 23:19:58 +0000 (18:19 -0500)]
Add mandir with-mandir' for RHEL 5 compatibility.
Activate '--mandir' and '--with-mandir' settings in setup for RHEL
5 compatibility.
nkadel [Sun, 16 Nov 2014 23:18:51 +0000 (18:18 -0500)]
Discard 'K5DIR' reporting.
It does not work inside 'mock' build environment.
nkadel [Sun, 16 Nov 2014 23:17:15 +0000 (18:17 -0500)]
Add 'dist' to 'rel' for OS specific RPM names.
nkadel [Sun, 16 Nov 2014 19:17:38 +0000 (14:17 -0500)]
Add openssh-devel >= 0.9.8f for redhat spec file.
nkadel [Sun, 16 Nov 2014 18:10:24 +0000 (13:10 -0500)]
Enhance BuildRequires for openssh-x11-askpass.
nkadel [Sun, 16 Nov 2014 18:04:14 +0000 (13:04 -0500)]
Always include x11-ssh-askpass SRPM.
Always include x11-ssh-askpass tarball in redhat SRPM, even if unused.
Damien Miller [Fri, 9 Feb 2018 22:43:12 +0000 (09:43 +1100)]
this is long unused; prompted by dtucker@
dtucker@openbsd.org [Fri, 9 Feb 2018 02:37:36 +0000 (02:37 +0000)]
upstream commit
Remove unused sKerberosTgtPassing from enum. From
calestyo via github pull req #11, ok djm@
OpenBSD-Commit-ID:
1008f8870865a7c4968b7aed402a0a9e3e5b9540
dtucker@openbsd.org [Thu, 8 Feb 2018 04:12:32 +0000 (04:12 +0000)]
upstream commit
Rename struct umac_ctx to umac128_ctx too. In portable
some linkers complain about two symbols with the same name having differing
sizes. ok djm@
OpenBSD-Commit-ID:
cbebf8bdd3310a9795b4939a1e112cfe24061ca3
dtucker@openbsd.org [Wed, 7 Feb 2018 22:52:45 +0000 (22:52 +0000)]
upstream commit
ssh_free checks for and handles NULL args, remove NULL
checks from remaining callers. ok djm@
OpenBSD-Commit-ID:
bb926825c53724c069df68a93a2597f9192f7e7b
Darren Tucker [Thu, 8 Feb 2018 01:36:22 +0000 (12:36 +1100)]
Set SO_REUSEADDR in regression test netcat.
Sometimes multiplex tests fail on Solaris with "netcat: local_listen:
Address already in use" which is likely due to previous invocations
leaving the port in TIME_WAIT. Set SO_REUSEADDR (in addition to
SO_REUSEPORT which is alread set on platforms that support it). ok djm@
jsing@openbsd.org [Wed, 7 Feb 2018 05:17:56 +0000 (05:17 +0000)]
upstream commit
Convert some explicit_bzero()/free() calls to freezero().
ok deraadt@ dtucker@
OpenBSD-Commit-ID:
f566ab99149650ebe58b1d4b946ea726c3829609
jsing@openbsd.org [Wed, 7 Feb 2018 05:15:49 +0000 (05:15 +0000)]
upstream commit
Remove some #ifdef notyet code from OpenSSL 0.9.8 days.
These functions have never appeared in OpenSSL and are likely never to do
so.
"kill it with fire" djm@
OpenBSD-Commit-ID:
fee9560e283fd836efc2631ef381658cc673d23e
jsing@openbsd.org [Wed, 7 Feb 2018 02:06:50 +0000 (02:06 +0000)]
upstream commit
Remove all guards for calls to OpenSSL free functions -
all of these functions handle NULL, from at least OpenSSL 1.0.1g onwards.
Prompted by dtucker@ asking about guards for RSA_free(), when looking at
openssh-portable pr#84 on github.
ok deraadt@ dtucker@
OpenBSD-Commit-ID:
954f1c51b94297d0ae1f749271e184141e0cadae
Darren Tucker [Tue, 6 Feb 2018 22:19:38 +0000 (09:19 +1100)]
Remove obsolete "Smartcard support" message
The configure checks that populated $SCARD_MSG were removed in commits
7ea845e4 and
d8f60022 when the smartcard support was replaced with
PKCS#11.
dtucker@openbsd.org [Tue, 6 Feb 2018 06:01:54 +0000 (06:01 +0000)]
upstream commit
Replace "trojan horse" with the correct term (MITM).
From maikel at predikkta.com via bz#2822, ok markus@
OpenBSD-Commit-ID:
e86ac64c512057c89edfadb43302ac0aa81a6c53
tb@openbsd.org [Mon, 5 Feb 2018 05:37:46 +0000 (05:37 +0000)]
upstream commit
Add a couple of non-negativity checks to avoid close(-1).
ok djm
OpenBSD-Commit-ID:
4701ce0b37161c891c838d0931305f1d37a50880
tb@openbsd.org [Mon, 5 Feb 2018 05:36:49 +0000 (05:36 +0000)]
upstream commit
The file descriptors for socket, stdin, stdout and stderr
aren't necessarily distinct, so check if they are the same to avoid closing
the same fd several times.
ok djm
OpenBSD-Commit-ID:
60d71fd22e9a32f5639d4ba6e25a2f417fc36ac1
djm@openbsd.org [Mon, 5 Feb 2018 04:02:53 +0000 (04:02 +0000)]
upstream commit
I accidentially a word
OpenBSD-Commit-ID:
4547ee713fa941da861e83ae7a3e6432f915e14a
djm@openbsd.org [Thu, 25 Jan 2018 03:34:43 +0000 (03:34 +0000)]
upstream commit
certificate options are case-sensitive; fix case on one
that had it wrong.
move a badly-place sentence to a less bad place
OpenBSD-Commit-ID:
231e516bba860699a1eece6d48532d825f5f747b
Damien Miller [Wed, 24 Jan 2018 01:20:44 +0000 (12:20 +1100)]
crypto_api.h needs includes.h
stsp@openbsd.org [Tue, 23 Jan 2018 20:00:58 +0000 (20:00 +0000)]
upstream commit
Fix a logic bug in sshd_exchange_identification which
prevented clients using major protocol version 2 from connecting to the
server. ok millert@
OpenBSD-Commit-ID:
8668dec04586e27f1c0eb039ef1feb93d80a5ee9
stsp@openbsd.org [Tue, 23 Jan 2018 18:33:49 +0000 (18:33 +0000)]
upstream commit
Add missing braces; fixes 'write: Socket is not
connected' error in ssh. ok deraadt@
OpenBSD-Commit-ID:
db73a3a9e147722d410866cac34d43ed52e1ad24
Damien Miller [Tue, 23 Jan 2018 05:49:43 +0000 (16:49 +1100)]
rebuild depends
Damien Miller [Tue, 23 Jan 2018 05:49:22 +0000 (16:49 +1100)]
one SSH_BUG_BANNER instance that got away
djm@openbsd.org [Tue, 23 Jan 2018 05:27:21 +0000 (05:27 +0000)]
upstream commit
Drop compatibility hacks for some ancient SSH
implementations, including ssh.com <=2.* and OpenSSH <= 3.*.
These versions were all released in or before 2001 and predate the
final SSH RFCs. The hacks in question aren't necessary for RFC-
compliant SSH implementations.
ok markus@
OpenBSD-Commit-ID:
4be81c67db57647f907f4e881fb9341448606138
djm@openbsd.org [Tue, 23 Jan 2018 05:17:04 +0000 (05:17 +0000)]
upstream commit
try harder to preserve errno during
ssh_connect_direct() to make the final error message possibly accurate;
bz#2814, ok dtucker@
OpenBSD-Commit-ID:
57de882cb47381c319b04499fef845dd0c2b46ca
djm@openbsd.org [Tue, 23 Jan 2018 05:12:12 +0000 (05:12 +0000)]
upstream commit
unbreak support for clients that advertise a protocol
version of "1.99" (indicating both v2 and v1 support). Busted by me during
SSHv1 purge in r1.358; bz2810, ok dtucker
OpenBSD-Commit-ID:
e8f9c2bee11afc16c872bb79d6abe9c555bd0e4b
djm@openbsd.org [Tue, 23 Jan 2018 05:06:25 +0000 (05:06 +0000)]
upstream commit
don't attempt to force hostnames that are addresses to
lowercase, but instead canonicalise them through getnameinfo/getaddrinfo to
remove ambiguities (e.g. ::0001 => ::1) before they are matched against
known_hosts; bz#2763, ok dtucker@
OpenBSD-Commit-ID:
ba0863ff087e61e5c65efdbe53be3cb92c9aefa0
djm@openbsd.org [Tue, 23 Jan 2018 05:01:15 +0000 (05:01 +0000)]
upstream commit
avoid modifying pw->pw_passwd; let endpwent() clean up
for us, but keep a scrubbed copy; bz2777, ok dtucker@
OpenBSD-Commit-ID:
715afc0f59c6b82c4929a73279199ed241ce0752
naddy@openbsd.org [Sat, 13 Jan 2018 00:24:09 +0000 (00:24 +0000)]
upstream commit
clarify authorship; prodded by and ok markus@
OpenBSD-Commit-ID:
e1938eee58c89b064befdabe232835fa83bb378c
markus@openbsd.org [Mon, 8 Jan 2018 15:37:21 +0000 (15:37 +0000)]
upstream commit
group shared source files (e.g. SRCS_KEX) and allow
compilation w/o OPENSSL ok djm@
OpenBSD-Commit-ID:
fa728823ba21c4b45212750e1d3a4b2086fd1a62
markus@openbsd.org [Mon, 8 Jan 2018 15:21:49 +0000 (15:21 +0000)]
upstream commit
move subprocess() so scp/sftp do not need uidswap.o; ok
djm@
OpenBSD-Commit-ID:
6601b8360388542c2e5fef0f4085f8e54750bea8
markus@openbsd.org [Mon, 8 Jan 2018 15:18:46 +0000 (15:18 +0000)]
upstream commit
switch ssh-pkcs11-helper to new API; ok djm@
OpenBSD-Commit-ID:
e0c0ed2a568e25b1d2024f3e630f3fea837c2a42
markus@openbsd.org [Mon, 8 Jan 2018 15:15:36 +0000 (15:15 +0000)]
upstream commit
split client/server kex; only ssh-keygen needs
uuencode.o; only scp/sftp use progressmeter.o; ok djm@
OpenBSD-Commit-ID:
f2c9feb26963615c4fece921906cf72e248b61ee
markus@openbsd.org [Mon, 8 Jan 2018 15:15:17 +0000 (15:15 +0000)]
upstream commit
only ssh-keygen needs uuencode.o; only scp/sftp use
progressmeter.o
OpenBSD-Commit-ID:
a337e886a49f96701ccbc4832bed086a68abfa85
markus@openbsd.org [Mon, 8 Jan 2018 15:14:44 +0000 (15:14 +0000)]
upstream commit
uuencode.h is not used
OpenBSD-Commit-ID:
238eb4659f3c119904326b9e94a5e507a912796c
Damien Miller [Wed, 3 Jan 2018 08:50:43 +0000 (19:50 +1100)]
unbreak fuzz harness
djm@openbsd.org [Thu, 21 Dec 2017 05:46:35 +0000 (05:46 +0000)]
upstream commit
another libssh casualty
OpenBSD-Regress-ID:
839b970560246de23e7c50215095fb527a5a83ec
djm@openbsd.org [Thu, 21 Dec 2017 03:01:49 +0000 (03:01 +0000)]
upstream commit
missed one (unbreak after ssh/lib removal)
OpenBSD-Regress-ID:
cfdd132143131769e2d2455e7892b5d55854c322
djm@openbsd.org [Thu, 21 Dec 2017 00:41:22 +0000 (00:41 +0000)]
upstream commit
unbreak unit tests after removal of src/usr.bin/ssh/lib
OpenBSD-Regress-ID:
3a79760494147b20761cbd2bd5c20e86c63dc8f9
djm@openbsd.org [Thu, 21 Dec 2017 00:00:28 +0000 (00:00 +0000)]
upstream commit
revert stricter key type / signature type checking in
userauth path; too much software generates inconsistent messages, so we need
a better plan.
OpenBSD-Commit-ID:
4a44ddc991c803c4ecc8f1ad40e0ab4d22e1c519
djm@openbsd.org [Tue, 19 Dec 2017 00:49:30 +0000 (00:49 +0000)]
upstream commit
explicitly test all key types and their certificate
counterparts
refactor a little
OpenBSD-Regress-ID:
e9ecd5580821b9ef8b7106919c6980d8e45ca8c4
dtucker@openbsd.org [Mon, 11 Dec 2017 11:41:56 +0000 (11:41 +0000)]
upstream commit
use cmp in a loop instead of diff -N to compare
directories. The former works on more platforms for Portable.
OpenBSD-Regress-ID:
c3aa72807f9c488e8829a26ae50fe5bcc5b57099
Damien Miller [Tue, 19 Dec 2017 05:17:59 +0000 (16:17 +1100)]
remove blocks.c from Makefile
djm@openbsd.org [Tue, 19 Dec 2017 00:24:34 +0000 (00:24 +0000)]
upstream commit
include signature type and CA key (if applicable) in some
debug messages
OpenBSD-Commit-ID:
b71615cc20e78cec7105bb6e940c03ce9ae414a5
djm@openbsd.org [Mon, 18 Dec 2017 23:16:23 +0000 (23:16 +0000)]
upstream commit
unbreak hostkey rotation; attempting to sign with a
desired signature algorithm of kex->hostkey_alg is incorrect when the key
type isn't capable of making those signatures. ok markus@
OpenBSD-Commit-ID:
35ae46864e1f5859831ec0d115ee5ea50953a906
djm@openbsd.org [Mon, 18 Dec 2017 23:14:34 +0000 (23:14 +0000)]
upstream commit
log mismatched RSA signature types; ok markus@
OpenBSD-Commit-ID:
381bddfcc1e297a42292222f3bcb5ac2b7ea2418
djm@openbsd.org [Mon, 18 Dec 2017 23:13:42 +0000 (23:13 +0000)]
upstream commit
pass kex->hostkey_alg and kex->hostkey_nid from pre-auth
to post-auth unpriviledged child processes; ok markus@
OpenBSD-Commit-ID:
4a35bc7af0a5f8a232d1361f79f4ebc376137302
millert@openbsd.org [Mon, 18 Dec 2017 17:28:54 +0000 (17:28 +0000)]
upstream commit
Add helper function for uri handing in scp where a
missing path simply means ".". Also fix exit code and add warnings when an
invalid uri is encountered. OK otto@
OpenBSD-Commit-ID:
47dcf872380586dabf7fcc6e7baf5f8ad508ae1a
djm@openbsd.org [Mon, 18 Dec 2017 02:25:15 +0000 (02:25 +0000)]
upstream commit
pass negotiated signing algorithm though to
sshkey_verify() and check that the negotiated algorithm matches the type in
the signature (only matters for RSA SHA1/SHA2 sigs). ok markus@
OpenBSD-Commit-ID:
735fb15bf4adc060d3bee9d047a4bcaaa81b1af9
djm@openbsd.org [Mon, 18 Dec 2017 02:22:29 +0000 (02:22 +0000)]
upstream commit
sshkey_sigtype() function to return the type of a
signature; ok markus@
OpenBSD-Commit-ID:
d3772b065ad6eed97285589bfb544befed9032e8
naddy@openbsd.org [Thu, 14 Dec 2017 21:07:39 +0000 (21:07 +0000)]
upstream commit
Replace
ED25519 's private SHA-512 implementation with a
call to the regular digest code. This speeds up compilation considerably. ok
markus@
OpenBSD-Commit-ID:
fcce8c3bcfe7389462a28228f63c823e80ade41c
naddy@openbsd.org [Tue, 12 Dec 2017 15:06:12 +0000 (15:06 +0000)]
upstream commit
Create a persistent umac128.c source file: #define the
output size and the name of the entry points for UMAC-128 before including
umac.c. Idea from FreeBSD. ok dtucker@
OpenBSD-Commit-ID:
463cfacfa07cb8060a4d4961e63dca307bf3f4b1
Darren Tucker [Mon, 11 Dec 2017 05:23:28 +0000 (16:23 +1100)]
Update .depend with empty config.h
Darren Tucker [Mon, 11 Dec 2017 05:21:55 +0000 (16:21 +1100)]
Ensure config.h is always in dependencies.
Put an empty config.h into the dependency list to ensure that it's
always listed and consistent.
deraadt@openbsd.org [Sun, 10 Dec 2017 19:37:57 +0000 (19:37 +0000)]
upstream commit
ssh/lib hasn't worked towards our code-sharing goals for
a quit while, perhaps it is too verbose? Change each */Makefile to
specifying exactly what sources that program requires, compiling it seperate.
Maybe we'll iterate by sorting those into seperatable chunks, splitting up
files which contain common code + server/client specific code, or whatnot.
But this isn't one step, or we'd have done it a long time ago.. ok dtucker
markus djm
OpenBSD-Commit-ID:
5317f294d63a876bfc861e19773b1575f96f027d
dtucker@openbsd.org [Sun, 10 Dec 2017 05:55:29 +0000 (05:55 +0000)]
upstream commit
Put remote client info back into the ClientAlive
connection termination message. Based in part on diff from lars.nooden at
gmail, ok djm
OpenBSD-Commit-ID:
80a0f619a29bbf2f32eb5297a69978a0e05d0ee0
deraadt@openbsd.org [Fri, 8 Dec 2017 03:45:52 +0000 (03:45 +0000)]
upstream commit
time_t printing needs %lld and (long long) casts ok djm
OpenBSD-Commit-ID:
4a93bc2b0d42a39b8f8de8bb74d07ad2e5e83ef7
djm@openbsd.org [Fri, 8 Dec 2017 02:14:33 +0000 (02:14 +0000)]
upstream commit
fix ordering in previous to ensure errno isn't clobbered
before logging.
OpenBSD-Commit-ID:
e260bc1e145a9690dcb0d5aa9460c7b96a0c8ab2
djm@openbsd.org [Fri, 8 Dec 2017 02:13:02 +0000 (02:13 +0000)]
upstream commit
for some reason unix_listener() logged most errors twice
with each message containing only some of the useful information; merge these
OpenBSD-Commit-ID:
1978a7594a9470c0dddcd719586066311b7c9a4a
Darren Tucker [Mon, 11 Dec 2017 03:38:33 +0000 (14:38 +1100)]
Add autogenerated dependency info to Makefile.
Adds a .depend file containing dependency information generated by
makedepend, which is appended to the generated Makefile by configure.
You can regen the file with "make -f Makefile.in depend" if necessary,
but we'll be looking at some way to automatically keep this up to date.
"no objection" djm@
Darren Tucker [Mon, 11 Dec 2017 02:42:51 +0000 (13:42 +1100)]
Fix pasto in ldns handling.
When ldns-config is not found, configure would check the wrong variable.
ok djm@
Darren Tucker [Fri, 8 Dec 2017 23:12:23 +0000 (10:12 +1100)]
Portable switched to git so s/CVS/git/.
Darren Tucker [Fri, 8 Dec 2017 21:06:00 +0000 (08:06 +1100)]
Remove now-used check for perl.
djm@openbsd.org [Wed, 6 Dec 2017 05:06:21 +0000 (05:06 +0000)]
upstream commit
don't accept junk after "yes" or "no" responses to
hostkey prompts. bz#2803 reported by Maksim Derbasov; ok dtucker@
OpenBSD-Commit-ID:
e1b159fb2253be973ce25eb7a7be26e6f967717c
dtucker@openbsd.org [Tue, 5 Dec 2017 23:59:47 +0000 (23:59 +0000)]
upstream commit
Replace atoi and strtol conversions for integer arguments
to config keywords with a checking wrapper around strtonum. This will
prevent and flag invalid and negative arguments to these keywords. ok djm@
OpenBSD-Commit-ID:
99ae3981f3d608a219ccb8d2fff635ae52c17998
dtucker@openbsd.org [Tue, 5 Dec 2017 23:56:07 +0000 (23:56 +0000)]
upstream commit
Add missing break for rdomain. Prevents spurious
"Deprecated option" warnings. ok djm@
OpenBSD-Commit-ID:
ba28a675d39bb04a974586241c3cba71a9c6099a