Commit graph

8312 commits

Author SHA1 Message Date
Anders Broman
b0e745eedf From Kai Blin:
Properly dissect all DirectPlay messages observed on the wire so far.

svn path=/trunk/; revision=24535
2008-03-03 19:57:09 +00:00
Anders Broman
74c27d330c Include the "UTRAN Iupc interface Positioning Calculation Application Part (PCAP)" dissector.
svn path=/trunk/; revision=24534
2008-03-03 19:56:01 +00:00
Jörg Mayer
a9e61881b9 Fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2257
svn path=/trunk/; revision=24533
2008-03-03 18:07:47 +00:00
Stephen Fisher
ea297f369f Convert strcpy() calls to g_strlcpy()
svn path=/trunk/; revision=24532
2008-03-02 23:45:24 +00:00
Stig Bjørlykke
280d579242 Added missing array for hf_jxta_element2_encodingid.
svn path=/trunk/; revision=24530
2008-03-02 20:29:11 +00:00
Stig Bjørlykke
f14a19d8b4 Added missing array for hf_h248_pkg_bcg_sig_bcr.
svn path=/trunk/; revision=24529
2008-03-02 20:19:32 +00:00
Stig Bjørlykke
dcf73d5d79 Added missing array for hf_h248_pkg_annexc_encrypt_key,
hf_h248_pkg_annexc_flowconttx, hf_h248_pkg_annexc_dialingn and 
hf_h248_pkg_annexc_sdp_i.

svn path=/trunk/; revision=24528
2008-03-02 20:11:50 +00:00
Stig Bjørlykke
86e9711d4d Added missing array for hf_printer_priority, hf_printer_default_priority,
hf_printer_averageppm and hf_printer_jobs.

svn path=/trunk/; revision=24527
2008-03-02 19:47:04 +00:00
Stig Bjørlykke
b091b8d26c Rewrote to use g_strlcpy and g_strlcat.
svn path=/trunk/; revision=24525
2008-03-01 17:23:39 +00:00
Jeff Morriss
346d46b8d0 From Steve via http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2278 : decoding of SSCOP ERAK was incorrect.
svn path=/trunk/; revision=24524
2008-03-01 16:29:18 +00:00
Jeff Morriss
d970b9f59d Initialize asn1_ctx before using it. Fixes http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2317
svn path=/trunk/; revision=24523
2008-03-01 16:23:14 +00:00
Stig Bjørlykke
9cb03a761c Rewrote to use g_strlcat and g_strlcpy.
svn path=/trunk/; revision=24522
2008-03-01 13:58:15 +00:00
Stig Bjørlykke
b20a8b1791 Rewrote to use g_strlcat and g_strlcpy.
svn path=/trunk/; revision=24521
2008-03-01 13:54:42 +00:00
Jeff Morriss
08183dae43 Reindent libwireshark's LIBADD and DEPENDENCIES for readability
svn path=/trunk/; revision=24519
2008-03-01 12:15:19 +00:00
Jeff Morriss
bc580e1aa0 All our programs link against glib so don't there's no need to link our libraries against it too. This should allow us to build Wireshark (with dynamic libs) with static glib (read: it should fix the OS X buildbot building with glib-1.2).
svn path=/trunk/; revision=24518
2008-03-01 12:14:38 +00:00
Stig Bjørlykke
6b59696fd7 Added missing array for hf_snmp_big_counter_value.
svn path=/trunk/; revision=24516
2008-03-01 11:43:04 +00:00
Stig Bjørlykke
4c7d9c8de3 Added missing array for hf_alcap_pssiae_max_len and hf_alcap_ssiae_max_len.
svn path=/trunk/; revision=24515
2008-03-01 10:44:00 +00:00
Stig Bjørlykke
a13c710c5c Added missing array for hf_afs_fs_ipaddr.
svn path=/trunk/; revision=24514
2008-03-01 10:43:04 +00:00
Stephen Fisher
56226b49b8 Custom column updates:
- Change apply / prepare / ... as filter to use the field's value, which
   is now stored in fdata as well as cinfo.  Now we don't have to reprocess
   the entire packet list when using these features.  This also prevents
   the use of these features from overwriting custom column information.
   (custom columns can now be used in apply / prepare ... as filter)
 - Break col_expr and col_expr_val out into a struct that is included not only
   in cinfo, but now also fdata.
 - Have col_custom_set_fstr() quote FT_STRING & FT_STRINGZ when storing the
   col_expr_val value (for filter creation).


svn path=/trunk/; revision=24511
2008-03-01 05:16:45 +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
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
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
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
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
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
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
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
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
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
Jaap Keuter
81aaf4a8b1 Avoid misreporting of cryto state of RTP payload.
svn path=/trunk/; revision=24461
2008-02-25 19:08:13 +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