Commit Graph

9171 Commits

Author SHA1 Message Date
Guy Harris c20f75c872 Use "int"s, not "guint16"s, as packet offsets (using values shorter
than32 bits risks overflow problems).

Use "gint" for tvbuff lengths.

Use -1 for uses of "tvb_length_remaining()" that mean "the rest of the
tvbuff"; use "tvb_reported_length_remaining()" for "the rest of the
packet.

Clean up the handling of the DOCSIS payload.

svn path=/trunk/; revision=9267
2003-12-13 03:18:38 +00:00
Guy Harris d64affe0a4 Use "int"s, not "guint16"s, as packet offsets (using values shorter
than32 bits risks overflow problems).

Use a "gint" as the length of the vsif TLV, as that's what
"tvb_length_remaining()" returns.

svn path=/trunk/; revision=9266
2003-12-13 02:45:30 +00:00
Ulf Lamping 776e388c14 sensitivity of packet range options fine tuning:
don't let the user choose "selected packets", when no packets displayed

svn path=/trunk/; revision=9265
2003-12-13 02:42:09 +00:00
Guy Harris a8c1cc5ef3 Use "int"s, not "guint16"s, as packet offsets (using values shorter than
32 bits risks overflow problems).

svn path=/trunk/; revision=9264
2003-12-13 02:38:33 +00:00
Guy Harris ef0928a8ff Use ints, not guchars, as packet offsets.
svn path=/trunk/; revision=9263
2003-12-13 02:30:18 +00:00
Guy Harris 8cc85720d6 Widen the "value" parameter to "value2str()", rather than narrowing the
values passed via that parameter.

Fix indentation.

svn path=/trunk/; revision=9262
2003-12-13 02:24:48 +00:00
Guy Harris e2501b229b Check that the length in the ESIS header is sane, i.e. >= the length of
the fixed-length part of the header.

Make "variable_len" a "guint8", as the above check ensures it fits, make
the length arguments to dissect routines "guint8" (same type as
"guchar", but it makes it clearer that it's an integral value not a text
character), and get rid of the casts of "variable_len".

svn path=/trunk/; revision=9261
2003-12-13 02:17:44 +00:00
Guy Harris 17c7152c6b Make some variables that hold unsigned 16-bit quantities "guint16",
which lets us get rid of some casts.

svn path=/trunk/; revision=9260
2003-12-13 02:10:30 +00:00
Guy Harris 6fd5123f90 Widen formal parameters rather than narrowing actual parameters.
svn path=/trunk/; revision=9259
2003-12-13 01:57:27 +00:00
Guy Harris 41f7f5216b Put in URLs for the AFP 3.1 spec.
Update some references to refer to the 3.1 spec.

Fix up the handling of the request bitmap in CatSearch and CatSearchExt.

svn path=/trunk/; revision=9258
2003-12-13 01:08:42 +00:00
Guy Harris 65bf8a1820 Fix a typo.
svn path=/trunk/; revision=9257
2003-12-13 01:08:32 +00:00
Gerald Combs d979ee5550 Final checkin for 0.10.0.
svn path=/trunk/; revision=9255
2003-12-13 00:55:11 +00:00
Gerald Combs 0e6ed971f9 Add packet-isup.h as well.
svn path=/trunk/; revision=9254
2003-12-13 00:38:09 +00:00
Gerald Combs 9e55b64a27 Add packet-ansi_map.h to the distribution.
svn path=/trunk/; revision=9253
2003-12-13 00:22:24 +00:00
Olivier Biot 45c370495d Always dissect a sm_submit otherwise reassembly of short messages does not work.
svn path=/trunk/; revision=9252
2003-12-12 23:47:42 +00:00
Olivier Biot df1236de05 Move info column update code outside of if (tree).
svn path=/trunk/; revision=9251
2003-12-12 23:35:22 +00:00
Guy Harris c91bf1cb22 Add some checks to make sure we're not running past the end of the RR
we're dissecting.  (Some RR's still don't do that check, as they don't
maintain an "rr_len" variable, and as "get_dns_name()" doesn't do any
length checking.)

That obviates the need for having "compute_key_id()" check the length,
as we won't even get to calling it if the RR is too short.  Have it
still do a check for sanity, but just abort if the check fails, and have
it return -1 if the algorithm is unsupported.

Don't bother processing T_CERT RRs if we're not building a protocol
tree, don't fetch data from a T_CERT RR until we put it into the tree,
and fix the bug that change found, namely that we were using the wrong
variable in the "val_to_str()" call for the certificate type.

svn path=/trunk/; revision=9250
2003-12-12 23:23:57 +00:00
Guy Harris 9612f15d1a From Yuriy Sidelnikov: if the first SPDU in a TSDU has a type of 1 or 2,
treat it specially - a type of 1 means GIVE_TOKENS, not DATA_TRANSFER,
in that case.

svn path=/trunk/; revision=9249
2003-12-12 22:19:45 +00:00
Guy Harris a06b67be70 From Hannes Gredler:
display the PIM hello option values in brackets after the option
	name;

	in the LAN prune delay option dissector:

		put the top-level item for the option into the PIM
		options tree rather than the PIM main tree;

		calculate the correct LAN prune delay and display it in
		units of milliseconds;

		calculate the correct override interval and display it
		in units of milliseconds;

		fix the offset and length calculation.

svn path=/trunk/; revision=9248
2003-12-12 21:17:54 +00:00
Guy Harris ba9290fe08 From Michael Lum:
Fix point code display.

	Add taps for ANSI MAP and ISUP statistics.

svn path=/trunk/; revision=9247
2003-12-12 19:55:28 +00:00
Gerald Combs 09bf163aee Switch from gettext 0.13 to 0.12.1.
svn path=/trunk/; revision=9246
2003-12-12 16:06:29 +00:00
Gerald Combs 9ed6beff38 In "dlg_window_new()" check to see if "top_level" has been initialized,
as is the case for the spawned capture process.

svn path=/trunk/; revision=9245
2003-12-12 02:50:04 +00:00
Ulf Lamping 10e3320115 prevent MSVC warning:
"warning C4761: Gr��enkonflikt im Argument. Konvertierung vorgenommen"
-> size conflict in argument, conversion done

svn path=/trunk/; revision=9244
2003-12-11 21:23:37 +00:00
Guy Harris 95ea01a41a Have "compute_key_id()" return different values for different errors,
and have its caller put an entry into the tree for "we don't support the
algorithm" (the "RR too short" error is a "can't happen").

svn path=/trunk/; revision=9243
2003-12-11 18:38:57 +00:00
Guy Harris d4edb00a3a Add "/usr/local/include" in case the PCRE header file is there.
svn path=/trunk/; revision=9242
2003-12-11 18:37:13 +00:00
Ulf Lamping 92943b815c replaced type u_int32_t by glib's guint32 (to satisfy MSVC)
svn path=/trunk/; revision=9241
2003-12-11 08:54:19 +00:00
Guy Harris 0e3e6e534e Fix a typo.
svn path=/trunk/; revision=9240
2003-12-11 01:13:32 +00:00
Gerald Combs 4f3287f27a Update the Windows environment to GLib 2.2.3 and GTK+ 1.3.0-20030717.
This requires replacing libintl-1.dll from the libintl package (which
is no longer used) with intl.dll from intl.dll from the gettext package.

svn path=/trunk/; revision=9239
2003-12-10 23:21:52 +00:00
Gilbert Ramirez a92bb0da45 Analyzer's PDML will be changed to start the packet offset (the "pos" field)
at 0 instead of 1. This works better for Ethereal, as our offsets start
at 0. Change the "geninfo" pseudo-protocol to use pos="0" instead of
pos="1".

svn path=/trunk/; revision=9238
2003-12-10 22:52:08 +00:00
Olivier Biot ca6b915862 PCRE support requires $(PCRE_CFLAGS) in CFLAGS.
svn path=/trunk/; revision=9237
2003-12-10 22:38:48 +00:00
Olivier Biot e4a90970b8 WSP status code is hexadecimal.
svn path=/trunk/; revision=9236
2003-12-10 22:27:41 +00:00
Gerald Combs 9fd657a0e1 Bump the version to 0.10.0. It could be (and has been) argued that the
last release should have been 0.10.0.

svn path=/trunk/; revision=9235
2003-12-10 21:50:04 +00:00
Guy Harris d9c27dc211 Oops, I checked the wrong tap into CVS somehow.
svn path=/trunk/; revision=9234
2003-12-10 21:21:16 +00:00
Gerald Combs 45c2823020 Make the _pcre_tuple_t struct internal.
svn path=/trunk/; revision=9233
2003-12-10 21:12:02 +00:00
Guy Harris 33f732b776 From David Fort: compute and display the key ID in a DNS KEY RR, if
possible.

svn path=/trunk/; revision=9232
2003-12-10 19:35:03 +00:00
Guy Harris be2cfb0bd4 From Anders Broman: add CIC to Info column.
svn path=/trunk/; revision=9231
2003-12-10 19:26:00 +00:00
Guy Harris 6892511e7f From Akira Endoh: IGAP support.
svn path=/trunk/; revision=9230
2003-12-10 19:21:55 +00:00
Guy Harris 3f1c995715 Squelch a compiler warning.
svn path=/trunk/; revision=9229
2003-12-10 19:21:15 +00:00
Ulf Lamping 942876f3ca added some more uninstall info and
offering only removal of program (instead of modify/repair)

svn path=/trunk/; revision=9228
2003-12-10 19:05:06 +00:00
Guy Harris 2a8afde2fd Check whether the packet length is less than the length of the packet
header, and give up if it is.

svn path=/trunk/; revision=9227
2003-12-10 10:47:24 +00:00
Olivier Biot e42f094023 Mark parameter data as unused in callback_create_help().
svn path=/trunk/; revision=9226
2003-12-09 23:45:34 +00:00
Olivier Biot ec776da55a Internal PCRE field type for efficient RE parsing in dfilters.
svn path=/trunk/; revision=9225
2003-12-09 23:15:35 +00:00
Olivier Biot 0f18533b75 Internal PCRE field type for efficient RE parsing in dfilters.
svn path=/trunk/; revision=9224
2003-12-09 23:02:40 +00:00
Ulf Lamping 4b890b83fd print system enhanced, more print ranges and expanded states
svn path=/trunk/; revision=9223
2003-12-09 22:41:07 +00:00
Ulf Lamping 892700e893 print system enhanced, more print ranges and expanded states
svn path=/trunk/; revision=9222
2003-12-09 22:27:28 +00:00
Ulf Lamping 8620b71841 print system enhanced, more print ranges and expanded states
svn path=/trunk/; revision=9221
2003-12-09 22:04:57 +00:00
Guy Harris 15f863dc3c From Michael Lum:
new taps for GSM A-interface;

	fixes for ANSI A-interface taps.

svn path=/trunk/; revision=9220
2003-12-09 18:49:32 +00:00
Guy Harris 11d8817da0 Don't automatically size the columns - that's expensive in large
captures, as it has to compute the width of an auto-resizing column in
every row.  Just pick fixed widths for the columns (and tune the width
of the "Protocol" column so that it's not narrower than the column
title).

svn path=/trunk/; revision=9219
2003-12-09 06:48:40 +00:00
Gilbert Ramirez c7cee4331f -Tpdml and -Tps force -V. Thus, -V is no longer required when using -Tpdml.
Eventually, -Tps will not force -V, and will print summaries when -V is
not selected. However, work still has to be done there.

svn path=/trunk/; revision=9218
2003-12-09 05:56:31 +00:00
Guy Harris 8ce34a3cbd Add a new attribute type RADIUS_IP6_ADDRESS for IPv6 addresses.
Put in a note explaining the enum for those types.

From Rui Carmo: add all 3GPP VSA's.

svn path=/trunk/; revision=9217
2003-12-09 05:10:25 +00:00