summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/packet.c
AgeCommit message (Expand)Author
2022-01-22add a ssh_packet_process_read() function that reads from a fdDamien Miller
2022-01-21correct comment and use local variable instead of long indirection;Damien Miller
2022-01-17when decompressing zlib compressed packets, use Z_SYNC_FLUSH insteadDamien Miller
2022-01-01spellingJonathan Gray
2021-11-25debug("func: ...") -> debug_f("...")Damien Miller
2021-11-13replace select() with ppoll(), including converting timeval's to timespec'sTheo de Raadt
2021-07-16Explicitly check for and start time-based rekeying in the clientDamien Miller
2021-04-03highly polished whitespace, mostly fixing spaces-for-tab and badDamien Miller
2021-01-27make ssh->kex->session_id a sshbuf instead of u_char*/size_t andDamien 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-07-05some language improvements; ok markusDamien Miller
2020-07-01free kex in ssh_packet_close; ok djm semarieMarkus Friedl
2020-06-26backout 1.293 fix kex mem-leak in ssh_packet_close at markus requestSebastien Marie
2020-06-24fix kex mem-leak in ssh_packet_close; ok djmMarkus Friedl
2020-06-24fix ssh -O proxy w/mux which got broken by no longerMarkus Friedl
2020-03-06consistently check packet_timeout_ms against 0; ok djmMarkus Friedl
2020-01-30have sshpkt_fatal() save/restore errno before we potentiallyDamien Miller
2020-01-23Fix typo in comment.Darren Tucker
2020-01-23Make zlib optional. This adds a "ZLIB" build time option that allowsDarren Tucker
2019-12-16strdup may return NULL if memory allocation fails. Use the safer xstrduptobhe
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-07Typo and spelling fixes in comments and error messages. Patch fromDarren Tucker
2019-04-18Remove crc32.{c,h} which were only used by the now-gone SSH1 protocol.Darren Tucker
2019-03-01in ssh_set_newkeys(), mention the direction that we're keying in debugDamien Miller
2019-01-21pass values used in KEX hash computation as sshbuf rather thanDamien Miller
2019-01-21Make sshpkt_get_bignum2() allocate the bignum it is parsing ratherDamien Miller
2019-01-19allow sshpkt_fatal() to take a varargs format; we'll use this to giveDamien Miller
2019-01-04fix memory leak of ciphercontext when rekeying; bz#2942Damien Miller
2018-12-27move client/server SSH-* banners to buffers under ssh->kex and factorDamien Miller
2018-07-16memleaks; found by valgrindDamien Miller
2018-07-09client: switch to sshbuf API; ok djm@Markus Friedl
2018-07-09Revert previous two commitsStefan Fritsch
2018-07-06Rename COMP_DELAYED to COMP_ZLIBStefan Fritsch
2018-07-06Remove leftovers from pre-authentication compressionStefan Fritsch
2018-07-06Remove unused ssh_packet_start_compression()Stefan Fritsch
2018-06-01make ssh_remote_ipaddr() capable of being called after the ssh->stateDamien Miller
2018-05-25If select() fails in ssh_packet_read_seqnr go directly to the error pathDarren Tucker
2017-12-18pass kex->hostkey_alg and kex->hostkey_nid from pre-auth to post-authDamien Miller
2017-12-10Put remote client info back into the ClientAlive connection terminationDarren Tucker
2017-11-25Add monotime_ts and monotime_tv that return monotonic timespec andDarren Tucker
2017-10-25add sshd_config RDomain keyword to place sshd and the subsequentDamien Miller
2017-10-13log debug messages sent to peer; ok deraadt markusDamien Miller
2017-09-12refactor channels.cDamien Miller
2017-07-23Allow IPQoS=none in ssh/sshd to not set an explicit ToS/DSCP valueDamien Miller
2017-06-24don't pass pointer to struct sshcipher between privsep processes,Damien Miller
2017-06-09Add comments referring to the relevant RFC sections for rekeyingDarren Tucker
2017-06-06Fix compression output stats broken in rev 1.201. Patch originally byDarren Tucker
2017-06-01some warnings spotted by clang; ok markus@Damien Miller
2017-05-31These shutdown() SHUT_RDWR are not needed before close()Theo de Raadt