Commit Graph

24038 Commits

Author SHA1 Message Date
Jeff Morriss 61caa0b5b9 Include strutil.h so we find g_strlcat() in gtk-1.2 builds
svn path=/trunk/; revision=24510
2008-03-01 02:33:38 +00:00
Jeff Morriss aca761a1c4 Don't link the plugins against glib: they already link against libwireshark which is linked against glib. Hopefully this will fix the OS-X buildbot when building with glib-1 without breaking anything else.
svn path=/trunk/; revision=24509
2008-02-29 23:41:32 +00:00
Stig Bjørlykke b5886343ea Save correct gui.time_format for "seconds since previous displayed packet"
and "seconds since epoch".

This fixes bug 2315.

svn path=/trunk/; revision=24508
2008-02-29 20:11:29 +00:00
Bill Meier 2c07da3195 Fix for handling dumpcap errmsgs when wireshark does 'dumpcap -D -M', etc
svn path=/trunk/; revision=24507
2008-02-29 18:48:29 +00:00
Jaap Keuter 26b8bf31d7 Update datestamp on documents
svn path=/trunk/; revision=24506
2008-02-29 17:26:28 +00:00
Greg Morris 438c96dabb Error code 0x89a9 updated error message to be:
"Invalid Path With Junction Present"

Fix get extended volume info to register correct name with NDS EID value. (added data type of 20 to extract string value)

Fix expert data for file handles to report file handle in expert data. (Added data type of 22 to extract bytes value)

svn path=/trunk/; revision=24505
2008-02-29 15:36:51 +00:00
Stig Bjørlykke 7deec480ff Next attempt to cleanup some string functions, including:
strncpy -> g_strlcpy, strncat -> g_strlcat

svn path=/trunk/; revision=24504
2008-02-29 13:33:37 +00:00
Jaap Keuter 4562744a64 Properly attribute the FOUNDATION Fieldbus dissector to Yukiyo Akisada.
Correct protocol name.

svn path=/trunk/; revision=24503
2008-02-29 07:53:15 +00:00
Guy Harris 6d61024a55 Don't peek inside the column information and manually wrap "GTP < ... >"
around the protocol field, use the standard routines for prepending to
and appending to a column.  That should fix bug 2311, as the standard
routines use g_strlcat(), and should also keep that code robust in the
face of changes to the way columns are implemented.

svn path=/trunk/; revision=24502
2008-02-29 03:32:58 +00:00
Bill Meier bef5e5c9fc One more g_free ....
svn path=/trunk/; revision=24501
2008-02-29 02:09:22 +00:00
Bill Meier 030c8c6f3e Fix wireshark/tshark crash when initializing lua (using init.lua, etc).
Essentially: A small cleanup of SVN 24479.
(Fortunately the 0.99.8 release does not have this issue).
Also: add some lines of (what appears to be) missing code.

svn path=/trunk/; revision=24500
2008-02-29 01:49:31 +00:00
Bill Meier c51459585d Minor wording change
svn path=/trunk/; revision=24499
2008-02-28 21:44:28 +00:00
Martin Mathieson 4a925e9cd9 Fix bitmasks for feedback message type fields.
Fixes bug 2312.

svn path=/trunk/; revision=24498
2008-02-28 16:11:55 +00:00
Bill Meier de432167c8 From Chris Maynard: Add missing clean_setup items;
svn path=/trunk/; revision=24497
2008-02-28 14:54:05 +00:00
Guy Harris 913cb16c9a Don't use capital letters in protocol abbreviation names - that obliges
people to type capital letters in filter expressions, which is a bit
rude.  Furthermore, we're not using "Hilscher" in field names, we're
using "hilscher".  This should fix bug 2310 - we check for various
illegal characters in filter names, including capital letters, and crash
if they're found.

svn path=/trunk/; revision=24496
2008-02-28 08:33:36 +00:00
Jeff Morriss f5f636db9e From Holger Pfrommer via http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2205
This is a new dissector plugin for Hilscher analyzer frames.
These frames are generated by Hilscher analyzer products and are identified via
their unique source MAC address (this is a reserved MAC from Hilscher-range and
will never be used by another network device). Most likely these frames are
only generated on a virtual network interface or the generating device is
attached directly via patch cable to a real network interface, but not routed
through a network. The Ethernet-header (destination MAC, source MAC and
Length/Type) is not displayed in the protocol tree for these frames as this is
overhead-information which has no practical use in this case.

Note:

This is a heuristic Ethernet dissector which means it gets called for every
Ethernet frame.  So as to not cause a performance hit for most Wireshark users
it has a preference which, by default, disables the dissector.

svn path=/trunk/; revision=24495
2008-02-27 23:39:25 +00:00
Jeff Morriss 6e0297dc86 Rather than always disabling the protocol at startup, just add a preference that decides if the dissector should be enabled or not. Still not perfect but it makes it more usable.
svn path=/trunk/; revision=24494
2008-02-27 23:24:40 +00:00
Jeff Morriss 31d705e32f From Sven Meier (on -dev in 6/2007):
This is a dissector for the Parallel Redundancy Protocol (PRP) defined in chapter
6 of the IEC 62439.

PRP uses two independent networks in parallel and allows redundancy without
switchovers.

The protocol is sending Mac multicast messages with Ethertype 0x88fb. In
addition to that it adds to every Ethernet frame a 4 byte trailer before
the FCS. The trailer is detected by checking a size field and an identifier
which are part of the trailer. Therefore, if the last 4 bytes of a frame
match a correct trailer they get interpreted as a trailer, although it was
probably not a real one.

Note:

This is a post-dissector which means it gets called for every frame.  So as
to not cause a performance hit for every Wireshark user (who may not even be
looking at Ethernet frames) it currently disables itself every time Wireshark
starts up.  (There should be a better way to do this--maybe different Profiles
(as discussed on -dev recently) is the way to go.)

From me:

Put ETHERTYPE_PRP (not IANA registered) in etypes.h and packet-ethertype.c

svn path=/trunk/; revision=24493
2008-02-27 21:52:17 +00:00
Anders Broman dd971ab222 From Kai Blin:
Dissect SuperPackedPlayer struct and packet type 29 and
 Correctly dissect type 02, 05 and 07 packets.

svn path=/trunk/; revision=24491
2008-02-27 17:22:31 +00:00
Stig Bjørlykke a6958ba14b Quote argument to test in epan/dissectors/Makefile.am
svn path=/trunk/; revision=24489
2008-02-27 16:27:42 +00:00
Stig Bjørlykke fc5527ef6c Quote argument to test in plugins Makefiles, as proposed by Greg A. Woods.
svn path=/trunk/; revision=24488
2008-02-27 16:18:30 +00:00
Anders Broman 3a3c255a30 Dissect IPAddressFamily
svn path=/trunk/; revision=24487
2008-02-27 16:13:57 +00:00
Stephen Fisher 96ade54c54 Fix a comment that was pointing readers to the wrong file to look for info
svn path=/trunk/; revision=24486
2008-02-27 04:44:33 +00:00
Gerald Combs b202480fd8 Expand the setuid text a bit.
svn path=/trunk/; revision=24485
2008-02-27 01:22:51 +00:00
Bill Meier a2b19b3603 Fix another compile error ....
svn path=/trunk/; revision=24484
2008-02-27 00:24:24 +00:00
Jeff Morriss 1e65f5b562 A couple more const fixes.
svn path=/trunk/; revision=24483
2008-02-26 23:30:40 +00:00
Jeff Morriss 7ffc01c6ce Oops, freeing a const char* doesn't always work. Make it not a const.
svn path=/trunk/; revision=24482
2008-02-26 23:05:05 +00:00
Gerald Combs 45a373d6ae Wrap a line in the INSTALL file and correct some text in README.packaging.
svn path=/trunk/; revision=24481
2008-02-26 20:05:25 +00:00
Jeff Morriss 1d6df91a9d get_datafile_path() and get_persconffile_path() return malloc'd memory,
free it when we're done with the file name.

svn path=/trunk/; revision=24479
2008-02-26 19:52:21 +00:00
Jeff Morriss 2389b57232 get_datafile_path() and get_persconffile_path() return malloc'd memory,
free it when we're done with the file name.

svn path=/trunk/; revision=24478
2008-02-26 19:13:43 +00:00
Jeff Morriss 1c319c4e2c get_datafile_path() and get_persconffile_path() return malloc'd memory,
free it when we're done with the file name.

svn path=/trunk/; revision=24477
2008-02-26 19:03:01 +00:00
Jeff Morriss 9fdc3e961d get_datafile_path() and get_persconffile_path() return malloc'd memory. Note that in the comments.
svn path=/trunk/; revision=24476
2008-02-26 18:58:12 +00:00
Anders Broman c5e560d530 From Kai Blin:
Update parsing of the DirectPlay header and
Correctly dissect the SessionDesc structure of DirectPlay
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2304

svn path=/trunk/; revision=24474
2008-02-26 18:08:24 +00:00
Anders Broman d5ebe0b345 Add some extensions to pkix1explicit - forgotten files.
svn path=/trunk/; revision=24473
2008-02-26 18:05:24 +00:00
Jeff Morriss d1a9136fe5 Wireshark (packet-ssl-utils.h) uses gnutls_x509_crt_t which appears to only be present in GNUTLS > 1.2 . Check that, if we have GNUTLS, it is at least that version (previously we checked for 1.0).
svn path=/trunk/; revision=24472
2008-02-26 17:50:02 +00:00
Jeff Morriss 6aed8c4c60 Initialize a 'next' pointer so we don't crash if/when we try to follow it.
svn path=/trunk/; revision=24471
2008-02-26 17:05:37 +00:00
Bill Meier 718cf133a6 Update to be closer to current *nix Wireshark; (Addt'l info about setuid, etc needed).
svn path=/trunk/; revision=24469
2008-02-26 14:52:35 +00:00
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