obnox/wireshark/wip.git
16 years agoUse G_GINT64_MODIFIER to print gint64's and guint64's.
guy [Wed, 5 Dec 2007 10:34:01 +0000 (10:34 +0000)]
Use G_GINT64_MODIFIER to print gint64's and guint64's.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23767 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUse g_vsnprintf(), not vsprintf(), for safety's sake.
guy [Wed, 5 Dec 2007 10:30:38 +0000 (10:30 +0000)]
Use g_vsnprintf(), not vsprintf(), for safety's sake.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23766 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoTo generate a session-lifetime string given a format and va_list, use
guy [Wed, 5 Dec 2007 10:27:49 +0000 (10:27 +0000)]
To generate a session-lifetime string given a format and va_list, use
se_strdup_vprintf().

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23765 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoThe first component of a "wtap_nstime" is a "time_t", which could be an
guy [Wed, 5 Dec 2007 10:24:37 +0000 (10:24 +0000)]
The first component of a "wtap_nstime" is a "time_t", which could be an
"int" or a "long"; initialize it with LONG_MAX cast to "time_t".

The second argument is an "int"; initialize it with INT_MAX.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23764 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUse G_GINT64_MODIFIER for gint64 and guint64 values.
guy [Wed, 5 Dec 2007 10:17:58 +0000 (10:17 +0000)]
Use G_GINT64_MODIFIER for gint64 and guint64 values.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23763 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoClean up indentation.
guy [Wed, 5 Dec 2007 09:43:20 +0000 (09:43 +0000)]
Clean up indentation.

Use G_GINT64_MODIFIER for gint64 and guint64 values.  Use "u", rather
than "d", for unsigned values.  Put whitespace in the proper place in
format strings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23762 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoMake the "protocol" field big enough to hold the 3-character
guy [Wed, 5 Dec 2007 09:31:05 +0000 (09:31 +0000)]
Make the "protocol" field big enough to hold the 3-character
null-terminated string that the format item used when scanning says it
is - i.e., 4 "char"s, including the null terminator.

(Thanks and a tip of the hat to "gcc (GCC) 3.3.5 (propolice)" on OpenBSD
4.2 for finding this.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23761 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAt least on some LP64 platforms (such as OpenBSD 4.2 on x86-64),
guy [Wed, 5 Dec 2007 09:05:52 +0000 (09:05 +0000)]
At least on some LP64 platforms (such as OpenBSD 4.2 on x86-64),
PRI[dux]64 use "ll", but gint64 and guint64 are "long" and "unsigned
long", not "long long" or "unsigned long long", and the compiler warns
about using "%ll[doux]" with "long" or "unsigned long".  Use
G_GINT64_MODIFIER instead.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23760 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agothe GSS Checksum in secure onc-rpc contains the same blobs as GSS Tokens
sahlberg [Wed, 5 Dec 2007 08:37:51 +0000 (08:37 +0000)]
the GSS Checksum in secure onc-rpc contains the same blobs as GSS Tokens
does.

make wireshark decode these blobs

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23759 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agogit-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23758 f5534014-38df-0310...
bondolo [Wed, 5 Dec 2007 04:20:21 +0000 (04:20 +0000)]
git-svn-id: anonsvn.wireshark.org/wireshark/trunk@23758 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd missing profinet to maintainer-clean
wmeier [Wed, 5 Dec 2007 03:23:54 +0000 (03:23 +0000)]
Add missing profinet to maintainer-clean

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23757 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoDo not create an illegal filter when having an empty display filter and
stig [Tue, 4 Dec 2007 23:47:30 +0000 (23:47 +0000)]
Do not create an illegal filter when having an empty display filter and
selecting Apply/Prepare "and/or (not) Selected" in Conversations, Endpoints
and Service Response Time.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23756 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoOnly define oid_get_default_mib_path() if we have libsmi.
guy [Tue, 4 Dec 2007 19:39:09 +0000 (19:39 +0000)]
Only define oid_get_default_mib_path() if we have libsmi.

Explicitly mark it as having no arguments.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23754 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd an oid_get_default_mib_path() function, and use it to display the MIB
gerald [Tue, 4 Dec 2007 18:43:40 +0000 (18:43 +0000)]
Add an oid_get_default_mib_path() function, and use it to display the MIB
path in About->Folders.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23753 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoDisplay textual explanation for printer and job values from RFC 2911.
gmorris [Tue, 4 Dec 2007 16:33:48 +0000 (16:33 +0000)]
Display textual explanation for printer and job values from RFC 2911.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23752 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoDuplicate packet # -> Retransmission #
stig [Tue, 4 Dec 2007 14:04:37 +0000 (14:04 +0000)]
Duplicate packet #  ->  Retransmission #

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23751 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoSupport for RPCAP features in GUI (from Boris Misenov, see Bug 1366)
kukosa [Tue, 4 Dec 2007 11:19:29 +0000 (11:19 +0000)]
Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)
  - retrieving the list of remote PCAP interfaces
  - password authentication support
  - UDP data fransfer
  - packet sampling (available in WinPcap 4.x)
  etc.

fix problem if non-default rpcap port is used

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23750 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoNext try.
jmayer [Tue, 4 Dec 2007 11:00:13 +0000 (11:00 +0000)]
Next try.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23749 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoadd missing emem.h include (prefs-int.h uses emem structures now)
kukosa [Tue, 4 Dec 2007 08:33:20 +0000 (08:33 +0000)]
add missing emem.h include (prefs-int.h uses emem structures now)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23748 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd macros for various filter actions and types, and to combine them
guy [Tue, 4 Dec 2007 08:27:48 +0000 (08:27 +0000)]
Add macros for various filter actions and types, and to combine them
into a callback argument and split a callback argument up.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23747 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoMore whitespace cleanup.
guy [Tue, 4 Dec 2007 07:53:23 +0000 (07:53 +0000)]
More whitespace cleanup.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23746 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoClean up indentation.
guy [Tue, 4 Dec 2007 07:50:44 +0000 (07:50 +0000)]
Clean up indentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23745 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd a break statement - not necessary in this case, but cleaner, and
guy [Tue, 4 Dec 2007 07:50:18 +0000 (07:50 +0000)]
Add a break statement - not necessary in this case, but cleaner, and
matches similar code in other files.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23744 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoMake mpeg2ts over UDP possible. Heuristic and Decode as.
jake [Tue, 4 Dec 2007 07:11:38 +0000 (07:11 +0000)]
Make mpeg2ts over UDP possible. Heuristic and Decode as.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23743 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoRemove superfluous buffer allocation.
jake [Tue, 4 Dec 2007 06:50:11 +0000 (06:50 +0000)]
Remove superfluous buffer allocation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23742 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUse common code for ASCII -> tvb.
etxrab [Tue, 4 Dec 2007 06:00:02 +0000 (06:00 +0000)]
Use common code for ASCII -> tvb.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23741 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoNote in a comment the sad truth that CFURLCreateWithString() fails
guy [Tue, 4 Dec 2007 04:33:44 +0000 (04:33 +0000)]
Note in a comment the sad truth that CFURLCreateWithString() fails
either because of a bad URL string or a failure to allocate memory, and
that we can't easily determine which of those happened.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23740 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1413
jmayer [Tue, 4 Dec 2007 03:48:05 +0000 (03:48 +0000)]
Fix for bugs.wireshark.org/bugzilla/show_bug.cgi?id=1413
Print "SVN Rev unknown" in case the svn command was not found.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23739 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoget rid of GTree and use emem trees instead
sahlberg [Tue, 4 Dec 2007 03:28:04 +0000 (03:28 +0000)]
get rid of GTree and use emem trees instead

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23738 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoupdate to new signature for string keyed trees
sahlberg [Tue, 4 Dec 2007 03:27:27 +0000 (03:27 +0000)]
update to new signature for string keyed trees

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23737 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agorework how emem trees indexed by strings so that traversing the tree
sahlberg [Tue, 4 Dec 2007 03:26:50 +0000 (03:26 +0000)]
rework how emem trees indexed by strings  so that traversing the tree
will traverse the entries in the lexical order of the key.

add a flag to lookup/insert for strings to specify whether a case
insensitive key should be used instead of a (default) case sensitive
key.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23736 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoreverse previous patch
sahlberg [Tue, 4 Dec 2007 02:09:37 +0000 (02:09 +0000)]
reverse previous patch

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23735 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoremove the use of GTrees and replace these with emem trees instead
sahlberg [Tue, 4 Dec 2007 01:45:17 +0000 (01:45 +0000)]
remove the use of GTrees and replace these with emem trees instead

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23734 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agofor nested trees, teach emem about which nodes contain a pointer to a
sahlberg [Tue, 4 Dec 2007 01:44:05 +0000 (01:44 +0000)]
for nested trees, teach emem about which nodes contain a pointer to a
subtree and which nodes that contain a pointer to user data

teach emem to be able to traverse nested trees

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23733 f5534014-38df-0310-8fa8-9805f1628bb7

16 years ago- Added three more y axis scale values to be able to draw time values
stig [Tue, 4 Dec 2007 01:28:38 +0000 (01:28 +0000)]
- Added three more y axis scale values to be able to draw time values
  up to 2000 seconds (maximum when using guint32).
- Combined some common code to draw the y axis values.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23732 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoReserve 20 bits for expert "event groups", to leave room for more.
guy [Tue, 4 Dec 2007 01:26:02 +0000 (01:26 +0000)]
Reserve 20 bits for expert "event groups", to leave room for more.
Shuffle the expert severities down, and note that we have only 8 bits
available for FI_ flags unless you shrink the set of event groups and
shuffle them and the expert severities up.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23731 f5534014-38df-0310-8fa8-9805f1628bb7

16 years ago#if out a function that is only used when building with glib 2 or later
sahlberg [Tue, 4 Dec 2007 00:56:11 +0000 (00:56 +0000)]
#if out a function that is only used when building with glib 2 or later

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23730 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoSimplified y-positions for FBAR and DOT to ensure out-of-graph values are
stig [Tue, 4 Dec 2007 00:36:39 +0000 (00:36 +0000)]
Simplified y-positions for FBAR and DOT to ensure out-of-graph values are
drawn as they should be.  I hope this is the last fix this time...

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23729 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoIf we're using the native Windows file dialog, don't bother to see if the
gerald [Tue, 4 Dec 2007 00:23:56 +0000 (00:23 +0000)]
If we're using the native Windows file dialog, don't bother to see if the
file exists before we try to save it. The Windows file dialog code does that
for us.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23728 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoSeverities are unsigned.
guy [Mon, 3 Dec 2007 23:02:09 +0000 (23:02 +0000)]
Severities are unsigned.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23727 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoMake the flags field a guint32, to make it clear that it's 32 bits.
guy [Mon, 3 Dec 2007 22:48:49 +0000 (22:48 +0000)]
Make the flags field a guint32, to make it clear that it's 32 bits.

Move the expert information bits to the top of that field, to avoid
collisions (we had a collision with the 0x00000004 bit).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23726 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoadd tree traversal functions
sahlberg [Mon, 3 Dec 2007 22:47:23 +0000 (22:47 +0000)]
add tree traversal functions

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23725 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFetch all fmtp parameters.
etxrab [Mon, 3 Dec 2007 22:40:04 +0000 (22:40 +0000)]
Fetch all fmtp parameters.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23724 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2057
etxrab [Mon, 3 Dec 2007 22:22:25 +0000 (22:22 +0000)]
Fix bug bugs.wireshark.org/bugzilla/show_bug.cgi?id=2057
The tag for PSTNTermination is [95].

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23723 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUse same notation for all y axis time labels, so we don't end up having one
stig [Mon, 3 Dec 2007 22:11:06 +0000 (22:11 +0000)]
Use same notation for all y axis time labels, so we don't end up having one
in seconds, one in milliseconds and one in microseconds.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23722 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix indentation.
guy [Mon, 3 Dec 2007 21:57:57 +0000 (21:57 +0000)]
Fix indentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23720 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoClean up indentation.
guy [Mon, 3 Dec 2007 21:55:44 +0000 (21:55 +0000)]
Clean up indentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23719 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoadd end of line to the last line of the file
sahlberg [Mon, 3 Dec 2007 21:54:27 +0000 (21:54 +0000)]
add end of line to the last line of the file

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23718 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agomark two unused parameters as _U_
sahlberg [Mon, 3 Dec 2007 21:52:57 +0000 (21:52 +0000)]
mark two unused parameters as _U_

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23717 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoIf CoreFoundation create calls fail, fail, don't drive on.
guy [Mon, 3 Dec 2007 21:41:06 +0000 (21:41 +0000)]
If CoreFoundation create calls fail, fail, don't drive on.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23716 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoParenthesize the operand of the cast, to make it clearer that we're
guy [Mon, 3 Dec 2007 21:35:54 +0000 (21:35 +0000)]
Parenthesize the operand of the cast, to make it clearer that we're
casting the result of the entire computation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23714 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoMark pinfo as unused.
stig [Mon, 3 Dec 2007 21:33:56 +0000 (21:33 +0000)]
Mark pinfo as unused.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23713 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd another cast.
etxrab [Mon, 3 Dec 2007 20:53:26 +0000 (20:53 +0000)]
Add another cast.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23712 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd some casts to get the windows compiler happy.
stig [Mon, 3 Dec 2007 20:43:30 +0000 (20:43 +0000)]
Add some casts to get the windows compiler happy.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23711 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdded two more y axis scale values to be able to draw time values up to
stig [Mon, 3 Dec 2007 20:17:31 +0000 (20:17 +0000)]
Added two more y axis scale values to be able to draw time values up to
200 seconds.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23710 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoDissect RTP payload of H.264 and SDP profile-leve-id for H.264.
etxrab [Mon, 3 Dec 2007 20:14:42 +0000 (20:14 +0000)]
Dissect RTP payload of H.264 and SDP profile-leve-id for H.264.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23709 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoEnsure we don't wrap the values when calculating advanced time values.
stig [Mon, 3 Dec 2007 19:44:27 +0000 (19:44 +0000)]
Ensure we don't wrap the values when calculating advanced time values.

With default window size the limit for this wrap is ~27 seconds when having
0-50 seconds on the y axis, and decreases greatly on higher window size.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23708 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoRevised P7 dissector to use #.TABLE directive to generate tables for the ROS dissecto...
gal [Mon, 3 Dec 2007 19:32:28 +0000 (19:32 +0000)]
Revised P7 dissector to use #.TABLE directive to generate tables for the ROS dissector from
the [ABSTRACT] OPERATIONS definitions in the ASN.1 file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23707 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoSupport table-based dissection of ROS operations.
gal [Mon, 3 Dec 2007 19:29:24 +0000 (19:29 +0000)]
Support table-based dissection of ROS operations.
This simplifies the generation of dissectors for ROS-based protocols using the asn2wrs #.TABLE directive.

See the P7 dissector for an example.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23706 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2059 : reassemble XUDTS, too
morriss [Mon, 3 Dec 2007 18:12:25 +0000 (18:12 +0000)]
Fix bugs.wireshark.org/bugzilla/show_bug.cgi?id=2059 : reassemble XUDTS, too

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23705 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2063 : there's only 1 octet...
morriss [Mon, 3 Dec 2007 17:32:02 +0000 (17:32 +0000)]
Fix bugs.wireshark.org/bugzilla/show_bug.cgi?id=2063 : there's only 1 octet of FSN in non-ANSI COO/COA's.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23704 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd "soap" -> "http" mapping.
martinm [Mon, 3 Dec 2007 15:47:08 +0000 (15:47 +0000)]
Add "soap" -> "http" mapping.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23703 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agofix confusion in tag handling
kukosa [Mon, 3 Dec 2007 13:48:45 +0000 (13:48 +0000)]
fix confusion in tag handling

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23702 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoMy compiler (I think wrongly) says that fnum could be used uninitialised.
martinm [Mon, 3 Dec 2007 12:22:13 +0000 (12:22 +0000)]
My compiler (I think wrongly) says that fnum could be used uninitialised.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23701 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoInclude reassembled protocols, as this probably is the output the user wants.
stig [Mon, 3 Dec 2007 12:15:21 +0000 (12:15 +0000)]
Include reassembled protocols, as this probably is the output the user wants.

The Bytes and End Bytes columns will be wrong for reassembled protocols,
as they span across several packets, but I don't see any obvious way to
display such values.  The correct values can be found by looking at the
parent protocols.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23700 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoCodec plugin example. The stub for ImTelephone libraries.
kukosa [Mon, 3 Dec 2007 09:59:18 +0000 (09:59 +0000)]
Codec plugin example. The stub for ImTelephone libraries.
(It is not compiled by default.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23699 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUpdate screenshot according to button change.
stig [Sun, 2 Dec 2007 14:45:11 +0000 (14:45 +0000)]
Update screenshot according to button change.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23698 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoChanged from Ok button to Close button.
stig [Sun, 2 Dec 2007 14:43:41 +0000 (14:43 +0000)]
Changed from Ok button to Close button.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23697 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agofix bug #1594: compositions must be differentiated by both protocol and summary,...
ulfl [Sun, 2 Dec 2007 10:13:57 +0000 (10:13 +0000)]
fix bug #1594: compositions must be differentiated by both protocol and summary, not only the summary - otherwise this results in a single entry if two protocols share the same summary, e.g. TCP/UDP "Bad Checksum"

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23696 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAfter taking a closer look at SVN 23089, I believe it was intended only to add the
sake [Sat, 1 Dec 2007 02:10:03 +0000 (02:10 +0000)]
After taking a closer look at SVN 23089, I believe it was intended only to add the
file-name to the window title and not change the rest of the name.
(the graph window is both used from "Flow Graph" and from "VoIP calls")

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23695 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd a compatibility note from Ethereal(!) bug 1130.
gerald [Sat, 1 Dec 2007 01:17:59 +0000 (01:17 +0000)]
Add a compatibility note from Ethereal(!) bug 1130.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23694 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agomove "Display Filter Macros" from View to Analyze menu, just below "Display Filter...
ulfl [Fri, 30 Nov 2007 23:28:06 +0000 (23:28 +0000)]
move "Display Filter Macros" from View to Analyze menu, just below "Display Filter" - I guess it fit's much better there

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23693 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoadd libwireshark.def
ulfl [Fri, 30 Nov 2007 22:01:52 +0000 (22:01 +0000)]
add libwireshark.def

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23692 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agofirst steps to support MSVC 2008 Express Edition
ulfl [Fri, 30 Nov 2007 22:01:05 +0000 (22:01 +0000)]
first steps to support MSVC 2008 Express Edition

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23691 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUpdate the users guide according to recent changes in the statistics windows:
stig [Fri, 30 Nov 2007 20:50:37 +0000 (20:50 +0000)]
Update the users guide according to recent changes in the statistics windows:
- New column "Marked" in the summary window
- New label "Capture filter" in the hierarchy window
- Moved Copy button in conversations and endpoints
- Added the zero value on the x-axis in io graphs

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23690 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoGive the flow graph window the correct title.
sake [Fri, 30 Nov 2007 18:55:34 +0000 (18:55 +0000)]
Give the flow graph window the correct title.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23689 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFrom Florent DROUIN:
stig [Fri, 30 Nov 2007 16:01:08 +0000 (16:01 +0000)]
From Florent DROUIN:
I just add a test for the index, to check we are in the element table.

This fixes bug 2051.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23688 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFrom Florent DROUIN:
stig [Fri, 30 Nov 2007 15:55:28 +0000 (15:55 +0000)]
From Florent DROUIN:
There is a new check for the length, and the reported_length is added to the
offset, instead of the "theorical" length of the element.

This fixes bug 2052.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23687 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoShow the Display filter in Protocol Hierarchy Statistics.
stig [Fri, 30 Nov 2007 15:37:21 +0000 (15:37 +0000)]
Show the Display filter in Protocol Hierarchy Statistics.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23686 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoMove the "copy" button down to the button bar, to match the layout in
stig [Fri, 30 Nov 2007 14:36:18 +0000 (14:36 +0000)]
Move the "copy" button down to the button bar, to match the layout in
the conversations window.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23685 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoMore summary enhancements:
stig [Fri, 30 Nov 2007 13:28:12 +0000 (13:28 +0000)]
More summary enhancements:
- Don't hide columns in the GUI
- Show Packets count first
- Always show values in Packets count
- Don't show Avg. packet size if 1 packet
- Don't show time between packets if 1 packet

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23684 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agodefine ssl_debug_flush() for disabled debug
kukosa [Fri, 30 Nov 2007 12:41:23 +0000 (12:41 +0000)]
define ssl_debug_flush() for disabled debug

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23683 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agosetup SRTP stream if MIKEY is detected in OLC
kukosa [Fri, 30 Nov 2007 12:37:30 +0000 (12:37 +0000)]
setup SRTP stream if MIKEY is detected in OLC

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23682 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agouse g_strconcat() which should be faster instead of g_strdup_printf()
kukosa [Fri, 30 Nov 2007 11:46:13 +0000 (11:46 +0000)]
use g_strconcat() which should be faster instead of g_strdup_printf()

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23681 f5534014-38df-0310-8fa8-9805f1628bb7

16 years ago- fix warnings in prefs.c
kukosa [Fri, 30 Nov 2007 11:12:55 +0000 (11:12 +0000)]
- fix warnings in prefs.c
- do not flush SSL debug output after each message but only once per packet

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23680 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoNext few improvements to speed up startup about 10%.
kukosa [Fri, 30 Nov 2007 09:22:01 +0000 (09:22 +0000)]
Next few improvements to speed up startup about 10%.
- use GTree instead of GList for preference module lists

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23679 f5534014-38df-0310-8fa8-9805f1628bb7

16 years ago(Ugh: remove debug cmd from script)
wmeier [Fri, 30 Nov 2007 02:45:58 +0000 (02:45 +0000)]
(Ugh: remove debug cmd from script)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23678 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix (really) so all dlls and exes found to set exec bit
wmeier [Fri, 30 Nov 2007 02:39:33 +0000 (02:39 +0000)]
Fix (really) so all dlls and exes found to set exec bit

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23677 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd a directory argument and some default directories to "configure
gerald [Fri, 30 Nov 2007 00:45:12 +0000 (00:45 +0000)]
Add a directory argument and some default directories to "configure
--with-libsmi".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23676 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix script: setting 'executable' bit for dlls/exes now works after downloading a...
wmeier [Fri, 30 Nov 2007 00:37:15 +0000 (00:37 +0000)]
Fix script: setting 'executable' bit for dlls/exes now works after downloading a package

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23675 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUpdate to gtk+ 2.14.2 and glib glib-2.14.4
etxrab [Thu, 29 Nov 2007 21:34:38 +0000 (21:34 +0000)]
Update to gtk+ 2.14.2 and glib glib-2.14.4

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23674 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFrom Jens Braeuer (bug 1999):
stig [Thu, 29 Nov 2007 17:25:36 +0000 (17:25 +0000)]
From Jens Braeuer (bug 1999):
This patchs adds the
- requested check of tlv_len at top of the disection-loop
- length check for fields w/ variable length (expert_add_info_format)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23673 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoList Conversations before Endpoints to be in sync with the application.
stig [Thu, 29 Nov 2007 08:33:15 +0000 (08:33 +0000)]
List Conversations before Endpoints to be in sync with the application.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23671 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoIs ping not installed on the Solaris buildbot, or does the path of the
guy [Thu, 29 Nov 2007 08:17:44 +0000 (08:17 +0000)]
Is ping not installed on the Solaris buildbot, or does the path of the
script not include /usr/sbin, or is ping installed somewhere other than
where it is on my Solaris "machine"?  Try explicitly running it as
/usr/sbin/ping on Solaris.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23670 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agohide implementation of module list
kukosa [Thu, 29 Nov 2007 07:52:52 +0000 (07:52 +0000)]
hide implementation of module list
(it makes easier change from GList to GTree as we have many modules now and GList implementation is slow for searching)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23669 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agofix GLIB 1.x compatibility
kukosa [Thu, 29 Nov 2007 07:48:12 +0000 (07:48 +0000)]
fix GLIB 1.x compatibility

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23668 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoCount stats for parent if encountering a field not related to a protocol.
stig [Thu, 29 Nov 2007 07:40:08 +0000 (07:40 +0000)]
Count stats for parent if encountering a field not related to a protocol.

This fixes a bug where packets having toplevel tree items for desegmentation
(like [Reassembled TCP Segments]) are not added to the Protocol Hierarchy
Statistics "End Packets" and "End Bytes" columns.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23667 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoDidier Gautheron:
etxrab [Thu, 29 Nov 2007 06:29:20 +0000 (06:29 +0000)]
Didier Gautheron:
Only call ether_to_str(), get_ether_name() if the tree is visible, they are slow.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23666 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoDidier Gautheron:
etxrab [Thu, 29 Nov 2007 06:28:07 +0000 (06:28 +0000)]
Didier Gautheron:
Call subdissectors preference for retransmitted frames.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23665 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFrom Didier Gautheron: Fix for Bug #1862: JPEG (JFIF) packet always malformed
wmeier [Thu, 29 Nov 2007 00:01:09 +0000 (00:01 +0000)]
From Didier Gautheron: Fix for Bug #1862: JPEG (JFIF) packet always malformed

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23662 f5534014-38df-0310-8fa8-9805f1628bb7