summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2008-07-16'no subject' check is never triggered. check if it's actually emptyMartynas Venckus
ok millert@
2008-07-16add -E flag and 'skipempty' option to skip sending messages withMartynas Venckus
empty bodies. useful for sending mails from crontabs. from rivo nurges <rix at estpak dot ee>, with missing 'skipempty' documentation and usage update from me ok millert@
2008-07-16better description for TMPDIR. from millert@Martynas Venckus
2008-07-16man page tweaks:Martynas Venckus
- for argument of -f flag, name -> file - document TMPDIR, better description from millert@ ok millert@
2008-07-16- use strncmp/strncasecmp instead of comparing by characterMartynas Venckus
- simplify istrlcpy, no need to check for isupper - line[0] is redundant, because strcasecmp will take care of it ok millert@
2008-07-16- err with the pathbuf, if we know itMartynas Venckus
- use tmpdir instead of /tmp ok millert@
2008-07-16this loop index should be automatic, not staticDamien Miller
2008-07-16rename variable first_gc -> last_gc (since it is actually the lastDamien Miller
in the list).
2008-07-16Cleanup #define maze leftover from pftop compatibility.Can Erkin Acar
Pointed out by mcbride@, makes sense henning@
2008-07-15- chraise can be replaced with toupper; no need to check for islowerMartynas Venckus
- remove quite some code, use strcasestr instead of reimplementing it each time - use strncasecmp, instead of comparing through each character "looks fine" millert@
2008-07-15set cp to the value of PAGER, so that type1 doesn't try to use itMartynas Venckus
uninitialized (page=1), or use wrong previously-set value of crt (page=0). ok millert@
2008-07-15number of pipelined requests is not 64; prodded by Iain.Morgan AT nasa.govDamien Miller
2008-07-14mention requirement for /dev/log inside chroot when using sftp-serverDamien Miller
with ChrootDirectory
2008-07-13increase number of piplelined requests so they properly fill theDamien Miller
(recently increased) channel window. prompted by rapier AT psc.edu; ok markus@
2008-07-13use struct sockaddr_storage instead of struct sockaddr for accept(2)Damien Miller
address argument. from visibilis AT yahoo.com in bz#1485; ok markus@
2008-07-13Change "ssh-keygen -F [host] -l" to not display random art unlessStuart Henderson
-v is also specified, making it consistent with the manual and other uses of -l. ok grunk@
2008-07-12Add ':q' as an alias to ':quit', to match old behaviour. Initial patchCan Erkin Acar
from dlg@, this is a simpler version.
2008-07-12better description for -i flag:Damien Miller
s/RSA authentication/public key authentication/
2008-07-12unbreak; move clearing of cctx struct to before first useDamien Miller
reported by dkrause@
2008-07-10sync v1 and v2 traffic accounting; add it to sshd, too; ok djm@, dtucker@Markus Friedl
2008-07-10missing bzero; from mickey; ok djm@Markus Friedl
2008-07-09documentation tweaks.Igor Sobrado
2008-07-08sort options in manual page; display a better usage.Igor Sobrado
2008-07-08fix double "usage:"Igor Sobrado
2008-07-08- add support for recursive transfers (but not for floppies), e.g.Martynas Venckus
'mget -cr 4.*' would recursively fetch (-r), and resume the previous transfers (-c) of 4.X release directories uses local matching (fnmatch), but only for recursive transfers. current behavior is not changed in any way. - while here, ifndef SMALL debugging stuff, this saves some space, for floppies - some debugging code was enabled for non-debugging mode, checks assume debug is set to zero, but it's not initially set - all "Confirm with" prompts are forced, remove redundant argument - fix usage: -C and -c are not available for SMALL discussed a year ago w/ pyr@ looks good to millert@ previous version looked good to pyr@ man page tweaks & ok jmc@
2008-07-08Fix an venerable bug: if we're reducing a rule that has an emptyOtto Moerbeek
right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action. Detected by my new malloc, experienced by sturm@ on sparc64; ok deraadt@
2008-07-08missed in last commit, to make things compile cleanerJoris Vink
2008-07-08make these compile cleanlyJoris Vink
2008-07-08use cf->fd in cvs_remote_sendfile() instead of using a localJoris Vink
variable that is only used once, which is in this case.
2008-07-08bump version to 4.4Joris Vink
2008-07-07/*NOTREACHED*/ for lint warning:Kevin Steves
warning: function key_equal falls off bottom without returning value ok djm@
2008-07-07bcachestats got bumbed too u_int64_t's and I forgot aboutThordur I. Bjornsson
munging systat to handle the field with; pointed out by mickey ok canacar@
2008-07-07we don't need arg after the debug3() was removed. from lint.Kevin Steves
ok djm@
2008-07-06spacing.Igor Sobrado
2008-07-06sync synopsis and usage.Igor Sobrado
2008-07-06spacing.Igor Sobrado
2008-07-05each utility must have its own usage and an unique set of options.Igor Sobrado
diff written by millert based on a previous one by me; millert's diff has a much better style and adds support for different sets of options for each utility. ok millert@
2008-07-05each utility must have its own usage and its own set of options;Igor Sobrado
b64encode and b64decode are equivalent to running uuencode and uudecode respectively with the -m flag specified, so this flag should not be available in these utilities; while here, fix synopsis. based on millert's diff for compress/gzip. ok millert@
2008-07-05grammarDamien Miller
2008-07-04Make protocol 1 MaxAuthTries logic match protocol 2's.Damien Miller
Do not treat the first protocol 2 authentication attempt as a failure IFF it is for method "none". Makes MaxAuthTries' user-visible behaviour identical for protocol 1 vs 2. ok dtucker@
2008-07-04handle EINTR in packet_write_poll()l ok dtucker@Damien Miller
2008-07-04fix compilation for !YP case; ok millert@Damien Miller
2008-07-04Make debug a little clearer. ok djm@Darren Tucker
2008-07-04support negation of groups in "Match group" block (bz#1315); ok dtucker@Damien Miller
2008-07-03avoid nasty double free; ok dtucker@ djm@Otto Moerbeek
2008-07-02When forking after authentication ("ssh -f") with ExitOnForwardFailureDamien Miller
enabled, delay the fork until after replies for any -R forwards have been seen. Allows for robust detection of -R forward failure when using -f (similar to bz#92); ok dtucker@
2008-07-02really really remove the freebie "none" auth try for protocol 2Damien Miller
2008-07-02Make protocol 2 MaxAuthTries behaviour a little more sensible:Damien Miller
Check whether client has exceeded MaxAuthTries before running an authentication method and skip it if they have, previously it would always allow one try (for "none" auth). Preincrement failure count before post-auth test - previously this checked and postincremented, also to allow one "none" try. Together, these two changes always count the "none" auth method which could be skipped by a malicious client (e.g. an SSH worm) to get an extra attempt at a real auth method. They also make MaxAuthTries=0 a useful way to block users entirely (esp. in a sshd_config Match block). Also, move sending of any preauth banner from "none" auth method to the first call to input_userauth_request(), so worms that skip the "none" method get to see it too.
2008-07-02Merge duplicate host key file checks, based in part on a patch from RobDarren Tucker
Holland via bz #1348 . Also checks for non-regular files during protocol 1 RSA auth. ok djm@
2008-07-02increase default size of ssh protocol 1 ephemeral key from 768 to 1024Damien Miller
bits; prodded by & ok dtucker@ ok deraadt@