obnox/wireshark/wip.git
18 years agokeywords and eol-style
lego [Fri, 3 Jun 2005 13:54:34 +0000 (13:54 +0000)]
keywords and eol-style

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

18 years ago- add a way to call the sscop dissector with an arbitrary handle\
lego [Fri, 3 Jun 2005 13:50:30 +0000 (13:50 +0000)]
- add a way to call the sscop dissector with an arbitrary handle\
- make most fields "filterable"
- dissect stat and ustat pdu lists

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

18 years agoRegister the ISUP dissector to make it callable through
etxrab [Fri, 3 Jun 2005 09:56:03 +0000 (09:56 +0000)]
Register the ISUP dissector to make it callable through
call_dissector()

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

18 years agoUpdate URLs and domain names that refer to the WinPcap site.
guy [Fri, 3 Jun 2005 09:55:28 +0000 (09:55 +0000)]
Update URLs and domain names that refer to the WinPcap site.

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

18 years agoFrom Mike Duigou:
etxrab [Fri, 3 Jun 2005 06:37:05 +0000 (06:37 +0000)]
From  Mike Duigou:
Fixes a problem with the RPM spec which prevents it from
working with current versions of rpmbuild.

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

18 years agoFrom Mike Duigou:
etxrab [Fri, 3 Jun 2005 06:36:07 +0000 (06:36 +0000)]
From  Mike Duigou:
A few doxygen updates and an improved section on
writing dissectors that don't use tcp_dissect_pdus().

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

18 years agoFrom Mike Duigou:
etxrab [Fri, 3 Jun 2005 06:35:44 +0000 (06:35 +0000)]
From  Mike Duigou:
A few doxygen updates and an improved section on
writing dissectors that don't use tcp_dissect_pdus().

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

18 years agoFrom Mike Duigou:
etxrab [Fri, 3 Jun 2005 06:34:35 +0000 (06:34 +0000)]
From Mike Duigou:
A few doxygen updates and an improved section on
writing dissectors that don't use tcp_dissect_pdus().

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

18 years agoFrom Mike Duigou:
etxrab [Fri, 3 Jun 2005 06:31:58 +0000 (06:31 +0000)]
From Mike Duigou:
 A minor change to the prototype of tcp_dissect_pdus()
which uses the function pointer type from packet.h

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

18 years agoFrom Mike Duigou:
etxrab [Fri, 3 Jun 2005 06:29:25 +0000 (06:29 +0000)]
From Mike Duigou:

Extends the jxta dissector to add higher level conversation
tracking, improved display, tapping and fixes a bug which caused some
conversations to get lost.

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

18 years agoUpdated LMP to handle the latest protocol. Removed old protocol values
ashokn [Thu, 2 Jun 2005 22:49:59 +0000 (22:49 +0000)]
Updated LMP to handle the latest protocol. Removed old protocol values
since they are no longer useful.

Manu Pathak <mapathak@cisco.com> contributed these changes

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

18 years agofix call to show_fragment_seq_tree() reported by buildbot
ulfl [Thu, 2 Jun 2005 22:11:22 +0000 (22:11 +0000)]
fix call to show_fragment_seq_tree() reported by buildbot

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

18 years agoadd a generated toplevel line between the connectionless DCE/RPC protocol and the...
ulfl [Thu, 2 Jun 2005 20:55:58 +0000 (20:55 +0000)]
add a generated toplevel line between the connectionless DCE/RPC protocol and the defragmented DCE/RPC content, to better understand what's going on if defragmentation is done.

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

18 years agouse [] not () brackets to indicate [correct] UDP checksum, as this is a generated...
ulfl [Thu, 2 Jun 2005 20:52:13 +0000 (20:52 +0000)]
use [] not () brackets to indicate [correct] UDP checksum, as this is a generated field

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

18 years agoadd length information to "Content-encoded entity body"
ulfl [Thu, 2 Jun 2005 20:03:15 +0000 (20:03 +0000)]
add length information to "Content-encoded entity body"

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

18 years agofix #223: add another tvb_ensure_bytes_exist() call
ulfl [Thu, 2 Jun 2005 19:31:16 +0000 (19:31 +0000)]
fix #223: add another tvb_ensure_bytes_exist() call

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

18 years agoadd a generated toplevel line between the TCP protocol and the desegmented content...
ulfl [Thu, 2 Jun 2005 18:52:55 +0000 (18:52 +0000)]
add a generated toplevel line between the TCP protocol and the desegmented content, to better understand what's going on while desegmenting.

We'll have to add similar mechanisms for other protocols as well...

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

18 years agobugfix (fuzz_tested): t2i can be zero, test at all places before using it
ulfl [Thu, 2 Jun 2005 18:44:17 +0000 (18:44 +0000)]
bugfix (fuzz_tested): t2i can be zero, test at all places before using it

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

18 years agobugfix (fuzz_tested): add tvb_ensure_bytes_exist() before adding a fragment at two...
ulfl [Thu, 2 Jun 2005 18:39:45 +0000 (18:39 +0000)]
bugfix (fuzz_tested): add tvb_ensure_bytes_exist() before adding a fragment at two places, otherwise we get an access violation

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

18 years agoadd new function proto_tree_move_item(), which will move an already existing proto_it...
ulfl [Thu, 2 Jun 2005 18:35:20 +0000 (18:35 +0000)]
add new function proto_tree_move_item(), which will move an already existing proto_item inside the tree (but it can't be moved to a different "tree level")

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

18 years agoshow Ethernet and IPX addresses the same way as we do with other fields as well ...
ulfl [Thu, 2 Jun 2005 18:29:29 +0000 (18:29 +0000)]
show Ethernet and IPX addresses the same way as we do with other fields as well (e.g. IP addresses), first the converted value (e.g. IP address or manufaturer name) and then in brackets the "raw data"

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

18 years agobugfix: don't use match_strval() in combination with format strings (as it may return...
ulfl [Thu, 2 Jun 2005 07:29:24 +0000 (07:29 +0000)]
bugfix: don't use match_strval() in combination with format strings (as it may return NULL) but val_to_str()

I don't know if the output as hex is appropriate, someone with more WBXML knowledge might have a look (however, it's done for unknown values only)

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

18 years agoNote that this is *not* what you use if you're building from Subversion.
guy [Thu, 2 Jun 2005 07:17:08 +0000 (07:17 +0000)]
Note that this is *not* what you use if you're building from Subversion.

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

18 years agoadd the resolved Ethernet addresses to the "Ethernet II" summary line
ulfl [Thu, 2 Jun 2005 00:28:38 +0000 (00:28 +0000)]
add the resolved Ethernet addresses to the "Ethernet II" summary line

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

18 years agoadd a reference to the corresponding RFC's of the Differentiated Services field pref...
ulfl [Wed, 1 Jun 2005 23:47:55 +0000 (23:47 +0000)]
add a reference to the corresponding RFC's of the Differentiated Services field pref setting

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

18 years agoadd some hidden fields to be able to filter on the resolved hostname "ip.host" /...
ulfl [Wed, 1 Jun 2005 23:44:24 +0000 (23:44 +0000)]
add some hidden fields to be able to filter on the resolved hostname "ip.host" / "ip.src_host" / "ip.dst_host", this was formerly not possible.

replace some deprecated proto_tree_add_..._hidden() calls by seperate calls by proto_tree_add_...() and PROTO_ITEM_SET_HIDDEN()

some other cosmetic changes

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

18 years agomark some fields as generated and clarify some field descriptions
ulfl [Wed, 1 Jun 2005 21:28:40 +0000 (21:28 +0000)]
mark some fields as generated and clarify some field descriptions

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

18 years agoprevent "Dissector Bug": prevent a string processing of length 0
ulfl [Wed, 1 Jun 2005 19:19:40 +0000 (19:19 +0000)]
prevent "Dissector Bug": prevent a string processing of length 0

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

18 years agobugfix: use g_snprintf instead of sprintf to prevent a buffer overflow
ulfl [Wed, 1 Jun 2005 19:17:59 +0000 (19:17 +0000)]
bugfix: use g_snprintf instead of sprintf to prevent a buffer overflow

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

18 years agoFrom Paolo Frigo :
etxrab [Wed, 1 Jun 2005 06:47:15 +0000 (06:47 +0000)]
From Paolo Frigo :
A new plugin based on GIOP to recognize Tango packets. TANGO is
an object oriented distributed control system based on CORBA. Tango is
being actively developed as a collaborative effort among the ESRF, Soleil, Elettra and ALBA synchrotron facilities. TANGO is an open source
project hosted by SourceForge.

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

18 years agoFrom Paolo Frigo :
etxrab [Wed, 1 Jun 2005 06:46:41 +0000 (06:46 +0000)]
From Paolo Frigo :
A new plugin based on GIOP to recognize Tango packets. TANGO is
an object oriented distributed control system based on CORBA. Tango is
being actively developed as a collaborative effort among the ESRF, Soleil, Elettra and ALBA synchrotron facilities. TANGO is an open source
project hosted by SourceForge.

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

18 years agoAdd a note to config.nmake that it is required to set ENABLE_LIBETHEREAL to get plugi...
lroland [Tue, 31 May 2005 21:34:14 +0000 (21:34 +0000)]
Add a note to config.nmake that it is required to set ENABLE_LIBETHEREAL to get plugin support in Ethereal.

Change Makefile.nmake of the stats_tree plugin to the current scheme.

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

18 years agoadd new command line flag "-g", will go to a given packet, after loading a capture...
ulfl [Tue, 31 May 2005 21:30:40 +0000 (21:30 +0000)]
add new command line flag "-g", will go to a given packet, after loading a capture file with -r

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

18 years agoconvenience: if a "Go To Packet" didn't succeeded, add the requested packet number...
ulfl [Tue, 31 May 2005 21:17:54 +0000 (21:17 +0000)]
convenience: if a "Go To Packet" didn't succeeded, add the requested packet number to the error message,

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

18 years agoAs suggested by Jaap Keuter:
lroland [Tue, 31 May 2005 20:42:15 +0000 (20:42 +0000)]
As suggested by Jaap Keuter:
Add generated files copied by "install-deps" to the
"clean" target

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

18 years agobetter dissect ProtSeqs values
ulfl [Tue, 31 May 2005 18:31:27 +0000 (18:31 +0000)]
better dissect ProtSeqs values

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

18 years agobugfix: remove some not required dissect_dcom_that() calls, as "ORPC that" was errorn...
ulfl [Tue, 31 May 2005 18:30:37 +0000 (18:30 +0000)]
bugfix: remove some not required dissect_dcom_that() calls, as "ORPC that" was errorneously dissected twice

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

18 years agoadd another tvb_ensure_bytes_exist() call
ulfl [Tue, 31 May 2005 18:27:20 +0000 (18:27 +0000)]
add another tvb_ensure_bytes_exist() call

replace dissect_ndr_uuid_t by dissect_dcerpc_uuid_t, as this is the correct function to use and will prevent a problem with access to non existing private_data in dissect_ndr_uuid_t

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

18 years agoPut 'unmaskedvalue' field in XML for bit-masked values.
gram [Tue, 31 May 2005 14:07:16 +0000 (14:07 +0000)]
Put 'unmaskedvalue' field in XML for bit-masked values.
Fix interpretation of 'value' field.
Patch from Vasanth Manickam.

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

18 years agoRemove bitmasks from field definitions for FT_IPv4
gram [Tue, 31 May 2005 14:03:34 +0000 (14:03 +0000)]
Remove bitmasks from field definitions for FT_IPv4
and FT_IPv6 fields.

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

18 years agofix handling, if ArraySize of a BSTR is 0,
ulfl [Tue, 31 May 2005 08:02:24 +0000 (08:02 +0000)]
fix handling, if ArraySize of a BSTR is 0,
replace a g_assert by DISSECTOR_ASSERT

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

18 years agoadd a tvb_ensure_bytes_exist() to prevent a dissector bug
ulfl [Mon, 30 May 2005 22:40:55 +0000 (22:40 +0000)]
add a tvb_ensure_bytes_exist() to prevent a dissector bug

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

18 years agodon't go into an (almost) endless loop, if si->info_count is -1, which is the default...
ulfl [Mon, 30 May 2005 21:10:21 +0000 (21:10 +0000)]
don't go into an (almost) endless loop, if si->info_count is -1, which is the default value. Seems to be a general bug worth to thought about, but I don't know the SMB internals and this bugfix should work anyway.

Found this by a privately fuzzed capture file (sorry, can't give it away)

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

18 years agoFrom Steve Grubb: Fix a memory leak. Fixes part of bug 217.
gerald [Mon, 30 May 2005 21:08:16 +0000 (21:08 +0000)]
From Steve Grubb: Fix a memory leak.  Fixes part of bug 217.

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

18 years agoDon't try to check the suboption length type if we don't have a suboption.
gerald [Mon, 30 May 2005 21:04:58 +0000 (21:04 +0000)]
Don't try to check the suboption length type if we don't have a suboption.
Found by Steve Grubb.  Fixes part of bug 217.

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

18 years agoFrom Steve Grubb: Fix buffer and array length checks. Fixes part of bug 217.
gerald [Mon, 30 May 2005 21:01:52 +0000 (21:01 +0000)]
From Steve Grubb:  Fix buffer and array length checks.  Fixes part of bug 217.

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

18 years agoFrom Steve Grubb: Initialize some variables. Fixes part of bug 217.
gerald [Mon, 30 May 2005 21:00:05 +0000 (21:00 +0000)]
From Steve Grubb:  Initialize some variables.  Fixes part of bug 217.

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

18 years agoMore bug fixes from Steve Grubb. See bug 217 for details.
gerald [Mon, 30 May 2005 20:58:20 +0000 (20:58 +0000)]
More bug fixes from Steve Grubb.  See bug 217 for details.

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

18 years agoFrom Steve Grubb: Fix a memory leak.
gerald [Mon, 30 May 2005 20:55:16 +0000 (20:55 +0000)]
From Steve Grubb: Fix a memory leak.

Don't pass a null to atoi().

Fixes part of bug 217.

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

18 years agoFrom Steve Grubb: Fix off by one errors. Fixes part of bug 217.
gerald [Mon, 30 May 2005 20:53:08 +0000 (20:53 +0000)]
From Steve Grubb:  Fix off by one errors.  Fixes part of bug 217.

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

18 years agoFrom Steve Grubb: Initialize a variable. Fixes part of bug 217.
gerald [Mon, 30 May 2005 20:51:36 +0000 (20:51 +0000)]
From Steve Grubb:  Initialize a variable.  Fixes part of bug 217.

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

18 years agoFix an off-by-one error found by Steve Grubb. Steve gets the award
gerald [Mon, 30 May 2005 20:48:12 +0000 (20:48 +0000)]
Fix an off-by-one error found by Steve Grubb.  Steve gets the award
for longest standing bug found so far.  This has been present since
version 0.5.0.

Fixes part of bug 217.

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

18 years agoAdd dissection of MSRP
etxrab [Mon, 30 May 2005 18:39:39 +0000 (18:39 +0000)]
Add dissection of MSRP
http://www.ietf.org/internet-drafts/draft-ietf-simple-message-sessions-10.txt

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

18 years agofix highlighting length, if more than one RPC call is in a TCP PDU
ulfl [Mon, 30 May 2005 18:37:19 +0000 (18:37 +0000)]
fix highlighting length, if more than one RPC call is in a TCP PDU

set "n*DCERPC" in the proto column if more than one RPC call in a TCP PDU, overwriting the interface name, as there's probably more than one interface involved

add some more RPC info to the toplevel RPC proto_item

add a comment, if some bytes are not dissected but might be in the next TCP PDU

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

18 years agoAdd random bit errors to the fuzz tests.
gerald [Mon, 30 May 2005 16:49:47 +0000 (16:49 +0000)]
Add random bit errors to the fuzz tests.

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

18 years agoThrow an exception if we're handed a null pointer when we weren't
gerald [Mon, 30 May 2005 16:03:24 +0000 (16:03 +0000)]
Throw an exception if we're handed a null pointer when we weren't
expecting one.  Fixes bug 200.

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

18 years agoBreak out of an infinite loop. Fixes bugs 213 & 214.
gerald [Mon, 30 May 2005 15:51:03 +0000 (15:51 +0000)]
Break out of an infinite loop.  Fixes bugs 213 & 214.

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

18 years agoadd MMC READ DISC INFORMATION cdb
sahlberg [Mon, 30 May 2005 12:09:39 +0000 (12:09 +0000)]
add MMC READ DISC INFORMATION cdb

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

18 years agoadd MMC READ TRACK INFORMATION cdb
sahlberg [Mon, 30 May 2005 11:16:08 +0000 (11:16 +0000)]
add MMC READ TRACK INFORMATION cdb

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

18 years agofix #148: (win32 only) use command line parameter -B to set capture buffer size
ulfl [Mon, 30 May 2005 04:46:25 +0000 (04:46 +0000)]
fix #148: (win32 only) use command line parameter -B to set capture buffer size

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

18 years agoFirst part to fix #148: use command line parameter -o not only for preferences but...
ulfl [Mon, 30 May 2005 04:06:22 +0000 (04:06 +0000)]
First part to fix #148: use command line parameter -o not only for preferences but also for recent settings.

This way we can simply remove the GUI related command line parameters -B, -P and -T, which are useless now.

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

18 years agofix #215: the field hf_smb_print_spool_file_name used the wrong type, use FT_STRINGZ...
ulfl [Mon, 30 May 2005 03:10:37 +0000 (03:10 +0000)]
fix #215: the field hf_smb_print_spool_file_name used the wrong type, use FT_STRINGZ to add a string

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

18 years agoadd two more tvb_ensure_bytes_exist() calls to fix #216
ulfl [Mon, 30 May 2005 02:58:13 +0000 (02:58 +0000)]
add two more tvb_ensure_bytes_exist() calls to fix #216

When I look at the remaining code, I fear this will become a never ending story :-(

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

18 years agoclarify some recent file entry descriptions
ulfl [Sun, 29 May 2005 14:09:58 +0000 (14:09 +0000)]
clarify some recent file entry descriptions

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

18 years agofix #201: add format_text before output of the DNS name, in case it contains invalid...
ulfl [Sun, 29 May 2005 13:02:57 +0000 (13:02 +0000)]
fix #201: add format_text before output of the DNS name, in case it contains invalid chars

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

18 years agofix #86: use format_text before adding version string to the info column
ulfl [Sun, 29 May 2005 12:27:31 +0000 (12:27 +0000)]
fix #86: use format_text before adding version string to the info column

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

18 years agofix #11: add a [truncated] to the label, if the message to display is too long
ulfl [Sun, 29 May 2005 11:23:42 +0000 (11:23 +0000)]
fix #11: add a [truncated] to the label, if the message to display is too long

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

18 years agoadd MMC RESERVE TRACK cdb
sahlberg [Sun, 29 May 2005 08:45:09 +0000 (08:45 +0000)]
add MMC RESERVE TRACK cdb

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

18 years agoMMC SET STREAMING command
sahlberg [Sun, 29 May 2005 08:29:55 +0000 (08:29 +0000)]
MMC SET STREAMING command

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

18 years agoAdd minimal 802.11j decoding. There's not fun in doing more unless
jmayer [Sun, 29 May 2005 08:19:11 +0000 (08:19 +0000)]
Add minimal 802.11j decoding. There's not fun in doing more unless
someone provides a capture file.

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

18 years agoremove offset and len from the signature of dissect_scsi_payload()
sahlberg [Sun, 29 May 2005 03:18:53 +0000 (03:18 +0000)]
remove offset and len  from the signature of dissect_scsi_payload()

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

18 years agomake all callers of dissect_scsi_cdb() first create a new subset tvb
sahlberg [Sun, 29 May 2005 02:55:12 +0000 (02:55 +0000)]
make all callers of dissect_scsi_cdb() first create a new subset tvb

change the signature for dissect_scsi_cdb since we no longer need to pass offset over.

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

18 years agocreate a subset tvb before calling off to the SCSI dissector
sahlberg [Sun, 29 May 2005 02:30:49 +0000 (02:30 +0000)]
create a subset tvb before calling off to the SCSI dissector
so that the right part of the hexpane is highlighted when one clicks on an nondissected data line

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

18 years agominor prettification
sahlberg [Sun, 29 May 2005 01:54:22 +0000 (01:54 +0000)]
minor prettification

in the decode pane for the SCSI protocol,
put the name of the CDB on the protocol line

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

18 years agoupdate iscsi so that when we have ImmediateData we also call SCSI to decode the
sahlberg [Sun, 29 May 2005 01:49:09 +0000 (01:49 +0000)]
update iscsi so that when we have ImmediateData we also call SCSI to decode the
payload (DATAOUT)  and not just the scsi CDB.

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

18 years agofrom Alejandro Vaquero
sahlberg [Sat, 28 May 2005 23:05:41 +0000 (23:05 +0000)]
from Alejandro Vaquero
fox to packet-mgcp.c to make the viop analysis working again.

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

18 years agoadd MMC READ BUFFER CAPACITY command
sahlberg [Sat, 28 May 2005 13:29:45 +0000 (13:29 +0000)]
add MMC READ BUFFER CAPACITY command

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

18 years agoadd the SynchronizeCache command for MMC
sahlberg [Sat, 28 May 2005 13:01:14 +0000 (13:01 +0000)]
add the SynchronizeCache command for MMC

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

18 years agoadd some tvb_ensure_bytes_exist() calls, fixes #197, #202 and #208
ulfl [Sat, 28 May 2005 12:49:19 +0000 (12:49 +0000)]
add some tvb_ensure_bytes_exist() calls, fixes #197, #202 and #208

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

18 years agoupdates to mmc, add more dissection of GET_CONFIGURATION and READ_TOC
sahlberg [Sat, 28 May 2005 12:45:38 +0000 (12:45 +0000)]
updates to mmc,   add more dissection of GET_CONFIGURATION and READ_TOC

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

18 years agoprevent unused function warning
ulfl [Sat, 28 May 2005 11:04:11 +0000 (11:04 +0000)]
prevent unused function warning

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

18 years agosome more MMC4 updates
sahlberg [Sat, 28 May 2005 08:27:44 +0000 (08:27 +0000)]
some more MMC4 updates

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

18 years agomore scsi refactoring
sahlberg [Sat, 28 May 2005 05:42:39 +0000 (05:42 +0000)]
more scsi refactoring

starting to implement MMC codeset : CDROM/DVD

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

18 years agorefactor scsi dissector toi be table driven so it will be easier to add new
sahlberg [Sat, 28 May 2005 03:37:16 +0000 (03:37 +0000)]
refactor scsi dissector toi be table driven so it will be easier to add new
commandsets.

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

18 years agoFrom Gilbert Ramirez - Fix a FT_NONE with a bitmask (shouldn't have one).
obiot [Sat, 28 May 2005 00:51:56 +0000 (00:51 +0000)]
From Gilbert Ramirez - Fix a FT_NONE with a bitmask (shouldn't have one).

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

18 years agofrom Gilbert,
sahlberg [Fri, 27 May 2005 21:39:38 +0000 (21:39 +0000)]
from Gilbert,

make kink compile again on non-kerberos builds.

encapsulate a call to decrypt kerberos to only be compiled in when compiling with kerberos.

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

18 years agofrom didier fix for the regression for bug 62
sahlberg [Fri, 27 May 2005 21:33:27 +0000 (21:33 +0000)]
from didier   fix for the regression for bug 62

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

18 years agoFrom Martin Mathieson
etxrab [Fri, 27 May 2005 18:35:19 +0000 (18:35 +0000)]
From Martin Mathieson
packet-rdt.c:
- register a configurable UDP port (off by default, but needed where setup traffic isn't captured)
- dissect extra 'buffer info' fields
- move bit fields into 'flags' subtrees
- misc. minor fixes and improvements (mainly formatting)
Missed eralier...

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

18 years agodon't use a static buffer for preference values, allocate it, and, if necessary reall...
lego [Fri, 27 May 2005 18:33:09 +0000 (18:33 +0000)]
don't use a static buffer for preference values, allocate it, and, if necessary reallocate so that
the string always fits.

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

18 years agoAdd a "-G fields3" report which prints the bitmask of the field, and avoids
gram [Fri, 27 May 2005 15:13:09 +0000 (15:13 +0000)]
Add a "-G fields3" report which prints the bitmask of the field, and avoids
printing the blurb twice, like fields2 does.
Add a script, fsanity.py, to check sanity of FT definitions. Right now the
only check is for bitmasks for integer-like fields.

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

18 years agoFrom T.Nakashima
sahlberg [Fri, 27 May 2005 08:53:07 +0000 (08:53 +0000)]
From T.Nakashima
updates to KINK

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

18 years agocket wsp is creating string items and later appending to them and their value at...
sahlberg [Fri, 27 May 2005 06:00:08 +0000 (06:00 +0000)]
cket wsp is creating string items and later appending to them and their value at runtime which breaks when the TRY_TO_FAKE_THIS_ITEM() is used.

Add a comment to proto_item_append_string() explaining the "danger" and what needs to be done if one decides to use proto_item_append_string()

Add a small change to WSP so that it will disable this speed optimization so not to trigger a DISSECTOR_BUG in proto_item_append_string()

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

18 years agoGdKEventScroll is not available in GTK-1.2
sahlberg [Fri, 27 May 2005 05:04:03 +0000 (05:04 +0000)]
GdKEventScroll is not available in GTK-1.2

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

18 years agoThe DESIRE_ and OS_ values are bit indices, not numerical values that
guy [Fri, 27 May 2005 02:30:10 +0000 (02:30 +0000)]
The DESIRE_ and OS_ values are bit indices, not numerical values that
appear by themselves; get rid of the value_string tables for them.

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

18 years agoSet svn:ignore to ignore generated files.
guy [Fri, 27 May 2005 01:34:42 +0000 (01:34 +0000)]
Set svn:ignore to ignore generated files.

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

18 years agofix #203: the scroll event handler used an inappropriate implementation to get event...
ulfl [Thu, 26 May 2005 23:18:10 +0000 (23:18 +0000)]
fix #203: the scroll event handler used an inappropriate implementation to get event values, fixed this. On win32 this was working before and after the changes, so the bug *might* remain ...

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

18 years agoshow the complete filename in the statusbar, as there's no good reason to hide it...
ulfl [Thu, 26 May 2005 21:49:48 +0000 (21:49 +0000)]
show the complete filename in the statusbar, as there's no good reason to hide it (bugzilla #198)

fix various log related problems

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

18 years agochanged the loglevel of "capture kill" from message to info (it's no action that...
ulfl [Thu, 26 May 2005 21:45:58 +0000 (21:45 +0000)]
changed the loglevel of "capture kill" from message to info (it's no action that the user directly triggered)

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

18 years agoadd log.h
ulfl [Thu, 26 May 2005 20:23:13 +0000 (20:23 +0000)]
add log.h

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

18 years agoFrom Martin Mathieson:
etxrab [Thu, 26 May 2005 20:13:42 +0000 (20:13 +0000)]
From Martin Mathieson:

This 2-liner:
- adds the correct item for localconnectionoptions param
- recognises the message verb "MESG"

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