aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ssh.c
AgeCommit message (Collapse)AuthorFilesLines
2003-12-23Handle the case where "ssh_dissect_protocol()", for the first packet,Guy Harris1-3/+25
didn't determine the version number. svn path=/trunk/; revision=9432
2003-04-17Use "tvb_ensure_length_remaining()" when checking how much data there isGuy Harris1-18/+37
in the packet when doing reassembly checks, as is done in other places where we do TCP segment reassembly. The return value of "tvb_reported_length_remaining()" can be negative - it's a "gint"; assign it to a "gint", so that if we go past the end of the packet in the main loop, we break out of that loop (and do so elsewhere, just for cleanliness' sake). Get rid the check in the loop to make sure we make no more than 20 iterations - all the routines that parse packets should either advance the offset by at least one byte or return a "desegmentation required" indication; the former means we make progress and eventually exit the loop, the latter means we immediately exit the loop. Use "int" variables, not "guint" variables, for packet offsets. svn path=/trunk/; revision=7475
2003-03-08From Markus Friedl: Remove duplicate code in packet-ssh.c.Gerald Combs1-146/+48
svn path=/trunk/; revision=7327
2003-01-30FT_STRING and FT_STRINGZ have no base, so use BASE_NONE.Guy Harris1-19/+19
The payload isn't a text string, it's an array of bytes; make it FT_BYTES, not FT_STRING. svn path=/trunk/; revision=7042
2003-01-29From Huagang Xie: more robust parsing for illegal SSH packet.Guy Harris1-48/+101
svn path=/trunk/; revision=7032
2003-01-28From Huagang Xie: SSH version 1 support.Guy Harris1-21/+149
svn path=/trunk/; revision=7019
2003-01-27From Huagang Xu: treat all SSH sesions where the version cannot beGuy Harris1-21/+43
determined as having an unknown version of SSH rather than as using SSHv1. svn path=/trunk/; revision=7005
2003-01-25SSH dissector, from Huagang Xie.Guy Harris1-0/+794
svn path=/trunk/; revision=7001