Commit Graph

25893 Commits

Author SHA1 Message Date
Gerald Combs b113a389f0 Trying to call ExecWait on the Wireshark unistaller won't work, since it
returns immediately. Copy the uninstaller to $TEMP, then run it with flags
which make it work as expected.

Fix up the old version removal dialog.

svn path=/trunk/; revision=26664
2008-11-01 00:24:10 +00:00
Jaap Keuter 8ddc5acb3c From Alexander Dupuy:
When dissecting an IPFIX PDU containing start and end times for both directions
of a biflow, no distinction is made between forward and reverse directions. 
This can lead to bizarre (or worse, subtly incorrect) output for the flow
durations computed from start and end times.
This patch fixes the specific problem of duration display in wireshark for
IPFIX biflow PDUs.  It does not address the general issue of tracking different
types of start/end timestamps separately - it is unlikely that the general case
will occur in practice, although it is certainly possible.

svn path=/trunk/; revision=26663
2008-10-31 23:00:57 +00:00
Jaap Keuter 426e6c1700 From David Aggeler:
Added Tag matching based on masks for remaining tags in the standard. 
Now all tags (except private tags) should be supported.

svn path=/trunk/; revision=26662
2008-10-31 22:59:14 +00:00
Guy Harris 64612f34ac On non-Windows systems, try /dev/random and, if it exists, use it,
otherwise fall back on time().

Print error messages to stderr, and put the name of the program in them.
Exit with 1 on command-line syntax errors, 2 on other errors.

Fix indentation.

svn path=/trunk/; revision=26661
2008-10-31 20:11:14 +00:00
Stig Bjørlykke ec8b88f947 Document the new lua functions.
svn path=/trunk/; revision=26660
2008-10-31 20:02:42 +00:00
Stig Bjørlykke 6f1b59c130 Fix a prototype to avoid a warning.
svn path=/trunk/; revision=26659
2008-10-31 18:44:46 +00:00
Stig Bjørlykke 76ba68775b Do not call a variable value_string as we have a struct with this name.
svn path=/trunk/; revision=26658
2008-10-31 18:42:53 +00:00
Balint Reczey 33294f830c Provide TvbRange:{offset|len}() instead of TvbRange.{offset|len}.
Write access to offset and len from Lua is gone, too.
This fixes bug 2243.

svn path=/trunk/; revision=26657
2008-10-31 18:14:47 +00:00
Stig Bjørlykke b2185260af Whops, -Wformat is already included in -Wall
svn path=/trunk/; revision=26656
2008-10-31 18:05:41 +00:00
Stig Bjørlykke 5be73bdea7 Compile with -Wformat and -Wformat-security
svn path=/trunk/; revision=26655
2008-10-31 18:03:12 +00:00
Stig Bjørlykke 841e3a0a3f Fixed some "ignoring return value" warnings.
This is the last commit to make it compile clean on Ubuntu 8.10.

svn path=/trunk/; revision=26654
2008-10-31 17:43:51 +00:00
Stig Bjørlykke 623861f855 Fix the last "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26653
2008-10-31 17:42:51 +00:00
Stig Bjørlykke 94e9e2b1ec Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26652
2008-10-31 17:27:51 +00:00
Bill Meier 41c04a5599 Fix some indentation ....
svn path=/trunk/; revision=26651
2008-10-31 16:38:02 +00:00
Bill Meier 98256ca547 Revert SVN #26644: The fix is not needed ....
(The funcions writing to COL_INFO are only
called after checking if the column is present).

svn path=/trunk/; revision=26650
2008-10-31 16:06:23 +00:00
Stig Bjørlykke 58e2d7a0d6 Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26649
2008-10-31 15:47:47 +00:00
Stig Bjørlykke e6a22e689e Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26648
2008-10-31 15:34:00 +00:00
Stig Bjørlykke bd08ae7ee6 Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26647
2008-10-31 15:11:57 +00:00
Stig Bjørlykke d0e33bc3c5 Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26646
2008-10-31 14:07:23 +00:00
Bill Meier 186a69dd83 Fix several cases of writing to COL_PROTOCOL w/o checking first
svn path=/trunk/; revision=26645
2008-10-31 14:06:20 +00:00
Bill Meier a061f50bb0 Fix two cases of adding to COL_INFO w/o checking first
svn path=/trunk/; revision=26644
2008-10-31 13:46:03 +00:00
Stig Bjørlykke ab557c4f30 Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26643
2008-10-31 10:33:20 +00:00
Stig Bjørlykke ee2b7fd393 Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26642
2008-10-31 10:30:17 +00:00
Stig Bjørlykke 8608c8f1de Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26641
2008-10-31 09:53:56 +00:00
Guy Harris ac88e96246 Thou shalt not "print" a string with a printf-like function by using it
as the format string; thou shalt, instead, use "%s" as the format string
and use the string as the argument to "%s".  Thanks and a tip of the
Hatlo hat to the version of GCC that comes with Ubuntu 8.10 for catching
this.

svn path=/trunk/; revision=26640
2008-10-31 02:41:45 +00:00
Guy Harris ce92eee853 Correctly report whether we're building with GeoIP or not - even if we
wanted GeoIP, that doesn't mean we necessarily have it, so that doesn't
mean we'll necessarily build with it.

svn path=/trunk/; revision=26639
2008-10-31 02:40:21 +00:00
Stephen Fisher 002716a7cf Fix bug #3022: Fix potential memory leak
svn path=/trunk/; revision=26638
2008-10-31 00:45:01 +00:00
Stephen Fisher 7901fd3b99 Fix bug #3021: Fix potential memory leak
svn path=/trunk/; revision=26637
2008-10-31 00:41:48 +00:00
Stephen Fisher 178fda6cfe Fix bug #3020: Fix potential memory leaks
svn path=/trunk/; revision=26636
2008-10-31 00:36:51 +00:00
Stephen Fisher d8e451b946 Fix bug #3019: Fix potential memory leaks
svn path=/trunk/; revision=26635
2008-10-31 00:30:23 +00:00
Stephen Fisher 43524ae6f7 Fix bug #3018: Fix potential memory leaks
svn path=/trunk/; revision=26634
2008-10-31 00:23:40 +00:00
Stig Bjørlykke 1d035a0542 Added support for RPCAP message formats.
svn path=/trunk/; revision=26633
2008-10-30 21:22:50 +00:00
Bill Meier 0eb5aa20a5 Slight rework related to proto_register & proto_reg_handoff;
Among other things: do the prefs callback stuff via the 
proto_reg_handoff callback rather than via a registered init 
function callback.

svn path=/trunk/; revision=26632
2008-10-30 20:54:25 +00:00
Anders Broman 5d6abb0d13 Add id-pkix-ocsp-nocheck.
Fixes bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3015

svn path=/trunk/; revision=26631
2008-10-30 20:12:00 +00:00
Anders Broman 34fdd680ef Fix:
packet-gsm_bsslap.c:374: warning: unused parameter 'len'
packet-gsm_a_rr.c:3035: warning: 'xdd_indic0' may be used uninitialized in this function

svn path=/trunk/; revision=26630
2008-10-30 20:09:14 +00:00
Jaap Keuter 88e85605f6 From Joe Eykholt:
The dissector for FIP (FCoE (Fibre Channel over Ethernet) Initialization Protocol)
needs to be updated for recent changes and proposed changes by T11.

The original version was done when the protocol was fairly close to being
ratified, but it is very very close now.  The letter ballot has gone out.
The only part of the attached patch that isn't on the current ballot is the
VLAN descriptor.  I will update that later if it turns out to be changed before adoption.

The changes are as follows:
The SWWN descriptor is now called a Name descriptor.
The FWWN descriptor is now called a Fabric descriptor and has two new fields,
VFID (virtual fabric ID) and FC-MAP OUI value.
The MRS descriptor is now called FCoE Size.
The FKA descriptor units changed from seconds to milliseconds.
The VLAN request and reply ops have been added.
A VLAN descriptor type has been added.

svn path=/trunk/; revision=26629
2008-10-30 19:58:41 +00:00
Anders Broman 95f8f924ca From Abhik Sarkar:
GSM SMS dissector doesn't support filtering based on TPDU parameters.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3012

svn path=/trunk/; revision=26628
2008-10-30 19:50:32 +00:00
Anders Broman 41671d662e From Marc Moussali:
Make it easier to add custom plugins.

svn path=/trunk/; revision=26627
2008-10-30 19:45:40 +00:00
Bill Meier 51a5c82e9d Fix bug #3017: remove un-necessary code (and thus fix a small memory leak)
svn path=/trunk/; revision=26626
2008-10-30 19:41:27 +00:00
Anders Broman c83c448173 Add dissection of some IE:s
svn path=/trunk/; revision=26625
2008-10-30 19:32:35 +00:00
Anders Broman 1e151d673f From Pascal Quantin:
Add dissection for 3GPP 25.331 System information Blocks messages and IRAT related messages.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3016

svn path=/trunk/; revision=26624
2008-10-30 19:31:50 +00:00
Anders Broman e3d3b73a96 From Pascal Quantin:
Add 3GPP 44.018 SI5bis, SI5ter, SI6 and SI13 decoding
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3014

svn path=/trunk/; revision=26623
2008-10-30 19:30:08 +00:00
Balint Reczey 4995d58135 show the type of the filter (Display/Capture Filter) on filter dialog
This fixes bug 1703.

svn path=/trunk/; revision=26622
2008-10-30 13:19:07 +00:00
Balint Reczey c2ce5dcbf6 Based on patch from Sergio Barjola:
Enable the default action for SIGPIPE
This fixes bug 2888 and 1740

svn path=/trunk/; revision=26621
2008-10-30 11:48:13 +00:00
Balint Reczey f763c88092 Try to dissect the Topology Descriptor before the command
This fixes bug 2665

svn path=/trunk/; revision=26620
2008-10-30 09:53:43 +00:00
Bill Meier be69cc2732 Minor cleanup related to proto_register & proto_reg_handoff
svn path=/trunk/; revision=26619
2008-10-29 19:16:29 +00:00
Balint Reczey bafe19e58d fixes some parsing errors revealed by fuzz tests
svn path=/trunk/; revision=26618
2008-10-29 16:24:58 +00:00
Sake Blok 3045ad69d7 Add a note in INSTALL that GTK+ 1.2[.x] is only supported up to
Wireshark 1.0.x


svn path=/trunk/; revision=26617
2008-10-29 12:26:49 +00:00
Stephen Fisher e103054f47 Fix a few (not all) of the current checkapi errors in gtk/
- Non-ASCII characters in a few filess
 - Missing $Id$ tag in one file


svn path=/trunk/; revision=26616
2008-10-29 07:31:45 +00:00
Jaap Keuter 7ae1591787 Fix for bug 1854:
Even though not perfect, this effectively doubles the width of the header labels
without changing the rest of the layout.

svn path=/trunk/; revision=26615
2008-10-29 07:28:44 +00:00