aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vnc.c
AgeCommit message (Collapse)AuthorFilesLines
2009-05-18Remove unnecessary tree checks pointed out by Stig.Gerald Combs1-16/+9
svn path=/trunk/; revision=28396
2009-05-18Clean up indentation.Guy Harris1-133/+133
svn path=/trunk/; revision=28395
2009-05-18From Yaniv Kaul via bug 3215:Gerald Combs1-29/+84
Attached please find a patch that enables to heuristically find VNC traffic on non-standard ports. (it also adds some if(tree) ... around some proto_tree_add_item() functions) svn path=/trunk/; revision=28394
2009-05-13Apply some of the patches from:Anders Broman1-2/+1
http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=28356
2009-05-08FT_BOOLEAN fields w/o bitmasks really should use BASE_NONE (not BASE_DEC,...).Bill Meier1-1/+1
svn path=/trunk/; revision=28317
2008-12-20Fix various typos and spelling errors (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27065
2008-12-02Trivial warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=26899
2008-11-30Fix copy & paste typoStephen Fisher1-1/+1
svn path=/trunk/; revision=26882
2008-11-23From Federico Mena Quintero (bug 3070):Stig Bjørlykke1-106/+762
Add support for TightVNC extensions to the VNC dissector. It has the following changes: - Dissect TightVNC negotiation (tunneling, basic authentication, capabilities). - Dissect X cursor encoding. - Dissect POINTER_POS encoding. - Dissect the general form of Tight rectangles. - Dissect Tight image data (basic compression, JPEG, gradient). - Handle LastRect encoding. - Fix some always-true conditions. - Some code cleanups. svn path=/trunk/; revision=26825
2008-09-15Fix for bug 2875:Jaap Keuter1-1/+6
Fix a final eth_fopen -> ws_fopen When configuring with --without-zlib these functions need to have some parameters tagged _U_ svn path=/trunk/; revision=26212
2008-09-03Cleanup related to prefs & proto_reg_handoffBill Meier1-33/+31
svn path=/trunk/; revision=26128
2008-04-09Remove:Anders Broman1-3/+0
#ifdef NEED_G_ASCII_STRCASECMP_H #include "g_ascii_strcasecmp.h" #endif svn path=/trunk/; revision=24859
2007-11-27strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delendaGuy Harris1-3/+7
est. Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our own versions if they're missing from GLib (as is the case with GLib 1.x). In the code to build the list of named fields for Diameter, don't use g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping in the hash function and use g_ascii_strcasecmp() in the compare function. We do this because there is no guarantee that toupper(), tolower(), and functions that use them will, for example, map between "I" and "i" in all locales; in Turkish locales, for example, there are, in both upper case and lower case, versions of "i" with and without a dot, and the upper-case version of "i" is "I"-with-a-dot and the lower-case version of "I" is "i"-without-a-dot. This causes strings that should match not to match. This finishes fixing bug 2010 - an earlier checkin prevented the crash (as there are other ways to produce the same crash, e.g. a bogus dictionary.xml file), but didn't fix the case-insensitive string matching. svn path=/trunk/; revision=23623
2007-11-06use strcasecmp instead of g_ascii_strcasecmpRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=23372
2007-11-03Add partial support for TightVNC packet dissection (work in progress). Stephen Fisher1-7/+195
svn path=/trunk/; revision=23345
2007-10-30Minor correction to protocol behavior handling when security type "none" isStephen Fisher1-4/+6
selected by the client. svn path=/trunk/; revision=23312
2007-10-30Fix for issue #1 in bug #1947 by doing a major overhaul of how the firstStephen Fisher1-311/+294
nine or so packets are handled to accommodate authentication type none and to allow cleaner future improvements. Includes a few touch ups to the rest of the dissector as well. svn path=/trunk/; revision=23310
2007-03-23fix some more warnings (type casts)Ulf Lamping1-1/+1
svn path=/trunk/; revision=21141
2007-03-09GCC warning fixesJörg Mayer1-3/+6
epan/dissectors/ packet-bctp.c: no newline at end of file packet-epl.c: C++ style comments are not allowed in ISO C90 packet-sccp.c: missing initializer packet-sccp.h: comma at end of enumerator list packet-sctp.c: suggest parentheses around assignment used as truth value packet-vnc.c: control reaches end of non-void function pointer targets in passing argument 1 of 'g_strtod' differ in signedness pointer targets in passing argument 3 of 'vnc_client_to_server' differ in signedness gtk/ main.c: C++ style comments are not allowed in ISO C90 u3.h: function declaration isn't a prototype Other (trivial) stuff packet-sccp.h: Add svn properties svn path=/trunk/; revision=21011
2007-02-21Major overhaul of VNC dissector: split everything into its own function andStephen Fisher1-375/+1399
bring the server message type dissection nearly to completion. As for RealVNC protocol dissection, the only things not working at 100% is the TCP reassembly and some ZRLE subencoding types. However, it is is much more useful shape now than before. svn path=/trunk/; revision=20886
2006-10-31Escape non-ASCII characters in the client and server protocol version strings.Gerald Combs1-61/+61
svn path=/trunk/; revision=19748
2006-10-03From Stephen Fisher:Anders Broman1-0/+6
Modifie the VNC dissector to desegment the "server cut text" message type for cases where the cut text is in the next tcp segment from the first part of the message. svn path=/trunk/; revision=19402
2006-09-05From Stephen Fisher:Anders Broman1-159/+1129
A patch to bring the VNC dissector almost to completion. I have not had a chance to finish the server message type "frame buffer update," which are the pixel values for screen rectangle updates. Everything else is there - tracking the keys the user is pushing, ringing a bell on the client, mouse button pushes/pointer movements, etc. svn path=/trunk/; revision=19145
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-7/+7
svn path=/trunk/; revision=18196
2006-01-05Bill Meier:Jörg Mayer1-1/+1
Spelling fixes. svn path=/trunk/; revision=16956
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵Ronnie Sahlberg1-1/+1
documentation in README.developer svn path=/trunk/; revision=15270
2005-07-28ememify some more tvb_get_string() callsRonnie Sahlberg1-2/+1
one memleak in vnc related to tvb_get_string() closed. svn path=/trunk/; revision=15130
2005-03-14Very first start of a dissection of the VNC (RFB) protocol.Ulf Lamping1-0/+263
This is not much more than the dissector skeleton code. svn path=/trunk/; revision=13746