Commit Graph

9209 Commits

Author SHA1 Message Date
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
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