aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2001-02-09Make a "dissect_rpc_indir_call()" routine to dissect arguments to aGuy Harris3-70/+100
specified program/version/procedure, and a "rpc_proc_name()" routine to return the name of a specified program/version/procedure, and make the callit dissector use those, rather than doing the work itself. Un-export various routines and declarations that can again be private to the RPC dissector. svn path=/trunk/; revision=3007
2001-02-09Add "TFTP_" before the packet type names, to avoid compiler warnings onGuy Harris1-20/+20
Windows where ERROR is #defined by some header file that gets included by "packet-tftp.c". svn path=/trunk/; revision=3006
2001-02-09Change to include Service ID field in dissection of Service InfoGuy Harris3-2/+15
component of WCCP 2 messages even if the service type is WCCP2_SERVICE_DYNAMIC, from Simharajan Srishylam. svn path=/trunk/; revision=3005
2001-02-08On at least one capture, the PIM checksum appears to be correct, soGuy Harris1-16/+52
add code to check it - I've no idea what's going on with the other captures where it's not correct, but those captures have a different (and apparently incorrect) checksum for packets with the *exact same contents* (other than the checksum) as the PIM packet in the capture where the checksum is correct, so perhaps those packets actually had bad checksums. svn path=/trunk/; revision=3004
2001-02-08Don't fetch any of the fields past the BPDU type if the BPDU type isn'tGuy Harris1-7/+18
0; topology change notification frames don't *have* anything past the BPDU type to fetch. svn path=/trunk/; revision=3003
2001-02-08Pull a lot of common code for handling 802.3 frames (i.e., frames with aGuy Harris6-144/+203
length field rather than an Ethernet type field) into a "dissect_802_3()" routine. In that routine, catch exceptions thrown by the IPX or LLC dissector or dissectors under them, so that the trailer information is added to the tree even if an exception is thrown (similar to what "ethertype()" does). svn path=/trunk/; revision=3002
2001-02-08In "call_dissector()", if the protocol for the dissector referred to byGuy Harris1-1/+2
the handle has been disabled, return after calling "dissect_data()", rather than driving on and calling the dissector anyway. svn path=/trunk/; revision=3001
2001-02-08Set the Protocol column, and clear the Info column, before we startGuy Harris1-8/+11
fetching anything from the packet, so that if an exception is thrown those columns don't show something from the previous protocol. Don't fetch the protocol identifier or protocol version identifier before you use them. svn path=/trunk/; revision=3000
2001-02-08If we failed to open a capture file specified by the "-r" flag, don'tGuy Harris1-2/+3
attempt to free the read filter if we don't have a read filter. svn path=/trunk/; revision=2999
2001-02-07Updates from Mike Frisch.Guy Harris1-126/+238
svn path=/trunk/; revision=2998
2001-02-07Add in the various payload type definitions from RFC 1890.Guy Harris1-17/+46
svn path=/trunk/; revision=2997
2001-02-06The "short name" and "filter name" were reversed; put them in the rightGuy Harris1-2/+2
order. svn path=/trunk/; revision=2996
2001-02-06Add support for dissecting V3 CALLIT and V4 BCAST/INDIRECT calls.Guy Harris1-4/+4
svn path=/trunk/; revision=2995
2001-02-06Tvbuffify the portmap/rpcbind dissector, and implement part of CALLITGuy Harris3-136/+201
dissection (dissection of V2 CALLIT calls; no V3/V4 stuff or reply handling yet). svn path=/trunk/; revision=2994
2001-02-05Fix up some MSVC complaints about (narrowing) type conversions byGuy Harris5-10/+10
widening formal arguments or narrowing variables passed as actual arguments. svn path=/trunk/; revision=2993
2001-02-05Maximum frame size values in the second byte of the routing controlGuy Harris1-9/+10
information aren't shifted right 4 bytes when put into the protocol tree; shift left by 4 bytes the values in the value_string table for them. A value of 7 means 65535 bytes. svn path=/trunk/; revision=2992
2001-02-04Add a "-f" flag to the "rm", so that "make clean" won't get an errorGuy Harris1-1/+1
(and cause a higher-level "make clean" to stop) if any of the files to be removed aren't there. svn path=/trunk/; revision=2991
2001-02-04Pass the correct tvbuff from the Vines Fragmentation Protocol dissectorGuy Harris1-2/+2
to the Vines IP dissector. svn path=/trunk/; revision=2990
2001-02-04L3PIDs are Ethertypes; display them as such.Guy Harris1-14/+16
Use "decode_boolean_bitfield()" to dissect flag bits. svn path=/trunk/; revision=2989
2001-02-04Add support for replies to NLMv3 SHARE and UNSHARE requests and to theGuy Harris1-14/+56
remaining NLMv4 requests. svn path=/trunk/; revision=2988
2001-02-04Tvbuffify the RSVP dissector.Guy Harris3-934/+715
Display the message checksum, and check it if possible. Fix some IPv6 entries to be 16 bytes long, not 4 bytes long. Make the routine to fetch an IEEE floating point number and turn it into a "long" take a tvbuff pointer and offset rather than a pointer to data. svn path=/trunk/; revision=2987
2001-02-03As pointed out by Aaron C. Springer (and according to RFC 1827), it'sGerald Combs1-2/+2
"Encapsulating Security Payload," and not "Encapsulated Security Payload." svn path=/trunk/; revision=2986
2001-02-03Tvbuffify the Oracle TNS dissector.Guy Harris1-82/+72
svn path=/trunk/; revision=2985
2001-02-03Use "pinfo", not "pi", to get packet info.Guy Harris1-4/+4
svn path=/trunk/; revision=2984
2001-02-03Tvbuffify the IRC dissector.Guy Harris1-54/+51
svn path=/trunk/; revision=2983
2001-02-03Use "dfilter_apply_edt()" rather than "dfilter_apply()".Guy Harris1-10/+7
svn path=/trunk/; revision=2982
2001-02-03Increment the line number for every line seen.Guy Harris1-12/+11
Fix the handling of one error case. svn path=/trunk/; revision=2981
2001-02-03Allow filter names and expressions of arbitrary length, and, in theGuy Harris1-30/+170
filter files, escape quotes and backslashes so that quotes and backslashes in filter names work. svn path=/trunk/; revision=2980
2001-02-02Add Makefile.nmake files for new subdirs.Gilbert Ramirez10-24/+144
Add them to EXTRA_DIST in corresponding Makefile.am's so that they get packaged with the distribution. svn path=/trunk/; revision=2979
2001-02-01Catch any exception thrown by accessing the tvbuff.Gilbert Ramirez1-3/+10
svn path=/trunk/; revision=2978
2001-02-01Fix the previous checkin to correctly handle presence tests onGuy Harris1-3/+15
protocols. svn path=/trunk/; revision=2977
2001-02-01For protocols, call the test for the field being present "has thisGuy Harris1-5/+6
protocol" rather than "is present". svn path=/trunk/; revision=2976
2001-02-01Use the pretty name for the type, not the internal name, in the helpGuy Harris1-2/+2
dialog for display filter fields. svn path=/trunk/; revision=2975
2001-02-01Use the ftype routines to determine what tests can be done on a field,Guy Harris1-118/+37
and whether you can slice a field. svn path=/trunk/; revision=2974
2001-02-01FT_PROTOCOL is like FT_NONE; you can only test for the field's presenceGuy Harris1-1/+2
(XXX or absence - we should offer that choice in the dialog). svn path=/trunk/; revision=2973
2001-02-01Make some pointers "guchar" pointers, so that characters extracted fromGuy Harris1-3/+3
strings are unsigned, so that we can hand them to "isXXX()" macros without GCC warning us that an array subscript is "char" (as in "if this is a character with the 8th bit set, you may not get the answer you think you should from 'isXXX()'"). svn path=/trunk/; revision=2972
2001-02-01Declare "proto_tree_set_protocol_tvb()" at the top, along with the otherGuy Harris1-1/+3
"proto_tree_set_XXX_tvb()" routines. svn path=/trunk/; revision=2971
2001-02-01Rename the "optarg()" and "opterr()" functions to "get_optarg()" andGuy Harris1-31/+42
"get_opterr()" so they don't collide with "getopt()"s "optarg" and "opterr" globals (Solaris 2.6's <stdio.h> declares both "optarg" and "opterr", causing "lemon.c" not to compile). Define "safe_isXXX()" macros to call "isXXX()" after casting the argument to "unsigned char" to handle characters with the 8th bit set. Make some "int" variables used only to hold characters "char" instead. svn path=/trunk/; revision=2970
2001-02-01Always show the scrollbar in the tree view panel, so that the scrollbarGilbert Ramirez1-2/+2
doesn't appearn and disappear depending on the size of the proto tree in relation to the view window. I didn't like the horizontal jumps that the proto tree had to do when the scrollbar either disappeared or appeared. svn path=/trunk/; revision=2969
2001-02-01Grumble, grumble. I forgot to add the license comment at the topGilbert Ramirez29-26/+592
of these files. svn path=/trunk/; revision=2968
2001-02-01Create a more modular type system for the FT_* types. Put themGilbert Ramirez78-3486/+11523
into epan/ftypes. Re-write display filter routines using Lemon parser instead of yacc. Besides using a different tool, the new grammar is much simpler, while the display filter engine itself is more powerful and more easily extended. Add dftest executable, to test display filter "bytecode" generation. Add option to "configure" to build dftest or randpkt, both of which are not built by default. Implement Ed Warnicke's ideas about dranges in the new display filter and ftype code. Remove type FT_TEXT_ONLY in favor of FT_NONE, and have protocols registered as FT_PROTOCOL. Thus, FT_NONE is used only for simple labels in the proto tree, while FT_PROTOCOL is used for protocols. This was necessary for being able to make byte slices (ranges) out of protocols, like "frame[0:3]" Win32 Makefile.nmake's will be added tonight. svn path=/trunk/; revision=2967
2001-02-01Updates from Alexandre P. Ferreira.Guy Harris1-46/+383
svn path=/trunk/; revision=2966
2001-02-01"Decode As" dialog, from David Hampton.Guy Harris11-30/+1909
svn path=/trunk/; revision=2965
2001-02-01Updates from Johan Jorgensen:Guy Harris1-48/+68
Correct number of addresses shown in dataframes. Duration ID changed to "Association ID" in power-save polls Added sequence and fragment numbers. Corrected representation of frame-control flags. Added dissection of data frames with piggybacked CF-Ack, Poll but no data. Cleaned up code a bit (mostly empty lines)... svn path=/trunk/; revision=2964
2001-01-31Correct a comment.Gilbert Ramirez1-2/+3
svn path=/trunk/; revision=2963
2001-01-31The plugin mechanism no longer uses display filters, so "plugins.h" noGuy Harris1-2/+1
longer needs to include "dfilter.h". svn path=/trunk/; revision=2962
2001-01-30Work around a CMU SNMP bug wherein "sprint_value()" dumps core if thereGuy Harris1-47/+88
are no entries in any of the MIBs for any of the components of the variable's OID. svn path=/trunk/; revision=2961
2001-01-30WTLS support and WSP fixes, from Alexandre P. Ferreira.Guy Harris3-45/+1457
svn path=/trunk/; revision=2960
2001-01-30Slightly better invalid packet handling.Gerald Combs1-6/+6
svn path=/trunk/; revision=2959
2001-01-30Fix a bounds checking problem when handed an invalid SIP packet, asGerald Combs1-9/+16
discovered by Ruud Linders <ruud@lucent.com>. svn path=/trunk/; revision=2958