summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/misc.c
AgeCommit message (Expand)Author
2024-05-17-Werror was turned on (probably just for development), and this is aTheo de Raadt
2024-05-17Start the process of splitting sshd into separate binaries. This stepDamien Miller
2024-04-02for parse_ipqos(), use strtonum() instead of mostly idiomatic strtoul(),Theo de Raadt
2024-04-02can shortcut by returning strtonum() value directly; ok djmTheo de Raadt
2024-04-02rewrite convtime() to use a isdigit-scanner and strtonum() instead ofTheo de Raadt
2024-03-04Separate parsing of string array options from applying them to theDamien Miller
2023-10-1264 %-expansion keys ought to be enough for anybody; ok dtuckerDamien Miller
2023-10-11add ChannelTimeout support to the client, mirroring the same optionDamien Miller
2023-08-28Add keystroke timing obfuscation to the client.Damien Miller
2023-08-18fix regression in OpenSSH 9.4 (mux.c r1.99) that caused multiplexedDamien Miller
2023-08-04Apply ConnectTimeout to multiplexing local socket connections. If theDarren Tucker
2023-07-19Ensure FIDO/PKCS11 libraries contain expected symbolsDamien Miller
2023-07-14Include stdint.h for SIZE_MAX. Fixes OPENSSL=no build.Darren Tucker
2023-07-14add defence-in-depth checks for some unreachable integer overflowsDamien Miller
2023-03-03Use time_t for x11_refuse_time timeout. We need SSH_TIME_T_MAX forDarren Tucker
2023-01-06add ptimeout API for keeping track of poll/ppoll timeouts;Damien Miller
2022-12-15The idiomatic way of coping with signed char vs unsigned char (whichTheo de Raadt
2022-11-09Remove errant colon and simplify format string in error messages.Darren Tucker
2022-08-11allow certificate validity intervals, sshsig verification times andDamien Miller
2022-06-03Make SetEnv directives first-match-wins in both sshd_config andDamien Miller
2022-03-20make addargs() and replacearg() a little more robust and improve errorDamien Miller
2022-02-11Always initialize delim before passing to hpdelim2 which might not set it.Darren Tucker
2022-02-08Switch hpdelim interface to accept only ":" as delimiter.Darren Tucker
2022-01-08refactor tilde_expand_filename() and make it handle ~user paths with noDamien Miller
2021-11-13replace select() with ppoll(), including converting timeval's to timespec'sTheo de Raadt
2021-09-26need initgroups() before setresgid(); reported by anton@, ok deraadt@Damien Miller
2021-08-09SFTP protocol extension to allow the server to expand ~-prefixedDamien Miller
2021-07-12Make limit for time_t test unconditional in the format_absolute_timeDarren Tucker
2021-07-02Remove obsolete comments about SSHv1 auth methods. ok djm@Darren Tucker
2021-06-08Allow argv_split() to optionally terminate tokenisation when itDamien Miller
2021-06-04allow ssh_config SetEnv to override $TERM, which is otherwise handledDamien Miller
2021-04-03highly polished whitespace, mostly fixing spaces-for-tab and badDamien Miller
2021-04-03Fix two problems in string->argv conversion: 1) multiple backslashesDamien Miller
2021-02-28Do not try to reset signal handler for signal 0 in subprocess.Darren Tucker
2021-02-15factor out opt_array_append; ok djm@Markus Friedl
2021-01-15Change types in convtime() unit test to int to match change its new type.Darren Tucker
2021-01-15In waitfd(), when poll returns early we are subtracting the elapsed timeDarren Tucker
2021-01-11Change convtime() from returning long to returning int. On platformsDarren Tucker
2020-12-22move subprocess() from auth.c to misc.cDamien Miller
2020-11-27Set the specified TOS/DSCP for interactive use prior to TCP connect.Damien Miller
2020-10-18use the new variant log macros instead of prepending __func__ andDamien Miller
2020-10-03There are lots of place where we want to redirect stdin, stdoutDamien Miller
2020-06-26handle EINTR in waitfd() and timeout_connect() helpers;Damien Miller
2020-05-29Make dollar_expand variadic and pass a real va_list to vdollar_percent_expand.Darren Tucker
2020-05-29Pass a NULL instead of zeroed out va_list from dollar_expand. The originalDarren Tucker
2020-05-29Allow some keywords to expand shell-style ${ENV} environmentDarren Tucker
2020-05-29Fix multiplier in convtime when handling seconds after other units.Darren Tucker
2020-05-26add fmt_timeframe() (from bgpd) to format a time interval in a human-Damien Miller
2020-04-25We've standardized on memset over bzero, replace a couple that had slippedDarren Tucker
2020-01-28make IPTOS_DSCP_LE available via IPQoS directive; bz2986, based onDamien Miller