aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2001-02-27RFC 3024 reverse tunneling support for the Mobile IP dissector, fromGuy Harris3-1/+20
Peter Lei. svn path=/trunk/; revision=3078
2001-02-26Remove the Lemon stuff from EXTRA_DIST; the Lemon source is now inGuy Harris1-5/+1
"tools/lemon", and that directory's "Makefile.am" arranges to put the Lemon stuff into the distribution. svn path=/trunk/; revision=3077
2001-02-26Replace some C++-style comments with C-style ones.Olivier Abad1-6/+6
svn path=/trunk/; revision=3076
2001-02-26Tvbuffify a commented-out line.Guy Harris1-2/+2
svn path=/trunk/; revision=3075
2001-02-24OK, the latest "packet-diameter.h" RCS file has shown up in theGuy Harris1-24/+0
anonymous CVS tree; get rid of it again. svn path=/trunk/; revision=3074
2001-02-23Updates from David Frascone: includes DIAMETER-over-SCTP support.Guy Harris2-55/+66
svn path=/trunk/; revision=3073
2001-02-23Narrow the case where we check for stripped source-route bits. Since theGilbert Ramirez1-4/+4
test depends on finding IPX or SNAP info, we can limit the test to LLC frames. svn path=/trunk/; revision=3072
2001-02-23Add a little script which takes the output of "cvs diff", which isGilbert Ramirez2-1/+114
a flattened recursive diff, and unflattens it, so that it can be applied with "patch -p0". This has tested only against the output of "cvs diff -u". Usage: cvs diff -u | cvsdiff-fix.py > file.diff svn path=/trunk/; revision=3071
2001-02-23Update the list of types, and fix some typos.Guy Harris1-6/+11
svn path=/trunk/; revision=3070
2001-02-23Update the documentation to correctly reflect the way tests on BooleanGuy Harris2-20/+16
fields work in display filters. svn path=/trunk/; revision=3069
2001-02-23Boolean fields are just like other fields - if you use the field nameGuy Harris1-73/+73
without a comparison operator, it tests for the field's presence or absence, not its value; to test whether a Boolean field is true, you compare it with a non-zero value, and to test whether it's false, you compare it with a zero value. Make the filter expression construction dialog handle that correctly. svn path=/trunk/; revision=3068
2001-02-23The text entry box that a filter construction dialog manipulates isGuy Harris2-7/+6
always attached to the dialog as the E_FILT_FILTER_TE_KEY data, but only sometimes attached as the E_FILT_TE_KEY data. Get rid of E_FILT_TE_KEY completely, as it's redundant, and use only E_FILT_FILTER_TE_KEY; this keeps us from crashing as a result of trying to manipulate the widget referred to by E_FILT_TE_KEY if E_FILT_TE_KEY hasn't been set to refer to any widget. svn path=/trunk/; revision=3067
2001-02-22Etherpeek version 5, 6, and 7 support, from Daniel Thompson.Guy Harris6-5/+367
svn path=/trunk/; revision=3066
2001-02-21NFSv4 updates from Mike Frisch to fix some cosmetic issues whenGuy Harris1-6/+42
displaying XDR arrays. svn path=/trunk/; revision=3065
2001-02-21Initialize hf_ip_checksum_bad to -1 like all other fields.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=3064
2001-02-21Change from James E. Flemer to add hidden Boolean fields that are set ifGuy Harris3-1/+19
the IP or ICMP checksum is bad. svn path=/trunk/; revision=3063
2001-02-20Make the "activate" signal on the text entry boxes in the filter editingGuy Harris1-1/+14
dialog activate the entire dialog box. svn path=/trunk/; revision=3062
2001-02-20Catch the "destroy" signal on the filter-expression-construction dialog,Guy Harris1-1/+22
and, when it's being destroyed, disconnect from the "destroy" signal on the text entry box to which it's attached, so that, when that text entry box is destroyed, we don't try to get rid of the no-longer-extant filter-expression-construction dialog. svn path=/trunk/; revision=3061
2001-02-20Catch the "destroy" signal on the text entry box to which aGuy Harris1-1/+9
filter-expression-construction dialog box is attached; if the text entry box is destroyed (which typically means the window it's in was destroyed), get rid of the filter-expression-construction dialog box. svn path=/trunk/; revision=3060
2001-02-20The all-purpose answer to "this widget expands to fill the spaceGuy Harris1-4/+10
available for it and it looks ugly" is "throw an alignment around it". (I *still* don't know why it's not required in other dialog boxes, e.g. the filter-editing dialog box.) svn path=/trunk/; revision=3059
2001-02-20added support for dissecting SRV RRsNathan Neulinger1-1/+67
svn path=/trunk/; revision=3058
2001-02-20Make the "activate" signal on the text entry boxes in the filterGuy Harris1-13/+24
expression construction dialog activate the entire dialog box. Make a desperate but failed attempt to bludgeon GTK+, The Toolkit That Knows Better Than You Do How Big Buttons Should Be Made, Even If It Looks Butt-Ugly, And Which Appears To Randomly Decide Whether To Make It Look Ugly Or Not, into making the "Cancel" button as tall as the inside of the "Accept" button, not as tall as the "Accept" button plus its "this is the default button" surround. svn path=/trunk/; revision=3057
2001-02-20Call the test for a protocol "is present", just like the test for otherGuy Harris1-35/+46
fields. Show a relational operator on a field if the field supports it *or* if the field can be sliced and the type generated by a range (FT_BYTES) supports it. (This lets you do a comparison on a protocol, not just on a range of a protocol - e.g., "arp == 2", not just "arp[0:1] == 2" - but the alternative would be to show only the "is present" test, as if you don't offer the other tests, you can't turn on the range text box when they select a comparison expression if you don't show comparison expresions...). svn path=/trunk/; revision=3056
2001-02-20In the DIAMETER dissector, clear the Info column before fetchingGuy Harris2-81/+78
anything from the packet, so that if we throw an exception before setting the Info column, it doesn't have stuff left over from the previous dissector. Tvbuffify the RADIUS dissector. svn path=/trunk/; revision=3055
2001-02-20Temporarily bring "packet-diameter.h" back from the dead; changing itGuy Harris1-0/+24
and deleting it might've confused the stuff that generates the anonymous CVS tree, as it didn't propagate the deletion. I'll delete it again after this checkin shows up in the anonymous CVS tree. svn path=/trunk/; revision=3054
2001-02-20correct TSIG decoding (specifically offset/length in dump list).Jun-ichiro itojun Hagino1-19/+12
svn path=/trunk/; revision=3053
2001-02-20On Win32, if Ethereal started as a GUI rather than a consoleGuy Harris1-2/+115
application, catch what GLib message-logging calls we can, and create a console and make it the standard input, output, and error if such a call is made, so those messages show up in a console window. Create the console for the output of "ethereal -v" as well. svn path=/trunk/; revision=3052
2001-02-20Don't do anything with 64-bit integral types if G_HAVE_GINT64 isn'tGuy Harris1-10/+16
defined. Use "gint64" and "guint64", not "long long int", for 64-bit integral types, so that this code works with compilers (such as Microsoft Visual C++) that have 64-bit integral types but that don't call them "long long". Use "pntohll()" to extract 64-bit integral types from a field. Put a "break;" into a "default:" clause - MSVC++ doesn't like switch (XXX) { ... default: } svn path=/trunk/; revision=3051
2001-02-19As "dissect_diameter()" is now static to "packet-diameter.c", there's noGuy Harris3-35/+2
need to declare it in "packet-diameter.h" - and no need for "packet-diameter.h". svn path=/trunk/; revision=3050
2001-02-19New tvbuffified DIAMETER dissector, from David Frascone.Guy Harris4-688/+818
It doesn't do DIAMETER-over-UDP, so the RADIUS dissector no longer checks for DIAMETER packets and calls the DIAMETER dissector if it finds one. svn path=/trunk/; revision=3049
2001-02-19Updates from Alexandre P. Ferreira.Guy Harris3-44/+67
svn path=/trunk/; revision=3048
2001-02-18In the MSVC++ 6.0 C library, "line-buffered" doesn't mean what one mightGuy Harris2-8/+53
expect - it means "same as fully-buffered". This means that the "-l" flag is a no-op on Windows. Instead of setting line-buffered mode with "setvbuf()", set a flag and, if that flag is set, flush the standard output after the information for ever packet is printed; this isn't "line-buffered", either, but, as the reason for doing line-buffering is to allow the output of Tethereal to be piped to a program and to have that program see the output for a packet as soon as the packet is seen and dissected, it should be just as good as line-buffered. svn path=/trunk/; revision=3047
2001-02-163rd time's a charm.Gilbert Ramirez1-4/+6
Check against the *correct* buffer size. svn path=/trunk/; revision=3046
2001-02-16Off-by-a-little-bit in adjusting the offset.Gilbert Ramirez1-3/+3
svn path=/trunk/; revision=3045
2001-02-16Don't trust avp_length, which is taken directly from the packet data.Gilbert Ramirez1-6/+23
svn path=/trunk/; revision=3044
2001-02-16Actually, this works better.Gilbert Ramirez2-5/+5
svn path=/trunk/; revision=3043
2001-02-16Use the proper way to denote that a single operationGilbert Ramirez2-3/+5
produces 2 files. (grammar.lemon --> grammar.c grammar.h) svn path=/trunk/; revision=3042
2001-02-15Updates from Alexandre P. Ferreira.Guy Harris1-29/+34
svn path=/trunk/; revision=3041
2001-02-15Don't cast the function argument to "qsort()" to the expected type, makeGuy Harris1-13/+16
the function have the expected type. Make the arguments to comparison functions used by the merge sort be "const void *", not "void *", just as the arguments to the comparison functions used by "qsort()" are "const void *". svn path=/trunk/; revision=3040
2001-02-15More prototype fun - make the Lemon parser allocate and free routinesGuy Harris2-8/+8
take fully-prototyped function arguments with types appropriate to "g_malloc()" and "g_free()", and change the calls to the functions pointed to by those arguments not pass the extra __FILE__ and __LINE__ arguments. svn path=/trunk/; revision=3039
2001-02-15More paranoia - when compiling with GCC 2.x, do checks of the formatGuy Harris1-3/+8
string argument and subsequent arguments to "ErrorMsg()". Fix up the bugs the checks in question found. svn path=/trunk/; revision=3038
2001-02-15Change "lemon" *NOT* to cast pointers to "int", as that doesn't work onGuy Harris1-363/+232
LP64 platforms. Change "lemon" to use function prototypes and the official ANSI C style of variable-argument-list functions, and to include various system header files rather than to use non-prototype declaration of various system functions, to do a lot more type checking. svn path=/trunk/; revision=3037
2001-02-14Get rid of the "CHECK_DISPLAY_AS_DATA()" call and the setting ofGuy Harris1-7/+10
"pinfo->current_proto" - this routine is called only through a dissector table, and the code to call through a dissector table does that stuff for you. Clear the Info column before doing anything that could throw an execption, so that if an exception is thrown the display doesn't show junk left over from the protocol above us. Get rid of the GCCism "case N ... M". svn path=/trunk/; revision=3036
2001-02-14Add MIP extensions. Re-work some of the tvbuff-handling logic.Gilbert Ramirez3-90/+172
Update Stefan's e-mail address. svn path=/trunk/; revision=3035
2001-02-14Rename "SP_ERROR" to "SP_ERROR_MSG" to avoid a #define collision withGuy Harris1-5/+5
yet another Windows #define. svn path=/trunk/; revision=3034
2001-02-14Sigh. Microsoft Visual C++ 6.0 won't convert a "guint64" to a "double"Guy Harris1-2/+2
- it only allows you to convert a *signed* 64-bit integer to a "double". Cast the result of "pletohll()" to "gint64" before returning it from a function that returns a "double". svn path=/trunk/; revision=3033
2001-02-14"Decode As" UI cleanups, and documentation, from David Hampton.Guy Harris2-71/+71
svn path=/trunk/; revision=3032
2001-02-13Updates from Yaniv Kaul to show the certificate encoding and typeGuy Harris1-4/+25
symbolically. svn path=/trunk/; revision=3031
2001-02-13In a display filter expression, make a field name refer to any of theGuy Harris4-44/+85
fields with that name. svn path=/trunk/; revision=3030
2001-02-13Updates from Mike Frisch.Guy Harris1-9/+25
svn path=/trunk/; revision=3029