summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-06-16Add support for OPTION_DISCARD.Doug Hogan
ok jsing@
2015-06-15If AuthorizedPrincipalsCommand is specified, howeverJoel Sing
AuthorizedPrincipalsFile is not (or is set to "none"), authentication will potentially fail due to key_cert_check_authority() failing to locate a principal that matches the username, even though an authorized principal has already been matched in the output of the subprocess. Fix this by using the same logic to determine if pw->pw_name should be passed, as is used to determine if a authorized principal must be matched earlier on. ok djm@
2015-06-15Make the arguments to match_principals_command() similar toJoel Sing
match_principals_file(), by changing the last argument a struct sshkey_cert * and dereferencing key->cert in the caller. No functional change. ok djm@
2015-06-15Add window_activity format, from Thomas Adam based on a diff originallyNicholas Marriott
from propos6 at gmail dot com.
2015-06-15Remove ancient compat hack SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG.Doug Hogan
This was imported into OpenSSL from SSLeay. It was recently deleted in OpenSSL commit 7a4dadc3a6a487db92619622b820eb4f7be512c9
2015-06-15return failure on RSA signature error; reported by Albert SDamien Miller
2015-06-14Add a format for client PID (client_pid) and server PID (pid). Diff forNicholas Marriott
client_pid from Thomas Adam.
2015-06-13Convert xfree to free. From Fritjof Bornebusch. ok deraadtNicholas Marriott
2015-06-10wp->tty is a char [] not a char * so it can't be NULL. From Thomas Adam.Nicholas Marriott
2015-06-09Fix loop comparison broken in last commit, from Thomas Adam.Nicholas Marriott
2015-06-07Add -E flag when attaching or switching client to bypassNicholas Marriott
update-environment, from Steven Lu.
2015-06-05Use ints for the calculations rather than u_char, they could end upNicholas Marriott
signed.
2015-06-05Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)Nicholas Marriott
like xterm(1) does, by mapping to the nearest in the 256 colour palette.
2015-06-05Use fixed colour tables rather than generated and do a quick search forNicholas Marriott
exact match before doing the distance comparison.
2015-06-05Similarly, for sessions use a callback to free rather than checkingNicholas Marriott
every loop.
2015-06-05Change deref to the more sensible unref, and add a couple I missed before.Nicholas Marriott
2015-06-05Instead of putting dead clients on a list and checking it every loop,Nicholas Marriott
use event_once to queue a callback to deal with them. Also dead clients with references would never actually be freed because the wrap-up functions (the callback for stdin, or status_prompt_clear) would never be called. So call them in server_client_lost.
2015-06-05For "ssh -L 12345:/tmp/sock" don't fail with "No forward host name."Todd C. Miller
(we have a path, not a host name). Based on a diff from Jared Yanovich. OK djm@
2015-06-05Do not use the key variable uninitialized (in a debug log statement),Nicholas Marriott
reported by jungleboogie0 at gmail dot com.
2015-06-05Fix a warning.Nicholas Marriott
2015-06-05Make it so that if a window or session target is prefixed with an =,Nicholas Marriott
only an exact name or index match is accepted, no special character, prefix match, or fnmatch.
2015-06-05typo: accidental repetition; bz#2386Damien Miller
2015-06-04Move the nested check from client to server and compare the client ttyNicholas Marriott
name to all the pane pty names instead of comparing socket paths. This means that "new -d" will work without unsetting $TMUX.
2015-06-04systrace(4) STRIOCATTACH can only fail for file(1) if it is alreadyNicholas Marriott
systraced. If so, silently ignore the error and do not attempt to apply our own systrace policy. From Patrick Keshishian.
2015-06-04tweak SYNOPSIS and usage();Jason McIntyre
2015-06-04Make unsetting a global option restore it to the default. Diff lyingNicholas Marriott
around for a while, I have forgotten who suggested it :-/.
2015-06-04Add support for a single "marked pane". There is one marked pane in theNicholas Marriott
server at a time; it may be toggled or cleared with select-pane -m and -M (the border is highlighted). A new target '~' or '{marked}' specifies the marked pane to commands and it is the default target for the swap-pane and join-pane -s flag (this makes them much simpler to use - mark the source pane and then change to the target pane to run swapp or joinp).
2015-06-04teminal -> terminal, from Corey Farwell.Nicholas Marriott
2015-06-03Remove unused defines and functions.Brian Callahan
"Looks fine." deraadt@
2015-06-03Treat a missing mail spool the same as a zero-length mail spoolTodd C. Miller
unless the -f option was specified. OK deraadt@
2015-06-03Move warning on open failure to open_mbox() where we have the file name.Todd C. Miller
2015-06-02Modernize from(1) a bit. Use getline() to support longer lines andTodd C. Miller
document the environment variables used. OK deraadt@
2015-06-02mention CheckHostIP adding addresses to known_hosts;Damien Miller
bz#1993; ok dtucker@
2015-06-01update currency exchange rates;Jason McIntyre
note: no updates for iceland, ukraine, and vietnam as they're showing "n/a" for the past two months on the economist (no idea)
2015-06-01Missing t at end of response, from Vincent Bernat.Nicholas Marriott
2015-06-01Clear signal handlers before event_reinit as apparently it can otherwiseNicholas Marriott
cause libevent to go strange.
2015-05-31does not need syslog.hTheo de Raadt
2015-05-31Implement the roff(7) `r' (register exists) conditional.Ingo Schwarze
Missing feature found by Markus <Waldeck at gmx dot de> in Debian's bash(1) manual page.
2015-05-30Support - to read from stdin, from Sebastien Marie.Nicholas Marriott
2015-05-29Don't use special strings if #() commands fail, just remove the formatNicholas Marriott
(as if the command produced nothing). Makes constructions that can fail like '#(test whatever && echo foo)' work as they did before.
2015-05-29Expand formats again inside #(), and free the temporaries.Nicholas Marriott
2015-05-29Use RB_MIN to get the lowest index for the current window when creatingNicholas Marriott
grouped sessions, rather than using RB_ROOT.
2015-05-29millert points out I can just call tzset() early to avoid having toNicholas Marriott
permit access() in the child.
2015-05-29Use gmtime not localtime when we want UTC, I got it right in one placeNicholas Marriott
but not in another two. I expect I was confused by the fact that the original file(1) had them the wrong way round (so, for example, leqldate was actually UTC).
2015-05-29Don't stop at the first successful test unless it has generated someNicholas Marriott
output.
2015-05-29The case-insensitive flag (c) for string and search tests doesn't makeNicholas Marriott
the entire match case sensitive, only lower case characters.
2015-05-29I got confused and made the strength multiplier 20, it should be 10.Nicholas Marriott
2015-05-29file(1) needs access(/etc/localtime) for localtime().Nicholas Marriott
2015-05-29Only mmap() on regular files; mmap() on /dev/stdin will happily map asNicholas Marriott
much as we ask for but only the first page will be usable. (We could get the actual size with ioctl(FIONREAD) and mmap() that but it would need to be done in the parent - I think just using read() is simpler.)
2015-05-29Make things a little less confusing by making fill_buffer self-containedNicholas Marriott
and return both the buffer and amount filled rather than having it modify the input struct and return a value.