aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2002-11-17Clean up the TDS dissector a bit. Change a lot of signed ints toGerald Combs2-73/+99
unsigned, and set their size to match the protocol data assigned to them. Make sure the number of columns read doesn't exceed MAX_COLUMNS. Explicitly check for integer values > 0. Switch from using memcpy with tvb_get_ptr to tvb_memcpy. Make indentation consistent. Add TDS support to randpkt. Most of the generated packets won't pass the heuristic checks, but enough should make it through to adequately test the dissector. svn path=/trunk/; revision=6653
2002-11-17update for gui version of io-statRonnie Sahlberg2-16/+76
the graph now has a scrollbar one can use to scroll the graph window svn path=/trunk/; revision=6652
2002-11-17Some more small changes for HyperSCSI.Richard Sharpe1-3/+4
svn path=/trunk/; revision=6651
2002-11-16If you include "gtk/gtkglobals.h" before including <ctype.h>, at leastGuy Harris1-1/+4
on Windows in my build environment, the definition of "isprint" in "gtk/gtkglobals.h" causes problems when processing the definition of "isprint" in <ctype.h>, and, somehow, <ctype.h> appears to get included, at least in Windows in my build environment, after we include "gtk/gtkglobals.h" even though we don't include it explicitly. Include it explicitly, before we include "gtk/gtkglobals.h", so that it compiles. svn path=/trunk/; revision=6650
2002-11-16At least in my compile environment, we don't need "inet_v6defs.h" toGuy Harris1-5/+1
compile "epan/packet.c", and including it without including <winsock2.h> before it means that, as <winsock2.h> appears to get included after we include "inet_v6defs.h", we get complaints about a redefinition of AF_INET6; removing the include of "inet_v6defs.h" sqelches that warning. If we *do* need "inet_v6defs.h" on some platforms, put it back, but put in an include of <winsock2.h> before it, to keep the warning away - if we ever use AF_INET6 in "epan/packet.c", we want to use the one from <winsock2.h> if it defines it, as that's what the rest of Ethereal uses. svn path=/trunk/; revision=6649
2002-11-16There's no need to include "prefs.h" unless we're actually exporting theGuy Harris1-8/+8
big table of functions - we don't use the preferences code, we just export routines from it. There is, however, a need to include "reassemble.h" if we're doing so, as some of the functions we export take a "fragment_data *" as an argument, and "fragment_data" is defined in "reassemble.h". The members of "patable" should be set to point to functions, and "p_prefs_register_obsolete_preference" isn't a function - "prefs_register_obsolete_preference" is. Get rid of extra white space at the ends of lines. svn path=/trunk/; revision=6648
2002-11-16AIX's tcpdump has the same annoying habit as AIX's iptrace of putting 3Guy Harris1-1/+24
bytes of padding in front of FDDI frames; strip it off. svn path=/trunk/; revision=6647
2002-11-16 io-stat. Previously io-stat was hardcoded to calculate the statistics ↵Ronnie Sahlberg1-26/+116
over 1 second intervals. Now there is a menu to control the length of ther measurement intervals from 10ms to 1 sec. svn path=/trunk/; revision=6646
2002-11-16When processing a response, handle the case where the parameterGuy Harris1-18/+67
descriptor of the matching request is missing, e.g. because the frame was too short but not so sort that the entire request was missing. Clean up the handling of the case where the parameter descriptor isn't missing but the data descriptor was. If we can't dissect the response data due to a missing descriptor, at least create *some* item for the data. svn path=/trunk/; revision=6645
2002-11-16From Dave Richards: support BACNET over 802.2.Guy Harris5-3/+13
svn path=/trunk/; revision=6644
2002-11-16More of the HyperSCSI protocol.Richard Sharpe1-7/+129
svn path=/trunk/; revision=6643
2002-11-16Some more HyperSCSI bits.Richard Sharpe1-1/+5
svn path=/trunk/; revision=6642
2002-11-15New gtk1/gtk2 compatibility macros used for menu entries.Olivier Abad2-312/+257
svn path=/trunk/; revision=6641
2002-11-15New protocol: Stub dissector for ClearCase NFS protocolRonnie Sahlberg4-2/+116
svn path=/trunk/; revision=6640
2002-11-15In gtk2 code :Olivier Abad3-35/+67
gdk_font_from_description() may return NULL if no GdkFont matching a PangoFontDescription can be loaded. Replace primitives using GdkFonts (gdk_string_width, gdk_draw_string) with their pango equivalent (pango_layout_get_pixel_size, gdk_draw_layout). svn path=/trunk/; revision=6639
2002-11-15From Taisuke Sasaki:Guy Harris2-5/+5
In OSPF(both OSPFv2 and OSPFv3), I think it is popular that 1) LS Sequence is represented in %0x08x format 2) External Route Tag is represented in %u format svn path=/trunk/; revision=6638
2002-11-15Clean up the GTK+ 1.2[.x] menu items. (This really calls for anotherGuy Harris1-9/+9
"compat_macros.h" macro....) Add some comments on #else's and #endif's to make it a bit easier to follow the twisty maze. svn path=/trunk/; revision=6637
2002-11-15Gtk1 version of io-statRonnie Sahlberg4-40/+65
svn path=/trunk/; revision=6636
2002-11-15Update to LSA_DS from Jim McDonoughRonnie Sahlberg1-6/+99
svn path=/trunk/; revision=6635
2002-11-15Added constants for devicemode fields.Tim Potter1-1/+37
svn path=/trunk/; revision=6634
2002-11-15From Chris Waters: export "find_dissector_table()" and addGuy Harris3-3/+18
"dissector_handle_get_protocol_index()". svn path=/trunk/; revision=6633
2002-11-14Only display errors in SMB headers in the COL_INFO field. This getsTim Potter1-2/+2
rid of the annoying STATUS_BUFFER_OVERFLOW messages when dissecting large DCERPC responses as a buffer overflow is only a informational message not an error. svn path=/trunk/; revision=6632
2002-11-14From Andrew Esh: typo fix in iSCSI dissector.Guy Harris2-2/+3
svn path=/trunk/; revision=6631
2002-11-14From Tomas Kukosa: export more routines to plugins.Guy Harris6-17/+168
svn path=/trunk/; revision=6630
2002-11-14Feature for Gtk2: GUI version of IO-STAT. Looks reasonable with one graph. ↵Ronnie Sahlberg5-4/+1020
Looks "sub-optimal" with multiple graphs overwriting eachothers. We can just delete it later if it cant be improved visually. svn path=/trunk/; revision=6629
2002-11-14Make the list of dissectors match the one for UNIX builds.Guy Harris1-1/+2
svn path=/trunk/; revision=6628
2002-11-14Make "tethereal-tap-register.c" and "ethereal-tap-register.c" depend onGuy Harris2-4/+4
the script that builds them. svn path=/trunk/; revision=6627
2002-11-14From Didier Gautheron: make the rule to build "ethereal-tap-register.c"Guy Harris2-3/+4
work when a build is done outside the source tree, and make "ethereal-tap-register.c" depend on the script that builds it. svn path=/trunk/; revision=6626
2002-11-14Add the actual dissector for HyperSCSI.Richard Sharpe1-0/+99
svn path=/trunk/; revision=6625
2002-11-14Add HyperSCSI support. SCSI over ethernet.Richard Sharpe1-1/+2
svn path=/trunk/; revision=6624
2002-11-14This patch adds dissection of DsRoleGetPrimaryDomainInfo to theRichard Sharpe1-3/+170
dcerpc-lsa-ds dissector. From Jim McDonough svn path=/trunk/; revision=6623
2002-11-14Typo fixes, from Brian Ginsbach.Guy Harris1-2/+2
svn path=/trunk/; revision=6622
2002-11-13From Brian Ginsbach: upport for additional snoop file encapsulations inGuy Harris2-4/+5
UNICOS/mp. svn path=/trunk/; revision=6621
2002-11-13From Brian Ginsbach: add a new "dissect_rpc_bytes()" routine to allowGuy Harris6-12/+384
fixed-length opaque data to be dissected, and add support for SGI's variant of the ONC RPC mount protocol. svn path=/trunk/; revision=6620
2002-11-13From Andreas Trauer:Guy Harris1-9/+8
- more typos corrected - changed "Teardown indication" to "Teardown Indicator" The official name is Teardown Ind, but 3GPP TS 29.060 also refers to it as Teardown Indicator - bugfix: I had moved the call to col_append_str_gtp() one bracket too far resulting in display of "GTP <GTP>" or "GTP-U <GTP-C>". svn path=/trunk/; revision=6619
2002-11-12From Ronald Henderson: in LDAP dissector, handle Sequence Of headerGuy Harris3-2/+33
being split across TCP segments. svn path=/trunk/; revision=6618
2002-11-11Instead of tweaking a "Protocol configuration options" extension headerGuy Harris5-50/+62
item to look more-or-less like a PPP packet, just dissect it in place and hand off to the appropriate subdissector using the PPP dissector's handoff table (which we export, along with its value_string table for protocol IDs, which we use to report the protocol ID symbolically). This means there's no point in having a configurable option to control whether to do that tweaking; make it an obsolete option. Bring "col_get_writable()" back from the dead, and have the GTP dissector save the current "writable" flag for columns, mark the columns non-writable before calling the subdissector for the PPP configuration protocol, and restore the state of the writable flag, rather than putting the columns back after the PPP configuration protocol's dissector is done. Fix some more typos in comments. Don't register the IP dissector in the "ppp.protocol" table in the GTP dissector's handoff registration routine - it's already being done in the IP dissector's handoff routine. Fix the name for CHAP to match what RFC 1994 calls it (if the name changed, it should be changed in all places, but, at least according to this message, a while ago, from Bob Sutterfield, "since the RFC defines the protocol, the RFC defines the name": http://mail-index.netbsd.org/netbsd-help/1996/05/16/0011.html and the RFC defines the name as "PPP Challenge Handshake Authentication Protocol (CHAP)"). svn path=/trunk/; revision=6617
2002-11-11Use gtk1/gtk2 compatibility macros.Olivier Abad3-32/+23
svn path=/trunk/; revision=6616
2002-11-11In the gtk2 port, make double click in the tree view expand or collapseOlivier Abad2-38/+58
a row. svn path=/trunk/; revision=6615
2002-11-11From Andreas Trauer:Guy Harris2-25/+10
- correct typos in comments - remove obsoleted definition of GTP_PPP_0x00, ... - remove distinction between GTP and PPP for col_append_str_gtp(), because this layer is GTP (or GTP-U), but never PPP svn path=/trunk/; revision=6614
2002-11-11"#ifdef" doesn't take Boolean expressions as arguments; use "#ifGuy Harris1-2/+2
defined(A) && defined(B)" to check whether both A and B are defined. svn path=/trunk/; revision=6613
2002-11-11"gtk_quit_add_destroy()" takes a "GtkObject *" as its second argument inGuy Harris1-2/+2
both GTK+ 1.2[.x] and 2.x, so put the "GTK_OBJECT()" cast back in to squelch a compiler warning. svn path=/trunk/; revision=6612
2002-11-11Put in some missing macros needed for recent changes.Guy Harris1-4/+22
svn path=/trunk/; revision=6611
2002-11-11Use gtk1/gtk2 compatibility macros to reduce #ifdefs.Olivier Abad24-1381/+582
svn path=/trunk/; revision=6610
2002-11-11Replace gtk_rpcprogs_init with gtk_rpcprogs_cb in the gtk2 menu entry.Olivier Abad1-2/+2
svn path=/trunk/; revision=6609
2002-11-11Ignore Makefile{,.in}Tim Potter1-0/+2
svn path=/trunk/; revision=6608
2002-11-11Convert getprinter info 0, 1, 2, 3 to dissect_ndr routines. Hooray!Tim Potter1-262/+891
The old prs_DEVMODE function is still used by something else for the moment. svn path=/trunk/; revision=6607
2002-11-10Add tethereal's tap objects to Makefile.nmake's "clean" target.Gerald Combs4-43/+32
Instead of setting MIBDIRS in tethereal.c and gtk/main.c, set it in packet-snmp.c. svn path=/trunk/; revision=6606
2002-11-10Update comments to reflect some information inferred from the SnifferGuy Harris1-7/+20
documentation. svn path=/trunk/; revision=6605
2002-11-10Display the call reference flag, and don't include that bit in the callGuy Harris1-3/+16
reference value. svn path=/trunk/; revision=6604