Commit Graph

23801 Commits

Author SHA1 Message Date
Tomas Kukosa 60c8859857 Allow UDP heuristic for XML
svn path=/trunk/; revision=24468
2008-02-26 08:10:46 +00:00
Gerald Combs 2ed9d7d43e Make sure we don't dereference a NULL pointer. Fixes bug 2277.
svn path=/trunk/; revision=24467
2008-02-26 01:17:18 +00:00
Gerald Combs 2d92baa2d1 Add files to the tarball that are necessary to compile and create
packages under Windows.

svn path=/trunk/; revision=24466
2008-02-26 00:52:12 +00:00
Gerald Combs 366863a763 Check for setres[gu]id and define HAVE_SETRESUID and HAVE_SETREGUID
accordingly. Also define _GNU_SOURCE to appease glibc.

svn path=/trunk/; revision=24465
2008-02-25 23:18:53 +00:00
Anders Broman c927060138 Dissect Name and Certificate and add some extensions pkix1explicit.
svn path=/trunk/; revision=24464
2008-02-25 22:17:24 +00:00
Jeff Morriss 810979a0b4 Add support for DLT_IPMB (199). The dissector for these packets is in http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1970 (pending review)
svn path=/trunk/; revision=24463
2008-02-25 21:55:41 +00:00
Jeff Morriss 404c087195 Use plain old strcmp() instead of g_ascii_strcasecmp() when searching for -Z.
On glib-1.2 systems g_ascii_strcasecmp() is in libwireshark (which we don't
want to include in dumpcap) and anyway our code should be the only thing
calling dumpcap with "-Z"--so hopefully there's no need for doing a
case-insensitive comparison.

(This is another argument for adding a "utils" library.)

svn path=/trunk/; revision=24462
2008-02-25 20:43:03 +00:00
Jaap Keuter 81aaf4a8b1 Avoid misreporting of cryto state of RTP payload.
svn path=/trunk/; revision=24461
2008-02-25 19:08:13 +00:00
Jeff Morriss 74905320f8 From Richard Kuemmel via http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1430 : fix length mask.
svn path=/trunk/; revision=24459
2008-02-25 15:21:20 +00:00
Stephen Fisher 1efbef8ef4 From Chris Maynard: Alphabetize the list of column types to choose from in
the column preferences dialog.


svn path=/trunk/; revision=24458
2008-02-25 05:13:45 +00:00
Gerald Combs 1997308ac1 Handle unsigned SMI types. This should fix bug 2292.
svn path=/trunk/; revision=24457
2008-02-25 00:00:41 +00:00
Anders Broman 32ae9c1d7f Dissect Type: 149 (Certification Path Advertisement).
svn path=/trunk/; revision=24456
2008-02-24 21:04:42 +00:00
Stig Bjørlykke 545fdf0586 Added support for FT_IPv4, FT_GUID and FT_OID in custom columns.
svn path=/trunk/; revision=24455
2008-02-24 20:57:34 +00:00
Anders Broman b10481a009 Fix bug No support for Secure Neighbor Discovery ICMPv6 options.
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2284

svn path=/trunk/; revision=24454
2008-02-24 17:14:47 +00:00
Stig Bjørlykke b3e2991f19 Corrected right-justification of custom boolean and framenum columns.
svn path=/trunk/; revision=24453
2008-02-24 15:31:29 +00:00
Stig Bjørlykke 29bd9c96ae Sort custom columns according to field type.
(absolute time and 64bit values not yet correct)

Right-justify numeric custom columns.

svn path=/trunk/; revision=24452
2008-02-24 12:37:37 +00:00
Bill Meier f232875378 OK: comment out gathering of debug info; nothing interesting.
svn path=/trunk/; revision=24451
2008-02-24 02:21:37 +00:00
Guy Harris 885fec709b Include docbook/ws.css in the release tarball, as we need it for
building man pages.  Make ws.css in the current directory depend on
$(srcdir)/docbook/ws.css, not just docbook/ws.css, so that builds work
outside the source directory.  Clean up ws.css in the current directory
when doing "make distclean".

svn path=/trunk/; revision=24449
2008-02-24 02:00:40 +00:00
Stig Bjørlykke 5ff0326b90 Moved init of custom_field.
Cleanup some GTK1/GTK2 code.

svn path=/trunk/; revision=24448
2008-02-23 21:26:07 +00:00
Bill Meier 0deb0a6555 Add some debug info to help in diagnosing buildbot 'run tests' failures
svn path=/trunk/; revision=24447
2008-02-23 21:19:44 +00:00
Bill Meier 8d4f01eea7 Ensure tshark/wireshark always get good err msgs from dumpcap:
1. Clean up dumpcap 'as a child' err msg handling so that:
   - all err msgs are properly formatted when being sent 
     back to the parent.
   - any log Critical, Warning, etc messages
     are sent back to parent and are properly formatted.
2. Change handling of -w <...> slightly in capture_opts.c
   so that wireshark provides a good error message if
   there is a 'write permissions' issue on the file.
   (Previously the error popup said only 
   "Child exited with status 2").
   This fixes bug #2288.

Add some conditionalized DEBUG_CHILD_DUMPCAP code for
   dumpcap debug logging to a file.

svn path=/trunk/; revision=24446
2008-02-23 19:59:38 +00:00
Anders Broman e6837f14d4 Correct a typo and at least print the name of type 148 and 149.
svn path=/trunk/; revision=24445
2008-02-23 19:57:09 +00:00
Anders Broman 48c58e1b63 Put names on some more options solves part of bug
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2284

svn path=/trunk/; revision=24444
2008-02-23 19:17:23 +00:00
Bill Meier 01704fde45 g_strncasecmp --> g_ascii_strncasecmp
svn path=/trunk/; revision=24443
2008-02-23 17:06:57 +00:00
Stig Bjørlykke ae42e39556 Fixed a check for custom column.
svn path=/trunk/; revision=24442
2008-02-23 10:14:43 +00:00
Stephen Fisher 5399d02752 Add filter syntax check to custom column filter field. This will allow
filter expressions such as filter == value, which won't work as a custom
column.  We may need to modify its behavior to prevent entire expressions
from being entered.  For the time being though, it does check the filter
syntax itself as well.


svn path=/trunk/; revision=24441
2008-02-23 01:15:14 +00:00
Ulf Lamping d171cddc77 add an error message to the NSIS compiler output, if the MSVC_VARIANT setting is obviously wrong
svn path=/trunk/; revision=24439
2008-02-22 23:09:43 +00:00
Stig Bjørlykke 51b26f95f3 Improved custom columns with custom title.
Fixed a crash when adding an empty custom field.

svn path=/trunk/; revision=24438
2008-02-22 22:47:19 +00:00
Gerald Combs 396d5b4c4c Have the uninstaller remove ws.css.
svn path=/trunk/; revision=24437
2008-02-22 22:22:13 +00:00
Gerald Combs 2cfc0036dd Reduce the H1 font size a bit.
svn path=/trunk/; revision=24436
2008-02-22 21:47:58 +00:00
Jeff Morriss 1b71f5f0ff From Evan via bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2293 : In
epan/dissectors/packet-bacapp.c the BACnetErrorCode array contains incorrect
enumeration mappings for BACnet error codes.  Attached is a version of the file
with the mappings straightened out.

svn path=/trunk/; revision=24435
2008-02-22 21:39:40 +00:00
Gerald Combs eda2dad6e8 Fix CSS paths.
svn path=/trunk/; revision=24434
2008-02-22 21:28:55 +00:00
Jeff Morriss 146d642ebe From Balint Reczey via http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2264 : fix IPv4 handling
svn path=/trunk/; revision=24433
2008-02-22 21:02:10 +00:00
Jeff Morriss 0e62e093c1 From Peter via http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2291 : libwiretap uses glib so add it to LIBADD.
svn path=/trunk/; revision=24432
2008-02-22 20:42:35 +00:00
Ulf Lamping d41b403367 add rawshark.html to packaging and Wireshark help menu
svn path=/trunk/; revision=24431
2008-02-22 20:38:50 +00:00
Gerald Combs 93ab1abeb6 Fix a target.
svn path=/trunk/; revision=24429
2008-02-22 20:29:57 +00:00
Gerald Combs 4f996bd670 Use the docbook CSS for the man pages (which assumes your version of
pod2html supports the "--css" flag). Package up the CSS file, and add
missing HTML files where needed.

svn path=/trunk/; revision=24428
2008-02-22 20:03:36 +00:00
Gerald Combs 2839497766 Rawshark depends on libpcap. Make sure we enforce this in the configure
script, just as we do with dumpcap.

svn path=/trunk/; revision=24422
2008-02-22 17:52:06 +00:00
Stig Bjørlykke 3ebc2a4d00 Check for existing cinfo in have_custom_cols().
This fixes the latest buildbot fuzz failures.

svn path=/trunk/; revision=24421
2008-02-22 13:41:25 +00:00
Stig Bjørlykke a50f232cac Print integer values according to hfinfo->display.
svn path=/trunk/; revision=24420
2008-02-22 13:27:46 +00:00
Stig Bjørlykke 20ed60cf1f Added FT_ABSOLUTE_TIME and FT_RELATIVE_TIME to custom columns.
svn path=/trunk/; revision=24419
2008-02-22 12:28:41 +00:00
Stig Bjørlykke 33524cdd48 Some custom column enhancements:
Use the value_string if defined for integer and boolean values.

svn path=/trunk/; revision=24418
2008-02-22 12:06:29 +00:00
Stig Bjørlykke 67aa6856de Some custom column fixes:
- In proto_tree_set_uint and proto_tree_set_int use value adjusted for bitmask.
- Removed col_custom_set_fstr in proto_tree_set_boolean to get a correct
  adjusted value in proto_tree_set_uint.
- Set a default column width shorter than COL_INFO. 

svn path=/trunk/; revision=24417
2008-02-22 11:32:36 +00:00
Bill Meier b56def1506 Fix compile errors if 'configure ... --without-pcap'
svn path=/trunk/; revision=24416
2008-02-22 04:56:26 +00:00
Stephen Fisher 2a8e74cedc Add ability to make more field types into custom columns: FT_ETHER & FT_BYTES.
Also change display of FT_STRING(Z) to turn non-printable characters into
backslash + number values. 


svn path=/trunk/; revision=24415
2008-02-22 03:44:08 +00:00
Stephen Fisher 470000e6c1 Use default numeric/text sort for custom columns also.
svn path=/trunk/; revision=24414
2008-02-22 01:26:26 +00:00
Stephen Fisher c7d656555a Use custom column check function for custom columns to make sure the dfilter
is always primed when needed.  This ensures more than just the first row
has a custom column's information in it.


svn path=/trunk/; revision=24413
2008-02-22 01:25:45 +00:00
Anders Broman 1c5dddbd68 Unkomment the now fixed value string...
svn path=/trunk/; revision=24412
2008-02-21 23:08:19 +00:00
Guy Harris 63c7c6d476 Put back the use of g_ascii_strcasecmp(), so we don't get rudely
surprised by, for example, "i" not comparing equal to "I" in Turkish
locales.

Make gMessageType local - it's not used as a global variable.  Also,
make it a pointer to const, so that we don't have to cast away the
constness.

dissect_giop_fragment() doesn't use the "header" argument, so get rid of
it.

Clean up indentation a bit.

The first element of a value_string is the value, and the second
argument is the string; fix up the initialization of the table of code
set values.

Fix a proto_tree_add_text() call to match the format and the arguments.

svn path=/trunk/; revision=24411
2008-02-21 22:11:08 +00:00
Anders Broman 39f12ecc1d From Wolf Neumann:
GIOP reassembly fails when first packet of a PDU is received Out-of-Order

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1453

The patch changed to use value_string but not all values included in the current value_string.

svn path=/trunk/; revision=24410
2008-02-21 20:45:09 +00:00