summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2016-07-30use the style from the man page examples for getaddrinfo, which makes aAlexander Hall
bit more sense ok jung@ deraadt@
2016-07-28rework realloc loop. there's no need to shrink the allocation betweenTed Unangst
calls. if we need a big space once, we'll likely need a big space again.
2016-07-28strncmp is a more reasonable way to check the beginning of a string.Ted Unangst
2016-07-28these programs probably do not need to use TMPDIR. ok florianTed Unangst
2016-07-28remove HISTORY: it was a nonsense;Jason McIntyre
2016-07-28some text cutting, after feedback from jsing;Jason McIntyre
2016-07-27better bounds check on iovcnt (we only ever use fixed, positive values)Damien Miller
2016-07-27it should not be necessary for yacc to use TMPDIR, /tmp is good enough.Ted Unangst
ok beck deraadt guenther
2016-07-27increase the size of forkstat fields to accomodate large valuesTed Unangst
2016-07-27fix signed char extension bugs. from fade@cock.li. ok guenther.Ted Unangst
As a personal remark, I'll add that it's not necessary to cast a value to a function's return type. The compiler is happy to do that for you. But such casts can hide warnings and bugs.
2016-07-24openssh-7.3Damien Miller
2016-07-23rework crl2pkcs7; with help from jsingJason McIntyre
2016-07-23fix pledge violation with ssh -f; reported by Valentin KozamernikDamien Miller
ok dtucker@
2016-07-22improve wording; suggested by jmc@Damien Miller
2016-07-22Lower loglevel for "Authenticated with partial success" message similar toDarren Tucker
other similar level. bz#2599, patch from cgallek at gmail.com, ok markus@
2016-07-22constify a few functions' arguments; patch from Jakub Jelen bz#2581Damien Miller
2016-07-22move debug("%p", key) to before key is free'd; probable undefinedDamien Miller
behaviour on strict compilers; reported by Jakub Jelen bz#2581
2016-07-22reverse the order in which -J/JumpHost proxies are visited to beDamien Miller
more intuitive and document reported by and manpage bits naddy@
2016-07-21rework DESCRIPTION a little: no-command seems clearer than no-XXX;Jason McIntyre
2016-07-21rename NOTES to COMMON SYNTAX (explains itself better); rework theJason McIntyre
passphrase section a little; move the DER|PEM stuff in there to help avoid text repetition, and prefer the lowercase (less keys to press); adjust ENVIRONMENT to format a little more nicely;
2016-07-21strip back openssl crl somewhat: remove the examplesJason McIntyre
and move any relevant text into the main body;
2016-07-21zap trailing whitespace;Jason McIntyre
2016-07-21Add AF_UNIX support to tcpbench and also make it possible to randomize theClaudio Jeker
write size in the client. pledge setup can be made tighter but that will be done in a second step. OK benno@, henning@, markus@ and some man page input by jmc@
2016-07-21Skip passwords longer than 1k in length so clients can't easily DoS sshdDarren Tucker
by sending very long passwords, causing it to spend CPU hashing them. feedback djm@, ok markus@. Brought to our attention by tomas.kuthan at oracle.com, shilei-c at 360.cn and coredump at autistici.org
2016-07-20To tune the TCP SYN cache we need more information. Print theAlexander Bluhm
relevant counters with netstat -s -p tcp. OK henning@
2016-07-20strip back openssl ciphers:Jason McIntyre
- rearrange the descriptions of -V and -v to read more logically - move the cipherlist text into the cipherlist description - zap examples
2016-07-20tag_signal() is dead; from LLVM via Christos ZoulasIngo Schwarze
2016-07-20Do not clobber the global jump_host variables when parsing an inactiveChristian Weisgerber
configuration. ok djm@
2016-07-19strip back openssl ca: in particular remove some excessively wordy sections,Jason McIntyre
move some other sections into more relevant places, and remove the example ca file;
2016-07-19Since the mdoc/man parser unification, the parser is always allocatedIngo Schwarze
in mparse_alloc(), so delete all the curp->man == NULL checks. Triggered by a patch from Christos Zoulas suggesting to add yet another such check.
2016-07-19Use __attribute__((__format__ throughout.Ingo Schwarze
Triggered by a smaller patch from Christos Zoulas.
2016-07-19tweak previous;Jason McIntyre
2016-07-19Allow wildcard for PermitOpen hosts as well as ports. bz#2582, patch fromDarren Tucker
openssh at mzpqnxow.com and jjelen at redhat.com. ok markus@
2016-07-19Cleanup close(open idioms.Theo de Raadt
ok krw
2016-07-18The string with path to shell could be taken directly from struct passwd.Vadim Zhukov
At some point later the data it points to is overridden by getpwuid() call, resulting in garbage. The problem could be easily demonstreated by double doas call: $ doas doas -su _sndio doas: mpty: command not found The fix is easy: just strdup() the pw_shell field value. okay tedu@, tweaks from & okay natano@
2016-07-18Reduce timing attack against obsolete CBC modes by always computingMarkus Friedl
the MAC over a fixed size of data. Reported by Jean Paul Degabriele, Kenny Paterson, Torben Hansen and Martin Albrecht. ok djm@
2016-07-18Add 'p' trace point for KTRFAC_PLEDGE, as noted byPhilip Guenther
Michal Mazurek <akfaew@jasminek.net> While here, fix handling of -t+ in ltrace.
2016-07-18Add some unsigned overflow checks for extra_pad. None of theseDamien Miller
are reachable with the amount of padding that we use internally. bz#2566, pointed out by Torben Hansen. ok markus@
2016-07-17getopt(3) can be called twice (once for bc and once for dc), so reinit getoptOtto Moerbeek
ok deraadt@
2016-07-17strip back asn1parse; ok beck jsingJason McIntyre
description of -out altered on jsing's advice
2016-07-17support UTF-8 characters in ssh(1) banners using schwarze@'sDamien Miller
safe fmprintf printer; bz#2058 feedback schwarze@ ok dtucker@
2016-07-17Remove now obsolete parenthetical explanation (should have been part ofTheo Buehler
previous commit).
2016-07-171. Update manpage in view of the change of behavior I introduced in -r1.27.Theo Buehler
The bounds are taken inclusive and -w %d doesn't change the output of integer random sequences anymore. This is the same behavior as that of Linux and NetBSD, but differs from FreeBSD and OS X. Issue reported by Philippe Meunier on misc@. 2 Fix a bug from the same commit observed by Otto: if the precision is 0, values may be printed out of bounds. Fall back to the old behavior if at least one bound isn't an integer. General agreement expressed by otto@, tedu@, jmc@, sobrado@ Help with checking other operating systems by sobrado@. Manpage ok jmc@. Bugfix discussed with otto@ on icb
2016-07-16since we no longer pull source directly from openssl, the time isJason McIntyre
right to try and trim some of the excess from this page. begin now by cutting some of the fluff from the start. the section on pass phrase arguments goes to the end of the page: it;s in the way for now.
2016-07-16- add proxyjump to the options listJason McIntyre
- formatting fixes - update usage() ok djm
2016-07-15To remove the const qualifier from a pointer to an object - eitherIngo Schwarze
because we know it is actually mutable or because we are passing it to a function that doesn't accept a const object but won't actually attempt to modify it - simply casting from (const type *) to (type *) is legal C and clearly expresses the intent. So get rid of the obfuscating UNCONST macro. Basic idea discussed with guenther@.
2016-07-15Fix previous: the mandocdb() prototype was already there, it justIngo Schwarze
hid among static functions, as noticed by tedu@ (my bad).
2016-07-15add missing prototypes, no code change;Ingo Schwarze
noticed by Christos Zoulas with -Wmissing-prototypes
2016-07-15Tweak output of environment logging.Nicholas Marriott
2016-07-15Log environment to new panes.Nicholas Marriott