summaryrefslogtreecommitdiffstats
path: root/usr.bin (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* print all the rings on a nic without limiting it to the number of mclpoolsdlg2020-12-221-2/+2
| | | | "makes sense" jmatthew@
* Remove lines accidentally left behind in the ProxyJump parsing fix r1.345.tb2020-12-221-4/+1
| | | | ok djm
* add a ssh_config KnownHostsCommand that allows the client to obtaindjm2020-12-227-16/+188
| | | | | | | | | | | known_hosts data from a command in addition to the usual files. The command accepts bunch of %-expansions, including details of the connection and the offered server host key. Note that the command may be invoked up to three times per connection (see the manpage for details). ok markus@
* move subprocess() from auth.c to misc.cdjm2020-12-225-167/+190
| | | | | | | | | | make privilege dropping optional but allow it via callbacks (to avoid need to link uidswap.c everywhere) add some other flags (keep environment, disable strict path safety check) that make this more useful for client-side use. feedback & ok markus@
* Fix typo in mktime() year format description. From Paul de Weerd.millert2020-12-211-3/+3
|
* Rewrite parse_netprefix to no longer use isc_sockaddr_fromin{,6}.florian2020-12-213-92/+20
| | | | | Since this was the last user of those functions we can delete them. OK otto
* Remove the pre-standardization cipher rijndael-cbc@lysator.liu.se.dtucker2020-12-211-3/+1
| | | | | | | | | It is an alias for aes256-cbc which was standardized in RFC4253 (2006), has been deprecated and disabled by default since OpenSSH 7.2 (2016) and was only briefly documented in ssh.1 in 2001. This will reduce the amount of work the cipher/kex regression tests need to do by a little bit. ok markus@ djm@
* properly fix ProxyJump parsing; Thanks to tb@ for pointing out my errordjm2020-12-211-4/+9
| | | | | | | (parse_ssh_uri() can return -1/0/1, that I missed). Reported by Raf Czlonka via bugs@ ok tb@
* Show scope id when set; ok florian@otto2020-12-211-4/+7
|
* plumb ssh_conn_info through to sshconnect.c; feedback/ok markus@djm2020-12-204-53/+57
|
* allow UserKnownHostsFile=none; feedback and ok markus@djm2020-12-202-13/+35
|
* load_hostkeys()/hostkeys_foreach() variants for FILE*djm2020-12-207-34/+76
| | | | | | | | | | | | | | | Add load_hostkeys_file() and hostkeys_foreach_file() that accept a FILE* argument instead of opening the file directly. Original load_hostkeys() and hostkeys_foreach() are implemented using these new interfaces. Add a u_int note field to the hostkey_entry and hostkey_foreach_line structs that is passed directly from the load_hostkeys() and hostkeys_foreach() call. This is a lightweight way to annotate results between different invocations of load_hostkeys(). ok markus@
* Fix EDNS Client Subnet option (+subnet=)florian2020-12-201-1/+3
| | | | | This got broken when we introduced ecs_plen so that we can use natural socket types.
* Fix IPv6 link-local address handling for nameservers to talk to asflorian2020-12-202-33/+40
| | | | | | | well as address to bind to. Reported by Jordan Geoghegan (jordan AT geoghegan.ca), thanks! Debugged by & initial fix by otto Input & OK otto
* Fix copy-pasto when selecting the addresses read from resolv.conf byotto2020-12-201-1/+1
| | | | address family. ok florian@
* Print client kem key with correct length.tobhe2020-12-191-2/+2
| | | | ok markus@
* rename filenames ending in a perioddaniel2020-12-194-5/+5
| | | | | | | | | | | | | | | | | | | | While windows may technically allow filenames to end in a period, the recommendation is to avoid this as the shell does not support such files. As of git 2.25, the behaviour was apparently changed to not allow files with names ending in a period to be checked out on windows. A second problem is upper/lower case conflicts for filenames. To allow the source tree to be checked out on windows we follow FreeBSD and rename a few files: ss.. -> ss_ ssA -> ss10 ssB -> ss11 (FreeBSD svn revision 210167 from 2010) as usual, this issue was extensively researched by jsg@
* Update awk to December 18, 2020 version.millert2020-12-184-30/+49
| | | | Includes the official fix for +-inf and +-nan handling.
* fix possible error("%s", NULL) on error pathsdjm2020-12-171-3/+3
|
* refactor client percent_expand() argument passing; consolidate thedjm2020-12-172-66/+95
| | | | | common arguments into a single struct and pass that around instead of using a bunch of globals. ok markus@
* prepare readconf.c for fuzzing; remove fatal calls and fix somedjm2020-12-174-161/+412
| | | | (one-off) memory leaks; ok markus@
* Fix some breakage in handling +-inf and +-nan introduced in last version.millert2020-12-171-15/+23
|
* Remove a redundant memset call.tb2020-12-161-2/+2
|
* Make synchronize-panes a pane option and add -U flag to set-option tonicm2020-12-155-30/+55
| | | | unset an option on all panes. GitHub issue 2491 from Rostislav Nesin.
* Initialize the poll_timeout before rsync_server() is called.claudio2020-12-151-7/+7
| | | | | Without this the server will immediatly fail because the poll timeout is 0. Found and reported by Daniel Moch (daniel at danielmoch dot com)
* the name aux is a reserved filename on windowsdaniel2020-12-152-4/+4
| | | | | | | | | | | | | NetBSD renamed this file to support.c in 2001, while FreeBSD chose to rename this file to util.c in 2009. We go the FreeBSD route and pick util.c since our implementation is closer to the FreeBSD codebase. Helps get us closer to being able to check out OpenBSD source code on Windows as requested by John Carmack. This issue thoroughly researched by jsg@ ok deraadt@, sthen@, "go ahead" jsg@
* Implement displaying SMI enums as text.martijn2020-12-143-10/+51
| | | | | | | For now limit to TruthValue implemented on ifPromiscuousMode and ifConnectorPresent. OK jan@
* use _PATH_SSH_USER_DIR instead of hardcoded .ssh in pathdjm2020-12-141-3/+3
|
* pr.1: note that -p is unsupportedjmc2020-12-132-5/+8
| | | | | | pr.c: spelling fix from andras farkas
* Replace list faked with a literal display with a real list.bentley2020-12-121-7/+11
| | | | | | Use character escapes for arrow symbols. no objection jmc@
* Check sample signedness when setting up format conversions.ratchov2020-12-101-2/+4
| | | | Fixes confusion between s16 and u16 found in aucat by James Cook.
* Check sample signedness when setting up format conversions.ratchov2020-12-101-2/+4
| | | | | Fixes confusion between s16 and u16 found and analysed by James Cook <falsifian at falsifian.org>. Thanks.
* Update awk to December 8, 2020 version.millert2020-12-0911-109/+272
| | | | | | Prevents strings beginning with "inf" or "nan" from being interpreted as infinity or not-a-number respectively which still parsing "inf" and "nan" (with or without a leading sign) correctly.
* Do not include the status line size when working out the character fornicm2020-12-071-8/+4
| | | | the pane status line. GitHub issue 2493.
* Do not clear the wrapped flag on linefeeds if it is already set - thisnicm2020-12-071-3/+1
| | | | does not appear to be what applications want. GitHub issue 2478 and 2414.
* shuffle a few utility functions into sftp-client.c; from Jakub Jelendjm2020-12-043-55/+69
|
* make ssh_free(NULL) a no-opdjm2020-12-041-1/+4
|
* memleak of DH public bignum; found with libfuzzerdjm2020-12-041-1/+2
|
* fix minor memleak of kex->hostkey_alg on rekexdjm2020-12-041-1/+2
|
* typos: s/hex/kex/ in error messagesdjm2020-12-041-3/+3
|
* make program name be constdjm2020-12-042-5/+6
|
* grammar fixes from Varik "The Genuine Article!!!" Valefor;jmc2020-12-031-3/+3
|
* Redraw any visible modes when status line changes so that formats likenicm2020-12-037-11/+72
| | | | | the pane title are updated. GitHub issue 2487. Also a man page fix from jmc.
* Add argc check for snmp trap and drop to usage if we're short.martijn2020-12-021-1/+4
| | | | OK deraadt@
* Leave newlines inside multiline quotes.nicm2020-12-011-2/+6
|
* Make replacement of ##s consistent when drawing formats, whethernicm2020-12-014-13/+48
| | | | | | followed by [ or not. Add a flag (e) to the q: format modifier to double up #s and use it for the window_flags format variable so it doesn't end up escaping any following text. GitHub issue 2485.
* update currency exchange rates;jmc2020-12-011-38/+38
|
* Ignore running command when checking for no-hooks flag if it is blocked.nicm2020-11-302-5/+10
| | | | GitHub issue 2483.
* Ignore comments at the end of config lines in ssh_config, similar to whatdtucker2020-11-301-2/+9
| | | | we already do for sshd_config. bz#2320, with & ok djm@
* Include cipher.h for declaration of cipher_by_name.dtucker2020-11-281-1/+2
|