Commit Graph

8932 Commits

Author SHA1 Message Date
Guy Harris 69f30a1f12 "dissect_mailslot_browse()", "dissect_mailslot_lanman()", and
"dissect_smb_logon()" always return TRUE, so just get rid of their
return value.

"call_dissector()" automatically calls the data dissector if the
protocol for the dissector being called is disabled, so we don't have to
check its result and call the data dissector if it returns 0.

svn path=/trunk/; revision=9027
2003-11-19 03:53:33 +00:00
Guy Harris 2030e7e74b Register the MMSE dissector with the "http.content_type" dissector
table, rathe than as a heuristic subdissector of HTTP.

svn path=/trunk/; revision=9026
2003-11-19 02:58:02 +00:00
Guy Harris 81ff12e4aa Use "OK" for the "OK" button, as we do elsewhere.
svn path=/trunk/; revision=9025
2003-11-19 01:50:50 +00:00
Guy Harris de402f57a6 From Olivier Biot:
Implement quoted-string parsing by appending the closing quote
	to the string value.  If the quoted-string value does not start
	with a quote, dissection resumes but a warning is displayed.
	Textual headers are assumed to be 0x00 terminated (otherwise we
	have a malformed packet or a short frame).

	The Trailer header is also dissected now, and the charset
	parameter dissection has been rewritten.

	The Content-ID header dissector was registered at the place of
	the Trailer dissector; this has also been fixed.

svn path=/trunk/; revision=9024
2003-11-19 01:45:26 +00:00
Guy Harris 715afef7df From Michael Lum: fix param_digits() subtree for "Nature of Number".
svn path=/trunk/; revision=9023
2003-11-19 01:39:50 +00:00
Ulf Lamping 34dfb0b3d0 redraw supported_protos dialog, if GUI prefs changed
svn path=/trunk/; revision=9022
2003-11-19 00:10:25 +00:00
Ulf Lamping 007b97900c added supported_protos menu item
svn path=/trunk/; revision=9021
2003-11-19 00:04:15 +00:00
Ulf Lamping 3aad138c1b added supported_protos_dlg
svn path=/trunk/; revision=9020
2003-11-19 00:02:42 +00:00
Ulf Lamping 0d636117a1 added supported_protos_dlg.obj
svn path=/trunk/; revision=9019
2003-11-19 00:01:38 +00:00
Ulf Lamping afafa5fd36 seperated "supported protocols and protocol fields" dialog, coming from help_dlg.c/.h
svn path=/trunk/; revision=9018
2003-11-18 23:56:45 +00:00
Ulf Lamping 7cf8e7425d generate "static" help content
svn path=/trunk/; revision=9017
2003-11-18 23:40:12 +00:00
Ulf Lamping 0c5731a50a "static content" and make environment of redesigned online help
svn path=/trunk/; revision=9016
2003-11-18 23:11:49 +00:00
Guy Harris 4b24ca41ff From Greg Morris:
dissect the RFC 2610 DHCP options for SLP;

	dissect Novell-specific options 85, 86, and 87.

svn path=/trunk/; revision=9015
2003-11-18 19:56:37 +00:00
Guy Harris c3c1e2a7c6 From Lars Roland: the window size passed to
"tcp_analyze_sequence_number()" is a "guint32", as it might be scaled -
make the arugment a "guint32" as well.

svn path=/trunk/; revision=9014
2003-11-18 19:46:41 +00:00
Guy Harris 6811485d3b Get rid of the second "col_set_fence()" entry.
svn path=/trunk/; revision=9013
2003-11-18 19:36:02 +00:00
Guy Harris 3d0f23f569 The second of the "col_set_fence()" entries is the one that should've
been removed; that way, the ordinals of existing entries in the function
vector is preserved.

svn path=/trunk/; revision=9012
2003-11-18 19:34:43 +00:00
Guy Harris a98138bd48 From Lars Roland: put missing "enttec" into "all" list.
svn path=/trunk/; revision=9011
2003-11-18 19:31:51 +00:00
Ulf Lamping 1aacb3f060 removed MSVC compiler warnings
svn path=/trunk/; revision=9010
2003-11-18 19:29:07 +00:00
Guy Harris 68244882c4 From Matthias Drochner:
extensions need only be a multiple of 4 bytes in length, not 8
	bytes;

	put in a missing increment of "offset".

svn path=/trunk/; revision=9009
2003-11-18 19:28:24 +00:00
Ulf Lamping 02b9fb53cc removed unused vars
svn path=/trunk/; revision=9008
2003-11-18 19:27:39 +00:00
Ulf Lamping 5d394a177b col_set_fence occurs twice, removed one appearance
svn path=/trunk/; revision=9007
2003-11-18 19:26:26 +00:00
Guy Harris 0bd646058d From Tomas Kukosa: add "extern"s so that the plugin API stuff works.
svn path=/trunk/; revision=9006
2003-11-18 19:20:36 +00:00
Ulf Lamping a89e8b6c5a includes changed, to be working with MSVC also
svn path=/trunk/; revision=9005
2003-11-18 19:20:15 +00:00
Ulf Lamping 584550018e corrected cut and paste errors, makefile was unchanged copied from rtnet
svn path=/trunk/; revision=9004
2003-11-18 19:18:45 +00:00
Guy Harris bf31e57829 Add "col_get_writable()", "col_set_writable()", and "col_set_fence()" to
the plugin API list.

svn path=/trunk/; revision=9003
2003-11-18 08:59:03 +00:00
Guy Harris 42d35d6cd3 Export "protocol_t" as an opaque type.
Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()"
take a "protocol_t *" as an argument, so they don't have to look up the
"protocol_t" - this will probably speed them up considerably, and
they're called on almost every dissector handoff.

Get rid of a number of "proto_is_protocol_enabled()" calls that aren't
necessary (dissectors called through handles, including those called
through dissector tables, or called as heuristic dissectors, aren't even
called if their protocol isn't enabled).

Change some direct dissector calls to go through handles.

svn path=/trunk/; revision=9002
2003-11-18 08:58:09 +00:00
Guy Harris 240c946b82 From Olivier Biot: add a "--enable-profile-build" flag to request that
"-pg" binaries be built.

svn path=/trunk/; revision=9001
2003-11-18 08:13:10 +00:00
Guy Harris 5867439498 Content-Type values are case-insensitive; force them to lower case
(subdissectors must register their Content-Type values as
all-lower-case).

Don't include parameters in the value we look up in the Content-Type
subdissector table.

svn path=/trunk/; revision=9000
2003-11-18 08:04:39 +00:00
Guy Harris 270f71cf40 Add an "http.content_type" dissector table,
Process the Content-Type header, and, if one is found, look up its value
in the aforementioned dissector table.

svn path=/trunk/; revision=8999
2003-11-18 07:49:52 +00:00
Guy Harris 06e4875bf8 Handle concatenated SPDUs.
Handle the Serial Number parameter.

svn path=/trunk/; revision=8998
2003-11-18 07:08:43 +00:00
Guy Harris 6e5f8fa65c Latest config.guess and config.sub from
http://savannah.gnu.org/projects/config/

svn path=/trunk/; revision=8997
2003-11-18 06:31:37 +00:00
Ulf Lamping 4d0f00fe32 removed MSVC warnings
svn path=/trunk/; revision=8996
2003-11-18 06:06:41 +00:00
Gerald Combs 6ae720789b Document the capture filter changes that were just checked in.
svn path=/trunk/; revision=8995
2003-11-18 04:19:48 +00:00
Gerald Combs fee0d98c18 Check the environment variables SSH_CONNECTION, SSH_CLIENT, REMOTEHOST,
DISPLAY, and CLIENTNAME (in that order).  If any of them are set, create
a capture filter that excludes their traffic and set it as the default.
The longer filters should be efficient without being overly long; they
may need some tweaking.

svn path=/trunk/; revision=8994
2003-11-18 04:16:28 +00:00
Ulf Lamping 3b0e3efce4 removed some warnings
svn path=/trunk/; revision=8993
2003-11-18 00:46:40 +00:00
Ronnie Sahlberg 8acd679327 updates to ip_to_str[_buf]() to make them faster.
This functin was in a recent profiling run the fifth most expensive function.
It consumed ~3.5% of the total cpu in that run.

Using a static table this function is now just over twice as fast as previously.

My testrun calling it 10.000.000 times in a loop changed the execution time from ~17.3s ro ~8.2s

If this test was representative for the speedup and if ~3.5 in the profile run
was representative for normal cases this should make ethereal ~1.8% faster.
Woohoo.
(low hanging fruit)

svn path=/trunk/; revision=8992
2003-11-17 22:56:45 +00:00
Guy Harris 7952d0627a Fix the copyright notices (Gerald has the copyright on Ethereal).
svn path=/trunk/; revision=8991
2003-11-17 22:34:25 +00:00
Guy Harris 48e2a1b3eb Tweak the introductory comment.
svn path=/trunk/; revision=8990
2003-11-17 22:31:27 +00:00
Guy Harris e3a99fe8dc Fix the .cvsignore files.
svn path=/trunk/; revision=8989
2003-11-17 22:29:21 +00:00
Guy Harris 9da9dcd747 From Erwin Rol: check the checksum in RDM packets.
svn path=/trunk/; revision=8988
2003-11-17 22:26:57 +00:00
Guy Harris 51664ea152 From Lo�c Minier: append $(EXEEXT) to the names of binaries, so that
the configure script generates the right executable image file names on
Cygwin.

svn path=/trunk/; revision=8987
2003-11-17 22:09:16 +00:00
Guy Harris 3bdc7401db From Lars Roland: use the c= and m= information to set up conversations
to use RTP/RTCP.

svn path=/trunk/; revision=8986
2003-11-17 21:52:35 +00:00
Guy Harris 33629cc801 From Erwin Rol: initial ENTTEC support and RDM support.
svn path=/trunk/; revision=8985
2003-11-17 20:57:14 +00:00
Guy Harris dc69087b0c Not all compilers allow array/structure/union members of automatic
variables to be initialized to non-constant values (C89 says that "All
the expressions in an initializer for an object that has static storage
duration or in an initializer list for an object that has aggregate or
union type shall be constant expressions"; presumably the intent of the
former was to avoid run-time initialization and of the latter was to let
the initialization be done by copying from a compile-time-created blob
of memory), so we have to initialize "info->counts" by hand.

svn path=/trunk/; revision=8984
2003-11-17 20:00:37 +00:00
Guy Harris 08f3ea2cf3 Fix a typo.
svn path=/trunk/; revision=8983
2003-11-17 19:40:09 +00:00
Ulf Lamping 1a209c1d3e added ETHERTYPE_PROFINET
svn path=/trunk/; revision=8982
2003-11-17 18:23:34 +00:00
Guy Harris 02a954efe3 "capture()" takes a "struct pcap_stat *" argument, so you need to
include <pcap.h> before including "capture.h".

Include "dlg_utils.h" to declare "dlg_set_cancel()".

svn path=/trunk/; revision=8981
2003-11-17 00:27:33 +00:00
Guy Harris d9ad0a2062 Get rid of a no-longer-used variable.
svn path=/trunk/; revision=8980
2003-11-17 00:26:30 +00:00
Guy Harris 7bd2e232a9 Export "protocol_t" as an opaque type.
Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()"
take a "protocol_t *" as an argument, so they don't have to look up the
"protocol_t" - this will probably speed them up considerably, and
they're called on almost every dissector handoff.

Get rid of a number of "proto_is_protocol_enabled()" calls that aren't
necessary (dissectors called through handles, including those called
through dissector tables, or called as heuristic dissectors, aren't even
called if their protocol isn't enabled).

Change some direct dissector calls to go through handles.

svn path=/trunk/; revision=8979
2003-11-16 23:17:27 +00:00
Ronnie Sahlberg 21313199e4 From Lars Roland Service Response times for H225 RAS
svn path=/trunk/; revision=8978
2003-11-16 23:11:20 +00:00