aboutsummaryrefslogtreecommitdiff
path: root/ssh-agent-filter.C
AgeCommit message (Collapse)Author
2018-11-19base64_encode: fix two-byte out-of-bounds stack writeTimo Weingärtner
BASE64_ENCODE_LENGTH() calculates the encoded size without padding
2018-05-11Partially revert "(re)unify client iostreams"Timo Weingärtner
This partially reverts commit a42c87e6a761a56ebc63cd7728fa2126b2e8805f.
2018-01-09update copyrightTimo Weingärtner
2018-01-06add dissection for cert signing requestsTimo Weingärtner
2017-12-27follow API change in nettle 3.4Timo Weingärtner
Closes: 884400
2016-10-09avoid warning about unused result of chdir()Timo Weingärtner
2016-08-27update copyrightTimo Weingärtner
2016-08-27exploit more help2man featuresTimo Weingärtner
use an include file for explanatory text add environment, author and bug report information to the program's output
2016-08-23clear O_NONBLOCK on client socketsTimo Weingärtner
on *BSD client sockets inherit flags from the listening socket
2015-10-05s/Invocation:/Usage:/ to make help2man recognize SYNOPSISTimo Weingärtner
2015-09-06update copyrightTimo Weingärtner
2015-08-31call functions with namespace instead of using their namesTimo Weingärtner
avoids problems with ADL Closes: #797235
2015-08-31move rfc4251 types into their own namespaceTimo Weingärtner
2015-08-28rename C++ header to .HTimo Weingärtner
2014-05-27update copyrightTimo Weingärtner
2014-05-26add dissection of pam_ssh_agent_auth dataTimo Weingärtner
2014-05-12use a mutex for fd creation and forksTimo Weingärtner
so we can have the CLOEXEC flag applied before a concurrent fork&exec. use select() to avoid blocking while holding the mutex.
2014-05-10also replace custom fatal errors with exceptionsTimo Weingärtner
2014-05-09throw system_error instead of calling perror, exitTimo Weingärtner
2014-05-09factor out cloexec setting and stream exception armingTimo Weingärtner
2014-05-09add more #include's, add using's for often-used namesTimo Weingärtner
2014-04-20use boost::iostreams instead of std::stringstreamsTimo Weingärtner
boost::iostreams::array_source instead of istringstream boost::iostreams::back_insert_device instead of ostringstream this should save at least one copy each and still has length checks (input) or dynamic growth (output)
2014-04-18use a boost stream directlyTimo Weingärtner
instead of declaring an intermediate stream_buffer
2014-04-14rfc4251*: add constructors from std::istream and use themTimo Weingärtner
2014-04-14do clean exit after receiving signalTimo Weingärtner
2014-03-22tab align auth_data_ssh dissection for readabilityTimo Weingärtner
2013-11-02(re)unify client iostreamsTimo Weingärtner
boost::iostreams does not do lseek()s without being asked extend try-block around entire function
2013-11-02replace __gnu_cxx::stdio_filebuf with boost::iostreamsTimo Weingärtner
2013-10-23add quotes around ssh-agent-filter's nameTimo Weingärtner
2013-10-11add confirmed key operationsTimo Weingärtner
normal ssh authentications get dissected to allow the user a more informed decision.
2013-10-09improve inserting into (allow|confirm)ed_pubkeysTimo Weingärtner
2013-10-09add cmdline options for confirmationTimo Weingärtner
2013-10-09add confirmation via ssh-askpassTimo Weingärtner
2013-09-22add CLOEXEC flag to socketsTimo Weingärtner
SOCK_CLOEXEC is currently only available on linux >= 2.6.27 so fcntl is used as a fallback.
2013-09-18add one missing exception activationTimo Weingärtner
2013-09-18also print out SSH_AUTH_SOCK in debug modeTimo Weingärtner
2013-08-31use more uniform initializationTimo Weingärtner
std::string(1, <some char>) becomes std::string{<some char>} also fix accidental use of ssize_t instead of size_t with gmp This yielded two warnings (-Wnarrowing) where a size_t is used to initialize an rfc4251uint32, they were fixed with a cast.
2013-07-19remove unneeded namespace qualification, ADL works hereTimo Weingärtner
2013-07-19improve debug modeTimo Weingärtner
also clean up socket in debug mode also exit when catching SIGINT
2013-06-18documentation updateTimo Weingärtner
ssh-agent-filter.C: remove remains of initial plan to wrap ssh in the filter afssh: add --help
2013-06-18remove double quoting caused by using boost::filesystem::pathTimo Weingärtner
2013-06-17fix description of debug optionTimo Weingärtner
2013-06-17Initial commitTimo Weingärtner