obnox/wireshark/wip.git
14 years agoFrom Nathan Hartwell via bug 2733:
stig [Thu, 25 Jun 2009 02:07:17 +0000 (02:07 +0000)]
From Nathan Hartwell via bug 2733:
Added time_secs_to_str_unsigned().

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

14 years agoRemove a tvb_free() call.
stig [Thu, 25 Jun 2009 01:50:56 +0000 (01:50 +0000)]
Remove a tvb_free() call.

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

14 years agoFrom Duncan Salerno:
jake [Wed, 24 Jun 2009 20:27:58 +0000 (20:27 +0000)]
From Duncan Salerno:
Ensure dct3trac packets never longer than 23 bytes.

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

14 years agoFrom Kovarththanan Rajaratnam via bug 3555:
stig [Wed, 24 Jun 2009 19:10:50 +0000 (19:10 +0000)]
From Kovarththanan Rajaratnam via bug 3555:
Cancel hostname lookup timers if c-ares is not initialized.

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

14 years agoFrom Artem Tamazov:
jake [Wed, 24 Jun 2009 06:21:45 +0000 (06:21 +0000)]
From Artem Tamazov:
Added: ESMC support as per G.8264 (Slow Protocol Subtype 0x0a).
* QL codes are dissected according to G.781 5.5.1.1 "Option I SDH".
Added: support for Timestamp entities in ESMC PDU as per WD56 proposal.

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

14 years agoFixed field types for some reserved fields.
stig [Wed, 24 Jun 2009 05:54:19 +0000 (05:54 +0000)]
Fixed field types for some reserved fields.

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

14 years agoMore hf_register_info related cleanup.
stig [Wed, 24 Jun 2009 03:03:25 +0000 (03:03 +0000)]
More hf_register_info related cleanup.

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

14 years agoRemove superflous code; #include <stdio.h> not needed.
wmeier [Wed, 24 Jun 2009 02:42:43 +0000 (02:42 +0000)]
Remove superflous code; #include <stdio.h> not needed.

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

14 years agoFrom Kovarththanan Rajaratnam:
stig [Wed, 24 Jun 2009 02:17:12 +0000 (02:17 +0000)]
From Kovarththanan Rajaratnam:
More hf_register_info related cleanup.

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

14 years agoFrom Kovarththanan Rajaratnam:
stig [Wed, 24 Jun 2009 02:12:13 +0000 (02:12 +0000)]
From Kovarththanan Rajaratnam:
Move hf_register_info declarations in packet-m2m.c to function scope

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

14 years agoFrom Kovarththanan Rajaratnam:
stig [Wed, 24 Jun 2009 02:11:11 +0000 (02:11 +0000)]
From Kovarththanan Rajaratnam:
Cleanup hf_register_info declaration passed to llc_add_oui(). While there,
change the declaration to an array in order to be consistent with the rest
of packet-*.c files.

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

14 years agoChange hf_nisplus_dummy to use "dummy" as name instead of " "
stig [Wed, 24 Jun 2009 02:08:14 +0000 (02:08 +0000)]
Change hf_nisplus_dummy to use "dummy" as name instead of " "
(this is the only place where " " was used)

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

14 years agoFrom Kovarththanan Rajaratnam:
stig [Wed, 24 Jun 2009 02:07:16 +0000 (02:07 +0000)]
From Kovarththanan Rajaratnam:
More hf_register_info related cleanup
* Fix process-x11-fields.pl (packet-x11.c)

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

14 years agoMore hf_register_info related cleanup.
stig [Wed, 24 Jun 2009 02:05:51 +0000 (02:05 +0000)]
More hf_register_info related cleanup.

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

14 years agoFrom Kovarththanan Rajaratnam:
stig [Wed, 24 Jun 2009 01:40:54 +0000 (01:40 +0000)]
From Kovarththanan Rajaratnam:
More asn1/* header field info cleanup

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

14 years agoRemove two unused includes
wmeier [Wed, 24 Jun 2009 00:49:54 +0000 (00:49 +0000)]
Remove two unused includes

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

14 years agoif (!initialized) ... not req'd + other addt'l minor revisions;
wmeier [Wed, 24 Jun 2009 00:29:54 +0000 (00:29 +0000)]
if (!initialized) ... not req'd + other addt'l minor revisions;
Also: add packet-hpteam.c to Makefile.common so it gets built as part oif Wireshark.

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

14 years agoFrom Nathan Hartwell:
jake [Tue, 23 Jun 2009 21:05:47 +0000 (21:05 +0000)]
From Nathan Hartwell:
This patch attempt should more closely align with the Wireshark "layout" of using
a dissector rather than a "hack" to the packet-llc dissector.

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

14 years agoUpdate 3GPP AVP:s
etxrab [Tue, 23 Jun 2009 16:01:55 +0000 (16:01 +0000)]
Update 3GPP AVP:s

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

14 years agoRevert(Try to fix indentation a bit.)
etxrab [Tue, 23 Jun 2009 14:16:28 +0000 (14:16 +0000)]
Revert(Try to fix indentation a bit.)

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

14 years agoTry to fix indentation a bit.
etxrab [Tue, 23 Jun 2009 13:49:46 +0000 (13:49 +0000)]
Try to fix indentation a bit.

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

14 years agoFrom Kovarththanan Rajaratnam:
jake [Tue, 23 Jun 2009 06:49:38 +0000 (06:49 +0000)]
From Kovarththanan Rajaratnam:
The Bluetooth AMP Manager protocol was recently adopted by the Bluetooth SIG.
This protocol sits on top of L2CAP and requires a few changes in order to
accommodate the new move/create channel request.

This patch includes:
* a new Bluetooth AMP Manager Protocol dissector
* changes to L2CAP to handle the new move/create channel signals
* introduce a dissector table for fixed channel, allowing btamp dissector to
handle the BT AMP Manager Protocol channel
* Preliminary changes in L2CAP to support the new enhanced L2CAP modes
(enhanced retransmission/streaming mode)

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

14 years agoFrom Shinsuke SUZUKI:
jake [Tue, 23 Jun 2009 06:45:59 +0000 (06:45 +0000)]
From Shinsuke SUZUKI:
Due to an incorrect offset setting in packet-icmpv6.c Wireshark cannot parse RA router-lifetime and RA flags properly.

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

14 years agoFrom Kovarththanan Rajaratnam:
stig [Tue, 23 Jun 2009 06:02:12 +0000 (06:02 +0000)]
From Kovarththanan Rajaratnam:
Clean up header field info in asn1/*-template.c files.

From me:
Fixed a few typos in the patch.

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

14 years agoCopy AUTHORS-SHORT to the top-level directory so Help->About can find it when run...
morriss [Mon, 22 Jun 2009 22:48:35 +0000 (22:48 +0000)]
Copy AUTHORS-SHORT to the top-level directory so Help->About can find it when run from the build directory.

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

14 years agoInstead of tvb_get_ptr + ep_alloc + proto_tree_add_string to fetch a string and
gerald [Mon, 22 Jun 2009 22:38:29 +0000 (22:38 +0000)]
Instead of tvb_get_ptr + ep_alloc + proto_tree_add_string to fetch a string and
add it to the tree, just call proto_tree_add_item. Fixes bug 3564.

Replace another tvb_get_ptr call with tvb_format_text.

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

14 years agoFrom Kovarththanan Rajaratnam:
stig [Mon, 22 Jun 2009 18:23:58 +0000 (18:23 +0000)]
From Kovarththanan Rajaratnam:
More header field info cleanup in plugins/* and epan/dissectors/*

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

14 years agoChange window_new() to dlg_window_new() and destroy the window with the top level...
etxrab [Mon, 22 Jun 2009 15:22:37 +0000 (15:22 +0000)]
Change window_new() to dlg_window_new() and destroy the window with the top level window.

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

14 years agoImprove heuristic for packetlogger file format detection.
tuexen [Mon, 22 Jun 2009 12:13:12 +0000 (12:13 +0000)]
Improve heuristic for packetlogger file format detection.

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

14 years agoAdd protection code to avoid crashed when .erf files
tuexen [Mon, 22 Jun 2009 11:45:28 +0000 (11:45 +0000)]
Add protection code to avoid crashed when .erf files
are wrongly identified as packetlogger ones.
Will be scheduled for 1.2.1.

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

14 years agoFix my 'fix': guint8 > 0 is always true
jmayer [Mon, 22 Jun 2009 07:27:14 +0000 (07:27 +0000)]
Fix my 'fix': guint8 > 0 is always true

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

14 years agoAdd -Wextra (ok, it was already there as -W) and -Wlogical-op
jmayer [Mon, 22 Jun 2009 06:31:11 +0000 (06:31 +0000)]
Add -Wextra (ok, it was already there as -W) and -Wlogical-op

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

14 years agoFix warning: always evaluates to true/false
jmayer [Mon, 22 Jun 2009 06:29:32 +0000 (06:29 +0000)]
Fix warning: always evaluates to true/false

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

14 years agoLots of additional decoding, still quite a few things missing.
jmayer [Mon, 22 Jun 2009 06:28:10 +0000 (06:28 +0000)]
Lots of additional decoding, still quite a few things missing.

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

14 years agoDefault to BASE_NONE for FT_BOOLEAN with zero value for display.
stig [Mon, 22 Jun 2009 06:16:39 +0000 (06:16 +0000)]
Default to BASE_NONE for FT_BOOLEAN with zero value for display.

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

14 years agoMore header_field_info cleanup.
stig [Mon, 22 Jun 2009 06:02:36 +0000 (06:02 +0000)]
More header_field_info cleanup.

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

14 years agoFix for bug 3559:
jake [Mon, 22 Jun 2009 05:57:44 +0000 (05:57 +0000)]
Fix for bug 3559:
Don't let the index run over the size of the array.

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

14 years agoMore header_field_info cleanup.
stig [Mon, 22 Jun 2009 05:45:00 +0000 (05:45 +0000)]
More header_field_info cleanup.

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

14 years agoMore header_field_info cleanup.
stig [Mon, 22 Jun 2009 05:35:47 +0000 (05:35 +0000)]
More header_field_info cleanup.

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

14 years agoMore header_field_info cleanup.
stig [Mon, 22 Jun 2009 05:18:37 +0000 (05:18 +0000)]
More header_field_info cleanup.

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

14 years agoFrom Kovarththanan Rajaratnam:
stig [Mon, 22 Jun 2009 04:58:08 +0000 (04:58 +0000)]
From Kovarththanan Rajaratnam:
Move header field info declarations into function scope.

This is the first step. Another patch will be submitted which actually scrubs
the header field info declarations (remove empty blurbs, etc.)

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

14 years agoChange window_new() to dlg_window_new() and destroy the window with the top level...
etxrab [Sun, 21 Jun 2009 20:42:07 +0000 (20:42 +0000)]
Change window_new() to dlg_window_new() and destroy the window with the top level window.

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

14 years agoUpdate for main_menu.[ch] -> menus.[ch] change.
guy [Sun, 21 Jun 2009 19:30:19 +0000 (19:30 +0000)]
Update for main_menu.[ch] -> menus.[ch] change.

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

14 years ago"main_menu.[ch]" -> "menus.[ch]"; it handles not only the main menu, but
guy [Sun, 21 Jun 2009 19:16:37 +0000 (19:16 +0000)]
"main_menu.[ch]" -> "menus.[ch]"; it handles not only the main menu, but
context menus.

Note why we have an empty hex dump pane context menu.

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

14 years agoClean up the "available XXX type" messages a bit.
guy [Sun, 21 Jun 2009 18:55:32 +0000 (18:55 +0000)]
Clean up the "available XXX type" messages a bit.

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

14 years agoFrom Kovarththanan Rajaratnam via bug 3548:
stig [Sun, 21 Jun 2009 18:45:56 +0000 (18:45 +0000)]
From Kovarththanan Rajaratnam via bug 3548:
More header_field_info cleanup.

From me:
Don't fix the empty name for hf_nisplus_dummy.

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

14 years agoAdd duration to the tap info.
etxrab [Sun, 21 Jun 2009 18:27:34 +0000 (18:27 +0000)]
Add duration to the tap info.

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

14 years agoWhite space changes.
etxrab [Sun, 21 Jun 2009 18:24:03 +0000 (18:24 +0000)]
White space changes.

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

14 years agoUpdate to Jun spec. version.
etxrab [Sun, 21 Jun 2009 16:28:09 +0000 (16:28 +0000)]
Update to Jun spec. version.
(Dissector will be generated when we fix some "empty blurb issues".)

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

14 years agoAUTHORS-SHORT is now in the doc subdirectory
morriss [Sun, 21 Jun 2009 15:47:40 +0000 (15:47 +0000)]
AUTHORS-SHORT is now in the doc subdirectory

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

14 years ago[Automatic manuf and enterprise-numbers update for 2009-06-21]
gerald [Sun, 21 Jun 2009 15:03:37 +0000 (15:03 +0000)]
[Automatic manuf and enterprise-numbers update for 2009-06-21]

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

14 years agoMove the generated documentation (man pages, AUTHORS-SHORT-FORMAT, and
morriss [Sun, 21 Jun 2009 12:47:48 +0000 (12:47 +0000)]
Move the generated documentation (man pages, AUTHORS-SHORT-FORMAT, and
AUTHORS-SHORT) into doc/.  This cleans up the top-level Makefile.am (no more
need to have rules for each man page in both files) and solves the
parallel-build problem described in:

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3494

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

14 years agoLDAP control support for Password policy for LDAP directories.
gal [Sun, 21 Jun 2009 09:13:11 +0000 (09:13 +0000)]
LDAP control support for Password policy for LDAP directories.

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

14 years agoFrom Kovarththanan Rajaratnam via bug 3548:
stig [Sat, 20 Jun 2009 18:33:33 +0000 (18:33 +0000)]
From Kovarththanan Rajaratnam via bug 3548:
More header_field_info cleanup in the asn1 cnf files.

Dissectors will be regenerated later.

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

14 years agoLots of improvements to GLPB dissector - still lot of stuff missing.
jmayer [Sat, 20 Jun 2009 16:07:01 +0000 (16:07 +0000)]
Lots of improvements to GLPB dissector - still lot of stuff missing.

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

14 years agoAnd delete the added file...
stig [Fri, 19 Jun 2009 06:16:29 +0000 (06:16 +0000)]
And delete the added file...

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

14 years agoRevert changes committed by an accident.
stig [Fri, 19 Jun 2009 06:15:52 +0000 (06:15 +0000)]
Revert changes committed by an accident.
Will be committed again later.

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

14 years agoThe previous patch fixed only part of the problem,
jmayer [Fri, 19 Jun 2009 06:14:29 +0000 (06:14 +0000)]
The previous patch fixed only part of the problem,
as offset was only increased inside the if statement.
Get rid of offset and put in the numeric value.

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

14 years agoMoved setting of length2 to make it always set.
stig [Fri, 19 Jun 2009 05:45:40 +0000 (05:45 +0000)]
Moved setting of length2 to make it always set.

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

14 years agoAdd beginnings of Cisco's GLBP protocol. It's based
jmayer [Fri, 19 Jun 2009 05:29:20 +0000 (05:29 +0000)]
Add beginnings of Cisco's GLBP protocol. It's based
on the trace referred to by bug 3544 and the documentation
URL given in the dissector.

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

14 years agoReplace my email address by a reference to AUTHORS
jmayer [Fri, 19 Jun 2009 05:27:15 +0000 (05:27 +0000)]
Replace my email address by a reference to AUTHORS

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

14 years agoFrom Anders: Fix wrong tag numbers.
stig [Fri, 19 Jun 2009 03:47:40 +0000 (03:47 +0000)]
From Anders: Fix wrong tag numbers.
Dissector will be generated when we fix some "empty blurb issues".

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

14 years agoWrite NULL for empty blurb.
stig [Fri, 19 Jun 2009 03:37:52 +0000 (03:37 +0000)]
Write NULL for empty blurb.

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

14 years agoFrom Kovarththanan Rajaratnam via bug 3548:
stig [Fri, 19 Jun 2009 02:09:52 +0000 (02:09 +0000)]
From Kovarththanan Rajaratnam via bug 3548:
More header_field_info cleanup.

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

14 years agoFrom Kovarththanan Rajaratnam via bug 3548:
stig [Thu, 18 Jun 2009 23:22:10 +0000 (23:22 +0000)]
From Kovarththanan Rajaratnam via bug 3548:
Cleanup header_field_info in plugins.

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

14 years agoFrom Kovarththanan Rajaratnam via bug 3548:
stig [Thu, 18 Jun 2009 21:30:42 +0000 (21:30 +0000)]
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
    for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
    FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero

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

14 years agoUse BASE_NONE for FT_BYTES.
stig [Thu, 18 Jun 2009 21:26:13 +0000 (21:26 +0000)]
Use BASE_NONE for FT_BYTES.

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

14 years agoFix for bug 3539: Address as signess issue for fcs_len.
tuexen [Thu, 18 Jun 2009 18:43:36 +0000 (18:43 +0000)]
Fix for bug 3539: Address as signess issue for fcs_len.
Bugfix scheduled for 1.2.1.

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

14 years agoFrom Anders:
stig [Wed, 17 Jun 2009 15:02:12 +0000 (15:02 +0000)]
From Anders:
Update to June specification.

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

14 years agoCall RRC dissector inside TRY/CATCH block, in order to:
martinm [Wed, 17 Jun 2009 12:13:29 +0000 (12:13 +0000)]
Call RRC dissector inside TRY/CATCH block, in order to:
- finish dissecton of other bodies
- make sure stats are updated in the face of RRC exceptions

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

14 years agoTrivial prettifications
martinm [Wed, 17 Jun 2009 09:43:56 +0000 (09:43 +0000)]
Trivial prettifications

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

14 years agoAdded missing lua_bitop.obj.
stig [Wed, 17 Jun 2009 01:16:13 +0000 (01:16 +0000)]
Added missing lua_bitop.obj.

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

14 years agoClean up a comment.
tuexen [Wed, 17 Jun 2009 00:46:38 +0000 (00:46 +0000)]
Clean up a comment.

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

14 years agoLet create_preference_option_menu() and create_preference_entry()
stig [Tue, 16 Jun 2009 21:04:43 +0000 (21:04 +0000)]
Let create_preference_option_menu() and create_preference_entry()
set the tooltips.

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

14 years agoSuggested by Anders...
tuexen [Tue, 16 Jun 2009 20:32:17 +0000 (20:32 +0000)]
Suggested by Anders...

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

14 years ago- Properly detect and use the perl command.
jmayer [Tue, 16 Jun 2009 05:52:16 +0000 (05:52 +0000)]
- Properly detect and use the perl command.
- Rename EDITCAP_... to editcap_... and the like.
  This should make it easier to later loop around some
  of the entries instead of processing each individually.

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

14 years agoBuild the other tools that don't depend on libwireshark
jmayer [Tue, 16 Jun 2009 05:37:46 +0000 (05:37 +0000)]
Build the other tools that don't depend on libwireshark
(editcap, capinfo, text2pcap, mergecap).

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

14 years agoAdded Lua BitOp, made by Mike Pall.
stig [Tue, 16 Jun 2009 05:26:46 +0000 (05:26 +0000)]
Added Lua BitOp, made by Mike Pall.

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

14 years agoWhitespace cleanups.
tuexen [Tue, 16 Jun 2009 05:03:33 +0000 (05:03 +0000)]
Whitespace cleanups.

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

14 years agoResize the list in the autocompletion popup when narrowing down the elements
stig [Tue, 16 Jun 2009 04:54:59 +0000 (04:54 +0000)]
Resize the list in the autocompletion popup when narrowing down the elements
to remove a possible horizontal scrollbar when not needed, also when using
backspace.

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

14 years agoUpdate svn:ignore for wiretap after ascend structure changes.
stig [Tue, 16 Jun 2009 04:23:13 +0000 (04:23 +0000)]
Update svn:ignore for wiretap after ascend structure changes.

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

14 years agoOK, so my last commit message was too optimistic - I was using
jmayer [Tue, 16 Jun 2009 04:12:30 +0000 (04:12 +0000)]
OK, so my last commit message was too optimistic - I was using
an installed version of wsutil. dumpcap now really builds on
Linux via cmake.

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

14 years agoSupport per packet dumping in wtap_encap_string() and wtap_encap_short_string().
stig [Tue, 16 Jun 2009 03:16:55 +0000 (03:16 +0000)]
Support per packet dumping in wtap_encap_string() and wtap_encap_short_string().

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

14 years agoLet create_preference_option_menu() and create_preference_entry()
stig [Mon, 15 Jun 2009 23:39:57 +0000 (23:39 +0000)]
Let create_preference_option_menu() and create_preference_entry()
set the tooltips.

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

14 years agoLet create_preference_check_button() set the tooltips.
stig [Mon, 15 Jun 2009 23:25:12 +0000 (23:25 +0000)]
Let create_preference_check_button() set the tooltips.

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

14 years agoFrom Ben Winslow via bug 3535:
gerald [Mon, 15 Jun 2009 22:25:05 +0000 (22:25 +0000)]
From Ben Winslow via bug 3535:

Because Lucent/Ascend equipment will sometimes omit the hex dump for a packet
or send two headers followed by two hex dumps, Wireshark needs to be very
lenient when parsing a Lucent/Ascend trace.  On a busy access server, a packet
like this is pretty likely to appear within a few minutes.

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

14 years agoUse upx 303w.
gerald [Mon, 15 Jun 2009 22:20:27 +0000 (22:20 +0000)]
Use upx 303w.

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

14 years agoBug 2833:
gal [Mon, 15 Jun 2009 19:43:29 +0000 (19:43 +0000)]
Bug 2833:
Naming attributes in subject DNs defined for Extended Validation Certificates
http://www.cabforum.org/EV_Certificate_Guidelines_draft11.pdf

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

14 years agoCMake now successfully builds dumpcap
jmayer [Mon, 15 Jun 2009 18:59:33 +0000 (18:59 +0000)]
CMake now successfully builds dumpcap

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

14 years agoRename all of the ascend files:
jmayer [Mon, 15 Jun 2009 18:56:46 +0000 (18:56 +0000)]
Rename all of the ascend files:
That way we hopefully won't need the runlex.sh hack any
more. Also the ylwrap stuff is (hopefully) obsolete.

ascend.[hc]      -> ascendtext.[hc]
ascend-scanner.l -> ascend_scanner.l
ascend-grammar.y -> ascend.y

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

14 years agoNote that non-ASCII characters in source files cause problems.
guy [Mon, 15 Jun 2009 16:54:07 +0000 (16:54 +0000)]
Note that non-ASCII characters in source files cause problems.

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

14 years agoAdded a preference to capture in Pcap-NG from GUI.
stig [Mon, 15 Jun 2009 16:36:02 +0000 (16:36 +0000)]
Added a preference to capture in Pcap-NG from GUI.

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

14 years agoIt appears Wireshark now has only ASCII in its source files; Treat non-ASCII chars...
morriss [Mon, 15 Jun 2009 15:16:52 +0000 (15:16 +0000)]
It appears Wireshark now has only ASCII in its source files; Treat non-ASCII chars as an error.

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

14 years agoRemove non-ASCII character
morriss [Mon, 15 Jun 2009 14:59:08 +0000 (14:59 +0000)]
Remove non-ASCII character

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

14 years agoFix bug reported by Stig: per packet encapsulation for
tuexen [Mon, 15 Jun 2009 12:55:42 +0000 (12:55 +0000)]
Fix bug reported by Stig: per packet encapsulation for
pcapng is supported.

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

14 years agoclean: remove directory of previous upx301.
wmeier [Mon, 15 Jun 2009 12:40:53 +0000 (12:40 +0000)]
clean: remove directory of previous upx301.

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

14 years agoproto_reg_handoff... doesn't need 'if (!inited) ...';
wmeier [Mon, 15 Jun 2009 12:36:50 +0000 (12:36 +0000)]
proto_reg_handoff... doesn't need 'if (!inited) ...';
Remove unneeded forward declaration;
Set emacs editor modelines value to a "safe" value.

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

14 years agoShow data-segment info in info column.
martinm [Mon, 15 Jun 2009 09:46:13 +0000 (09:46 +0000)]
Show data-segment info in info column.

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

14 years agoAdded missing 'const' for value_string.
stig [Mon, 15 Jun 2009 04:52:50 +0000 (04:52 +0000)]
Added missing 'const' for value_string.

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

14 years agoTrivial warning fixes:
jmayer [Mon, 15 Jun 2009 02:34:53 +0000 (02:34 +0000)]
Trivial warning fixes:
- Might be used uninitialized
- not a prototype
- comma at end of enum

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