aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2004-01-07minor changesUlf Lamping1-4/+8
svn path=/trunk/; revision=9589
2004-01-07added current windows versionsUlf Lamping1-2/+2
svn path=/trunk/; revision=9588
2004-01-07Fix some typoes.Guy Harris1-8/+19
Give the appropriate locations for libiconv, gettext, and WinPcap. Note that the WinPcap package is *not* available from ethereal.com. Explain a bit more about how to unpack the zip files for development packages. svn path=/trunk/; revision=9587
2004-01-07The type values from Net-SNMP are u_chars; make the formal argument forGuy Harris1-3/+3
them u_char. svn path=/trunk/; revision=9586
2004-01-07Don't assert that quoted_string be NULL; it can be non-NULL ifGilbert Ramirez1-2/+11
the previous dfilter failed to compile because a closing double-quote was not provided. Handle that case. svn path=/trunk/; revision=9585
2004-01-07Don't do anything exotic to get signed integral values - Ethereal'sGuy Harris1-59/+3
dissectors assume a two's-complement machine (we offer our apologies to those trying to run it on sign-magnitude IBM 7090/7094's and one's complement Univac/Unisys 11xx machines :-)). svn path=/trunk/; revision=9584
2004-01-07The year in a LANalyzer capture's trace summary record is a 2-byte yearGuy Harris1-7/+5
number. svn path=/trunk/; revision=9583
2004-01-07Use "tvb_get_guint8()", not "tvb_get_ntohs()", to fetch 1-byte numbers.Guy Harris1-10/+8
Use "proto_tree_add_item()" if you don't need the number's value. svn path=/trunk/; revision=9582
2004-01-07Not that it really matters as the test still alwas evaluates to false:Jörg Mayer2-4/+4
An array with 256 elements should not be accessed with an index >= 256, as we do not count as normal people do. svn path=/trunk/; revision=9581
2004-01-07save dialog with "Captured" and "Displayed" buttons in packet rangeUlf Lamping5-137/+352
svn path=/trunk/; revision=9580
2004-01-06GPL.txt -> ../../COPYINGJörg Mayer1-1/+1
svn path=/trunk/; revision=9579
2004-01-06Widgets get freed when the reference count goes to zero; we don't needGuy Harris1-22/+23
to explicitly destroy menu items when we remove them from the "recent files" list. Clean up indentation. svn path=/trunk/; revision=9578
2004-01-06Clear the interface list and free up interface names whenever a newGuy Harris1-17/+20
capture is read. "interface_anzahl" is always <= MAX_INTERFACES, so we don't need to check array indices against MAX_INTERFACES when iterating over all known interfaces. svn path=/trunk/; revision=9577
2004-01-06Don't add an interface to the interface list if we already haveGuy Harris1-13/+13
MAX_INTERFACES interfaces in the list. Make "found" a gboolean. svn path=/trunk/; revision=9576
2004-01-06Packet data is an array of "guint8"s, not an array of "char"s; declareGuy Harris3-11/+9
variables appropriately. Put in a cast to squelch MSVC++ warnings. svn path=/trunk/; revision=9575
2004-01-06Make the forward declarations of routines and their definitions match.Guy Harris1-8/+8
svn path=/trunk/; revision=9574
2004-01-06Add some sanity checking for the "-i" argument.Guy Harris1-3/+5
svn path=/trunk/; revision=9573
2004-01-06Make a variable to which a 16-bit value is assigned big enough to holdGuy Harris1-2/+2
such a value. svn path=/trunk/; revision=9572
2004-01-06Make some variables to which 16-bit values are assigned wide enough toGuy Harris1-5/+5
hold those values. svn path=/trunk/; revision=9571
2004-01-06The error code in an NBDS error packet is 1 byte, not 2.Guy Harris1-2/+2
svn path=/trunk/; revision=9570
2004-01-06In "decode_qos_umts()", "length" can get assigned a 2-byte value, soGuy Harris1-3/+3
make it a "guint", not just a "guint8". svn path=/trunk/; revision=9569
2004-01-06"decode_MPLS_stack()" always returns a nonnegative value; make it returnGuy Harris1-5/+5
"guint", and make the "labnum" variable to which its return value is assigned a "guint". "plen" in "decode_prefix_MP()" can have a 16-bit value assigned to it; make it a "guint", not just a "guint8". svn path=/trunk/; revision=9568
2004-01-06Note in a comment that "dissect_asp_reply_get_status()" might beGuy Harris2-36/+35
dissecting AFP server status - other servers might have different status formats. In "dissect_asp_reply_get_status()", put the UTF-8 server name into a tree, with the length and name in the tree as separate items, and fetch the length into a 16-bit variable (as it's a 16-bit length in the packet), as is done in "dissect_dsi_reply_get_status()". (XXX - should that just be done with an FT_UINT_STRING field, as is done for other strings?) Use "tvb_get_string()" to fetch the UTF-8 server name, and set the length and name from the values we fetched, in both of those routines. For FT_UINT_STRING fields in "dissect_asp_reply_get_status()" and "dissect_dsi_reply_get_status()", don't fetch the length separately - just use the value filled in by "proto_tree_add_item()" (now that a "proto_item" is no longer opaque, we can do that). That means we don't have a problem with overflows of the 8-bit "len" variable if the length is 255. svn path=/trunk/; revision=9567
2004-01-06Get rid of an unused value_string table.Guy Harris1-7/+1
svn path=/trunk/; revision=9566
2004-01-06Use "rstat4_proc" rather than "rstat3_proc" for rstat version 4.Guy Harris1-2/+2
svn path=/trunk/; revision=9565
2004-01-05an enum represents the radio buttons much better,Ulf Lamping3-65/+45
than an "array" of gbooleans svn path=/trunk/; revision=9564
2004-01-05fixed / updated some dependenciesUlf Lamping1-4/+10
svn path=/trunk/; revision=9563
2004-01-05switched to MSVC warning level 3 andUlf Lamping1-4/+4
default is winpcap version 3 now svn path=/trunk/; revision=9562
2004-01-05removed some MSVC warnings (level 3)Ulf Lamping19-52/+54
svn path=/trunk/; revision=9561
2004-01-05removed some MSVC warnings (level 3)Ulf Lamping5-21/+21
svn path=/trunk/; revision=9560
2004-01-05From Alex Rozin: fix handling of MST messages.Guy Harris1-1/+1
Fix his e-mail address. svn path=/trunk/; revision=9559
2004-01-05 removed some MSVC warnings (level 3)Ulf Lamping8-19/+19
svn path=/trunk/; revision=9558
2004-01-05using the file "COPYING" instead of "GPL.txt"Ulf Lamping1-340/+0
svn path=/trunk/; revision=9557
2004-01-05From Alex Rozin: fix handling of MST messages.Guy Harris2-5/+7
Fix his e-mail address. svn path=/trunk/; revision=9556
2004-01-05using the file "COPYING" instead of "GPL.txt"Ulf Lamping1-3/+3
svn path=/trunk/; revision=9555
2004-01-05From Lars Roland: corrected PATH settingsUlf Lamping1-2/+5
svn path=/trunk/; revision=9554
2004-01-05Bugfix from Lars Roland: included missing xdlc.hUlf Lamping2-2/+4
svn path=/trunk/; revision=9553
2004-01-05For RTSP requests, we assume that, if there's no Content-Length header,Guy Harris1-17/+44
the request has no body. When displaying the body, use the reported length remaining, not the captured length remaining, as the length. svn path=/trunk/; revision=9552
2004-01-05Handle non-Unicode error tokens.Guy Harris1-11/+38
Error tokens (at least in one capture) appear to have a server name in them; handle that as well. (They also appear to have 3 more bytes of stuff in them.) svn path=/trunk/; revision=9551
2004-01-05From Yaniv Kaul:Guy Harris1-11/+122
add parsing of message token (Unicode and regular); add parsing of error token (Unicode only - do not have a non Unicode sample. Anyone?); add parsing of done token (only minimal actually); add parsing of Collation Information structure in Environment Change token. svn path=/trunk/; revision=9550
2004-01-05From Yaniv Kaul:Guy Harris1-0/+1
add parsing of message token (Unicode and regular); add parsing of error token (Unicode only - do not have a non Unicode sample. Anyone?); add parsing of done token (only minimal actually); add parsing of Collation Information structure in Environment Change token. svn path=/trunk/; revision=9549
2004-01-04From Dick Gooris: updated lots of commentsUlf Lamping1-165/+180
svn path=/trunk/; revision=9548
2004-01-04Add more information to the WTP protocol summary (PDU type and PDU specificOlivier Biot1-93/+173
important parameters). Document the computation of the length field in WTP concatenation after having looked at a capture with the length field encoded as a WSP uintvar-integer. Use "common code" for WTP reassembly, by calling process_reassembled_data(). Document the behavior of reassembly as the output of Ethereal differs between the first and the second pass. Question: shoud the common reassembly code provide a call-back mechanism to get access to previously-unreassembled packets that appear to be part of a reassembled whole, and to be able to update the state and information of those packets at the time of the reassembly? svn path=/trunk/; revision=9547
2004-01-04From Shiang-Ming Huang: bug fix.Guy Harris1-2/+2
svn path=/trunk/; revision=9546
2004-01-04Move a comment to the appropriate location, and put in another commentGuy Harris1-6/+26
about problems with handling replies. svn path=/trunk/; revision=9545
2004-01-04Move "XConvertCase()" from a header file to "packet-x11.c".Guy Harris3-196/+210
Handle the failure reply from the initial connection request. "proto_item_append_text()" accepts "printf"-like formats; we don't need to generate a string with a formatting routine and hand it to "proto_item_append_text()", so don't do so. When doing reassembly, the length that should be checked is the length remaining in the tvbuff, not the length remaining in the packet, and that length should be fetched with "tvb_ensure_length_remaining()" so that if we *do* go past the end of the tvbuff we throw the appropriate exception. To determine whether a reply is a reply to the initial connection, check the connection state and "initial connection reply" frame - don't check the first byte of the message unless we've determined that the message isn't an initial connection reply (the first byte of the initial connection reply is the success/failure flag, so it could be 0 or 1). Display window IDs in hex in replies, as we do in requests. Fix the masks for Button3, Button4, and Button5 (it's a bitset, not a button number - more than one mouse button can be down in an event, although it can be a pain to try to click more than one button at the same time). svn path=/trunk/; revision=9544
2004-01-04User Specified Decodes, since it brings up a dialog box, should be User ↵Richard Sharpe1-2/+2
Specified Decodes... svn path=/trunk/; revision=9543
2004-01-04JPEG File Interchange Format (JFIF) dissection.Olivier Biot1-0/+1
svn path=/trunk/; revision=9542
2004-01-04Add support for JFIF (JPEG File Interchange Format) media.Olivier Biot3-2/+977
The JFIF dissector processes everything up to the start of scan as the data thereafter is encoded and I didn't have the time to figure out how it is :) TODO: fix the WTP dissector so it doesn't hand off unreassembled data to WSP. svn path=/trunk/; revision=9541
2004-01-04Fix the multipart dissection in WSP so media embedded in a multipart entityOlivier Biot3-63/+174
gets handed off to subdissectors. However nested multipart entities are not supported yet. Add more information to the WSP protocol summary line. Add some more clarifications (comments) in the WSP code. Skip parsing of URL encoded data if tree is NULL. svn path=/trunk/; revision=9540