aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ssh.c
AgeCommit message (Collapse)AuthorFilesLines
2009-05-26Misc dissector cleanup:wmeier1-28/+26
- Make some fcns & vars static - hf[] blurbs: "" and repeated text --> NULL - Move proto_register & proto_reg_handoff to end of source - packet-catapult-dct2000: simplify proto_reg_handoff - Use consistent indentation git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28488 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-31#include reassemble.h not req'dwmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27911 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-27Remove extra parenthesis on two linessfisher1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27871 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-27Put the new tvb_get_seasonal_string() function to good use.sfisher1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27869 f5534014-38df-0310-8fa8-9805f1628bb7
2009-01-06From didier gautheron (bug 3178):sake1-1/+1
move need_desegmentation test before exception handling git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27170 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-31Fix some "format not a string literal and no format arguments" warnings.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26648 f5534014-38df-0310-8fa8-9805f1628bb7
2008-07-29Make sure a struct is completely initialized before we try to use it. Fixesgerald1-16/+5
bug 2751. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25861 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-30Include <string.h> to declare strcmp().guy1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25403 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-30g_strcmp0() only shows up on the Intarweb in documentation for someguy1-4/+10
testing version of GLib; it doesn't appear to exist in any current versions. There's no need to "gracefully" handle NULL (whatever "gracefully" means in this context - NULL compares less than any real string?), as we already checked whether mac_name is null, and we're comparing it against a string constant; just use strcmp(). In ssh_gslist_compare_strings(), check for null pointers for now. strcmp() (and strcmp-alikes) don't return a boolean, they return a value such that comparing strings with a particular operator is done by comparing the result of strcmp() with 0 using that operator; do that, to make it clearer that the strings are being compared for equality. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25402 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-30From Kees Cook via bug #2577 (with minor modifications by me):sfisher1-37/+380
provide more detailed SSH dissection git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25397 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-07Select correct bytes range for Algorithms tree.martinm1-1/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25251 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-29From Abhik Sarkar, fixed bug #2477.martinm1-1/+1
Change ftype of ssh-padding-string to FT_BYTES. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25194 f5534014-38df-0310-8fa8-9805f1628bb7
2007-10-23Apply the small performance enhancment patches for:etxrab1-2/+2
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23252 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-14fix MacOSX gcc-3.3 warnings about unused tfs/value_string variablesstandel1-1/+1
most have been tagged unused (few have been deleted if dissector has not been modified since a long time) move packet-ssl-utils.c to DISSECTOR_SRC git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21431 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-26From Sebastien Tandel sahlberg1-2/+2
fixes for various compiler warnings git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21210 f5534014-38df-0310-8fa8-9805f1628bb7
2006-07-09In new_format_oid(), handle a zero-length OID.gerald1-1/+2
Fix a bug introduced recently in packet-rpc.c. Replace DISSECTOR_ASSERT() with THROW(ReportedBoundsError) in my recent checkins, since fuzz-test.sh sets WIRESHARK_ABORT_ON_DISSECTOR_BUG. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18693 f5534014-38df-0310-8fa8-9805f1628bb7
2006-07-09One more bug from Ilja van Sprundel. Be more paranoid about our offset duringgerald1-45/+46
a loop. Fix up whitespace. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18692 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-20waste a couple of bytes per tcp conversation and make the tree for ↵sahlberg1-1/+1
acked_packets (i.e. packets that have interesting tcp properties such as being retransmissions etc) hang off the per conversation tcpd struct instead of being global. while this should improve performance by unmeasurably little it does have the sideeffect that once we finish the rewrite tcp analysis might actually work and work well even for tcp over tcp tunnelling. this also means that if you include packet-tcp.h you also need to include emem.h . git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17681 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-28add missing value_string terminationsahlberg1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15587 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-13some more gmemchunk -> se_alloc() updatessahlberg1-22/+4
there are only 5 gmemchunks left but they have different litetime for their allocations than the 100+ ones that have been removed. The remaining 5 should be converted some other way. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15328 f5534014-38df-0310-8fa8-9805f1628bb7
2005-02-09Move the following files from /trunk to /trunk/epan:lroland1-1/+1
asn1.[ch] follow.[ch] ptvcursor.[ch] reassemble.[ch] xmlstub.[ch] fix #include statements accordingly. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13366 f5534014-38df-0310-8fa8-9805f1628bb7
2005-02-02From Jon Ringle:etxrab1-2/+2
1) Added a setup_frame parameter to conversation_t 2) Used the conversation_t next to maintain a list of conversations with the same src/dest tuple but different setup_frame number. 3) Changed the signature of find_conversation() and conversation_new() to pass in the frame number. 4) Adjusted packet-sdp to select RTP conversation if both m=audio and m=image are present, and T.38 conversation if only m=image is present. I expect that RTP/T.38 dissecting to be better, but I don't have a way to generate T.38 packets. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13243 f5534014-38df-0310-8fa8-9805f1628bb7
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12115 f5534014-38df-0310-8fa8-9805f1628bb7
2004-08-21Prevent the word "desegmentation" at the GUI, but use reassembling at that ↵ulfl1-2/+3
places, as we also use "defragmentation" and "reassembling". Use reassembling as the general term for such actions. I (hopefully) didn't changed any protocol fields or preference file names, but only the GUI labels appearing in the protocol display and the protocol preferences. Also added a note to the protocol preferences (where appropriate), that you have to enable "Allow subdissectors to reassemble TCP streams" at the corresponding protocol settings for TCP reassembling to take effect. If you encounter any mistakes I've made here, please let me know... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11784 f5534014-38df-0310-8fa8-9805f1628bb7
2004-08-02The SSH dissector uses nothing from "packet-smb-common.h", so don'tguy1-1/+0
include it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11586 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-18Move dissectors to epan/dissectors directory.gram1-0/+940
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11410 f5534014-38df-0310-8fa8-9805f1628bb7