summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2024-10-05Add copy-mode-position-format to configure the position indicator.Nicholas Marriott
2024-10-04Document missing window-layout-changed hook.Nicholas Marriott
2024-10-04Add -y flag to disable confirmation prompts in modes, GitHub issue 4152.Nicholas Marriott
2024-10-04Do not translate BSpace as Unicode, GitHub issue 4156.Nicholas Marriott
2024-10-04Rework of copy mode commands ("send-keys -X") to parse the arguments soNicholas Marriott
that flags may be detected propertly rather than just looking for strings ("-O" and so on). Also add -C and -P flags to the copy commands: -C prevents the commands from sending the text to the clipboard and -P prevents them from adding the text as a paste buffer. Note some of the default key bindings change to add "--" and any similar custom key bindings using "send-keys -X" may need a similar change. GitHub issue 4153.
2024-10-03Improve fix for shifted keys so it works for all the keys it should,Nicholas Marriott
Stanislav Kljuhhin in GitHub issue 4146.
2024-10-02On i386 long double is 80bit expanded to 96bits or 12 bytes. This is theClaudio Jeker
size that the ctftools ctfconvert uses and I think we should do as well. Fixes regress/usr.bin/ctfdump on i386. OK miod@
2024-10-02Add MSYSTEM to default update-environment.Nicholas Marriott
2024-10-02Add a define for the socket permissions check so it can be overriddenNicholas Marriott
more easily (for Cgywin).
2024-10-02Report shifted keys like S-A as A not as S-A in mode 1 extended keys,Nicholas Marriott
from Stanislav Kljuhhin.
2024-10-01Add a way to make the preview larger in tree mode, GitHub issue 4124.Nicholas Marriott
2024-10-01Use global cursor style and colour options for modes instead of default,Nicholas Marriott
GitHub issue 4117.
2024-10-01Change pasting to bypass the output key processing entirely and writeNicholas Marriott
what was originally received. Fixes problems with pasted text being interpreted as extended keys reported by Mark Kelly.
2024-09-30On some Windows terminals, if TIOCWINSZ does not return xpixel andNicholas Marriott
ypixel (they are zero), if this is the case then try the query escape sequences. From Dmitry Galchinsky in GitHub issue 4099.
2024-09-30Only use default-shell for popups, return to /bin/sh for run-shell,Nicholas Marriott
if-shell and #() - these have been documented as using /bin/sh for a long time and scripts rely on it. Pointed out by Gregory Pakosz.
2024-09-29Fix grey colour, from Magnus Gross.Nicholas Marriott
2024-09-27rsync: make blkhash_free() callable with NULL.Theo Buehler
It is in principle possible that blkhash_free() (which obviously frees a struct blktab, sigh) is called with NULL. This would lead to a crash. ok claudio
2024-09-27rsync: avoid reallocarray() with a nmemb of 0.Theo Buehler
bset->blksz can be 0 here and how reallocarray() behaves is implementation defined.
2024-09-27rsync: fix reallocarray() usage in blkhash_set()Theo Buehler
The well-named ERR() macro doesn't error out. Therefore an incorrect use of reallocarray() is actually a leak that is easily overlooked. Do it the right way by assigning to a temporary variable and preserve behavior by freeing and NULL-ing. ok claudio
2024-09-26fix previous change to ssh_config Match, which broken on negatedDamien Miller
Matches; spotted by phessler@ ok deraadt@
2024-09-25remove some unused defines; ok djm@Jonathan Gray
2024-09-25remove some unneeded Xo/Xc calls; from evan silbermanJason McIntyre
the original diff had a couple of errors, which i've fixed
2024-09-25fix regression introduced when I switched the "Match" criteria tokeniserDamien Miller
to a more shell-like one. Apparently the old tokeniser (accidentally?) allowed "Match criteria=argument" as well as the "Match criteria argument" syntax that we tested for. People were using this syntax so this adds back support for "Match criteria=argument" bz3739 ok dtucker
2024-09-24some extra paranoia, reminded by jsg@Damien Miller
2024-09-22remove some unused defines; ok djm@Jonathan Gray
2024-09-20remove unneeded semicolons; checked by millert@Jonathan Gray
2024-09-19openssh-9.9Damien Miller
2024-09-18Fix a memory leakJob Snijders
Found by Martin Cracauer "look right" tb@
2024-09-16Add copy mode commands which were missed when descriptions were added,Nicholas Marriott
from Julian Prein, GitHub issue 4121.
2024-09-16Change the behaviour of extended-keys always slightly so thatNicholas Marriott
applications can still enter mode 2 if they want, they just cannot turn extended keys off entirely. From Stanislav Kljuhhin.
2024-09-16Add a prefix timeout option, from Conor Taylor in GitHub issue 4108.Nicholas Marriott
2024-09-16use 64 bit math to avoid signed underflow. upstream code relies onDamien Miller
using -fwrapv to provide defined over/underflow behaviour, but we use -ftrapv to catch integer errors and abort the program. ok dtucker@
2024-09-15minor grammar/sort fixes for refuseconnection; ok djmJason McIntyre
2024-09-15remove unused variablesJonathan Gray
2024-09-15bad whitespace in config dump outputDamien Miller
2024-09-15update the Streamlined NTRU Prime code from the "ref" implementationDamien Miller
in SUPERCOP 20201130 to the "compact" implementation in SUPERCOP 20240808. The new version is substantially faster. Thanks to Daniel J Bernstein for pointing out the new implementation (and of course for writing it). tested in snaps/ok deraadt@
2024-09-15document Match invalid-userDamien Miller
2024-09-15add a "Match invalid-user" predicate to sshd_config Match options.Damien Miller
This allows writing Match conditions that trigger for invalid username. E.g. PerSourcePenalties refuseconnection:90s Match invalid-user RefuseConnection yes Will effectively penalise bots try to guess passwords for bogus accounts, at the cost of implicitly revealing which accounts are invalid. feedback markus@
2024-09-15Add a "refuseconnection" penalty class to sshd_configDamien Miller
PerSourcePenalties This allows penalising connection sources that have had connections dropped by the RefuseConnection option. ok markus@
2024-09-15Add a sshd_config "RefuseConnection" optionDamien Miller
If set, this will terminate the connection at the first authentication request (this is the earliest we can evaluate sshd_config Match blocks) ok markus@
2024-09-15switch sshd_config Match processing to the argv tokeniser too;Damien Miller
ok markus@
2024-09-15switch "Match" directive processing over to the argv stringDamien Miller
tokeniser, making it possible to use shell-like quoting in Match directives, particularly "Match exec". ok markus@
2024-09-15include pathname in some of the ssh-keygen passphrase prompts. HelpsDamien Miller
the user know what's going on when ssh-keygen is invoked via other tools. Requested in GHPR503
2024-09-15Do not apply authorized_keys options when signature verificationDamien Miller
fails. Prevents restrictive key options being incorrectly applied to subsequent keys in authorized_keys. bz3733, ok markus@
2024-09-14Drop the "Giant panda discovered" entry because it looks likeIngo Schwarze
half-way between misleadingly eurocentric and urban legend. It was so obviously suspect that it had already been marked "(?!)" since at least 4.3BSD-Tahoe (June 1988). Brought up by <Rob dot Schmersel at bahnhof dot se>, additional research by <me at FletcherPorter dot com>, see https://marc.info/?l=openbsd-bugs&m=172634202204747 for details.
2024-09-13rectify comment about syncing trace points letters, kdump usage has noneKlemens Nanni
kdump.c r1.138 in 2019 dropped the letters list in favour of [-t trstr].
2024-09-12Relax absolute path requirement back to what it was prior to OpenSSH 9.8,Damien Miller
which incorrectly required that sshd was started with an absolute path in inetd mode. bz3717, patch from Colin Wilson
2024-09-11Mouse move keys are not useful as key bindings because we do not turnNicholas Marriott
them on unless the application requests them. Ignore them so they do not cause the prefix to be canceled, GitHub issue 4111.
2024-09-11fstat(2) can't return an S_IFLNK, so delete that test.Philip Guenther
Also, switch to S_IS*() tests and update the manpage to reflect that POSIX-2024 has no substantive changes for wc(1) ok op@ millert@
2024-09-09document the mlkem768x25519-sha256 key exchange algorithmChristian Weisgerber