Commit graph

9393 commits

Author SHA1 Message Date
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
Guy Harris
6ded357e29 From Lars Roland: build the documentation at the end of the make
process.

svn path=/trunk/; revision=9286
2003-12-15 04:22:30 +00:00
Guy Harris
80d467ab38 From Chris Waters: use "proto_tree_add_uint()" for an FT_UINT* field.
svn path=/trunk/; revision=9285
2003-12-15 00:08:57 +00:00
Guy Harris
4f5d2ddcda From Ronnie Sahlberg: fix a crash on Win32 when we resort a column in
the conversation list and then create/apply a filter from the
conversation list popup.

svn path=/trunk/; revision=9284
2003-12-14 10:28:20 +00:00
Guy Harris
fbcaaa19f2 From Ronnie Sahlberg: support iostat graphs with 1ms resolution.
svn path=/trunk/; revision=9283
2003-12-14 10:24:24 +00:00
Guy Harris
0238ed7845 Provide a .cvsignore file.
svn path=/trunk/; revision=9282
2003-12-14 00:05:07 +00:00
Guy Harris
691d83c5a9 Use "tvb_format_text()" to format 8-bit strings, so we don't have
problems with non-printable characters.

Don't un-constify "tvb_get_ptr()".

svn path=/trunk/; revision=9281
2003-12-14 00:04:22 +00:00
Guy Harris
4b21d5e882 "wctomb()" doesn't necessarily accept Unicode as input, and may produce
more than one character as output.  Use "tvb_fake_unicode()" to handle
Unicode strings, instead.

Don't hand strings to "proto_tree_add_text()" - it expects a
printf-style formatting operator, which means it'd treat "%" specially.
Use "%s", or "%.*s", instead; use "%.*s" when we don't know that the
string is null-terminated.

svn path=/trunk/; revision=9280
2003-12-13 23:55:29 +00:00
Guy Harris
e91d15ac8c Put back "menu.h" - it's needed to declare "register_tap_menu_item()".
svn path=/trunk/; revision=9279
2003-12-13 22:23:18 +00:00
Guy Harris
7cae9249aa Squelch some compiler warnings.
Clean up white space.

svn path=/trunk/; revision=9278
2003-12-13 22:05:08 +00:00
Gerald Combs
e660fedd31 Add the help directory to the build. Bump the release version to 0.10.0a
svn path=/trunk/; revision=9276
2003-12-13 18:05:49 +00:00
Ulf Lamping
156be8aa9f added "most recently used" lists for
"opened capture files" and "display filter used",
the settings will be saved in the file "recent" in the users config path

svn path=/trunk/; revision=9275
2003-12-13 18:01:30 +00:00
Ulf Lamping
792fb5f8fb changed read_prefs_file(): read in a generic config file and do a callback to
pref_set_pair_fct() for every key/value pair found

svn path=/trunk/; revision=9274
2003-12-13 17:24:47 +00:00
Ulf Lamping
3914b812b0 removed unused #include "menu.h" from the stats.c files
svn path=/trunk/; revision=9273
2003-12-13 17:10:21 +00:00
Ulf Lamping
8e43886258 mention the GPL license in the Help->About dialog
svn path=/trunk/; revision=9272
2003-12-13 16:30:10 +00:00
Olivier Biot
24a0f45006 Add an equal sign to WBXML Attribute Start items that didn't have it.
svn path=/trunk/; revision=9271
2003-12-13 13:27:30 +00:00
Ulf Lamping
16ca6bebf6 set link layer type sensitive only,
if the user has to choose between at least two choices

svn path=/trunk/; revision=9270
2003-12-13 11:00:04 +00:00
Guy Harris
6a91088ed0 Put in a comment about some issues with the way we do "Update list of
packets in real time" captures.

svn path=/trunk/; revision=9269
2003-12-13 03:36:17 +00:00
Guy Harris
399591ce24 Add some sanity checking of arguments.
svn path=/trunk/; revision=9268
2003-12-13 03:30:07 +00:00
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