summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2019-11-03Also use stdio for TLS connectionsJeremie Courreges-Anglas
Set up two wrappers around tls_read/write to be used along with the not-very-portable funopen(). This kills a bunch of local code, always a nice thing for an utility which ends up in bsd.rd. "seems legit" deraadt@, ok kn@
2019-11-01Limit lazy resize to panes in attached sessions only - those inNicholas Marriott
unattached are likely to have been resized by something like split-window where the user probably wants the resize to happen immediately. GitHub issue 1963.
2019-11-01fix miscellaneous text problems; ok djm@Christian Weisgerber
2019-11-01Handle the various different forms of rgb colour strings.Nicholas Marriott
2019-11-01update currency exchange rates;Jason McIntyre
2019-11-01fix a race condition in the SIGCHILD handler that could turn inDamien Miller
to a kill(-1); bz3084, reported by Gao Rui, ok dtucker@
2019-11-01remove duplicate PUBKEY_DEFAULT_PK_ALG on !WITH_OPENSSL pathDamien Miller
2019-11-01sort;Jason McIntyre
2019-10-31undo debugging bits that shouldn't have been committedDamien Miller
2019-10-31fix -Wshadow warningDamien Miller
2019-10-31Refactor signing - use sshkey_sign for everything, including the newDamien Miller
U2F signatures. Don't use sshsk_ecdsa_sign() directly, instead make it reachable via sshkey_sign() like all other signature operations. This means that we need to add a provider argument to sshkey_sign(), so most of this change is mechanically adding that. Suggested by / ok markus@
2019-10-31ssh-agent support for U2F/FIDO keysDamien Miller
feedback & ok markus@
2019-10-31ssh AddKeysToAgent support for U2F/FIDO keysDamien Miller
feedback & ok markus@
2019-10-31ssh-add support for U2F/FIDO keysDamien Miller
2019-10-31add new agent key constraint for U2F/FIDO providerDamien Miller
feedback & ok markus@
2019-10-31ssh client support for U2F/FIDO keysDamien Miller
2019-10-31Separate myproposal.h userauth pubkey typesDamien Miller
U2F/FIDO keys are not supported for host authentication, so we need a separate list for user keys. feedback & ok markus@
2019-10-31ssh-keygen support for generating U2F/FIDO keysDamien Miller
2019-10-31U2F/FIDO middleware interfaceDamien Miller
Supports enrolling (generating) keys and signatures. feedback & ok markus@
2019-10-31Initial infrastructure for U2F/FIDO supportDamien Miller
Key library support: including allocation, marshalling public/private keys and certificates, signature validation. feedback & ok markus@
2019-10-31Protocol documentation for U2F/FIDO keys in OpenSSHDamien Miller
2019-10-31declare HAVE_DECL___FUNC__ so flex_die() output can include __func__.miko
ok millert@
2019-10-29Signal handler cleanup: remove leftover support for unreliable signalsDarren Tucker
and now-unneeded save and restore of errno. ok deraadt@ markus@
2019-10-28Start with empty rather than NULL window name to avoid NULL printf ifNicholas Marriott
window_name is evaluated early. Reported by Mikolaj Kucharski.
2019-10-27+ resets P as wellkn
The manual has it, complete the help screen. OK millert
2019-10-26Remove common from "common options" in usage to be closer to SYNOPSIS.Martijn van Duren
Discussed with jmc@
2019-10-26Shorten the SYNOPSIS greatly.Martijn van Duren
While here also fix some wrong definitions. With help from jmc@ Requested by and OK deraadt@
2019-10-24Service names are still resolved with -nkn
Just like pfctl(8)'s -N, this flag only avoid DNS; "nc -vz ::1 socks" still works. Fix documentation by copying pfctl's wording. OK deraadt
2019-10-24add missing unveil of /etc/shells; ok benno@ deraadt@ mestre@ tb@anton
2019-10-24Print IP address in verbose modejob
OK kn@
2019-10-24The ber_* namespace is used by liblber since time immemorial,Theo Buehler
so move our BER API to the unused ober_* prefix to avoid some breakage in ports. Problem diagnosed by jmatthew with ber_free() in samba, but there are many others as pointed out by sthen. tests & ok rob ok sthen (who had an almost identical diff for libutil) "go head hit it" deraadt
2019-10-23list -N before -n in the options list;Jason McIntyre
2019-10-23Add new -N name option, so that calling scripts can change theTheo de Raadt
progname and produce better error messages discussed with aja and jca
2019-10-23change some error reports to include the failing URL (which we vis, inTheo de Raadt
case it came via a redirect) some help from jca, discussed with aja
2019-10-23Document Any key, from Jason Felice.Nicholas Marriott
2019-10-23Revert previous, which works for -N case but causes regress failuresBob Beck
for tls, since the socket is shut down without calling tls_close(). Since nc appears to have a problem with this in other shutdown() cases I am simply going to bake a new diff for this. noticed by bluhm@.
2019-10-23Use the existing code in format.c to add foramts for word and line atNicholas Marriott
cursor position in copy mode, from Anindya Mukherjee.
2019-10-22fixes from lucas;Jason McIntyre
2019-10-22Import regenerated moduli file.Darren Tucker
2019-10-19Add formats for cursor and selection position in copy mode, from Jason Felice.Nicholas Marriott
2019-10-19Do not crash trying to fix layout size if only one cell, from Azat Khuzhin.Nicholas Marriott
2019-10-18add some checks to avoid UID_MAX (-1) here. this is not problematic withTed Unangst
the current code, but it's probably safer this way. ok deraadt
2019-10-17Use -1 to indicate an invalid uid/gid, not UID_MAX and GID_MAX.Todd C. Miller
This is the userland portion. OK deraadt@ sashan@
2019-10-17Fix -N flag to actually shut down the (entire) socket when the inputBob Beck
goes away. This allows for using nc in cases where the network server will no longer expect anything after eof, instead of hanging waiting for more input from our end. Additionaly, shut down if tls is in use if either side of the socket goes away, since we higher level TLS operations (tls_read and write) will require the socket to be both readable and writable as we can get TLS_WANT_POLLIN or TLS_WANT_POLLOUT on either operation. deraadt@ buying it. found by sthen@
2019-10-16potential NULL dereference for revoked hostkeys; reported byDamien Miller
krishnaiah bommu
2019-10-16free buf before return; reported by krishnaiah bommuDamien Miller
2019-10-15Include the .SUNW_ctf section in bsd.gdbMartin Pieuchot
Once the section has been built from the DWARF symbols also add it to the debug kernel. That makes ddb(4) print the correct number of args in function backtraces in such kernel as well. While here make comment fit in 80 columns. ok jasper@
2019-10-15Rewrite options_array_set to be clearer and remove a spurious warningNicholas Marriott
with newer GCC. From Ben Boeckel.
2019-10-15Add support for percentage sizes for resize-pane ("-x 10%"). Also changeNicholas Marriott
split-window and join-pane -l to accept similar percentages and deprecate -p. From Anindya Mukherjee.
2019-10-15When setting the modification time on the retrieved file, use utimensat()Philip Guenther
with UTIME_OMIT for the atime, instead of setting the atime to the current time. ok jca@ cheloha@