summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-09-23add KexAlgorithms to the -o list;Jason McIntyre
2010-09-23add [-l limit] to usage();Jason McIntyre
2010-09-23tweak the mclgeti algorithm to behave better under load.David Gwynne
instead of letting hardware rings grow on every interrupt, restrict it so it can only grow once per softclock tick. we can only punish the rings on softclock ticks, so it make sense to only grow on softclock tick boundaries too. the rings are now punished after >1 lost softclock tick rather than >2. mclgeti is now more aggressive at detecting livelock. the rings get punished by an 8th, rather than by half. we now allow the rings to be punished again even if the system is already considered in livelock. without this diff a livelocked system will have its rx ring sizes scale up and down very rapidly, while holding the rings low for too long. this affected throughput significantly. discussed and tested heavily at j2k10. there are still some games with softnet we can play, but this is a good first step. "put it in" and ok deraadt@ ok claudio@ krw@ henning@ mcbride@ if we find out that it sucks we can pull it out again later. till then we'll run with it and see how it goes.
2010-09-22add an option per-read/write callback to atomicioDamien Miller
factor out bandwidth limiting code from scp(1) into a generic bandwidth limiter that can be attached using the atomicio callback mechanism add a bandwidth limit option to sftp(1) using the above "very nice" markus@
2010-09-22Kill msgs. Noone uses it, and it has a longjmp in it.Theo de Raadt
Lots of agreement.
2010-09-22nextmsg could be used uninitialized as well.Paul Irofti
``Go ahead, its free'' deraadt@.
2010-09-22Initialise firstmsg so we do not have random number whenlum
bounds file is empty. ok deraadt@ henning@
2010-09-22ssh.1: add kexalgorithms to the -o listJason McIntyre
ssh_config.5: format the kexalgorithms in a more consistent (prettier!) way ok djm
2010-09-22add a KexAlgorithms knob to the client and server configuration to allowDamien Miller
selection of which key exchange methods are used by ssh(1) and sshd(8) and their order of preference. ok markus@
2010-09-21When calculating string lengths, resolve escape sequences and useIngo Schwarze
their actual lengths. Will improve vertical alignment in some uncommon situations, for example when escape sequences occur in list or column width strings or in .Nm block arguments in the SYNOPSIS. From kristaps@.
2010-09-20remove remaining pod2man escapes, mandoc now uses the standard preamble;Ingo Schwarze
from kristaps@
2010-09-20Format multiple authors (.%A) in the same way as groff:Ingo Schwarze
Two authors with "and", but without a comma. Three or more with commata, and an "and" before the last one. From kristaps@.
2010-09-20Make .Pp .Lp .br not FATAL when having arguments;Ingo Schwarze
From kristaps@
2010-09-20"atomically" create the listening mux socket by binding it on a temoraryDamien Miller
name and then linking it into position after listen() has succeeded. this allows the mux clients to determine that the server socket is either ready or stale without races. stale server sockets are now automatically removed ok deraadt
2010-09-20oops! missing quote in previous;Jason McIntyre
2010-09-20missing #includeDamien Miller
2010-09-20check that received values are smaller than the group size in theDamien Miller
disabled and unfinished J-PAKE code. avoids catastrophic security failure found by Sebastien Martini
2010-09-20install a SIGCHLD handler to reap expiried child process; ok markus@Damien Miller
2010-09-19Shorten text pointing from -X to -print0.Ingo Schwarze
Add pointer from -print0 to xargs(1). Add an EXAMPLE to demonstrate \( ... -or ... \) -print0. Stop advertising -print | xargs, which is dangerous. Add a CAVEAT about passing find(1) output to other programs. Mostly from joachimschipper dot nl; using feedback from jmc@ and sthen@, and tweaked myself; ok jmc@
2010-09-19more wacky macro fixing;Jason McIntyre
2010-09-19- remove BUGS: it was out of dateJason McIntyre
- better Nd; from schwarze ok schwarze
2010-09-18claim that we are pkg-config 0.22; ok ajacoutot@ ckuethe@Stuart Henderson
2010-09-18add forgotten ``return NULL'' when a .wav file fails to get theAlexandre Ratchov
device with the required mode
2010-09-15fix SYNOPSIS;Jason McIntyre
2010-09-13Parse and ignore the \k, \o, \w, and \z roff escapes, and recursivelyIngo Schwarze
ignore embedded escapes and mathematical roff subexpressions. In roff copy mode, resolve "\\" to '\'. Allow ".xx\}" where xx is a macro to close roff conditional scope. Mandoc now handles the special character definitions in the pod2man(1) preamble, so remove the explicit redefinitions in chars.c/chars.in. From kristaps@. I have checked that this causes no relevant change to the Perl manuals. The only change introduced is that some non-ASCII characters rendered incorrectly before are now rendered incorrectly in a different way. For example, e accent aigu was "e", now is "e'" and c cedille was "c", now is "c,".
2010-09-13Prevent .Pp and .Lp from looping endlessly on punctuation.Ingo Schwarze
Fix for .Pp from kristaps@, i applied the same to .Lp. Bug reported by espie@.
2010-09-11mention RFC 5656 for ECC stuffDamien Miller
2010-09-11Ugh. Pass the right type into tty_term_has. Teaches me to make lastNicholas Marriott
minute changes :-/.
2010-09-11Use UTF-8 line drawing characters on UTF-8 terminals. Fixes some stupidNicholas Marriott
terminals (I'm looking at you, putty) which disable the vt100 ACS mode switching sequences in UTF-8 mode. Also on terminals without ACS at all, use ASCII equivalents where obvious.
2010-09-11Ignore terminal overrides settings without a value.Nicholas Marriott
2010-09-11When resizing the copy mode screen, don't allow it to end up with theNicholas Marriott
viewable position beyond the size of the history.
2010-09-11Fixed typo.Tobias Stoeckmann
ok ray, zinovik
2010-09-10* mention ECDSA in more placesChristian Weisgerber
* less repetition in FILES section * SSHv1 keys are still encrypted with 3DES help and ok jmc@
2010-09-10fix identDamien Miller
2010-09-09nessesary -> necessary.Miod Vallat
2010-09-09ECDH/ECDSA compliance fix: these methods vary the hash function they useDamien Miller
(SHA256/384/512) depending on the length of the curve in use. The previous code incorrectly used SHA256 in all cases. This fix will cause authentication failure when using 384 or 521-bit curve keys if one peer hasn't been upgraded and the other has. (256-bit curve keys work ok). In particular you may need to specify HostkeyAlgorithms when connecting to a server that has not been upgraded from an upgraded client. ok naddy@
2010-09-08aucat: getpwnam: No such file or directoryTheo de Raadt
is not a proper error message.
2010-09-08Add -n and -p flags to switch-client to move to the next and previousNicholas Marriott
session (yes, it doesn't match window/pane, but so what, nor does switch-client). Based on a diff long ago from "edsouza".
2010-09-08Improve buf.c comments, from zinovik.Nicholas Marriott
ok stsp
2010-09-08Do not crash if the screen size is too small for the indicator in copy mode.Nicholas Marriott
2010-09-08Set rcs_suffixes to default value on initialization.Tobias Stoeckmann
ok ray zinovik
2010-09-08Use SIZE_LEFT macro to determine left size instead of calculating withTobias Stoeckmann
pointers. ok zinovik
2010-09-08work around name-space collisions some buggy compilers (looking at youTheo de Raadt
gcc, at least in earlier versions, but this does not forgive your current transgressions) seen between zlib and openssl ok djm
2010-09-08typoDamien Miller
2010-09-07Remove stray spaces. No code change.Marco Peereboom
2010-09-06add ssh_host_ecdsa_key to /etc; from Mattieu Baptiste <mattieu.b@gmail.com>Christian Weisgerber
ok deraadt@
2010-09-06decl before code for compiler compatibilityTheo de Raadt
2010-09-06fix an off by one found by parfaitJonathan Gray
ok schwarze@ and kristaps
2010-09-04two more EXIT STATUS sections;Jason McIntyre
2010-09-03add EXIT STATUS (these two were hiding...);Jason McIntyre