Commit Graph

9289 Commits

Author SHA1 Message Date
Guy Harris cc500abd21 Use a value_string table for the Status field.
svn path=/trunk/; revision=9336
2003-12-18 00:25:24 +00:00
Guy Harris fe3d05f73e The "cmd" members of "smb_saved_info_t" and "smb_info_t" structures
always contain an SMB command code (SMB requests and responses both have
command codes, so there's no "unknown" out-of-band value); make it a
"guint8".

Make the argument to "decode_smb_name()" a "guint8" as an SMB command
code is passed to it ("guint8" and "unsigned char" are the same types on
all platforms we're likely to deal with, so it's a cosmetic change, not
a semantic one).

Put in an extra "GPOINTER_TO_UINT()" call before casting
"si->sip->extra_info" to "guint16", to squelch compiler warnings.

svn path=/trunk/; revision=9335
2003-12-18 00:18:55 +00:00
Guy Harris a42bed905d Make packet offsets "gint"s rather than "guint8"s.
svn path=/trunk/; revision=9334
2003-12-17 23:54:44 +00:00
Ulf Lamping 1a2ecc19c3 removed some more MSVC warnings (type casting), GTK2 specific
svn path=/trunk/; revision=9333
2003-12-17 23:41:10 +00:00
Ulf Lamping bdcf77c036 removed some more MSVC warnings (type casting)
svn path=/trunk/; revision=9332
2003-12-17 23:35:29 +00:00
Olivier Biot 74f1e5b91b Update the "matches" explanation as it now also works for protocol fields
(FT_TVBUFF). Thanks libpcre for allowing pattern matching in binary data!

svn path=/trunk/; revision=9331
2003-12-17 23:24:49 +00:00
Olivier Biot 8d6c6099d9 Get rid of unused registered header fields. Some white-space changes.
svn path=/trunk/; revision=9330
2003-12-17 22:43:21 +00:00
Olivier Biot d9d5a1e44d Add protocols to the header fields for which the "matches" operator can be
appliedi (PCRE). In fact, all FT_TVBUFF fields.

svn path=/trunk/; revision=9329
2003-12-17 22:42:02 +00:00
Guy Harris 2f2574ca0e Only dissect the key in TKEY RRs if it's present (i.e., has a non-zero
length) - zero-length keys "shouldn't happen", but what the heck....

svn path=/trunk/; revision=9328
2003-12-17 22:30:42 +00:00
Guy Harris ac48df79f2 From Lars Roland: have common code to handle display filter dialogs in
taps, and use that in the H.225 taps.

svn path=/trunk/; revision=9327
2003-12-17 22:13:08 +00:00
Ulf Lamping 1f97bdc27a removed some more MSVC warnings (type casting)
svn path=/trunk/; revision=9326
2003-12-17 22:11:43 +00:00
Ulf Lamping b425517c70 renamed some defines SERVICE_xy to SVCCTL_SERVICE_xy to avoid
"duplicate definition" warnings with win32's winsvc.h

svn path=/trunk/; revision=9325
2003-12-17 21:34:44 +00:00
Guy Harris 4e67fd6bf6 Set "print_args" regardless of whether we're printing the packet detail
or not - it's used if we're printing the hex data.

svn path=/trunk/; revision=9324
2003-12-17 21:11:25 +00:00
Guy Harris 87a30b5b32 From Anders Broman: add a preference setting for the RTSP TCP port.
svn path=/trunk/; revision=9323
2003-12-17 21:03:15 +00:00
Guy Harris 9ee50c5660 There's no need for the "content_type_exist" variable - we can just
check whether "media_type_str" is null.

svn path=/trunk/; revision=9322
2003-12-17 20:52:38 +00:00
Guy Harris 92efccb711 From Anders Broman:
check that there *is* a content type string before using it;

	get rid of some incomplete code for multipart/mixed (it set some
	variables but didn't use them);

	add some incomplete code for handling parameters to Content-Type.

svn path=/trunk/; revision=9321
2003-12-17 20:39:31 +00:00
Guy Harris 1f4d9672ad Get rid of an unused value_string table and unused #defines.
svn path=/trunk/; revision=9320
2003-12-17 20:30:56 +00:00
Ulf Lamping 55e4a8112f removed some MSVC warnings (casting gdouble to gint, which is ok)
svn path=/trunk/; revision=9319
2003-12-17 20:28:49 +00:00
Ulf Lamping c9b6a1bc6c added missing rule for v5ua plugin
svn path=/trunk/; revision=9318
2003-12-17 18:05:27 +00:00
Guy Harris 32b0480d71 For unknown key IDs, show the algorithm symbolically if possible.
svn path=/trunk/; revision=9317
2003-12-17 08:59:15 +00:00
Guy Harris 1ec0e734c0 Update a comment.
svn path=/trunk/; revision=9316
2003-12-17 08:51:36 +00:00
Guy Harris 6b42b76140 Give the key and other lengths and data names that match the names in
RFC 2930.

svn path=/trunk/; revision=9315
2003-12-17 08:40:56 +00:00
Guy Harris 7e7d9b51fa Put the key and other lengths into the protocol tree for TKEY RRs.
svn path=/trunk/; revision=9314
2003-12-17 08:34:07 +00:00
Guy Harris ccf7ade467 Pass "attr_info" to "rd_value_to_str()" - don't look it up again in
"rd_value_to_str()".

Handle a null return from "find_radius_attr_info()".

We don't have to reserve a value type of 0 for "not found in the table"
- a null return from "find_radius_attr_info()" indicates that.

Hoist the code to make the top-level item for an AVP above the check for
an EAP message.

svn path=/trunk/; revision=9313
2003-12-17 07:05:22 +00:00
Guy Harris c91e87c84b Make Makefile.am and Makefile.nmake match those for other plugins.
svn path=/trunk/; revision=9312
2003-12-17 07:02:12 +00:00
Guy Harris 2df96b563e From Christoph Neusch: V5UA support.
From Anders Broman: patches to various makefiles and configure scripts
to build the V5UA dissector, and patches to make it compile.

From me: .cvsignore file, and NSIS patches.

svn path=/trunk/; revision=9311
2003-12-17 05:16:21 +00:00
Guy Harris c642c44ad8 Fix more "CPPLAGS" typoes.
svn path=/trunk/; revision=9310
2003-12-17 02:41:04 +00:00
Guy Harris 8b7cf57054 From Albert Chin: fix for the following:
The PCRE test in acinclude.m4 and epan/acinclude.m4 don't work
	if PCRE exists in a non-system directory.  The problem is that
	LDFLAGS and LIBS are set incorrectly.  LIBS shouldn't contain -L
	arguments.

svn path=/trunk/; revision=9309
2003-12-17 02:36:56 +00:00
Guy Harris 653af411dd According to RFC 2868, a tag value of 0 is not valid for a string - we
just treat a 0 tag byte as the first byte of the string.

svn path=/trunk/; revision=9308
2003-12-17 02:24:53 +00:00
Guy Harris 5725e34ef4 Call the "type" member of a "radius_attr_info" structure "value_type"
(as it's the type of the value for that attribute, e.g. integer, string,
binary string, time, ...), and call "val1" "attr_type" (as it's the
"type" field value for that attribute in RADIUS packets).

Add a type for EAP messages, and check for EAP messages using the value
type.

For tagged integers, fetch the tag and value separately.

Fix the tagged-integer code to overwrite the buffer rather than
appending to it.

svn path=/trunk/; revision=9307
2003-12-17 02:17:40 +00:00
Guy Harris f15415bda4 Put in more information about the attribute type enum.
Get rid of "rd_value_to_str()", pulling its code up into the one place
it's called, and rename "rd_value_to_str_2()" to "rd_value_to_str()"
(and get rid of its return value - it just returns its first argument).

Make "textbuffer" and "vsabuffer" local variables in
"dissect_attribute_value_pairs()".

Get rid of "rd_match_strval_attrib()" - just fetch the full
radius_attr_info entry and use its "str" member.

svn path=/trunk/; revision=9306
2003-12-17 01:57:23 +00:00
Guy Harris 5b58448744 From Albert Chin: get rid of C++ comments.
svn path=/trunk/; revision=9305
2003-12-17 00:50:22 +00:00
Guy Harris 4de034bafd Instead of having a whole pile of RADIUS value types, each of which has
a value_string table associated with it, just have them all be
RADIUS_INTEGER4 or RADIUS_INTEGER4_TAGGED, and add to the table of value
tags/value types/value names a pointer to a value_string table - if it's
null, just show the value, otherwise use the table.

Use that for the 3GPP protocol type field as well, with a value_string
table, rather than doing a switch.

Constify a bunch of tables.

Replace "get_vsa_table()" with "get_attr_info_table()", which returns
the attribute information table for the vendor in question, or NULL.

Fix the handling of IPX addresses.

svn path=/trunk/; revision=9304
2003-12-17 00:41:46 +00:00
Guy Harris 7d0683d44f From D. Manzella: run $NETSNMPCONFIG, not "net-snmp-config" (as long as
we've gone through the trouble of finding the path, we should use it,
and if the user explicitly said where it is, we should *definitely* use
it), and add the output of "$NETSNMPCONFIG --cflags" to CFLAGS and
CPPFLAGS before searching for Net-SNMP headers, so we check the
appropriate directory for them.

svn path=/trunk/; revision=9303
2003-12-16 23:00:33 +00:00
Guy Harris 585ab5ab2d Fix some typoes in variable names.
svn path=/trunk/; revision=9302
2003-12-16 22:55:28 +00:00
Olivier Biot d6b851b8d7 WBXML dissector: Move summary update code outside of if (tree) construct.
WSP dissector: clean up redirect dissection, add generic address field
dissection, add Session Initiation Request dissection, rewrite capability
dissection, and various small updates.

svn path=/trunk/; revision=9301
2003-12-16 22:39:32 +00:00
Guy Harris cb0e511af5 From Jeff Morriss: don't spew out the entire "if" statement as output
when doing "make svr4-package".

svn path=/trunk/; revision=9300
2003-12-16 22:21:00 +00:00
Ulf Lamping a3d0e32a0b using G_DIR_SEPARATOR_S instead of hardcoded slash
(not suitable on win32 platforms)

svn path=/trunk/; revision=9299
2003-12-16 21:02:11 +00:00
Guy Harris 6ab609c044 From David Frascone: support LWAPP on port 12223 (for control traffic)
and, for packets sent to that port, handle the MAC address that's at the
beginning of the packet.

svn path=/trunk/; revision=9298
2003-12-16 19:58:45 +00:00
Guy Harris 337ea44dd8 From Martti Kuparinen: fixes, and more values, for Mobile IPv6 Binding
Acknowledgment status.

svn path=/trunk/; revision=9297
2003-12-16 19:31:40 +00:00
Olivier Abad abb4aec1fe Use gtk compatibility macros (from compat_macros.h) instead of some gtk+
v1.2 functions which are deprecated in gtk+ v2.

Update OBJECT_SET_DATA macros to cast "data" to (gpointer).

svn path=/trunk/; revision=9296
2003-12-16 18:43:35 +00:00
Ulf Lamping e411cd98b8 From Jeff Morris: using named tempfiles preventing errors on multiprocessor machines
svn path=/trunk/; revision=9295
2003-12-16 06:46:58 +00:00
Ulf Lamping 2dbc7fccce minor change in the uninstaller "Publisher" string
svn path=/trunk/; revision=9294
2003-12-16 06:25:56 +00:00
Guy Harris 2c531d5b0d From Ronnie Sahlberg: stub dissector for the Microsoft Distributed Link
Tracking Server Service (uuid and finction name from Jean-Baptiste
Marchand).

svn path=/trunk/; revision=9293
2003-12-16 05:07:49 +00:00
Guy Harris b8eae38ada From Ronnie Sahlberg: when the user selects a filter from the popup
dialog, make the main window come to the front.

svn path=/trunk/; revision=9292
2003-12-16 05:04:11 +00:00
Olivier Biot 283f925b93 Remove unused dissector handles from the WAP dissectors.
Rename the WAP protocols so that they reflect the protocol name and not the
protocol stack name.

Fix the WSP content-type header.

Rename the WSP header fields from 'hdr' to 'header'.

Rename the WSP Openwave header fields from header code page 'x-up-1':
replace 'openwave' with 'x_up_1' (is more intuitive).

Remove unused WSP header fields.

Rename the WTLS header fields so they do not contain 'wsp' anymore.

Correct the WBXML code page switches in the token parsers.

Fix the code page support of multi-codepage content.

Update the PROV WBXML content (and find bugs in the new OMA Prov spec :).

svn path=/trunk/; revision=9291
2003-12-15 22:38:29 +00:00
Guy Harris 573fed2ea8 DCE RPC version numbers are unsigned - print them with "%u".
Do the same checks for negative and >255 version numbers in the
Tethereal DCE RPC statistics tap that are done in the Ethereal tap.

In the Ethereal tap, do those checks before looking up the protocol name.

svn path=/trunk/; revision=9290
2003-12-15 20:15:03 +00:00
Ulf Lamping 5321986b03 if user clicks recent capture file item, and this file no longer exists,
remove the menu item

svn path=/trunk/; revision=9289
2003-12-15 06:38:48 +00:00
Guy Harris b87e74ed6b From Lars Roland: get rid of NSIS support for glib 1.3, as we don't
support that any more.

svn path=/trunk/; revision=9288
2003-12-15 04:28:57 +00:00
Guy Harris 524203fddf From Lars Roland: export the value_string tables from packet-h225.c and
use them in the H.225 taps.

svn path=/trunk/; revision=9287
2003-12-15 04:23:55 +00:00