summaryrefslogtreecommitdiff
path: root/ssh-agent-filter.C
AgeCommit message (Collapse)Author
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