summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/misc.c
AgeCommit message (Expand)Author
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
2020-01-24add xextendf() to extend a string with a format (reallocating asDamien Miller
2020-01-23Replace all calls to signal(2) with a wrapper around sigaction(2).Darren Tucker
2019-11-22Wait for FD to be readable or writeable during a nonblocking connect,Darren Tucker
2019-09-03move authorized_keys option parsing helpsers to misc.c and makeDamien Miller
2019-09-03move skip_space() to misc.c and make it public; ok markus@Damien Miller
2019-08-16switch percent_expand() to use sshbuf instead of a limited fixed buffer;Damien Miller
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-27Some asprintf() calls were checked < 0, rather than the precise == -1.Theo de Raadt
2019-01-23Remove support for obsolete host/port syntax.Darren Tucker
2018-12-27move client/server SSH-* banners to buffers under ssh->kex and factorDamien Miller
2018-12-07Fix calculation of initial bandwidth limits.Darren Tucker
2018-11-16use path_absolute() for pathname checks; from Manoj AmpalamDamien Miller
2018-10-05Support using service names for port numbers.Christian Weisgerber
2018-10-03Allow ssh_config IdentityAgent directive to accept environment variableDamien Miller
2018-07-27Remove uid checks from low port binds. Now that ssh cannot beDarren Tucker
2018-07-18Remove support for running ssh(1) setuid and fatal if attempted.Darren Tucker
2018-06-09add a SetEnv directive to ssh_config that allows setting environmentDamien Miller