14 years agoadd a dissector table for class specific control input/output pdus
sahlberg [Sun, 22 Oct 2006 11:49:23 +0000 (11:49 +0000)]
add a dissector table for class specific control input/output pdus

implement class specific control commands : reset and getmaxlun for mass storage

now with a better understanding of the problem space for usb and device classes we can start cleaning the code up and make it nice

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

14 years agoadd tracking of interface class for CONTROL_INPUT as well as existing support for...
sahlberg [Sun, 22 Oct 2006 09:38:59 +0000 (09:38 +0000)]
add tracking of interface class for CONTROL_INPUT as well as existing support for BULK INPUT/OUTPUT

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

14 years agofix some endianess issues
sahlberg [Sun, 22 Oct 2006 05:21:37 +0000 (05:21 +0000)]
fix some endianess issues

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

14 years agodissect the individual bits in the CONFIDURATION descriptor field for the endpoint...
sahlberg [Sun, 22 Oct 2006 01:21:20 +0000 (01:21 +0000)]
dissect the individual bits in the CONFIDURATION descriptor field for the endpoint address

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

14 years agoadd a tcp_tree field to packet_info so that we can access the tree from tcp_dissect_p...
sahlberg [Sun, 22 Oct 2006 00:21:40 +0000 (00:21 +0000)]
add a tcp_tree field to packet_info so that we can access the tree from tcp_dissect_pdus() (and others if need be)

in tcp_dissect_pdus()  add a field ( tcp.pdu.size ) to the tree that displays the pdu size.

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

14 years agoteach the http header dissector how to handle integer fields instead of just assuming...
sahlberg [Sat, 21 Oct 2006 22:17:43 +0000 (22:17 +0000)]
teach the http header dissector how to handle integer fields instead of just assuming everything is a string field

change http.content_length to be FT_UINT32

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

14 years agoPut the ", " before the PortAudio item regardless of whether we have
guy [Sat, 21 Oct 2006 17:48:45 +0000 (17:48 +0000)]
Put the ", " before the PortAudio item regardless of whether we have
PortAudio or not; this fixes 1174.

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

14 years agothe text in the about box license page was hard to read because of line breaks at...
ulfl [Sat, 21 Oct 2006 12:06:26 +0000 (12:06 +0000)]
the text in the about box license page was hard to read because of line breaks at the wrong places.

set the minimum size of the widget to 600 pixels - this is working well on my machine. If anyone has problems even with this width (e.g. because of using a larger font) we might increase the size even further.

Of course, this increases the overall size of the about dialog, but the other tabs seem to be working well with it.

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

14 years agoremove two packaging warnings - could this be applied to 0.99.4?
ulfl [Sat, 21 Oct 2006 09:40:18 +0000 (09:40 +0000)]
remove two packaging warnings - could this be applied to 0.99.4?

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

14 years agothe flags are FT_BOOLEAN not FT_UINT8
sahlberg [Sat, 21 Oct 2006 05:07:48 +0000 (05:07 +0000)]
the flags are FT_BOOLEAN not FT_UINT8

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

14 years agoprettify the flags field and power consumption for CONFIGURATION DESCRIPTOR
sahlberg [Sat, 21 Oct 2006 04:57:12 +0000 (04:57 +0000)]
prettify the flags field and power consumption for CONFIGURATION DESCRIPTOR

dissect the self-powered and the remote-wakeup flags
show the powerconsumption in mA

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

14 years agoAirPcap fixes from Giorgio Tino:
gerald [Fri, 20 Oct 2006 23:22:53 +0000 (23:22 +0000)]
AirPcap fixes from Giorgio Tino:

1) When choosing to Merge, Import or Keep decryption keys,  key lists will be saved to the preferences file AND into the registry.

2) Now if you check/uncheck the WEP deccryption checkbox in the Preferences..., the AirPcap toolbar will be modified as well.

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

14 years agoMS usually calls this a build number, not a patch (e.g. see the system version info)
ulfl [Fri, 20 Oct 2006 20:21:52 +0000 (20:21 +0000)]
MS usually calls this a build number, not a patch (e.g. see the system version info)

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

14 years agodon't fail to create an installer if LUA_DIR or NET_SNMP_DIR are not defined (both...
ulfl [Fri, 20 Oct 2006 20:06:44 +0000 (20:06 +0000)]
don't fail to create an installer if LUA_DIR or NET_SNMP_DIR are not defined (both optional)

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

14 years agoDon't display the Play button if we're not built with the RTP player.
guy [Fri, 20 Oct 2006 20:05:27 +0000 (20:05 +0000)]
Don't display the Play button if we're not built with the RTP player.

In tests for whether we're built with the RTP player, test
HAVE_LIBPORTAUDIO first - hopefully we can eventually get rid of the
test for the GTK+ version number.

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

14 years agoCatch an infinite loop. Fixes bug 1172.
gerald [Fri, 20 Oct 2006 19:37:11 +0000 (19:37 +0000)]
Catch an infinite loop.  Fixes bug 1172.

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

14 years agoFrom Stephen Fisher: put a newline at the end, to squelch warnings.
guy [Fri, 20 Oct 2006 19:29:41 +0000 (19:29 +0000)]
From Stephen Fisher: put a newline at the end, to squelch warnings.

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

14 years agoOne more Ethereal -> Wireshark name change
jake [Fri, 20 Oct 2006 19:19:33 +0000 (19:19 +0000)]
One more Ethereal -> Wireshark name change

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

14 years agoLine up the colons in the list of configure options.
guy [Fri, 20 Oct 2006 18:51:51 +0000 (18:51 +0000)]
Line up the colons in the list of configure options.

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

14 years agoGet rid of a duplicate call.
guy [Fri, 20 Oct 2006 18:49:02 +0000 (18:49 +0000)]
Get rid of a duplicate call.

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

14 years agoPut the period into ITU-T Recommendation names.
guy [Fri, 20 Oct 2006 18:41:40 +0000 (18:41 +0000)]
Put the period into ITU-T Recommendation names.

Clean up indentation.

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

14 years agoAdd #defines for the column numbers, and use them.
guy [Fri, 20 Oct 2006 18:36:42 +0000 (18:36 +0000)]
Add #defines for the column numbers, and use them.

Clean up indentation.

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

14 years agoClean up indentation.
guy [Fri, 20 Oct 2006 18:18:50 +0000 (18:18 +0000)]
Clean up indentation.

Fix typos.

Null out "pa_stream" when the stream is closed; this appears to prevent
some crashes.

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

14 years agoDon't destroy something if it doesn't exist.
guy [Fri, 20 Oct 2006 17:56:21 +0000 (17:56 +0000)]
Don't destroy something if it doesn't exist.

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

14 years agoDon't pass an uninitialized string to gtk_widget_create_pango_layout();
guy [Fri, 20 Oct 2006 17:47:28 +0000 (17:47 +0000)]
Don't pass an uninitialized string to gtk_widget_create_pango_layout();
it supports NULL for "no text".

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

14 years agoDon't do things with the RTP channels hash table if it hasn't been
guy [Fri, 20 Oct 2006 17:30:27 +0000 (17:30 +0000)]
Don't do things with the RTP channels hash table if it hasn't been
created yet.

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

14 years agoFix the progress bars.
guy [Fri, 20 Oct 2006 17:12:52 +0000 (17:12 +0000)]
Fix the progress bars.

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

14 years agoAdd an expert item for detecting ARP request packet storms. The time period and...
martinm [Fri, 20 Oct 2006 14:20:22 +0000 (14:20 +0000)]
Add an expert item for detecting ARP request packet storms.  The time period and number of requests needed are configurable.  I've turned the preference to do the detection off, because I'm not sure what might be sensible defaults for the other fields...

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

14 years agoReport roundtrip delay as expert item
martinm [Fri, 20 Oct 2006 14:05:18 +0000 (14:05 +0000)]
Report roundtrip delay as expert item

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

14 years agoMinor info column formatting + improved hf long text entries
martinm [Fri, 20 Oct 2006 14:03:28 +0000 (14:03 +0000)]
Minor info column formatting + improved hf long text entries

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

14 years agoDo the word-wrapping in end_string(), once the string is completely
guy [Fri, 20 Oct 2006 09:06:24 +0000 (09:06 +0000)]
Do the word-wrapping in end_string(), once the string is completely
constructed.  Clean up the insertion of ", ".

Put the runtime libpcap version into the runtime version info.

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

14 years agoMake dumpcap complile again and other minor improvements.
jake [Fri, 20 Oct 2006 06:24:56 +0000 (06:24 +0000)]
Make dumpcap complile again and other minor improvements.

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

14 years agoFixes bug 1166, adds DNET decoding to I-Could-Be-Router-To-Network message.
jake [Fri, 20 Oct 2006 05:56:56 +0000 (05:56 +0000)]
Fixes bug 1166, adds DNET decoding to I-Could-Be-Router-To-Network message.

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

14 years agofix 'save' to store hi-order 32 bits of time offset for each pkt; fixes bug 1168
wmeier [Fri, 20 Oct 2006 01:17:17 +0000 (01:17 +0000)]
fix 'save' to store hi-order 32 bits of time offset for each pkt; fixes bug 1168

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

14 years agoRemove an extra space.
gerald [Thu, 19 Oct 2006 23:57:46 +0000 (23:57 +0000)]
Remove an extra space.

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

14 years agoRename get_epan_and_portaudio_version_info() to get_gui_compiled_info()
gerald [Thu, 19 Oct 2006 22:43:38 +0000 (22:43 +0000)]
Rename get_epan_and_portaudio_version_info() to get_gui_compiled_info()
and add version info for AirPcap.  Add a corresponding
get_gui_runtime_info().  Fix up whitespace.

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

14 years agoFrom Stephen Fisher:
jake [Thu, 19 Oct 2006 21:39:18 +0000 (21:39 +0000)]
From Stephen Fisher:
Attached is a patch to fix bug #1165.  To summarize: "if you click on the button to change the background color and hit ok, it changes not only the name field but also the string field's color away from the red/green [syntax check]."

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

14 years agoClean up the word wrap stuff a bit. (Arguably, that should be done in
guy [Thu, 19 Oct 2006 21:17:23 +0000 (21:17 +0000)]
Clean up the word wrap stuff a bit.  (Arguably, that should be done in
the code that displays it - we might, for example, be able to have the
About dialog word-wrap to the appropriate size, and word-wrap text
printed to the standard output to the terminal width if it's going to a
terminal and to 80 or whatever columns otherwise.)

Don't report anything in dumpcap about libraries not used by dumpcap.
(It was printing a blank, which looked a bit weird.)

Fix the handling of _MSC_VER as per Gerald's fix for _MSC_FULL_VER.

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

14 years agoSet the right properties
jake [Thu, 19 Oct 2006 21:11:36 +0000 (21:11 +0000)]
Set the right properties

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

14 years agoFix the MSVC++ compiler information. Put a blank line before the "Built"
gerald [Thu, 19 Oct 2006 20:37:41 +0000 (20:37 +0000)]
Fix the MSVC++ compiler information.  Put a blank line before the "Built"

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

14 years agoThe RDM dissector is now a built-in; get rid of the plugin.
guy [Thu, 19 Oct 2006 18:47:15 +0000 (18:47 +0000)]
The RDM dissector is now a built-in; get rid of the plugin.

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

14 years agoFix a comment.
guy [Thu, 19 Oct 2006 18:44:51 +0000 (18:44 +0000)]
Fix a comment.

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

14 years agoFix up the changes to put the Portaudio information at the end of the
guy [Thu, 19 Oct 2006 18:43:12 +0000 (18:43 +0000)]
Fix up the changes to put the Portaudio information at the end of the
version string, so the information comes out right for applications that
don't use Portaudio.

Get rid of an extra "with" in the version string for dumpcap.

Get rid of an extra blank after the libpcap version string, and get rid
of an extra newline before it.

Attempt to add more compiler version information and to prettify the
MSVC++ version information (both untested).

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

14 years ago$Id$ and propset
lego [Thu, 19 Oct 2006 18:35:10 +0000 (18:35 +0000)]
$Id$ and propset

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

14 years agoAdd DTD for RFC 4662 (Event Notification Extension for Resource Lists) XML schema.
martinm [Thu, 19 Oct 2006 17:37:15 +0000 (17:37 +0000)]
Add DTD for RFC 4662 (Event Notification Extension for Resource Lists) XML schema.

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

14 years agoFix a typo.
gerald [Thu, 19 Oct 2006 17:34:11 +0000 (17:34 +0000)]
Fix a typo.

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

14 years agoRegister the dissector.
tuexen [Thu, 19 Oct 2006 17:25:13 +0000 (17:25 +0000)]
Register the dissector.

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

14 years ago- wslua_gui.c:
lego [Thu, 19 Oct 2006 17:02:23 +0000 (17:02 +0000)]
- wslua_gui.c:
  - remove data_ref where it is not used anymore (callbacks won't pass userdata as this ius better done using lua's closures)
  - have TextWindow:set_editable() using its argument

- add wslua_optbool(L,n,d) to pull an optional boolean from the stack

- several fixes to docbook generation (now it compiles!)

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

14 years agoInstall the COPYING file, as the license tab in the About box needs it.
guy [Thu, 19 Oct 2006 09:31:11 +0000 (09:31 +0000)]
Install the COPYING file, as the license tab in the About box needs it.

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

14 years agoSet want_portaudio to yes if we'll be building with libportaudio; it
guy [Thu, 19 Oct 2006 09:16:49 +0000 (09:16 +0000)]
Set want_portaudio to yes if we'll be building with libportaudio; it
might have been set to ifavailable, but other parts of the configure
script expect it to be "yes" or "no" after

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

14 years agoFix a compiler warning (about a real problem).
guy [Thu, 19 Oct 2006 09:14:27 +0000 (09:14 +0000)]
Fix a compiler warning (about a real problem).

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

14 years agoFix some compiler warnings (about real problems).
guy [Thu, 19 Oct 2006 09:12:28 +0000 (09:12 +0000)]
Fix some compiler warnings (about real problems).

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

14 years agoInclude gtk/main.h to declare main_filter_packets().
guy [Thu, 19 Oct 2006 09:10:40 +0000 (09:10 +0000)]
Include gtk/main.h to declare main_filter_packets().

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

14 years agoIf we have to use Lex or Flex, check whether we found it, first, and if
guy [Thu, 19 Oct 2006 07:45:10 +0000 (07:45 +0000)]
If we have to use Lex or Flex, check whether we found it, first, and if
we didn't, report an error and fail, rather than blithely executing
commands with the command a blank string.

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

14 years agoAdding license tab to about dialog
jake [Thu, 19 Oct 2006 06:29:13 +0000 (06:29 +0000)]
Adding license tab to about dialog

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

14 years agordm now not a plugin - don't copy dll
wmeier [Thu, 19 Oct 2006 03:45:34 +0000 (03:45 +0000)]
rdm now not a plugin - don't copy dll

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

14 years agoAdd support for:
gerald [Thu, 19 Oct 2006 00:48:03 +0000 (00:48 +0000)]
Add support for:

  - The AirPcap Multi-Channel Aggregator (which is marketspeak for an "any"
  - Merging the 802.11 dissector WEP key list with AirPcap's
  - Decrypting WEP in the adapter, in Wireshark, or not at all

Update the release notes.

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

14 years agoIf .svn/entries exists, add it as a dependency to svnversion.h.
gerald [Wed, 18 Oct 2006 20:30:15 +0000 (20:30 +0000)]
If .svn/entries exists, add it as a dependency to svnversion.h.

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

14 years agoSquelch compiler warnings
jake [Wed, 18 Oct 2006 19:42:10 +0000 (19:42 +0000)]
Squelch compiler warnings

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

14 years agoFrom Shaun Jackman
jake [Wed, 18 Oct 2006 19:29:05 +0000 (19:29 +0000)]
From Shaun Jackman
The RDM protocol has been accepted as ANSI standard E1.20-2006. The following patch updates the decoder to that spec.
At the same time it is promoted to a build-in dissector.

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

14 years agoAdd module information for generated docs
lego [Wed, 18 Oct 2006 18:45:24 +0000 (18:45 +0000)]
Add module information for generated docs

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

14 years ago- better indentation and fix some errors
lego [Wed, 18 Oct 2006 18:39:30 +0000 (18:39 +0000)]
- better indentation and fix some errors

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

14 years ago- have console.lua not using os.date when os has been disabled
lego [Wed, 18 Oct 2006 17:59:49 +0000 (17:59 +0000)]
- have console.lua not using os.date when os has been disabled
- try to avoid a warning in wslua_gui.c
- make-doc.pl --> docbook (still broken I guess)

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

14 years agoIn the 802.11 dissector, mark the "wep_keys" preference as obsolete,
gerald [Wed, 18 Oct 2006 17:55:29 +0000 (17:55 +0000)]
In the 802.11 dissector, mark the "wep_keys" preference as obsolete,
and replace it with an "enable_decryption" preference.

Instead of forcing the user to specify how many WEP keys we have,
figure it out for ourselves by parsing the key list.  When decrypting,
don't worry about the key index specified in the header (which resulted
in trying to decrypt using the same key twice); simply try each key in
order (which we were doing anyway).

In hex_str_to_bytes(), handle a null hex string.

Update the release notes.

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

14 years ago- Fix the makefile
lego [Wed, 18 Oct 2006 15:05:55 +0000 (15:05 +0000)]
- Fix the makefile
- improve the Lua Console

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

14 years agoadd dissection of DATA IN/OUT and SCSI RESPONSE to the usb mass storage dissector
sahlberg [Wed, 18 Oct 2006 12:00:38 +0000 (12:00 +0000)]
add dissection of DATA IN/OUT and SCSI RESPONSE to the usb mass storage dissector

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

14 years agonew dissector : usb mass storage
sahlberg [Wed, 18 Oct 2006 11:24:03 +0000 (11:24 +0000)]
new dissector : usb mass storage

this is a wrapper protocol to store SCSI frames inside usb bulk data transfers

the dissector is far from complete but does
track ITL and ITLQ structures and will also call the SCSI dissector to
dissect the SCSI CDB.

what is still missing is handling of data in/out and scsi responses

at least it will now display the SCSI CDB and dissect it. woohoo

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

14 years agocreate a dissector table for the bulk input/output packet types
sahlberg [Wed, 18 Oct 2006 09:30:28 +0000 (09:30 +0000)]
create a dissector table for the bulk input/output packet types

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

14 years agomove some defines to packet-usb.h so that they can be shared with other dissectors
sahlberg [Wed, 18 Oct 2006 09:10:14 +0000 (09:10 +0000)]
move some defines to packet-usb.h so that they can be shared with other dissectors

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

14 years agoAdd part of E.5 Basic DTMF Generator Package
etxrab [Wed, 18 Oct 2006 05:45:52 +0000 (05:45 +0000)]
Add part of E.5 Basic DTMF Generator Package

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

14 years agollc_add_oui() wants a pointer, not a pointer pointer
ulfl [Wed, 18 Oct 2006 00:22:23 +0000 (00:22 +0000)]
llc_add_oui() wants a pointer, not a pointer pointer

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

14 years agoAdd compiler information.
gerald [Tue, 17 Oct 2006 22:43:40 +0000 (22:43 +0000)]
Add compiler information.

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

14 years agoFrom Stephen Fisher:
jake [Tue, 17 Oct 2006 20:53:57 +0000 (20:53 +0000)]
From Stephen Fisher:
While researching another bug in follow_dlg.c, I spotted a different one that causes the from and to hostnames/ip addresses to be the same in the follow tcp stream dialog only with IPv6.

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

14 years agoAdd the license
lego [Tue, 17 Oct 2006 18:29:24 +0000 (18:29 +0000)]
Add the license

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

14 years agoPropsets
lego [Tue, 17 Oct 2006 18:26:44 +0000 (18:26 +0000)]

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

14 years agoHave console.lua and dtd_gen.lua installed by nsis
lego [Tue, 17 Oct 2006 18:21:49 +0000 (18:21 +0000)]
Have console.lua and dtd_gen.lua installed by nsis

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

14 years agoSeveral changes:
lego [Tue, 17 Oct 2006 18:20:44 +0000 (18:20 +0000)]
Several changes:
 - do not #include a c code file in wslua_register.c compile a separate boject
 - add the console and evaluate windows
 - add some useful vars to the lua environment
 - some cleanup
 - add the dtd generator code (currently disabled)

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

14 years agoHide the "Tools" menu if it has no items .
lego [Tue, 17 Oct 2006 17:52:15 +0000 (17:52 +0000)]
Hide the "Tools" menu if it has no items .

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

14 years agoFix tag names.
gerald [Tue, 17 Oct 2006 15:41:08 +0000 (15:41 +0000)]
Fix tag names.

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

14 years agowe need a new pinfo member field so that we can pass data from the core usb dissector...
sahlberg [Tue, 17 Oct 2006 14:13:49 +0000 (14:13 +0000)]
we need a new pinfo member field so that we can pass data from the core usb dissector to future class  dissectors

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

14 years agonow when we do dissect the descriptors:
sahlberg [Tue, 17 Oct 2006 13:40:26 +0000 (13:40 +0000)]
now when we do dissect the descriptors:

add tracking so that when we find an interface descriptor which tells us the device class we also create a conversation for each and every endpoint for that interface and also let all conversations (one for each endpoint) share the same usb conversation info structure.

store the device type inside this conv_info structure

add the required code to manage BULK data pdus and have it for now only display what kind of bulk data is contained (interface class as snooped from the descriptors)

we now only need a class dissector table we can fork off into from the bulk dissector in usb    and then an external usb_masstorage dissector that registers itself as a mass storage device and we should be all set to dissect the scsi layer being transported atop usb

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

14 years agodebug trace at beginning of each packet
kukosa [Tue, 17 Oct 2006 13:29:44 +0000 (13:29 +0000)]
debug trace at beginning of each packet
do not call subdissector for empty application data

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

14 years agoadd a define for the "no endpoint" constant used to represent unknown or host side...
sahlberg [Tue, 17 Oct 2006 09:14:16 +0000 (09:14 +0000)]
add a define for the "no endpoint" constant used to represent  unknown or host side endpoint used for conversations

ansp provide the desired port/endpoints in the call to get/create a conversation   so that we later when we see the a descriptor that says   Endpoint X is using class Y
we need tis to register that certain endpoints are used for mass storage
(or other applications)

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

14 years agoStephen Fisher:
jmayer [Tue, 17 Oct 2006 08:59:01 +0000 (08:59 +0000)]
Stephen Fisher:

Please apply the attached patch to improve the WLCCP dissector.  I have
also finished merging in packet-cisco-wireless.c, so it can be deleted.

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

14 years agoSupport for automake 1.10 (reported by Aamer Akhter)
jmayer [Tue, 17 Oct 2006 08:51:16 +0000 (08:51 +0000)]
Support for automake 1.10 (reported by Aamer Akhter)

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

14 years agoupdate Timestamps Option labels in accordance with RFC1323
kukosa [Tue, 17 Oct 2006 06:01:54 +0000 (06:01 +0000)]
update Timestamps Option labels in accordance with RFC1323

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

14 years agoAdd A.8 Basic call progress tones generator with directionality
etxrab [Tue, 17 Oct 2006 05:40:58 +0000 (05:40 +0000)]
Add A.8 Basic call progress tones generator with directionality

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

14 years agofrom Stephen Fisher:
ulfl [Tue, 17 Oct 2006 01:29:55 +0000 (01:29 +0000)]
from Stephen Fisher:
Here is a patch for spelling typos in comments and strings in the gtk/

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

14 years agoAdd bug 1135.
gerald [Mon, 16 Oct 2006 23:43:48 +0000 (23:43 +0000)]
Add bug 1135.

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

14 years agofix #1135: another "off by one" bug, zero termination was done twice, second time...
ulfl [Mon, 16 Oct 2006 23:13:21 +0000 (23:13 +0000)]
fix #1135: another "off by one" bug, zero termination was done twice, second time writing behind the end of the available buffer

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

14 years agoIf the user has a WinPcap 4.0 beta installed, force them to uninstall
gerald [Mon, 16 Oct 2006 22:47:32 +0000 (22:47 +0000)]
If the user has a WinPcap 4.0 beta installed, force them to uninstall
it by hand before we'll install 3.1.  This avoids problems with users
accidentally downgrading WinPcap.

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

14 years agomove the content of the Wiki "System Requirements" into the "Platforms Wireshark...
ulfl [Mon, 16 Oct 2006 21:47:35 +0000 (21:47 +0000)]
move the content of the Wiki "System Requirements" into the "Platforms Wireshark runs on" section and update the information (e.g. the binary Unix packages changed since the move from Ethereal)

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

14 years agoUpdate manuf
jmayer [Mon, 16 Oct 2006 21:01:18 +0000 (21:01 +0000)]
Update manuf

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

14 years agoAdd more USB capturing info.
gerald [Mon, 16 Oct 2006 20:42:32 +0000 (20:42 +0000)]
Add more USB capturing info.

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

14 years agoAdd bug 1134.
gerald [Mon, 16 Oct 2006 18:47:52 +0000 (18:47 +0000)]
Add bug 1134.

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

14 years agoMake sure a value is non-null before we feed it to strcmp(). Fixes bug
gerald [Mon, 16 Oct 2006 18:44:43 +0000 (18:44 +0000)]
Make sure a value is non-null before we feed it to strcmp().  Fixes bug

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

14 years agoHide the "Tools" menu if unused.
lego [Mon, 16 Oct 2006 16:54:48 +0000 (16:54 +0000)]
Hide the "Tools" menu if unused.

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

14 years agocorrect the little / big endian comment
sahlberg [Mon, 16 Oct 2006 14:54:20 +0000 (14:54 +0000)]
correct the little / big endian comment

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

14 years agodissect a lot more of the descriptors so that we can finally see which endpoints...
sahlberg [Mon, 16 Oct 2006 14:43:35 +0000 (14:43 +0000)]
dissect a lot more of the descriptors so that we can finally see which endpoints are used for what purpose

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

14 years agoDisplay the skipped 4 bytes from the header as setup (see
jmayer [Mon, 16 Oct 2006 14:24:24 +0000 (14:24 +0000)]
Display the skipped 4 bytes from the header as setup (see
struct usb_header). Just display it as a big endian number
(I don't have a spec at hand).

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