aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2003-12-24Add -pedantic to --with-extra-gcc-checksJörg Mayer1-2/+2
svn path=/trunk/; revision=9442
2003-12-24Fix highlighting of Image record (forgot one fixed header byte).Olivier Biot1-3/+14
Add comments on computation of fixed header. svn path=/trunk/; revision=9441
2003-12-24Let FT_PROTOCOL fields, if the length specified is -1, have a length ofGuy Harris1-1/+4
0 - now that "tvb_ensure_length_remaining()" ensures that there's at least one byte of data, we should use "tvb_length_remaining()" for FT_PROTOCOL fields. svn path=/trunk/; revision=9440
2003-12-24Don't display TFTP data if there isn't any to display.Guy Harris1-3/+5
svn path=/trunk/; revision=9439
2003-12-24In the loop that processes lines in HTTP requests and replies, loop asGuy Harris2-13/+40
long as there's reported data, don't just loop through the data in the tvbuff. Fix some problems with short frames. svn path=/trunk/; revision=9438
2003-12-24Add support for GIF image dissection.Olivier Biot4-2/+702
NOTE: I propose to use packet-MIME-TREE for future media types that will be added to Ethereal (E.g., packet-image-png.c). svn path=/trunk/; revision=9437
2003-12-24Do the "isprint()" hack for GTK+ 2.x or 1.3[.x], whether on UNIX orGuy Harris2-21/+10
Windows - the problem is that GTK+ 1.3[.x] and later assume strings handed to them are UTF-8 strings, not, for example, ISO 8859/x strings. In packet-radius.c, re-define "isprint()" rather than #ifdeffing its use (the old code was also incorrectly treating 0x7f as a printable). svn path=/trunk/; revision=9436
2003-12-24Do the "isprint()" hack for GTK+ 2.x or 1.3[.x], whether on UNIX orGuy Harris2-32/+21
Windows - the problem is that GTK+ 1.3[.x] and later assume strings handed to them are UTF-8 strings, not, for example, ISO 8859/x strings. In packet-radius.c, re-define "isprint()" rather than #ifdeffing its use (the old code was also incorrectly treating 0x7f as a printable). svn path=/trunk/; revision=9435
2003-12-23Handle the move of "smpp" preferences to "smpp-gsm-sms".Guy Harris1-2/+5
svn path=/trunk/; revision=9434
2003-12-23Have "tvb_ensure_length_remaining()" throw the appropriate exception ifGuy Harris2-5/+13
there's no data remaining - its callers largely depend on it doing so. That means that the BEEP dissector doesn't have to check for it returning 0. svn path=/trunk/; revision=9433
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-12-23Move the GSM SMS dissection to a dedicated subdissector (currently still withinOlivier Biot4-187/+315
packet-smpp.c). Now the higher-level protocols show up without the need of unfolding the SMPP dissector tree. Add a new address type AT_STRINGZ, and use it for GSM SMS message reassembly. Get rid of the different UDH IE subtrees, and replace them with one subtree for all UDH IEs. Add debug logging to SMPP and SMPP GSM SMS dissectors. Move the Short Message reassembly from the SMPP dissector to the SMPP GSM SMS dissector. Fix duplicated "reassembled in" header fields. Rename header fields that are now part of SMPP GSM SMS (including the dissector table name, so it has also been updated in packet-wsp.c and packet-wtp.c). Add an explicit "if (!tree) return" in the WSP add_headers() method. NOTE: it would be great if we were able to merge the existing packet-gsm_sms.c and the SMPP GSM SMS dissector. svn path=/trunk/; revision=9431
2003-12-23removed COMMON_FILES_GNU from path,Ulf Lamping1-2/+5
use the directories xy_DIR from the settings above svn path=/trunk/; revision=9430
2003-12-23calling tethereal in it's place, to prevent problems with dll loadingUlf Lamping1-2/+4
svn path=/trunk/; revision=9429
2003-12-23Not all headers in HTTP, RTSP, SIP, etc. are entity headers; rename someGuy Harris6-81/+81
files, routines, data structures, etc.. svn path=/trunk/; revision=9428
2003-12-23In HTTP-over-TCP, handle more than one HTTP message in a TCP segment.Guy Harris1-10/+57
Don't do that for HTTP-over-UDP, however. svn path=/trunk/; revision=9427
2003-12-23Process the content length.Guy Harris1-6/+74
svn path=/trunk/; revision=9426
2003-12-23Note that we should do the same sort of entity header processing thatGuy Harris1-16/+41
HTTP does. Note that the RTSP RFC talks about packets with no content length, although it also says they shouldn't exist. Update a comment now that we *do* handle data that crosses TCP segment boundaries. Handle the payload length a bit differently, to make it a bit clearer what's going on. svn path=/trunk/; revision=9425
2003-12-23Note that we should handle the Content-Length entity header.Guy Harris1-1/+13
svn path=/trunk/; revision=9424
2003-12-23Base the count of selected packets on whether there's aGuy Harris1-14/+14
currently-selected packet. Use "cfile.count" as the total number of packets in the capture. Use "plurality" to display "packet" vs. "packets". svn path=/trunk/; revision=9423
2003-12-23removed some MSVC warnings (conversions between double/float and int)Ulf Lamping6-62/+62
svn path=/trunk/; revision=9422
2003-12-23From Anders Broman: add the alternate TCP port.Guy Harris1-2/+12
svn path=/trunk/; revision=9421
2003-12-22Call subdissectors even if we're not building a protocol tree.Guy Harris1-24/+23
In the loop that processes TCP segment data, loop over the full reported length of the segment, so that we throw an exception if the frame was short. svn path=/trunk/; revision=9420
2003-12-22Do reassembly of interleaved binary data.Guy Harris1-6/+55
svn path=/trunk/; revision=9419
2003-12-22Move SIR to a dedicated subdissector.Olivier Biot1-74/+118
Question: should we define "media type" subdissectors as special? svn path=/trunk/; revision=9418
2003-12-22Have a "toc" file in the help directory, which gives a list of helpGuy Harris3-2/+9
topic titles and help file names. svn path=/trunk/; revision=9417
2003-12-22Have a "toc" file in the help directory, which gives a list of helpGuy Harris1-106/+111
topic titles and help file names. svn path=/trunk/; revision=9416
2003-12-22get rid of the COMMON_FILES_GNU setting,Ulf Lamping3-18/+47
by getting the DLL's from the "source tree" svn path=/trunk/; revision=9415
2003-12-22calling pod2man and pod2html indirectly through the bashUlf Lamping1-3/+3
svn path=/trunk/; revision=9414
2003-12-22file "convert-include.sh" no longer used, so no need to distribute itUlf Lamping1-2/+2
svn path=/trunk/; revision=9413
2003-12-22Set "pinfo->p2p_dir" if the packet wasn't received promiscuously.Guy Harris1-1/+18
svn path=/trunk/; revision=9412
2003-12-22Arrange to install the help files.Guy Harris1-3/+7
svn path=/trunk/; revision=9411
2003-12-22Speed up WTP dissection by performing TPI subdissection only once and settingOlivier Biot1-41/+58
the WTP length after processing the TPI. Update reassembly so dissection of reassembled data is only enabled in the last reassembled packet. This way, we alo see the WTP PDUs. svn path=/trunk/; revision=9410
2003-12-22Use "rreh_do_reassembly()" to do reassembly.Guy Harris1-35/+90
svn path=/trunk/; revision=9409
2003-12-22using distributed help text files, instead of "#include" built in textsUlf Lamping8-2280/+4
svn path=/trunk/; revision=9408
2003-12-22Patch from Guy: using distributed help text files,Ulf Lamping1-76/+77
instead of "#include" built in texts (and some other minor changes) svn path=/trunk/; revision=9407
2003-12-22distribute the text files in help dirUlf Lamping1-1/+7
svn path=/trunk/; revision=9406
2003-12-22We need to do the "if the first fragment we see has no more fragmentsGuy Harris1-8/+14
after it, treat it as the only fragment" stuff for "fragment_add_seq_next()" as well, so we handle non-fragmented packets. svn path=/trunk/; revision=9405
2003-12-22Fix a typo.Guy Harris1-2/+2
svn path=/trunk/; revision=9404
2003-12-22Don't call "nds_defrag()" for positive ACK packets.Guy Harris2-5/+32
Put in some comments noting problems with NDS reassembly. svn path=/trunk/; revision=9403
2003-12-22Pull the code to do reassembly of the request/response line, entityGuy Harris5-115/+224
headers, and body into a separate routine, for use by other dissectors. svn path=/trunk/; revision=9402
2003-12-21Fix unconditional handoff to subdissector introduced with the common reassemblyOlivier Biot1-6/+28
code. Add the "Reassembled in" header field, and show it if the packet has been reassembled, but not in the given packet. This also allows to use the "Jump to the corresponding frame" feature in Ethereal. svn path=/trunk/; revision=9401
2003-12-21If we don't have any packets, or don't have any filtered packets, don'tGuy Harris1-7/+11
even show the averages over the empty sets in question. svn path=/trunk/; revision=9400
2003-12-21Arrays indexed by a 1-octet unsigned value, if we don't know whichGuy Harris2-4/+4
values are permitted, must have 256 elements, not 255 elements. svn path=/trunk/; revision=9399
2003-12-21"sizeof(array)" is the size of the array in bytes, not the number ofGuy Harris2-7/+10
elements in the array. svn path=/trunk/; revision=9398
2003-12-21In the MLUM-is-defined code path, "idx" is set - the only issue is ifGuy Harris1-3/+3
MLUM isn't defined (which it isn't, by default). svn path=/trunk/; revision=9397
2003-12-21Add, for \xXX, the same sanity check (that 0xXX fits in a single byte)Guy Harris1-1/+7
that we have for \0OOO. svn path=/trunk/; revision=9396
2003-12-21Fix a sprintf to non-malloc()ed memory by using g_strdup_printf() and g_free().Olivier Biot1-4/+5
svn path=/trunk/; revision=9395
2003-12-21warning: static declaration for ... follows non-staticJörg Mayer3-13/+8
svn path=/trunk/; revision=9394
2003-12-21removed some MSVC warnings (moved pcap.h before glib.h)Ulf Lamping10-34/+33
svn path=/trunk/; revision=9393