aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2002-10-25At least according to the UNIX 98 spec, you need to include <unistd.h>Guy Harris2-2/+10
to declare "getopt()" and the variables it uses; tethereal.c already includes it, but gtk/main.c and gtk2/main.c, which also use "getopt()", don't - make them do so. svn path=/trunk/; revision=6497
2002-10-24Added a pointer to more information on PCLIEd Warnicke1-1/+4
svn path=/trunk/; revision=6496
2002-10-24Move the value_string tables for V1 and V2 procedure values after theGuy Harris1-18/+23
vsff table, so that the comment applies to the table it precedes - and put another copy of the comment in front of the V2 vsff table. svn path=/trunk/; revision=6495
2002-10-24Add fields for procedure numbers for NFS V2, V3, and V4, and registerGuy Harris1-4/+71
them with the ONC RPC dissector. svn path=/trunk/; revision=6494
2002-10-24Don't include the header file to get the SNMP version unless we'reGuy Harris6-12/+45
building with an SNMP library. If we have Net-SNMP, include <net-snmp/version.h>, not <ucd-snmp/version.h>. Don't include any of the SNMP headers unless HAVE_SOME_SNMP is defined. Include <net-snmp/config_api.h> if we have Net-SNMP, to declare "read_premib_configs()" and "read_configs()". Supply the include directories for Net-SNMP in the Makefile.nmake for GTK 1.2 and GTK 2. svn path=/trunk/; revision=6493
2002-10-24This helps packet-snmp.c compile if you don't HAVE_NET_SNMP or HAVE_UCD_SNMP.Tim Potter1-2/+2
svn path=/trunk/; revision=6492
2002-10-24Add a "fragment_add_seq_next()" to reassemble fragments that don't haveGuy Harris14-118/+406
sequence numbers or offsets and are thus assumed to be received in order with no duplicates or dropped fragments (e.g., for NetBIOS Frame, where 802.2 LLC guarantees in-order delivery to NetBIOS with no duplicates or dropped fragments). "show_fragment_tree()' and "show_fragment_seq_tree()" don't modify the "fragment_items" to which the "fit" argument points, so make that argument a "const fragment_items *". Make all the "fragment_items" tables "static" (as they're not used outside the modules defining them) and "const" (as they're not modified). Add support for reassembly of NetBIOS fragmented requests and responses. Get rid of an unnecessary include of "packet-tr.c" in the NetBIOS dissector, and make its table of dissection function pointers static. Fix some typos in the AppleTalk and NetBIOS dissectors. svn path=/trunk/; revision=6491
2002-10-24Check whether the array of procedure hf values has an element for theGuy Harris1-2/+9
given version before fetching that value. svn path=/trunk/; revision=6490
2002-10-24Don't use "unsigned long" to mean "32-bit unsigned integer", as it's notGuy Harris1-3/+3
32 bits on all platforms - it's 64 bits on some platforms. Use "guint32" instead. The same applies for "unsigned short" and "guint16". svn path=/trunk/; revision=6489
2002-10-23From Ronnie Sahlberg: make the tap listeners for gtk and gtk2 redissectGuy Harris4-5/+12
the packet list immediately when the tap is started. svn path=/trunk/; revision=6488
2002-10-23From Ronnie Sahlberg: pass a pointer to the epan_dissect_t for a packetGuy Harris8-18/+18
to taps. svn path=/trunk/; revision=6487
2002-10-23Add an extra argument to "rpc_init_proc_table()" that can specify an hf_Guy Harris24-74/+138
value for a field to be used for the procedure number for that version of the protocol; use that field, if specified, instead of just putting in a generic "rpc.procedure" field. Have the ypserv dissector register those fields and supply them to "rpc_init_proc_table()". Supply -1 for other RPC programs (for now), meaning "no such field exists". svn path=/trunk/; revision=6486
2002-10-23Added support for Label Request Type 2 (ATM Label Range) andAshok Narayanan1-2/+75
Type 3 (Frame Label Range) svn path=/trunk/; revision=6485
2002-10-23Define HAVE_NET_SNMP, as Ethereal is set up to be built with Net-SNMPGuy Harris1-2/+3
rather than UCD SNMP on Windows, and define HAVE_SOME_SNMP as per Wes Hardaker's changes to handle both Net-SNMP and UCD SNMP. svn path=/trunk/; revision=6484
2002-10-23From Wes Hardaker:Guy Harris7-45/+108
Define HAVE_SOME_SNMP if either HAVE_UCD_SNMP or HAVE_NET_SNMP is defined, and use HAVE_SOME_SNMP, rather than HAVE_UCD_SNMP, in most places when testing whether we have an SNMP library or not. Be more selective when including Net-SNMP header files. Fix up {gtk,gtk2}/main.c to do the same SNMP stuff that tethereal.c does - including the MIB stuff that gtk/main.c was doing but gtk2/main.c wasn't doing. Fix the copyright date in gtk/main.c. svn path=/trunk/; revision=6483
2002-10-23From Jamie Fournier: change to version 4, and fix to match the currentGuy Harris1-9/+19
style of other DCERPC files (i.e., provide a filterable field for the opcode). svn path=/trunk/; revision=6482
2002-10-23Put a leading "0x" in front of the hex value for ARCNET addresses whenGuy Harris1-2/+2
generating a filter expression to match the address, so it's parsed correctly (as a hex number rather than a string) if there are non-decimal digits (A through F). svn path=/trunk/; revision=6481
2002-10-23In the message indicating how Ethereal was configured, say "Use UCDGuy Harris1-2/+2
SNMP/NET-SNMP" rather than just "Use UCD SNMP", now that we support both. svn path=/trunk/; revision=6480
2002-10-23From Ronnie Sahlberg: add a tap for statistics for DCERPC interfaces.Guy Harris9-9/+372
svn path=/trunk/; revision=6479
2002-10-23Don't assume that we're building a protocol tree; dereference treeGuy Harris1-3/+5
pointers only if we are. svn path=/trunk/; revision=6478
2002-10-23Update manufJörg Mayer1-5/+102
svn path=/trunk/; revision=6477
2002-10-22Minimalistic support for counting IPv6 packets during captureJörg Mayer4-4/+22
svn path=/trunk/; revision=6476
2002-10-22Wes Hardaker: Support NET-SNMP in addition to UCD-SNMPJörg Mayer4-38/+90
svn path=/trunk/; revision=6475
2002-10-22Put in a comment noting that not *all* captures with a network type of 3Guy Harris1-1/+9
look like Ethernet captures. svn path=/trunk/; revision=6474
2002-10-22Add a Wiretap encapsulation type for RFC 2625 IP-over-Fibre Channel, andGuy Harris3-4/+9
map libpcap's DLT_IP_OVER_FC to it. svn path=/trunk/; revision=6473
2002-10-22From Jamie Fournier: AFS 4 UPDATE server support.Guy Harris4-10/+101
Merge two CREDITS entries for Jamie. svn path=/trunk/; revision=6472
2002-10-22Add in a notion of "circuits", which are for virtual circuit-orientedGuy Harris3-3/+346
protocols (where there's a virtual circuit ID of some sort in packets) what conversations are for protocols ultimately running atop connectionless network layers. Have circuit type and ID values in the "packet_info" structure. Have the Frame Relay dissector set the circuit type and ID values, and have the Wellfleet compression protocol set up circuit information and store compression information with the circuit. svn path=/trunk/; revision=6471
2002-10-22Put in a note about the completion code not appearing to be present inGuy Harris1-1/+7
replies to continuation messages (or, at least, not present in the obvious place). svn path=/trunk/; revision=6470
2002-10-22Add in a notion of "circuits", which are for virtual circuit-orientedGuy Harris7-37/+63
protocols (where there's a virtual circuit ID of some sort in packets) what conversations are for protocols ultimately running atop connectionless network layers. Have circuit type and ID values in the "packet_info" structure. Have the Frame Relay dissector set the circuit type and ID values, and have the Wellfleet compression protocol set up circuit information and store compression information with the circuit. svn path=/trunk/; revision=6469
2002-10-22Add support for desegmentation of NDPS-over-TCP.Guy Harris1-12/+59
svn path=/trunk/; revision=6468
2002-10-22Get rid of extra blanks at ends of program names (they're not needed; inGuy Harris1-479/+234
fact, they cause an extra blank to appear). Turn "get_string()" into a routine that fetches the length of a string, fetches the string, puts the string into the tree with the offset of the length as the starting offset, and returns the new offset. Make routines that return offsets return an "int", as packet offset variables are "int"s. Fix up a bunch of "proto_tree_add_uint()" calls, including presumably properly updating the offset after the call. Clean up the handling of qualified names, integer-or-OID types, and even objects a bit. Put octet strings into the protocol tree with the offset of the length as the starting offset. Fix up the record length variable to be decimal, and just use "proto_tree_add_uint()" to put it into the tree. In at least one capture I've seen, there are only two bytes after the NDPS tree field in a Bind PA request, not 4, even if the NDPS tree name isn't an empty string. FT_BYTES and FT_BOOLEAN don't have a base for display, so use BASE_NONE. Fix the field for address bytes to have the right name (it's not just the length, it's the length *and* the bytes). svn path=/trunk/; revision=6467
2002-10-22Do a full dissection of NDPS packets regardless of whether we'reGuy Harris1-98/+98
building a protocol tree or not - we need to do that in order to set various state variables and to set the columns. svn path=/trunk/; revision=6466
2002-10-22From Ronnie Sahlberg: track and display the time between requests andGuy Harris2-3/+44
replies for DCERPC similar to what is already done for ONC-RPC. svn path=/trunk/; revision=6465
2002-10-21From Solomon Peachy: display "(correct)" or "(not verified)" for the WEPGuy Harris1-5/+17
ICV, depending on whether it was successfully verified or not. svn path=/trunk/; revision=6464
2002-10-21From Greg Morris:Guy Harris3-313/+3603
Various NDS dissector enhancements including NDS verb 0x07, and proper ping flags for NDS ping version 10 request. Updated error codes for several NCP reply packets. NDPS enhancements. svn path=/trunk/; revision=6463
2002-10-21From Ronnie Sahlberg:Guy Harris1-3/+14
A small cosmetic change to make it highlight the proper bytes in the hex pane. From Ronnie and me: use the length from the PPPoE header to set the length of the tvbuff we hand to the PPP dissector. svn path=/trunk/; revision=6462
2002-10-21From Ronnie Sahlberg:Guy Harris1-35/+265
Addition of Lookup, Insert and Delete calls. Changes to make presentation of tower floors nicer. svn path=/trunk/; revision=6461
2002-10-19Get rid of all places where "vstring" is set to point to a null stringGuy Harris1-161/+17
constant, as that won't work with "get_string()" (it'll try to overwrite the constant, and either crash, trash memory, or both). svn path=/trunk/; revision=6460
2002-10-19Suppress compiler warnings on platforms where "time_t" is a "long",Guy Harris1-3/+4
without introducing warnings where it's an "int". svn path=/trunk/; revision=6459
2002-10-19Label UUID's with the name of the field.Guy Harris1-2/+3
svn path=/trunk/; revision=6458
2002-10-19Only hand off the SPX payload to a subdissector if there's payload toGuy Harris1-31/+33
hand off. svn path=/trunk/; revision=6457
2002-10-19From Greg Morris: put a buffer into "nw_uni_t", and make "get_string()"Guy Harris1-25/+10
fill that in. svn path=/trunk/; revision=6456
2002-10-19The Frame Relay DLCI is a virtual circuit identifer, not a source orGuy Harris3-18/+6
destination address, so yank out the AT_DLCI stuff. Clean up indentation. svn path=/trunk/; revision=6455
2002-10-19"addr->data", not "addr", points to the DLCI.Guy Harris1-2/+2
svn path=/trunk/; revision=6454
2002-10-18Put in code to handle AT_DLCI.Guy Harris1-2/+7
svn path=/trunk/; revision=6453
2002-10-18Add an AT_ARCNET address type for ARCNET addresses, and have the ARCNETGuy Harris3-4/+26
dissector set the source and destination link-layer addresses. svn path=/trunk/; revision=6452
2002-10-18Get rid of (probably-)unnecessary #includes.Guy Harris1-16/+1
svn path=/trunk/; revision=6451
2002-10-18From Peter Fales: ARCNET support.Guy Harris9-15/+247
Sort the lists of dissectors in the DISSECTOR_SRC macros in "Makefile.am" and "Makefile.nmake". svn path=/trunk/; revision=6450
2002-10-17From Didier Gautheron: better AFP 3.x dissector.Guy Harris4-100/+485
svn path=/trunk/; revision=6449
2002-10-17Flag fragment overlaps when reassembling based on sequence number, and,Guy Harris1-12/+20
when displaying the fragment tree for reassembly based on sequence number, show the correct offset. svn path=/trunk/; revision=6448