obnox/wireshark/wip.git
16 years agoAdd the forgotten file.
etxrab [Sun, 27 Jan 2008 23:18:57 +0000 (23:18 +0000)]
Add the forgotten file.

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

16 years agoMake it possible to do subdissection of Diameter AVP:s and add dissection
etxrab [Sun, 27 Jan 2008 21:06:33 +0000 (21:06 +0000)]
Make it possible to do subdissection of Diameter AVP:s and add dissection
of some 3GPP AVP:s.

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

16 years agoWhen having more than one matching item in a frame the AVG calculation
stig [Sun, 27 Jan 2008 18:19:40 +0000 (18:19 +0000)]
When having more than one matching item in a frame the AVG calculation
did not return a correct value.

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

16 years agoExpand the Protocol column instead of the last column on window resize.
stig [Sun, 27 Jan 2008 15:54:15 +0000 (15:54 +0000)]
Expand the Protocol column instead of the last column on window resize.

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

16 years agoDo not change profile if directory creation failed, and change to default
stig [Sun, 27 Jan 2008 14:45:31 +0000 (14:45 +0000)]
Do not change profile if directory creation failed, and change to default
profile if existing profile was deleted.

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

16 years agoUncomplete code change.
etxrab [Sun, 27 Jan 2008 14:27:11 +0000 (14:27 +0000)]
Uncomplete code change.

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

16 years agoNew gettext-runtime
etxrab [Sun, 27 Jan 2008 14:26:11 +0000 (14:26 +0000)]
New gettext-runtime

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

16 years agoFix reassembly.
etxrab [Sun, 27 Jan 2008 11:03:56 +0000 (11:03 +0000)]
Fix reassembly.

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

16 years agoAlso destroy the window when failure to export/import color filters.
stig [Sat, 26 Jan 2008 17:04:49 +0000 (17:04 +0000)]
Also destroy the window when failure to export/import color filters.

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

16 years agoDestroy the open window after open failure to avoid having an unusable
stig [Sat, 26 Jan 2008 16:50:08 +0000 (16:50 +0000)]
Destroy the open window after open failure to avoid having an unusable
open dialog when using GTK >= 2.4.

This fixes bug 1986.

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

16 years agoDestroy the save window after canceling a save to an existing file, so
stig [Sat, 26 Jan 2008 16:45:29 +0000 (16:45 +0000)]
Destroy the save window after canceling a save to an existing file, so
the user is able to save again without having a hidden save window which
will not open.

Older GTK versions will show the hidden window after failure.

This fixes bug 1896.

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

16 years agoadd *.user to the ignore list
ulfl [Sat, 26 Jan 2008 16:34:14 +0000 (16:34 +0000)]
add *.user to the ignore list

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

16 years agoadd *.user to the ignore list
ulfl [Sat, 26 Jan 2008 16:28:21 +0000 (16:28 +0000)]
add *.user to the ignore list

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

16 years agoFrom Peter (bug 2224):
stig [Sat, 26 Jan 2008 15:28:37 +0000 (15:28 +0000)]
From Peter (bug 2224):
Patch to fix compile with glib-1.2.

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

16 years agog_warning -> pcapng_debug and "switch it off" as default, so normal users won't be...
ulfl [Sat, 26 Jan 2008 14:08:51 +0000 (14:08 +0000)]
g_warning -> pcapng_debug and "switch it off" as default, so normal users won't be annoyed by debug messages

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

16 years agoUse the standard X.402 module as a separate file rather than as cut/paste into the...
gal [Sat, 26 Jan 2008 10:18:10 +0000 (10:18 +0000)]
Use the standard X.402 module as a separate file rather than as cut/paste into the ACP133 module.

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

16 years agoRemove "LDAP over SSL" registration as now handled by the LDAP dissector.
gal [Sat, 26 Jan 2008 10:14:26 +0000 (10:14 +0000)]
Remove "LDAP over SSL" registration as now handled by the LDAP dissector.

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

16 years ago1) Support for configurable LDAP over SSL port
gal [Sat, 26 Jan 2008 10:12:22 +0000 (10:12 +0000)]
1) Support for configurable LDAP over SSL port
2) Support for RFC 3909 - cancelRequest extendedOperation
3) Support for RFC 3062 - passwordModify extendedOperation
4) Column information for ExtendedRequest, SearchResultRef and AbandonRequest
5) Column information for multiple LDAP operations in the same packet (uses " | " separator)

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

16 years ago1) Correct attribute name.
gal [Sat, 26 Jan 2008 10:05:13 +0000 (10:05 +0000)]
1) Correct attribute name.
2) Add subtreespecification attribute.
3) Label each attribute in the tree with the attribute type.

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

16 years agoFrom Bill Florac:
jake [Fri, 25 Jan 2008 21:31:50 +0000 (21:31 +0000)]
From Bill Florac:
Corrected ATTRRPLY dissection.
Removed a few unnecessary semi-colons.

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

16 years agoDecode som more MBMS elements. Diameter XML fixes.
etxrab [Fri, 25 Jan 2008 17:27:54 +0000 (17:27 +0000)]
Decode som more MBMS elements. Diameter XML fixes.

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

16 years agoAdd tvb_free (as per the request in http://bugs.wireshark.org/bugzilla/show_bug.cgi...
morriss [Fri, 25 Jan 2008 15:34:55 +0000 (15:34 +0000)]
Add tvb_free (as per the request in bugs.wireshark.org/bugzilla/show_bug.cgi?id=2219)

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

16 years agoFrom Thomas Morin:
jake [Fri, 25 Jan 2008 06:32:53 +0000 (06:32 +0000)]
From Thomas Morin:
I have written the attached patch to improve the userfriendly-ness of the
summary displayed in the last column of the packet list for IGMP packets.

The current code only tells the user the type of packet (REPORT, LEAVE, QUERY),
but doesn't include any information about what multicast group is joined to or
left.   Worse, for IGMPv3 Reports the user cannot tell quickly if the multicast
group is joined-to or left, without having to look at the inside of the packet
to know the type of report (include all, include none, exlude none, exclude
all, etc.).

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

16 years agoFrom Bill Florac::
jake [Fri, 25 Jan 2008 06:23:28 +0000 (06:23 +0000)]
From Bill Florac::
Corrected display of attributes from previous patch (24165)
For V2, if field length was 0, do not display the empty field. This makes it
easier to read. I only did V2 as I do not have means to test V1.

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

16 years agoFixed some strcpy -> strncpy/g_snprintf cleanups.
stig [Thu, 24 Jan 2008 23:01:37 +0000 (23:01 +0000)]
Fixed some strcpy -> strncpy/g_snprintf cleanups.
Removed a debug printout in t38.

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

16 years agoAdded some parantheses to avoid a warning.
stig [Thu, 24 Jan 2008 22:51:17 +0000 (22:51 +0000)]
Added some parantheses to avoid a warning.

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

16 years agoRemoved even more C++ style comments.
stig [Thu, 24 Jan 2008 22:33:49 +0000 (22:33 +0000)]
Removed even more C++ style comments.

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

16 years agoFix various small memory leaks & 1 invalid g_free (airpcap_gui_utils.c)
wmeier [Thu, 24 Jan 2008 22:26:05 +0000 (22:26 +0000)]
Fix various small memory leaks & 1 invalid g_free (airpcap_gui_utils.c)

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

16 years agoDecode som MBMS elements.
etxrab [Thu, 24 Jan 2008 22:21:13 +0000 (22:21 +0000)]
Decode som MBMS elements.

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

16 years agoChange "Found no match" to "No match found"
wmeier [Thu, 24 Jan 2008 22:12:10 +0000 (22:12 +0000)]
Change "Found no match" to "No match found"

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

16 years agoWarn if we find %ll in the source
morriss [Thu, 24 Jan 2008 22:02:55 +0000 (22:02 +0000)]
Warn if we find %ll in the source

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

16 years agos/%ll/%" G_GINT64_MODIFIER "/g
morriss [Thu, 24 Jan 2008 21:57:13 +0000 (21:57 +0000)]
s/%ll/%" G_GINT64_MODIFIER "/g

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

16 years agoFixed some more malloc -> g_malloc, free -> g_free, strdup -> g_strdup.
stig [Thu, 24 Jan 2008 19:30:43 +0000 (19:30 +0000)]
Fixed some more malloc -> g_malloc, free -> g_free, strdup -> g_strdup.

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

16 years agoFixed some malloc -> g_malloc, free -> g_free, strdup -> g_strdup.
stig [Thu, 24 Jan 2008 19:09:30 +0000 (19:09 +0000)]
Fixed some malloc -> g_malloc, free -> g_free, strdup -> g_strdup.

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

16 years agoRemoved C++ style comment.
stig [Thu, 24 Jan 2008 18:51:54 +0000 (18:51 +0000)]
Removed C++ style comment.

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

16 years agoAdd check for non-ASCII characters (defined, for now, as any whose value is > 0x80...
morriss [Thu, 24 Jan 2008 18:18:28 +0000 (18:18 +0000)]
Add check for non-ASCII characters (defined, for now, as any whose value is > 0x80) anywhere in the source files (as per discussion on -dev).  Amazingly, this does not appear to slow the tool down too much.

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

16 years agoReplace a handful of tabs with spaces.
martinm [Thu, 24 Jan 2008 17:14:01 +0000 (17:14 +0000)]
Replace a handful of tabs with spaces.

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

16 years agoAlways return a valid profile name from get_profile_name().
stig [Thu, 24 Jan 2008 17:06:22 +0000 (17:06 +0000)]
Always return a valid profile name from get_profile_name().

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

16 years agoOne of fixes in SVN #24173 incomplete; Undo it for now
wmeier [Thu, 24 Jan 2008 05:39:48 +0000 (05:39 +0000)]
One of fixes in SVN #24173 incomplete; Undo it for now

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

16 years agoFix two very minor memory leaks
wmeier [Thu, 24 Jan 2008 04:20:07 +0000 (04:20 +0000)]
Fix two very minor memory leaks

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

16 years agoArrange things so that if '-o "capture.auto_scroll: FALSE"' is passed to
gerald [Thu, 24 Jan 2008 01:23:19 +0000 (01:23 +0000)]
Arrange things so that if '-o "capture.auto_scroll: FALSE"' is passed to
Wireshark on the command line, auto-scroll is actually disabled.

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

16 years agoGet rid of non-ASCII characters.
guy [Wed, 23 Jan 2008 20:15:13 +0000 (20:15 +0000)]
Get rid of non-ASCII characters.

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

16 years agoGet rid of non-ASCII characters.
guy [Wed, 23 Jan 2008 20:12:23 +0000 (20:12 +0000)]
Get rid of non-ASCII characters.

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

16 years agoGet rid of non-ASCII characters.
guy [Wed, 23 Jan 2008 19:47:40 +0000 (19:47 +0000)]
Get rid of non-ASCII characters.

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

16 years agoFix a minor memory leak; Remove some unused variables
wmeier [Wed, 23 Jan 2008 14:07:40 +0000 (14:07 +0000)]
Fix a minor memory leak; Remove some unused variables

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

16 years agoFix minor memory leak
wmeier [Wed, 23 Jan 2008 14:05:22 +0000 (14:05 +0000)]
Fix minor memory leak

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

16 years agoUnpack FindProcDLL.dll into $(WIRESHARK_LIBS\nsis-plugins, and tell NSIS
gerald [Wed, 23 Jan 2008 01:23:06 +0000 (01:23 +0000)]
Unpack FindProcDLL.dll into $(WIRESHARK_LIBS\nsis-plugins, and tell NSIS
where it is using "!addplugindir".

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

16 years agoFrom Bill Florac:
jake [Tue, 22 Jan 2008 18:20:00 +0000 (18:20 +0000)]
From Bill Florac:
Patch in revision 24163 is missing same fix needed for "case SRVREG", at line 1156.

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

16 years agoDon't update COL_INFO at all if not claiming the packet as CMPP. Add a (guessed)...
morriss [Tue, 22 Jan 2008 18:05:45 +0000 (18:05 +0000)]
Don't update COL_INFO at all if not claiming the packet as CMPP. Add a (guessed) upper-size limit on the heuristics and take out a check that the tvb length matches the protocol length--that would essentially disable TCP reassembly of this protocol

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

16 years agoFrom Bill Florac:
jake [Tue, 22 Jan 2008 07:36:33 +0000 (07:36 +0000)]
From Bill Florac:
The displaying of attribute-lists in an "Attribute Reply" (ATTRRPLY) seems to
be written to display some special non-conforming attributes.  Conforming
attributes are either displayed wrong or not displayed at all.

When displaying an attributes-list in a "Service Registration" (SRVREG), the
attribute list is only displayed as a single string (and usually truncated).
While this is not wrong, it should be broken up into the comma separated
attributes as "Attribute Requests" tries to do.

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

16 years agoFrom Bill Florac:
jake [Tue, 22 Jan 2008 06:49:49 +0000 (06:49 +0000)]
From Bill Florac:
When dissecting any message containing a "transport layer address", if the
address was NULL (which is valid), the offset pointer was not incremented by 1
and the remaining fields would not be dissected correctly.

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

16 years agoClean up indentation.
guy [Tue, 22 Jan 2008 04:59:59 +0000 (04:59 +0000)]
Clean up indentation.

Move some comments to make it a bit clearer what each branch of the if
handles.

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

16 years agoAdd another vendor id
jmayer [Tue, 22 Jan 2008 02:05:21 +0000 (02:05 +0000)]
Add another vendor id

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

16 years agoUse WTAP_MAX_PACKET_SIZE in place of 65535 in sanity check for snap len
sfisher [Tue, 22 Jan 2008 01:05:32 +0000 (01:05 +0000)]
Use WTAP_MAX_PACKET_SIZE in place of 65535 in sanity check for snap len
(although they are the same value right now)

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

16 years agoWhen using -T fields, print a "1" instead of nothing when a field of type FT_NONE is
sake [Tue, 22 Jan 2008 00:56:55 +0000 (00:56 +0000)]
When using -T fields, print a "1" instead of nothing when a field of type FT_NONE is
present. This way, scripts can check for the presence of this type of fields.

(fixes bug 2210)

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

16 years agoAdd description of the new option for configuration profile (-C).
stig [Mon, 21 Jan 2008 22:46:43 +0000 (22:46 +0000)]
Add description of the new option for configuration profile (-C).

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

16 years agoAdded entry for configuration profiles, and updated the statusbar
stig [Mon, 21 Jan 2008 22:27:02 +0000 (22:27 +0000)]
Added entry for configuration profiles, and updated the statusbar
description.

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

16 years agoUpdate Preferences dialog description.
jake [Mon, 21 Jan 2008 22:08:50 +0000 (22:08 +0000)]
Update Preferences dialog description.

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

16 years agoFrom Douglas Pratley (bug 1445):
stig [Mon, 21 Jan 2008 21:44:34 +0000 (21:44 +0000)]
From Douglas Pratley (bug 1445):
Add a "subnets" file defining a named list of subnets.

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

16 years agoAdd a preferense to decode a dynamic payload type as H263-1998/H263-2000
etxrab [Mon, 21 Jan 2008 20:49:15 +0000 (20:49 +0000)]
Add a preferense to decode a dynamic payload type as H263-1998/H263-2000

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

16 years agoFix for bug 1920:
jake [Mon, 21 Jan 2008 07:35:16 +0000 (07:35 +0000)]
Fix for bug 1920:
Avoid double free, causing crash, and stop memory leak via normal code path.

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

16 years agoRemove duplicated OID entries and add text "(single NAL unit mode)"
etxrab [Mon, 21 Jan 2008 06:46:58 +0000 (06:46 +0000)]
Remove duplicated OID entries and add text "(single NAL unit mode)"
to 0.0.8.241.0.0.0.0.
This time with the updated packet-h245.c

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

16 years agoRemove duplicated OID entries and add text "(single NAL unit mode)"
etxrab [Mon, 21 Jan 2008 06:28:23 +0000 (06:28 +0000)]
Remove duplicated OID entries and add text "(single NAL unit mode)"
to 0.0.8.241.0.0.0.0.

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

16 years agoas we have BSWAP64() now, at least read 64bit section_length (but currently unused)
ulfl [Mon, 21 Jan 2008 01:54:28 +0000 (01:54 +0000)]
as we have BSWAP64() now, at least read 64bit section_length (but currently unused)

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

16 years agoFix typo in help text
wmeier [Sun, 20 Jan 2008 23:12:12 +0000 (23:12 +0000)]
Fix typo in help text

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

16 years agoUpate another VC++ 2005 EE link.
gerald [Sun, 20 Jan 2008 18:53:38 +0000 (18:53 +0000)]
Upate another VC++ 2005 EE link.

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

16 years agoFixed a </para> placement.
stig [Sun, 20 Jan 2008 17:07:59 +0000 (17:07 +0000)]
Fixed a </para> placement.

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

16 years agoFixed crash when save IO Graphs (bug 2126).
stig [Sun, 20 Jan 2008 16:53:53 +0000 (16:53 +0000)]
Fixed crash when save IO Graphs (bug 2126).

The problem was that configure_event() is called each time the window size
changes, and each time the pixmap buffer is recreated and a new signal added
to the save button.

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

16 years agoDocument the copy button in conversations, endpoints and iographs.
stig [Sun, 20 Jan 2008 13:52:48 +0000 (13:52 +0000)]
Document the copy button in conversations, endpoints and iographs.

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

16 years agoAdded "copy as CSV" button to IO Graphs.
stig [Sun, 20 Jan 2008 12:24:14 +0000 (12:24 +0000)]
Added "copy as CSV" button to IO Graphs.

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

16 years agoIntroduce BSWAP64() and use it in the pcapng code
sfisher [Sun, 20 Jan 2008 02:31:34 +0000 (02:31 +0000)]
Introduce BSWAP64() and use it in the pcapng code

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

16 years agoMake it compile on Win32 ;-)
ulfl [Sat, 19 Jan 2008 12:34:43 +0000 (12:34 +0000)]
Make it compile on Win32 ;-)

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

16 years agoMake it compile on OSX.
stig [Sat, 19 Jan 2008 12:22:44 +0000 (12:22 +0000)]
Make it compile on OSX.

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

16 years agovarious enhancements:
ulfl [Sat, 19 Jan 2008 12:09:00 +0000 (12:09 +0000)]
various enhancements:
- read simple packet block
- read various options
- jump over unknown block types
- more sanity checks

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

16 years agoFrom Olivier Montanuy (bug 2198):
stig [Sat, 19 Jan 2008 10:46:13 +0000 (10:46 +0000)]
From Olivier Montanuy (bug 2198):
Fix the bug related to Option template:
- System scope (check that options scope size is == 4, not <= 4)
- Interface scope (same)
Same fix for fields BytesExported PacketsExported FlowsExported.
Also fix some tabulations in a previous patch related to IPv6 Addresses.

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

16 years agoCleanup the whitespace.
jake [Sat, 19 Jan 2008 07:46:52 +0000 (07:46 +0000)]
Cleanup the whitespace.

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

16 years agoFree allocated data in prefs_reset, removed need for uat_reload_all and
stig [Sat, 19 Jan 2008 01:18:35 +0000 (01:18 +0000)]
Free allocated data in prefs_reset, removed need for uat_reload_all and
made some cleanups in profile_dlg.

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

16 years agoI can't find any reason to unselect the current package only when an entry
stig [Fri, 18 Jan 2008 22:51:37 +0000 (22:51 +0000)]
I can't find any reason to unselect the current package only when an entry
in the packet details view is selected.  I suppose unselecting the field is
more correct.  The previous behaviour lead to some strange errors:

 Select a packet and an entry in the packet details.  Add a new column
 and change a protocol preference.  Observe the selected package is
 unselected and packet 1 is selected, which I think is wrong.

 Do the same as above with one of the following exceptions:
  - without selecting an entry in the packet details.
  - without adding a new column.
  - without changing a protocol preference.
 Observe the selected package is still selected, which is correct.

The correct behaviour here happens because of the cf_goto_frame call in
redraw_hex_dump_all, which causes the field to be unselected before
packet_list_set_sel_browse is called, and then the cf_unselect_package
is never called.

Maybe someone with a deeper knowledge should have a look at this...

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

16 years agoAdded smi_modules_uat and smi_paths_uat to libwireshark.def.
stig [Fri, 18 Jan 2008 16:13:48 +0000 (16:13 +0000)]
Added smi_modules_uat and smi_paths_uat to libwireshark.def.

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

16 years agodecode IDB options (if_tsaccur and if_fcslen)
ulfl [Fri, 18 Jan 2008 10:29:23 +0000 (10:29 +0000)]
decode IDB options (if_tsaccur and if_fcslen)

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

16 years agoDocument required changes to top level Makefile.nmake.
jake [Fri, 18 Jan 2008 07:35:01 +0000 (07:35 +0000)]
Document required changes to top level Makefile.nmake.

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

16 years agoMove libsmi settings from virtual mibs protocol page to name resolution page.
jake [Fri, 18 Jan 2008 07:18:32 +0000 (07:18 +0000)]
Move libsmi settings from virtual mibs protocol page to name resolution page.

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

16 years agoCorrect a typo.
etxrab [Fri, 18 Jan 2008 05:55:58 +0000 (05:55 +0000)]
Correct a typo.

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

16 years agoLet epan/asn1.c handle real type.
etxrab [Fri, 18 Jan 2008 05:55:24 +0000 (05:55 +0000)]
Let epan/asn1.c handle real type.

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

16 years agoAdd link to pcap-ng format specification and use #defines for hex values of
sfisher [Fri, 18 Jan 2008 00:59:30 +0000 (00:59 +0000)]
Add link to pcap-ng format specification and use #defines for hex values of
block types.

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

16 years agoWhitespace cleanup of AIRPCAP code.
jake [Thu, 17 Jan 2008 22:28:31 +0000 (22:28 +0000)]
Whitespace cleanup of AIRPCAP code.

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

16 years agoStrengthen heuristics a little bit, remove a useless variable, put COL_INFO check...
morriss [Thu, 17 Jan 2008 22:05:06 +0000 (22:05 +0000)]
Strengthen heuristics a little bit, remove a useless variable, put COL_INFO check in the right place

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

16 years agoFix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2206 : don't write into COL_IN...
morriss [Thu, 17 Jan 2008 21:40:33 +0000 (21:40 +0000)]
Fix bugs.wireshark.org/bugzilla/show_bug.cgi?id=2206 : don't write into COL_INFO unless we've checked that it's there first.

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

16 years agoFrom RD Thrush: Fix for 'editcap relies on gnu extension to strptime(3)'
wmeier [Thu, 17 Jan 2008 21:04:48 +0000 (21:04 +0000)]
From RD Thrush: Fix for 'editcap relies on gnu extension to strptime(3)'

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

16 years agoNow that we have wiretap plugins, capinfos and editcap need to be linked against...
morriss [Thu, 17 Jan 2008 19:44:04 +0000 (19:44 +0000)]
Now that we have wiretap plugins, capinfos and editcap need to be linked against libwireshark (because the non-wiretap plugins use it but also init_progfile_dir() is in epan and they use that to load the plugins)

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

16 years agoadd some parentheses as suggested by the OS X buildbot
ulfl [Thu, 17 Jan 2008 19:30:35 +0000 (19:30 +0000)]
add some parentheses as suggested by the OS X buildbot

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

16 years agoepan (libwireshark) uses getservbyport() which, at least on Solaris, is in libsocket...
morriss [Thu, 17 Jan 2008 18:42:19 +0000 (18:42 +0000)]
epan (libwireshark) uses getservbyport() which, at least on Solaris, is in libsocket so add libsocket (and libnsl) to libwireshark_la_LIBADD

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

16 years agobetter conformance to the released DCP protocol spec:
ulfl [Thu, 17 Jan 2008 18:29:51 +0000 (18:29 +0000)]
better conformance to the released DCP protocol spec:
- redesign/refactoring the code to support BlockQualifier
- fix handling of BlockInfo
- rename some display strings for better spec conformance
- remove LLDP suboption

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

16 years agoAdd support for DLT_SCCP (SCCP without MTP2, MTP3, or any pseudo-header).
morriss [Thu, 17 Jan 2008 17:55:38 +0000 (17:55 +0000)]
Add support for DLT_SCCP (SCCP without MTP2, MTP3, or any pseudo-header).

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

16 years agoHmmm. The previous ansi_tcap.cnf did not make valid code.
stig [Thu, 17 Jan 2008 09:20:17 +0000 (09:20 +0000)]
Hmmm.  The previous ansi_tcap.cnf did not make valid code.
I hope this fix is correct...

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

16 years agoChanged some variable types to make it compile.
stig [Wed, 16 Jan 2008 20:49:50 +0000 (20:49 +0000)]
Changed some variable types to make it compile.

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

16 years ago- Removed some unused variables in asn1 dissectors
stig [Wed, 16 Jan 2008 20:41:23 +0000 (20:41 +0000)]
- Removed some unused variables in asn1 dissectors
- Fixed last parameter to cry_cipher_open() in pkcs12

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

16 years agoChanged to checksum_good and checksum_bad to align with other dissectors.
stig [Wed, 16 Jan 2008 19:16:30 +0000 (19:16 +0000)]
Changed to checksum_good and checksum_bad to align with other dissectors.

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

16 years agoPrint the string to STDOUT regardless of the value of tree.
jake [Wed, 16 Jan 2008 18:39:32 +0000 (18:39 +0000)]
Print the string to STDOUT regardless of the value of tree.

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

16 years ago- Display some sctpprim parameters
martinm [Wed, 16 Jan 2008 14:19:45 +0000 (14:19 +0000)]
- Display some sctpprim parameters
- Parse sctpprim v3 properly now
- Add wtp protocol name

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