aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2001-03-24Give the code that computes protocol statistics a progress dialog box,Guy Harris7-54/+150
as, on a large capture, it could take a significant amount of time. Let the user stop the computation and, if they do, don't pop up the statistics dialog box. Create a new header file declaring the routines to create, update, and destroy progress dialog boxes; those routines' APIs don't depend on GTK+, but others declared in "ui_util.h" do, and we don't want to oblige a source file to depend on GTK+ headers unless it uses a GTK+ API or an API that depends on GTK+. svn path=/trunk/; revision=3179
2001-03-23Add a macro to extract the DLCI from the address field.Guy Harris1-21/+12
Extract the DLCI only once. svn path=/trunk/; revision=3178
2001-03-23Back out the guint64 stuff - it's not clear it's the right way to handleGuy Harris1-41/+20
this, as 1) we still need to handle platforms that don't support 64-bit integral data types, so we still needed the old stuff in some fashion anyway and 2) MSVC appears to treat structures as requiring 8-byte alignment in some cases, and "guint64"s require 8-byte alignment on at least some platforms, forcing structures containing those 64-bit time stamps to have a size that's a multiple of 8 bytes, which *isn't* the correct size for the data record header. svn path=/trunk/; revision=3177
2001-03-23Put back some of Gilbert's changes lost by recent checkins.Guy Harris1-6/+5
svn path=/trunk/; revision=3176
2001-03-23Add "volatile" qualifiers so that variables survive a setjmp/longjmpGuy Harris1-3/+3
operation. svn path=/trunk/; revision=3175
2001-03-23Routines called by "g_node_traverse()" are supposed to return TRUE ifGuy Harris1-1/+2
the traversal is supposed to stop when the routine returns and FALSE otherwise. svn path=/trunk/; revision=3174
2001-03-23Pull the NLPID for Wellfleet compression into "nlpid.h".Guy Harris3-21/+20
svn path=/trunk/; revision=3173
2001-03-23Misc ubik/afs updates to correct a SEGV and add some moreNathan Neulinger5-52/+85
dissection. Will be more coming, but wanted to commit these before I headed home. svn path=/trunk/; revision=3172
2001-03-23Add the LMI dissector for Frame Relay and the Wellfleet compressionGuy Harris1-1/+3
dissector. svn path=/trunk/; revision=3171
2001-03-23Fixed problem in wcp_uncompress. If the proto_tree was null the programJeff Foster1-10/+16
would segfault when creating the sub-tree. svn path=/trunk/; revision=3170
2001-03-23Don't convert a WTP PDU type to a string by using as an index into aGuy Harris1-2/+3
"value_string" array, do it the right way, by using "val_to_str()" - the PDU type is 4 bits, but there aren't 16 entries in the array, so a bogus PDU type (*don't* assume that can't happen...) can cause a core dump. svn path=/trunk/; revision=3169
2001-03-23Updated the frame relay dissector - dissect-fr.cJeff Foster4-28/+1122
Added the LMI dissector for frame relay - dissect-lmi.c Added Wellfleet compression dissector - dissect-wcp.c svn path=/trunk/; revision=3168
2001-03-23Added named data sources printing support, written by Guy HarrisJeff Foster3-13/+40
svn path=/trunk/; revision=3167
2001-03-23Fix last minute edit mistake in add_byte_tab.Jeff Foster1-6/+2
svn path=/trunk/; revision=3166
2001-03-23Changes required to support multiple named data sources.Jeff Foster13-98/+432
Tvbuffers changed to added the data source name, GUI and printing code changed to support these changes and display the multiple hex views. svn path=/trunk/; revision=3165
2001-03-23Update the version of the MGCP plugin.Guy Harris1-1/+1
svn path=/trunk/; revision=3164
2001-03-23The Win32 build builds wiretap as a DLL and requires WinPcap 2.1.Gilbert Ramirez10-37/+109
svn path=/trunk/; revision=3163
2001-03-22Add a new tool which summarizes packet counts by protocols, butGilbert Ramirez10-4/+495
organizes the protocols in the same hierarchical order in which they are found in the packet. The GUI needs some more refinement (placment of vertical scrollbar, style of GtkCTree, initial sizing of window). I need to add an option to honor/not honor the current display filter. svn path=/trunk/; revision=3162
2001-03-22Show "IEEE 802.3" as "IEEE 802.3 Ethernet" so as not to confuseGilbert Ramirez1-3/+3
anyone. svn path=/trunk/; revision=3161
2001-03-22Move appletalk- and sna-related address routines out of the dissectorsGilbert Ramirez12-52/+215
and into epan. svn path=/trunk/; revision=3160
2001-03-22Tvbuffify the Microsoft Proxy dissector.Guy Harris1-362/+290
svn path=/trunk/; revision=3159
2001-03-22Boost the size of some buffers to leave room for the terminating NUL,Guy Harris1-9/+16
and add some additional checks to make sure we don't run past the end of the packet. svn path=/trunk/; revision=3158
2001-03-22Throw in a cast to squelch a complaint from Visual C++ 6.0.Guy Harris1-2/+2
svn path=/trunk/; revision=3157
2001-03-22Get rid of no-longer-used "tvb_section_length()" routine.Guy Harris1-14/+1
svn path=/trunk/; revision=3156
2001-03-22When constructing the tree for a LANMAN transaction continuation, useGuy Harris1-3/+3
the parameter offset, not the data offset, as the starting offset. svn path=/trunk/; revision=3155
2001-03-22When dissecting LANMAN pipe transaction replies, store with each replyGuy Harris1-80/+69
frame per-frame data indicating 1) what type of transaction it's a reply to and 2) whether it's the first reply or a continuation reply as the information supplied by the SMB dissector can only be trusted on the first pass through the capture. (If you have two different transactions in the *same* conversation with the *same* MID, but different transaction types, only on the first pass will the transaction type in the data structure pointed to by "si.request_val" reflect the previous request - it reflects the last request seen which, when the user is clicking on frames in the capture, needn't be the request corresponding to the reply that they've just clicked on. If you have a reply that consists of multiple SMBs, "si.request_val->trans_response_seen" will be set to 1 as soon as the first reply is seen, and will *remain* 1 until the request is seen again; if the user clicks on one of the SMBs in the reply, even if it's the first SMB in the reply, without having first clicked on the request, "si.request_val->trans_response_seen" will be 1, and the SMB will be misdissected as a continuation.) Use common code to handle the beginning of LANMAN replies, rather than duplicating it in the code to handle each reply. svn path=/trunk/; revision=3154
2001-03-21Use common code to handle the beginning of LANMAN requests, rather thanGuy Harris1-143/+46
duplicating it in the code to handle each request. svn path=/trunk/; revision=3153
2001-03-21Add 48x48 PNG of new 3D logo with transparent background.Gilbert Ramirez1-0/+0
svn path=/trunk/; revision=3152
2001-03-21Whitespace cleanup.Guy Harris1-8/+8
Use "loc_offset" even for the function code in a response (it probably shouldn't matter, as the function code isn't actually *in* the response), and set "loc_offset" to SMB_offset in an interim reply. svn path=/trunk/; revision=3151
2001-03-21Show a minimal tree for interim responses, showing only the type of theGuy Harris1-67/+58
request to which it's a response. Compute the offset of the LANMAN data before putting *any* entries into the tree, rather than using 0 as the offset for the top-level item for a response. svn path=/trunk/; revision=3150
2001-03-20Put in a note about the use of some currently-undissected fields in theGuy Harris1-1/+29
SMB header, as per a Microsoft document. svn path=/trunk/; revision=3149
2001-03-20Alas, the WCCP drafts have expired....Guy Harris1-3/+12
svn path=/trunk/; revision=3148
2001-03-18Move the declaration of routines exported from "packet-smb-browse.c"Guy Harris6-43/+93
into a "packet-smb-browse.h" header file, and have modules that import those routines include "packet-smb-browse.h" rather than declaring the routines themselves; do the same for routines exported from "packet-smb-logon.c". Make routines and arrays not exported static, and make routines that return a true/false return value "gboolean" rather than "guint32". svn path=/trunk/; revision=3147
2001-03-18Correctly handle Interim responses to TRANSACTION requests.Guy Harris6-51/+207
Move the declaration of routines exported from "packet-smb-mailslot.c" into a "packet-smb-mailslot.h" header file, and have modules that import those routines include "packet-smb-mailslot.h" rather than declaring the routines themselves; do the same for routines exported from "packet-smb-pipe.c". Make routines not exported static, and make routines that return a true/false return value "gboolean" rather than "guint32". svn path=/trunk/; revision=3146
2001-03-18Change some "MSRPC"s to "DCERPC"s.Guy Harris1-13/+9
There's no need to clear the Info column right before setting it; we don't use any information from the packet other than stuff we've already determined is there (as part of the heuristic test for a DCE RPC packet), so there's no risk that we'll throw an exception before the Info column is set. Use "col_set_str()", rather than "col_add_str()" or "col_add_fstr()", to set the Protocol and Info columns. svn path=/trunk/; revision=3145
2001-03-18DCE RPC support, from Todd Sabin.Guy Harris5-2/+568
svn path=/trunk/; revision=3144
2001-03-18BOOTPARAM tvbuffification and enhancements, from Ronnie Sahlberg.Guy Harris2-47/+52
svn path=/trunk/; revision=3143
2001-03-17YPSERV tvbuffified, and additional dissection added, by Ronnie Sahlberg.Guy Harris2-71/+252
svn path=/trunk/; revision=3142
2001-03-15Rename "stat.priv" to "statnotify.priv", to avoid colliding with the NSMGuy Harris1-1/+1
"stat.priv". svn path=/trunk/; revision=3141
2001-03-15Status monitor callback protocol support, from Ronnie Sahlberg.Guy Harris5-3/+144
svn path=/trunk/; revision=3140
2001-03-15The other "proto_tree_add" routines will, if the "tree" argument isGuy Harris1-1/+4
null, just return NULL without doing any work; make "proto_tree_add_item()" do so as well. svn path=/trunk/; revision=3139
2001-03-15Status monitor V1, from Ronnie Sahlberg.Guy Harris2-18/+260
Merge the two AUTHORS entries for David Hampton. svn path=/trunk/; revision=3138
2001-03-15Update from Ronnie Sahlberg to use the list of mount status replies withGuy Harris1-6/+9
V1 and V2 as well. svn path=/trunk/; revision=3137
2001-03-15Declare "chdlc_vals[]" "extern", as we're not specifying the size.Guy Harris1-2/+2
svn path=/trunk/; revision=3136
2001-03-15Patch from Ed Warnicke.Olivier Abad1-30/+14
svn path=/trunk/; revision=3135
2001-03-15Win32 doesn't have an "atomic rename" operation of the sort that UNIXGuy Harris1-3/+18
has - or, if it does, it's not "MoveFile()", and "rename()" doesn't use it, so you have to make sure the target of a rename doesn't exist before doing the rename. svn path=/trunk/; revision=3134
2001-03-15Add a new Wiretap encapsulation type for Cisco HDLC. Map the NetBSDGuy Harris17-93/+435
DLT_HDLC to it. Make a separate dissector for Cisco HDLC, and add a dissector for Cisco SLARP. Have the PPP dissector call the Cisco HDLC dissector if the address field is the Cisco HDLC unicast or multicast address. Use the Cisco HDLC dissector for the Cisco HDLC Wiretap encapsulation type. Add a new dissector table "chdlctype", for Cisco HDLC packet types (they're *almost* the same as Ethernet types, but 0x8035 is SLARP, not Reverse ARP, and 0x2000 is the Cisco Discovery protocol, for example), replacing "fr.chdlc". Have a "chdlctype()" routine, similar to "ethertype()", used both by the Cisco HDLC and Frame Relay dissectors. Have a "chdlc_vals[]" "value_string" table for Cisco HDLC types and protocol names. Split the packet type field in the Frame Relay dissector into separate SNAP and Cisco HDLC fields, and give them the Ethernet type and Cisco HDLC type "value_string" tables, respectively. svn path=/trunk/; revision=3133
2001-03-15Clear the Info column before you start dissecting, just in case youGuy Harris1-2/+4
throw an exception. Fix a comment to reflect that the "location", "info", and "make-and-model" fields are optional (CUPS 1.0[.x] didn't put them into its browse packets). svn path=/trunk/; revision=3132
2001-03-15Add a new AT_OSI address type.Guy Harris3-8/+17
In the CLNP dissector, set the source and destination network-layer and "top-level" addresses; this will cause them to show up in the source and destination columns of the summary display if you're showing the network-layer or top-level address (although you'll probably have to widen those columns significantly to see the entire address), and also makes them available to subdissectors. svn path=/trunk/; revision=3131
2001-03-15Display the printer type/capability bits in the standard way we displayGuy Harris1-60/+70
bitfields. Rename "get_space()" to "skip_space()", to indicate what it does, and have it return FALSE if the first non-blank character it found was a CR or LF (meaning "end of packet"). If it returns FALSE, stop dissecting the packet. In "get_unquoted_string()", search not only for a space, but also for a tab, CR, or LF; there is no guarantee that there will be any fields in the packet past the URI (CUPS 1.0[.x] didn't put anything after the URI, and that's what I'm running on my machine...). svn path=/trunk/; revision=3130