obnox/wireshark/wip.git
17 years agosome more service actions
sahlberg [Sat, 14 Oct 2006 22:45:07 +0000 (22:45 +0000)]
some more service actions

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

17 years agodissect some more osd service actions
sahlberg [Sat, 14 Oct 2006 22:31:27 +0000 (22:31 +0000)]
dissect some more osd service actions

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

17 years agoif reassembly did not give us a new tvb, then dont call any scsi payload subdissector
sahlberg [Sat, 14 Oct 2006 22:05:57 +0000 (22:05 +0000)]
if reassembly did not give us a new tvb,  then dont call any scsi payload subdissector

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

17 years agoFix a compiler warning by doing what I suspect was intended.
guy [Sat, 14 Oct 2006 20:18:10 +0000 (20:18 +0000)]
Fix a compiler warning by doing what I suspect was intended.

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

17 years agoDo the suboption processing in dissect_netware_ip_suboption() a bit more
guy [Sat, 14 Oct 2006 20:17:14 +0000 (20:17 +0000)]
Do the suboption processing in dissect_netware_ip_suboption() a bit more
like the way it's done in other suboption dissectors.

Fix a typo.

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

17 years agoUpdate FSF address in code template
jake [Sat, 14 Oct 2006 19:00:31 +0000 (19:00 +0000)]
Update FSF address in code template

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

17 years agoDissect observedeventsdescriptor more like the actual text.
etxrab [Sat, 14 Oct 2006 14:13:00 +0000 (14:13 +0000)]
Dissect observedeventsdescriptor more like the actual text.

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

17 years agoadd dissection of FLUSH and FLUSH COLLECTION
sahlberg [Sat, 14 Oct 2006 11:25:38 +0000 (11:25 +0000)]
add dissection of FLUSH and FLUSH COLLECTION

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

17 years agoimplement WRITE and CREATE COLLECTION
sahlberg [Sat, 14 Oct 2006 10:52:50 +0000 (10:52 +0000)]
implement WRITE and CREATE COLLECTION

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

17 years agorename some fields in the setup blob to use the same names as in the standard
sahlberg [Sat, 14 Oct 2006 10:09:32 +0000 (10:09 +0000)]
rename some fields in the setup blob to use the same names as in the standard

add dissection of the bmRequestType bitmap

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

17 years agoput the packet type in the summary line
sahlberg [Sat, 14 Oct 2006 09:43:17 +0000 (09:43 +0000)]
put the packet type in the summary line

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

17 years agoset both read/write flags in ndmp scsi and also always set the expected length...
sahlberg [Sat, 14 Oct 2006 09:18:24 +0000 (09:18 +0000)]
set both read/write flags in ndmp scsi   and also always set the expected length to whatever length is transported inside the ndmp pdu

this fixes a regression caused by the recent scsi data in/out reassembly code which made the scsi dissector fail to dissect data in/out over ndmp correctly if scsi reassembly was enabled

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

17 years agocreate a new address type AT_USB and start populating the packet list
sahlberg [Sat, 14 Oct 2006 05:02:40 +0000 (05:02 +0000)]
create a new address type AT_USB and start populating the packet list
with nice data

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

17 years agolet SCSI reassembly default to FALSE
sahlberg [Sat, 14 Oct 2006 01:44:29 +0000 (01:44 +0000)]
let SCSI reassembly default to FALSE

put "reassembled in" in the summary line

put the fragment list at the top of the tree instead of down inside the SCSI expansion

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

17 years agoRelease note and changelog updates.
gerald [Sat, 14 Oct 2006 00:31:35 +0000 (00:31 +0000)]
Release note and changelog updates.

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

17 years agoSet SVN properties.
gerald [Sat, 14 Oct 2006 00:27:50 +0000 (00:27 +0000)]
Set SVN properties.

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

17 years agoas Stephen Fisher noted: fix the files header comment
ulfl [Sat, 14 Oct 2006 00:22:36 +0000 (00:22 +0000)]
as Stephen Fisher noted: fix the files header comment

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

17 years agoadd scsi data reassembly
sahlberg [Fri, 13 Oct 2006 22:25:35 +0000 (22:25 +0000)]
add scsi data reassembly

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

17 years agocheck the estinated data transfer length for the current transfer and start adding...
sahlberg [Fri, 13 Oct 2006 21:26:03 +0000 (21:26 +0000)]
check the estinated data transfer length for the current transfer  and start adding checks for scsi data reassembly

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

17 years agodont call the scsi data in/out dissectors unless data offset is 0 i.e. the beginnin...
sahlberg [Fri, 13 Oct 2006 21:07:07 +0000 (21:07 +0000)]
dont call the scsi data in/out dissectors unless data offset is 0   i.e. the beginning of data in/out

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

17 years agoremove the experimental display of the highest expert level in the statusbar for...
ulfl [Fri, 13 Oct 2006 18:19:42 +0000 (18:19 +0000)]
remove the experimental display of the highest expert level in the statusbar for now.

as long as we haven't solved that TCP checksum offload problems causing checksum errors all the time, this will display the error level for almost every capture done on a local machine - rendering this display pretty useless in it's current form.

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

17 years agoSet properties.
etxrab [Fri, 13 Oct 2006 17:04:16 +0000 (17:04 +0000)]
Set properties.

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

17 years agoMake the "WEP key count" option match the number of WEP key slots. Add
gerald [Fri, 13 Oct 2006 15:53:20 +0000 (15:53 +0000)]
Make the "WEP key count" option match the number of WEP key slots.  Add
a note about improving the WEP key interface.

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

17 years agoPaolo Abeni:
jmayer [Fri, 13 Oct 2006 15:18:10 +0000 (15:18 +0000)]
Paolo Abeni:
the attached patch add support for the recently introduced pcap
bluetooth data link type. Yes, pcap is going to support also bluetooth
devices (at least on Linux) :-)

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

17 years agoModify Signals descriptor to look more like the actual text message.
etxrab [Fri, 13 Oct 2006 14:21:02 +0000 (14:21 +0000)]
Modify Signals descriptor to look more like the actual text message.

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

17 years agopass the relative data offset of data in/out pdu's to the scsi data in/out dissector...
sahlberg [Fri, 13 Oct 2006 09:16:45 +0000 (09:16 +0000)]
pass the relative data offset of data in/out pdu's to the scsi data in/out dissector (dissect_scsi_payload) so that we can later add reassembly of data pdu's
and also (if reassembly is disabled) only dissect the initial (offset==0) data pdu.

dissect_scsi_payload() does not yet use this parameter.

now that we have both data offset and expected data length/bidir expected data length and also the read/write flags availabe we have what we need to reassemble data in/out pdus    (modulo overflow/underflow  but those are so rare we can worry about them later).

ndmp:   ndmp conceptually always has a data in and a data out phase and never fragment the data into smaller pdu's os that dissector always report offset as 0.

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

17 years agoif FC type is FPC/SCSI and the relative offset bit is set in f_ctl then the paramete...
sahlberg [Fri, 13 Oct 2006 08:42:33 +0000 (08:42 +0000)]
if FC type is FPC/SCSI and the relative offset bit is set in f_ctl  then the parameter field is 4 bytes and contain the relative offset of the data for data in/out

decode this field as relative offset   and also store it in the fc_hdr structure so that FCP can pick it up and pass if to the SCSI payload data in/out dissector later

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

17 years agodistclean should remove wireshark-gtk1/2 dirs completely
ulfl [Fri, 13 Oct 2006 00:21:47 +0000 (00:21 +0000)]
distclean should remove wireshark-gtk1/2 dirs completely

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

17 years agoAdd 802.1QinQ Ethertype preference.
jake [Thu, 12 Oct 2006 21:31:00 +0000 (21:31 +0000)]
Add 802.1QinQ Ethertype preference.

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

17 years ago- add persconffile(opt_str)
lego [Thu, 12 Oct 2006 17:00:11 +0000 (17:00 +0000)]
- add persconffile(opt_str)
- add datafile_path(opt_str)
- add Dir class -- a Directory Iterator

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

17 years agoCheck to see if we've passed a null strval to ndps_string().
gerald [Thu, 12 Oct 2006 15:00:07 +0000 (15:00 +0000)]
Check to see if we've passed a null strval to ndps_string().
Should fix the recent fuzz bugs.

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

17 years agowireshark does not yet consume enough memory for me to be happy
sahlberg [Thu, 12 Oct 2006 10:54:36 +0000 (10:54 +0000)]
wireshark does not yet consume enough memory for me to be happy

pass conversation form the transports up to the scsi layer

add tracking of conversation specific info to scsi osd
add tracking of conversation+lun specific info to scsi osd

for scsi osd   add tracking of PARTITIONS and display in which frame they were created/removed

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

17 years agoCleanup sample code.
jake [Thu, 12 Oct 2006 10:38:24 +0000 (10:38 +0000)]
Cleanup sample code.
Cleanup some text and headings.
Play trick with keyword so text remains untouched.

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

17 years agoFrom Paolo Abeni:
jake [Thu, 12 Oct 2006 08:04:11 +0000 (08:04 +0000)]
From Paolo Abeni:
The attached patch fix parsing of the setup header in the usb dissector.
Currently the size of the field specified into proto_tree_add_item call
was wrong.

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

17 years agoThe preferences and alike dialog button behaviour changed.
ulfl [Thu, 12 Oct 2006 07:52:24 +0000 (07:52 +0000)]
The preferences and alike dialog button behaviour changed.

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

17 years agoAdding initial version of UDLD dissector
jake [Thu, 12 Oct 2006 06:01:51 +0000 (06:01 +0000)]
Adding initial version of UDLD dissector

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

17 years agoUpdate bug lists.
gerald [Wed, 11 Oct 2006 23:53:19 +0000 (23:53 +0000)]
Update bug lists.

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

17 years agoWhen dumping the graph data to a file, don't walk past the end of a buffer.
gerald [Wed, 11 Oct 2006 23:25:51 +0000 (23:25 +0000)]
When dumping the graph data to a file, don't walk past the end of a buffer.
Should fix bug 396.

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

17 years agoExport the recent prefs changes.
gerald [Wed, 11 Oct 2006 20:34:05 +0000 (20:34 +0000)]
Export the recent prefs changes.

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

17 years agoFrom Patrick vd Lageweg
sahlberg [Wed, 11 Oct 2006 20:05:27 +0000 (20:05 +0000)]
From Patrick vd Lageweg

Hi,

This patch makes several bit fields in the LOG SELECT command being displayed as bits instead of as numbers.

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

17 years agoFrom Patrick vd Lageweg
sahlberg [Wed, 11 Oct 2006 20:03:44 +0000 (20:03 +0000)]
From  Patrick vd Lageweg

Hi,

This patch fixes the page number user for the "write error couner page".

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

17 years agoFrom Patrick vd Lageweg
sahlberg [Wed, 11 Oct 2006 20:00:43 +0000 (20:00 +0000)]
From  Patrick vd Lageweg

Hi,

This patch impelments a dissect for the SCSI SSC Medium Partition Page.

Patrick

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

17 years agoUse a different heuristic to determine whether an NDPS string is ASCII
guy [Wed, 11 Oct 2006 17:01:51 +0000 (17:01 +0000)]
Use a different heuristic to determine whether an NDPS string is ASCII
or Unicode, and use tvb_get_ephemeral_faked_unicode() to get Unicode
strings; this fixes problems I've seen in captures, where the string
isn't being processed correctly.

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

17 years agoadd a task_flags bitmap and two lengths (data and bidirectional data)
sahlberg [Wed, 11 Oct 2006 11:32:56 +0000 (11:32 +0000)]
add a task_flags bitmap   and two lengths (data and bidirectional data)
so that the two scsi transports   FCP and ISCSI can provide the expected data transfer lengths to SCSI  to allow SCSI reassembly.

NDMP does not really need these hints since for NDMP (and also iscsi-lite) there is conceptually always both data in and data out phases and there is never any fragmentation.

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

17 years agomove the ITL and the ITLQ structure to packet-scsi.h where it belongs
sahlberg [Wed, 11 Oct 2006 10:38:59 +0000 (10:38 +0000)]
move the ITL and the ITLQ structure to packet-scsi.h where it belongs

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

17 years agofrom Paolo A
sahlberg [Wed, 11 Oct 2006 09:47:27 +0000 (09:47 +0000)]
from Paolo A

update the usb dissector to reflect the recent change in the pcap format

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

17 years agofix for 1148
sahlberg [Wed, 11 Oct 2006 08:18:14 +0000 (08:18 +0000)]
fix for 1148

pretty horrible hack to store an ntlmssp blob inside an ldap string

the info column is not entirely pretty but   the payload is at least decoded

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

17 years agofix #1154: although g_vsnprintf() is called, it don't like a NULL pointer for a ...
ulfl [Wed, 11 Oct 2006 07:31:01 +0000 (07:31 +0000)]
fix #1154: although g_vsnprintf() is called, it don't like a NULL pointer for a %s format string. The following proto_tree_add_text was already fixed.

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

17 years agoFrom Donald White:
etxrab [Wed, 11 Oct 2006 06:11:54 +0000 (06:11 +0000)]
From Donald White:
An enhancement to the PPP multiplexing protocol
dissector in protocol-ppp.c.  There are two changes:

     The protocol id field of the multiplexed sub-frame is added
     to the protocol tree using a header field.  This allows
     filters to select the protocol as is the case when it is not
     multiplexed.  I think this fixes a small bug as the ability to
     filter for a protocol should not depend on the lower level
     protocol.

     When the protocol id of the subframe is not present, the
     appropriate default protocol is displayed with the standard
     indication that Wireshark generated the value.

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

17 years agoAdd prefs_apply(), which lets us apply preferences (specifically,
gerald [Wed, 11 Oct 2006 00:37:29 +0000 (00:37 +0000)]
Add prefs_apply(), which lets us apply preferences (specifically,
trigger a module's callback) for a specific module.

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

17 years agoSimplify the preference string allocation code. Shorten the comments,
gerald [Tue, 10 Oct 2006 22:46:58 +0000 (22:46 +0000)]
Simplify the preference string allocation code.  Shorten the comments,
which (as Ulf pointed out) reduces the size of the prefs file
significantly.

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

17 years agoFix a typo.
etxrab [Tue, 10 Oct 2006 21:56:10 +0000 (21:56 +0000)]
Fix a typo.

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

17 years agoAdd H.248 packet BCP dissecton.
etxrab [Tue, 10 Oct 2006 21:52:52 +0000 (21:52 +0000)]
Add H.248 packet BCP dissecton.

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

17 years agoRemove no longer used files.
etxrab [Tue, 10 Oct 2006 21:50:19 +0000 (21:50 +0000)]
Remove no longer used files.

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

17 years agou_int32_t gives error on Windows assuming guint32 will do.
etxrab [Tue, 10 Oct 2006 21:46:44 +0000 (21:46 +0000)]
u_int32_t gives error on Windows assuming guint32 will do.

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

17 years agoPrep for the 0.99.4 release.
gerald [Tue, 10 Oct 2006 21:15:19 +0000 (21:15 +0000)]
Prep for the 0.99.4 release.

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

17 years agoFrom Paolo Abeni
sahlberg [Tue, 10 Oct 2006 21:00:35 +0000 (21:00 +0000)]
From Paolo Abeni

USB dissector

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

17 years agoAdd command-line options: -c disables color, -h prints help, -s runs
gerald [Tue, 10 Oct 2006 20:55:38 +0000 (20:55 +0000)]
Add command-line options: -c disables color, -h prints help, -s runs
a suite.

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

17 years agoDon't let PortAudio skip the queue on the about dialog ;)
jake [Tue, 10 Oct 2006 19:00:50 +0000 (19:00 +0000)]
Don't let PortAudio skip the queue on the about dialog ;)

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

17 years agoInclude <string.h> to declare string functions we use.
guy [Tue, 10 Oct 2006 08:13:56 +0000 (08:13 +0000)]
Include <string.h> to declare string functions we use.

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

17 years agoGet rid of declarations of functions that are no longer defined or used
guy [Tue, 10 Oct 2006 08:13:16 +0000 (08:13 +0000)]
Get rid of declarations of functions that are no longer defined or used
in this file.

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

17 years agoInclude "epan/tap.h" to declare a function we use.
guy [Tue, 10 Oct 2006 08:12:40 +0000 (08:12 +0000)]
Include "epan/tap.h" to declare a function we use.

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

17 years agoSquelch a compiler warning.
guy [Tue, 10 Oct 2006 08:12:04 +0000 (08:12 +0000)]
Squelch a compiler warning.

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

17 years agoClean up some compiler warnings.
guy [Tue, 10 Oct 2006 08:10:42 +0000 (08:10 +0000)]
Clean up some compiler warnings.

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

17 years agoGet rid of an unused variable.
guy [Tue, 10 Oct 2006 08:09:11 +0000 (08:09 +0000)]
Get rid of an unused variable.

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

17 years agoSquelch a compiler warning, and clean up indentation.
guy [Tue, 10 Oct 2006 08:08:17 +0000 (08:08 +0000)]
Squelch a compiler warning, and clean up indentation.

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

17 years agoFix some compiler warnings.
guy [Tue, 10 Oct 2006 08:07:14 +0000 (08:07 +0000)]
Fix some compiler warnings.

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

17 years agoGet rid of CR's at the ends of lines, set svn:keywords and svn:eol-style
guy [Tue, 10 Oct 2006 07:35:47 +0000 (07:35 +0000)]
Get rid of CR's at the ends of lines, set svn:keywords and svn:eol-style
appropriately.

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

17 years agoRemove a leftover printf.
gerald [Tue, 10 Oct 2006 00:30:49 +0000 (00:30 +0000)]
Remove a leftover printf.

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

17 years agoFirst step in integrating the AirPcap WEP preferences with those
gerald [Tue, 10 Oct 2006 00:28:53 +0000 (00:28 +0000)]
First step in integrating the AirPcap WEP preferences with those
from the 802.11 dissector.  Use a #define for the maximum number of
WEP keys.  Use AirPcap's if we have it (64).  Rename find_module()
prefs_find_module() and make it public.

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

17 years agoPick up TRAFFIC_CAPTURE_IFACE from the environment if it's set, otherwise
gerald [Mon, 9 Oct 2006 23:28:30 +0000 (23:28 +0000)]
Pick up TRAFFIC_CAPTURE_IFACE from the environment if it's set, otherwise
use a default value.

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

17 years agoadd some missing files to the clean target
ulfl [Mon, 9 Oct 2006 22:32:50 +0000 (22:32 +0000)]
add some missing files to the clean target

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

17 years agoReturn 1 on failure.
gerald [Mon, 9 Oct 2006 20:31:48 +0000 (20:31 +0000)]
Return 1 on failure.

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

17 years agoAdd ASN1 for H248 v3. The aim is to replace the current asn1 file after some more...
etxrab [Mon, 9 Oct 2006 20:22:31 +0000 (20:22 +0000)]
Add ASN1 for H248 v3. The aim is to replace the current asn1 file after some more testing.

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

17 years agoFrom Joe Breher
sahlberg [Mon, 9 Oct 2006 19:35:36 +0000 (19:35 +0000)]
From Joe Breher

dissect the permission bits in the capability blob

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

17 years agoMake preparations for running under Buildbot:
gerald [Mon, 9 Oct 2006 18:47:42 +0000 (18:47 +0000)]
Make preparations for running under Buildbot:

  - Check for an "all" argument at startup.  If it's present,
    then proceed with testing.

  - Add a platform check.  Use it to handle cases where we can't run
    as a normal user, e.g. trying to capture under Linux.

  - Add a "Skipped" result.

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

17 years agofrom Joe Breher
sahlberg [Mon, 9 Oct 2006 08:31:04 +0000 (08:31 +0000)]
from Joe Breher

This patch fixes a transposition of the orders of
Set Attribute Number
Set Attribute Length
In the page oriented get and set attributes CDB parameters format
Ref SCSI-OSD T10/1355-D Revision 10 section 5.2.2.2

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

17 years agoPly updated to version 2.1
kukosa [Mon, 9 Oct 2006 06:24:03 +0000 (06:24 +0000)]
Ply updated to version 2.1

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

17 years agoIf GTK1_DIR or GTK2_DIR not defined, then corresponding install-common-deps should...
wmeier [Mon, 9 Oct 2006 02:07:44 +0000 (02:07 +0000)]
If GTK1_DIR or GTK2_DIR not defined, then corresponding install-common-deps should not be invoked....

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

17 years agofrom Richard van der Hoff:
ulfl [Sun, 8 Oct 2006 22:57:32 +0000 (22:57 +0000)]
from Richard van der Hoff:
[tshark from a fifo]
I've even gone so far as to add a unit test for it

ULFL: as mkfifo isn't available on Win32 (not even cygwin), make this test configurable in config.sh

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

17 years agofrom Richard van der Hoff:
ulfl [Sun, 8 Oct 2006 22:39:23 +0000 (22:39 +0000)]
from Richard van der Hoff:
> [tshark from a fifo]
> Ulf - I notice you made the relevant change here (r16787) - is there any reason why tshark shouldn't use capture_loop_dispatch to do its processing, rather than attempting to use cap_pipe_dispatch or pcap_dispatch directly?

well, there didn't seem to be, so I've made a patch which does exactly this, and which fixes the problem.

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

17 years agochange the binary path to current windows debug dir: wireshark-gtk2
ulfl [Sun, 8 Oct 2006 22:24:46 +0000 (22:24 +0000)]
change the binary path to current windows debug dir: wireshark-gtk2

don't use promiscuous mode as default (my Win32 WLAN card won't capture any packets with it - might probably be better for other users as well)

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

17 years agoH248:
etxrab [Sun, 8 Oct 2006 20:57:20 +0000 (20:57 +0000)]
H248:
Lost a line in last commit.

ISUP Export a value string.

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

17 years agoadd some more SCSI OSD command dissectors
sahlberg [Sun, 8 Oct 2006 19:54:01 +0000 (19:54 +0000)]
add some more SCSI OSD command dissectors

REMOVE
REMOVE PARTITION
REMOVE COLELCTION
SET KEY

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

17 years agodissect attribute get/set data in data in/out blobs and display them for now as a...
sahlberg [Sun, 8 Oct 2006 19:11:39 +0000 (19:11 +0000)]
dissect attribute get/set data in data in/out blobs and display them for now as a blob.

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

17 years agoFix for bug 1153, typos in debug output
jake [Sun, 8 Oct 2006 07:54:06 +0000 (07:54 +0000)]
Fix for bug 1153, typos in debug output

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

17 years agoscsi osd
sahlberg [Sun, 8 Oct 2006 04:48:24 +0000 (04:48 +0000)]
scsi osd
collapse attripute parameters, capability and security parameters into subtrees to make the display easier to read

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

17 years agoscsi: unusual scsi protocols can request multiple AHS fields for iscsi so decode...
sahlberg [Sun, 8 Oct 2006 04:13:18 +0000 (04:13 +0000)]
scsi: unusual scsi protocols can request multiple AHS fields for iscsi   so decode the AHS properly instead of assuming at most one field is present

scsi-osd   add dissection of  LIST data pdus  and  CREATE cdb

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

17 years agodon't crash, if airpcap.dll isn't available
ulfl [Sat, 7 Oct 2006 22:41:17 +0000 (22:41 +0000)]
don't crash, if airpcap.dll isn't available

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

17 years agoStephen Fisher:
jmayer [Sat, 7 Oct 2006 14:48:04 +0000 (14:48 +0000)]
Stephen Fisher:
packet-cisco-wireless.c is actually trying to dissect WLCCP:

I have attached a dissector I wrote from scratch for the
frames that I'm seeing.  It has #defines for the field offsets and
lengths so it should be easier to merge.  I also attached a sample
capture with one of the frames that I'm seeing.  There are more fields
in the frame I haven't yet figured out, hopefully your dissector has
those that I'm missing.

Me: - Commented in wlccp over udp as well, it works most of the time.
    - Leave the file packet-cisco-wireless.c in for the time being to
      copy over knowledge until no usable info is left in the file.

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

17 years agoAlejandro Vaquero:
jmayer [Sat, 7 Oct 2006 14:24:32 +0000 (14:24 +0000)]
Alejandro Vaquero:
Add portaudio v19 support in addition to v18:

   Here is a patch using the API 2 (v19). I tested it only in Windows.
Attached also the Windows v19 zip file used. I did not modify the
Makefile.nmake to download this new version (when running the "setup"),
because Windows v18 it is still good.

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

17 years agoAdd a few packages and fix dissecton of a_codecs and handle the case when
etxrab [Fri, 6 Oct 2006 19:48:00 +0000 (19:48 +0000)]
Add a few packages and fix dissecton of a_codecs and handle the case when
hf_param = -1.

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

17 years agoFrom Aaron Campbell:
jake [Fri, 6 Oct 2006 19:18:55 +0000 (19:18 +0000)]
From Aaron Campbell:
The expression (BGP_OSPF_RTYPE_EXT ||BGP_OSPF_RTYPE_NSSA) will always
evaluate to 1.  As well, neither of these constants are defined as flag
values, so a bitwise op was probably not intended either.

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

17 years agoAdd the u3 packaging directory to the distribution.
gerald [Fri, 6 Oct 2006 17:50:51 +0000 (17:50 +0000)]
Add the u3 packaging directory to the distribution.

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

17 years agoAdd airpcap.h to the distribution.
gerald [Fri, 6 Oct 2006 17:39:39 +0000 (17:39 +0000)]
Add airpcap.h to the distribution.

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

17 years agoRemove entries for the lua plugin as it's not used any more.
etxrab [Thu, 5 Oct 2006 21:37:45 +0000 (21:37 +0000)]
Remove entries for the lua plugin as it's not used any more.

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

17 years agohave the funnel client passing the destructors for btn data structures to the funnel.
lego [Thu, 5 Oct 2006 16:25:13 +0000 (16:25 +0000)]
have the funnel client passing the destructors for btn data structures to the funnel.
Although useless in practice, it is better to implement it this way... the funnel mini gui might be used by other modules in the future.

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

17 years agoMake IPPrim based addresses filterable (mirroring ip/udp/tcp filter names).
martinm [Thu, 5 Oct 2006 14:10:10 +0000 (14:10 +0000)]
Make IPPrim based addresses filterable (mirroring ip/udp/tcp filter names).
Add some if (tree) tests to try to avoid doing extra work (large FP captures can be very slow to load).

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

17 years agoPatch in bug 1149, adds DCE-style flag for gss-api
jake [Thu, 5 Oct 2006 11:35:41 +0000 (11:35 +0000)]
Patch in bug 1149, adds DCE-style flag for gss-api

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

17 years agoStart to make the output from the dissector more like the actual
etxrab [Wed, 4 Oct 2006 22:49:40 +0000 (22:49 +0000)]
Start to make the output from the dissector more like the actual
data.

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