summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/packet.c
AgeCommit message (Expand)Author
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
2017-05-31clear session keys from memory; ok djm@Markus Friedl
2017-05-08helps if I commit the correct version of the file. fix missingDamien Miller
2017-05-08I was too aggressive with the scalpel in the last commit;Damien Miller
2017-05-07As promised in last release announcement: remove support forDamien Miller
2017-05-03remove miscellaneous SSH1 leftovers; ok markus@Christian Weisgerber
2017-04-30obliterate ssh1.h and some dead code that used itDamien Miller
2017-04-30remove the (in)famous SSHv1 CRC compensation attack detector.Damien Miller
2017-04-30remove SSHv1 support from packet and buffer APIsDamien Miller
2017-04-30remove compat20/compat13/compat15 variablesDamien Miller
2017-04-30unifdef WITH_SSH1Damien Miller
2017-03-11Don't count the initial block twice when computing how many bytesMarkus Friedl
2017-02-28small memleak: free fd_set on connection timeout (though we are heading toDamien Miller
2017-02-03add ssh_packet_set_log_preamble() to allow inclusion of a preambleDamien Miller
2017-02-03Make ssh_packet_set_rekey_limits take u32 for the number of secondsDarren Tucker
2016-10-11Add a per-packet input hook that is called with the decrypted packetDamien Miller
2016-09-30ssh proxy mux mode (-O proxy; idea from Simon Tatham):Markus Friedl