Commit Graph

24005 Commits

Author SHA1 Message Date
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
Bill Meier 0743b6f090 "Read 1 potential packet, wrote 1 packet": use packet or packets as appropriate
svn path=/trunk/; revision=24526
2008-03-01 20:39:31 +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
Jaap Keuter fcf8509f69 Create proper dependancies for plugin.c
svn path=/trunk/; revision=24520
2008-03-01 12:31:01 +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 34d9fa6c56 Add strncpy and strncat to the list of prohibited APIs.
svn path=/trunk/; revision=24517
2008-03-01 12:04:16 +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
Michael Tüxen 4306c7037d Include epan/strutil.h for gtk-1.2 builds.
svn path=/trunk/; revision=24513
2008-03-01 10:23:57 +00:00
Michael Tüxen 5ccc995362 Include strutil.h to find g_strlcpy and g_strlcat in gtk-1.2 builds.
svn path=/trunk/; revision=24512
2008-03-01 09:05:40 +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
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