Commit graph

6628 commits

Author SHA1 Message Date
Jörg Mayer
2eac764526 Created with revised make-manuf
svn path=/trunk/; revision=6663
2002-11-19 09:55:08 +00:00
Jörg Mayer
8465963df9 Reduce label length to 10
svn path=/trunk/; revision=6662
2002-11-19 09:47:37 +00:00
Ronnie Sahlberg
8eb275cdb3 put nice io-stat title on the io-stat window
svn path=/trunk/; revision=6661
2002-11-19 08:10:13 +00:00
Tim Potter
73b034105b Fixed typo in dsrole basic domain info tree.
svn path=/trunk/; revision=6660
2002-11-19 05:28:16 +00:00
Tim Potter
2ca021395a Some more spoolss ndr conversions. OpenPrinterEx now decodes it's
arguments correctly.  There's a string datatype, a devicemode
container with a possibly null devicemode, and a "user level"
structure, whatever that is.

svn path=/trunk/; revision=6659
2002-11-19 05:25:04 +00:00
Tim Potter
bf87f85692 Fix dissection of printer info levels 0-3 which has been broken for a
while.  Also convert to dissect_ndr_* functions instead of old-style
prs_* functions.

Converted devicemode dissection to ndr functions as well.  There are
still a bunch of value_strings that can be written to decode some of
the constants here.

svn path=/trunk/; revision=6658
2002-11-19 03:01:18 +00:00
Uwe Girlich
7ce73d7ca8 add Martin Regner as author
svn path=/trunk/; revision=6657
2002-11-18 15:49:07 +00:00
Uwe Girlich
b0aa273e17 Martin Regner added
svn path=/trunk/; revision=6656
2002-11-18 15:42:47 +00:00
Uwe Girlich
c84b7e9620 Since packet-rpc.c 1.56 (ethereal 0.8.18), we store in
dissect_rpc_opaque_data() the actual bytes into the dissector data tree
(improves searching). But if we only give the string "<DATA>" to the
proto_tree_add_* functions and tell it at the same time, that we have indeed
string_length_copy bytes, this leads to problems.

Correction: give the pointer into the real data and not the pointer to the
print string to the proto_tree_add_string_format() and
proto_tree_add_bytes_format() functions.

The correction was found by Martin Regner.

svn path=/trunk/; revision=6655
2002-11-18 09:35:29 +00:00
Jörg Mayer
4bd37c8dde Do some pretty-printing on the manufacturer names returned by the IEEE
and CaveBear OUI lists:
- Remove punctuation
- Remove fill words (including the, inc, plc, ...)
- Capitalize each word at the beginning (and only there)
- Replace SPACE by _
- Restrict length to 20 characters

svn path=/trunk/; revision=6654
2002-11-18 02:49:36 +00:00
Gerald Combs
b823ff306a Clean up the TDS dissector a bit. Change a lot of signed ints to
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-17 21:47:41 +00:00
Ronnie Sahlberg
31f4e6b38f update for gui version of io-stat
the graph now has a scrollbar one can use to scroll the graph window

svn path=/trunk/; revision=6652
2002-11-17 11:43:40 +00:00
Richard Sharpe
7e9eec22c8 Some more small changes for HyperSCSI.
svn path=/trunk/; revision=6651
2002-11-17 03:24:37 +00:00
Guy Harris
cb7215b486 If you include "gtk/gtkglobals.h" before including <ctype.h>, at least
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-16 21:40:32 +00:00
Guy Harris
0ca2637951 At least in my compile environment, we don't need "inet_v6defs.h" to
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-16 21:36:39 +00:00
Guy Harris
bb928b0c93 There's no need to include "prefs.h" unless we're actually exporting the
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-16 21:32:06 +00:00
Guy Harris
2fed18defb AIX's tcpdump has the same annoying habit as AIX's iptrace of putting 3
bytes of padding in front of FDDI frames; strip it off.

svn path=/trunk/; revision=6647
2002-11-16 20:20:30 +00:00
Ronnie Sahlberg
1e41b7480d io-stat. Previously io-stat was hardcoded to calculate the statistics 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-16 11:45:58 +00:00
Guy Harris
a6454699a1 When processing a response, handle the case where the parameter
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-16 09:37:15 +00:00
Guy Harris
6af38451a2 From Dave Richards: support BACNET over 802.2.
svn path=/trunk/; revision=6644
2002-11-16 08:55:13 +00:00
Richard Sharpe
c95465f91b More of the HyperSCSI protocol.
svn path=/trunk/; revision=6643
2002-11-16 08:33:53 +00:00
Richard Sharpe
f43dded1df Some more HyperSCSI bits.
svn path=/trunk/; revision=6642
2002-11-16 08:25:35 +00:00
Olivier Abad
380bd12489 New gtk1/gtk2 compatibility macros used for menu entries.
svn path=/trunk/; revision=6641
2002-11-15 23:50:06 +00:00
Ronnie Sahlberg
cf6ddd5b77 New protocol: Stub dissector for ClearCase NFS protocol
svn path=/trunk/; revision=6640
2002-11-15 22:45:52 +00:00
Olivier Abad
0ec7f232e2 In gtk2 code :
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-15 22:21:15 +00:00
Guy Harris
5107095490 From Taisuke Sasaki:
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-15 18:50:47 +00:00
Guy Harris
fb67329086 Clean up the GTK+ 1.2[.x] menu items. (This really calls for another
"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-15 18:45:18 +00:00
Ronnie Sahlberg
a361b76756 Gtk1 version of io-stat
svn path=/trunk/; revision=6636
2002-11-15 10:55:19 +00:00
Ronnie Sahlberg
a68b16ea5a Update to LSA_DS from Jim McDonough
svn path=/trunk/; revision=6635
2002-11-15 08:46:42 +00:00
Tim Potter
f861671a5a Added constants for devicemode fields.
svn path=/trunk/; revision=6634
2002-11-15 04:55:36 +00:00
Guy Harris
1c81a6168b From Chris Waters: export "find_dissector_table()" and add
"dissector_handle_get_protocol_index()".

svn path=/trunk/; revision=6633
2002-11-15 03:10:36 +00:00
Tim Potter
a20ae99262 Only display errors in SMB headers in the COL_INFO field. This gets
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-14 23:14:14 +00:00
Guy Harris
e079796e86 From Andrew Esh: typo fix in iSCSI dissector.
svn path=/trunk/; revision=6631
2002-11-14 19:08:17 +00:00
Guy Harris
71f6ebae44 From Tomas Kukosa: export more routines to plugins.
svn path=/trunk/; revision=6630
2002-11-14 18:54:53 +00:00
Ronnie Sahlberg
76f5391acc Feature for Gtk2: GUI version of IO-STAT. Looks reasonable with one graph. 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-14 10:32:22 +00:00
Guy Harris
81022063fc Make the list of dissectors match the one for UNIX builds.
svn path=/trunk/; revision=6628
2002-11-14 08:10:51 +00:00
Guy Harris
bbb2129ab2 Make "tethereal-tap-register.c" and "ethereal-tap-register.c" depend on
the script that builds them.

svn path=/trunk/; revision=6627
2002-11-14 08:09:35 +00:00
Guy Harris
f002ffd9ce From Didier Gautheron: make the rule to build "ethereal-tap-register.c"
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-14 08:07:12 +00:00
Richard Sharpe
08a5409f1a Add the actual dissector for HyperSCSI.
svn path=/trunk/; revision=6625
2002-11-14 07:55:42 +00:00
Richard Sharpe
6485d818d6 Add HyperSCSI support. SCSI over ethernet.
svn path=/trunk/; revision=6624
2002-11-14 07:54:48 +00:00
Richard Sharpe
a036e763d9 This patch adds dissection of DsRoleGetPrimaryDomainInfo to the
dcerpc-lsa-ds dissector.

From Jim McDonough

svn path=/trunk/; revision=6623
2002-11-14 04:39:39 +00:00
Guy Harris
934cdfdfe5 Typo fixes, from Brian Ginsbach.
svn path=/trunk/; revision=6622
2002-11-14 02:31:26 +00:00
Guy Harris
bb240540bd From Brian Ginsbach: upport for additional snoop file encapsulations in
UNICOS/mp.

svn path=/trunk/; revision=6621
2002-11-13 21:49:58 +00:00
Guy Harris
809e8cc5b5 From Brian Ginsbach: add a new "dissect_rpc_bytes()" routine to allow
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-13 21:45:59 +00:00
Guy Harris
4943cc7e76 From Andreas Trauer:
- 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-13 09:01:08 +00:00
Guy Harris
99a0902ae1 From Ronald Henderson: in LDAP dissector, handle Sequence Of header
being split across TCP segments.

svn path=/trunk/; revision=6618
2002-11-12 21:37:35 +00:00
Guy Harris
5ae19d6256 Instead of tweaking a "Protocol configuration options" extension header
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-11 19:23:14 +00:00
Olivier Abad
3cd4fed22d Use gtk1/gtk2 compatibility macros.
svn path=/trunk/; revision=6616
2002-11-11 18:57:00 +00:00
Olivier Abad
189640857a In the gtk2 port, make double click in the tree view expand or collapse
a row.

svn path=/trunk/; revision=6615
2002-11-11 18:46:16 +00:00
Guy Harris
d30c672c9d From Andreas Trauer:
- 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 17:41:37 +00:00