summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-09-11remove stupid castsTheo de Raadt
2015-09-11Use explicit_bzero() when zeroing before free()Philip Guenther
from Michael McConville (mmcconv1 (at) sccs.swarthmore.edu) ok millert@ djm@
2015-09-11sync -Q in usage() to SYNOPSIS; since it's drastically shorter,Jason McIntyre
i've reformatted the block to sync with the man (80 cols) and saved a line;
2015-09-11tweak previous;Jason McIntyre
2015-09-11shutdown (n.) -> shut down (v.);Jason McIntyre
2015-09-11Update usage to match man page.Darren Tucker
2015-09-11expand %i in ControlPath to UID; bz#2449Damien Miller
patch from Christian Hesse w/ feedback from dtucker@
2015-09-11mention -Q key-plain and -Q key-cert;Damien Miller
bz#2455 pointed out by Jakub Jelen
2015-09-11more clarity on what AuthorizedKeysFile=none does;Damien Miller
based on diff by Thiebaud Weksteen
2015-09-11Change the default behavior of the s_time command so that it willLawrence Teo
perform a proper shutdown by sending a "close notify" alert to the server. This allows s_time to benchmark a full TLS connection more accurately. Introduce a new flag called -no_shutdown to make s_time adopt the previous behavior (i.e. shut down the connection without notifying the server) so that comparisons can still be made with OpenSSL's version. The idea of using a flag (which replaces a #define) was suggested by bcook@. Thanks to millert@ and miod@ as well for their feedback on an earlier diff which resulted in this change. ok bcook@ beck@
2015-09-11*** empty log message ***Lawrence Teo
2015-09-10Nuke references to DTLS1_BAD_VER and unbreak the tree.Joel Sing
2015-09-10Remove call to CRYPTO_malloc_init(), which does nothing.Joel Sing
2015-09-10Correct spelling of OPENSSL_cleanse.Joel Sing
2015-09-10reduce .Nd to one line and kill .Tn while hereIngo Schwarze
2015-09-10Unbreak ftp(1) after tls_read()/tls_write() change.Joel Sing
Found the hard way by naddy@ Joint work with beck@
2015-09-10fix after libtls api changesBob Beck
ok jsing@
2015-09-10Add session_last_attached time and format, from Sina Siadat.Nicholas Marriott
2015-09-10Fix shadowed verify_error in s_server by removing the unused global.Brent Cook
's_time -verify 1' will now actually verify the peer certificate. ok beck@
2015-09-10Remove SOCKET_PROTOCOL, a redundant define that was only used once.Lawrence Teo
No binary change. ok millert@ miod@
2015-09-10Remove unused defines. No binary change.Lawrence Teo
ok deraadt@ miod@
2015-09-09The .Nd macro is intended to provide "a one line description", so avoidIngo Schwarze
multiple lines of input, in particular, don't use macros below .Nd; such bad style can confuse various apropos(1) tools. All deleted macros reappear later in the text, anyway, except for .Tn, which i'm deleting outright. Found while scanning the tree for good and bad practices in preparation for my EuroBSD2015 mdoc(7) tutorial on Oct 1 in Stockholm.
2015-09-09Make sure we check TLS_WRITE_AGAIN when calling tls_read() and ifJoel Sing
tls_read() fails, print the tls_error() rather than just the return value. ok beck@
2015-09-09mg doesn't support 'dired-do-delete'. Change description to theMark Lumsden
supported function.
2015-09-09fix a mistake in the predefined string passed to -width (it isIgor Sobrado
obvious "indent", not "ident", was intended); instead of this use the macro Ds as the indent is an offset -- fixes indentation of uuencode(1) and uudecode(1) options. ok jmc@
2015-09-09Hide YP-specific xdr_* functions, and have the YP tools link -lrpcsvcTheo de Raadt
as needed. ok miod guenther
2015-09-09No need to keep global options around for client which doesn't use them.Nicholas Marriott
2015-09-09openssh_RSA_verify return type is int, so don't make it size_t withinDamien Miller
the function itself with only negative numbers or zero assigned to it. bz#2460
2015-09-08Netcat could hang during write(2) although poll(2) reports that theAlexander Bluhm
socket is writeable. This happens because netcat tries to write more than the low water mark of the socket write buffer. With a non-blocking socket you may get a short write, otherwise it blocks. The latter could cause a total hang of the netcat process depending on the upper protocol. So make the network connection non-blocking. OK claudio@ millert@
2015-09-07put back an El macro, wrongly zapped in previous;Jason McIntyre
2015-09-07Delete ktracing of context switches: it's unused, and not particularly useful,Philip Guenther
and doing VOP_WRITE() from inside tsleep/msleep makes the locking too complicated, making it harder to move forward on MP changes. ok deraadt@ kettenis@
2015-09-07add missing file system path (.Pa) macros.Igor Sobrado
2015-09-05When rand() was made fully random, the return value of srand() wasTheo de Raadt
also affected incorrectly. Noticed by Stephane Chazelas. This reverts the return value of srand() to the old (not very useful) behaviour. This also allows toggling rand() to strong/weak based upon whether srand() is called without/with an argument. Long discussion and work with millert ok beck
2015-09-05In the last commit, the man-page change was committed by mistake,Alexandre Ratchov
backit out.
2015-09-05typos in comments: xfree -> freeAlexandre Ratchov
2015-09-05Avoid unintended problems with operator precedence when doing anJonathan Gray
assignment and comparison. ok deraadt@ looks correct millert@ jung@
2015-09-05Add brackets to clarify assignments that are the result of a test operator.Jonathan Gray
ok deraadt@ looks correct millert@ jung@
2015-09-05Avoid unintended problems with operator precedence when doing anJonathan Gray
assignment and comparison. ok deraadt@ looks correct millert@ jung@
2015-09-04Fill mode changes don't break next-line scope in all cases,Ingo Schwarze
in particular not for tagged paragraphs. Issue found by Christian Neukirchen <chneukirchen at gmail dot com> in the exiv2(1) manual page.
2015-09-04Change wait-for to work when the signal comes before the wait, also useNicholas Marriott
some helper functions and add some logging.
2015-09-04Plug minor memory leaks when options are used more than once. bz#2182,Darren Tucker
patch from Tiago Cunha, ok deraadt djm
2015-09-04Fix mbuf memory accounting after recent *8 pool size change.Martin Pieuchot
Use the ``pr_pgsize'' argument instead of assuming that pool page sizes are identical to the value returned by getpagesize(3). Issue reported by trondd <trondd AT kagu-tsuchi DOT com> on tech@. ok millert@, tedu@
2015-09-04full stop belongs outside the brackets, not inside;Jason McIntyre
2015-09-04add a debug2() right before DNS resolution; it's a place whereDamien Miller
ssh could previously silently hang for a while. bz#2433
2015-09-04correct function name in error messagesDamien Miller
2015-09-04better document ExitOnForwardFailure; bz#2444, ok dtucker@Damien Miller
2015-09-04don't record hostbased authentication hostkeys as user keysDamien Miller
in test for multiple authentication with the same key
2015-09-04remove extra newline in nethack-mode hostkey;Damien Miller
from Christian Hesse bz#2686
2015-09-03synchronize synopsis and usage.Igor Sobrado
2015-09-03append the year Zilog Z-80 8-bit microprocessor was introduced;Igor Sobrado
a nice processor, learnt assembly on a Z-80A when I was twelve years old. ok jmc@