Commit Graph

4116 Commits

Author SHA1 Message Date
Gerald Combs e000e1c8ec Make the "WEP key count" option match the number of WEP key slots. Add
a note about improving the WEP key interface.

svn path=/trunk/; revision=19514
2006-10-13 15:53:20 +00:00
Ronnie Sahlberg 8826c144f7 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.





svn path=/trunk/; revision=19511
2006-10-13 09:16:45 +00:00
Ronnie Sahlberg d516bcbb78 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




svn path=/trunk/; revision=19510
2006-10-13 08:42:33 +00:00
Jaap Keuter 643c6f1bfd Add 802.1QinQ Ethertype preference.
svn path=/trunk/; revision=19508
2006-10-12 21:31:00 +00:00
Gerald Combs 44318bc1f1 Check to see if we've passed a null strval to ndps_string().
Should fix the recent fuzz bugs.

svn path=/trunk/; revision=19506
2006-10-12 15:00:07 +00:00
Ronnie Sahlberg 15d3176063 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



svn path=/trunk/; revision=19505
2006-10-12 10:54:36 +00:00
Jaap Keuter 804bed87e6 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.

svn path=/trunk/; revision=19503
2006-10-12 08:04:11 +00:00
Jaap Keuter 8f44a5ef69 Adding initial version of UDLD dissector
svn path=/trunk/; revision=19501
2006-10-12 06:01:51 +00:00
Ronnie Sahlberg 2f6fb1fe7f From Patrick vd Lageweg
Hi,

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



svn path=/trunk/; revision=19497
2006-10-11 20:05:27 +00:00
Ronnie Sahlberg 10893e51d7 From Patrick vd Lageweg
Hi,

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






svn path=/trunk/; revision=19496
2006-10-11 20:03:44 +00:00
Ronnie Sahlberg d8a8ec9b36 From Patrick vd Lageweg
Hi,

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


Patrick


svn path=/trunk/; revision=19495
2006-10-11 20:00:43 +00:00
Guy Harris 69ab0c473b 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.

svn path=/trunk/; revision=19494
2006-10-11 17:01:51 +00:00
Ronnie Sahlberg 145d7a0577 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.



svn path=/trunk/; revision=19493
2006-10-11 11:32:56 +00:00
Ronnie Sahlberg 494e873eb0 move the ITL and the ITLQ structure to packet-scsi.h where it belongs
svn path=/trunk/; revision=19492
2006-10-11 10:38:59 +00:00
Ronnie Sahlberg 72817cf7bd from Paolo A
update the usb dissector to reflect the recent change in the pcap format


svn path=/trunk/; revision=19491
2006-10-11 09:47:27 +00:00
Ronnie Sahlberg daa7210867 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


svn path=/trunk/; revision=19490
2006-10-11 08:18:14 +00:00
Ulf Lamping d099129659 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.
svn path=/trunk/; revision=19489
2006-10-11 07:31:01 +00:00
Anders Broman c16a3fa90a 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.

svn path=/trunk/; revision=19488
2006-10-11 06:11:54 +00:00
Gerald Combs b07b29f711 Simplify the preference string allocation code. Shorten the comments,
which (as Ulf pointed out) reduces the size of the prefs file
significantly.

svn path=/trunk/; revision=19486
2006-10-10 22:46:58 +00:00
Anders Broman d307493eb5 Fix a typo.
svn path=/trunk/; revision=19485
2006-10-10 21:56:10 +00:00
Anders Broman 9d005246c1 Add H.248 packet BCP dissecton.
svn path=/trunk/; revision=19484
2006-10-10 21:52:52 +00:00
Anders Broman c1d78e08ed Remove no longer used files.
svn path=/trunk/; revision=19483
2006-10-10 21:50:19 +00:00
Anders Broman cec6d51774 u_int32_t gives error on Windows assuming guint32 will do.
svn path=/trunk/; revision=19482
2006-10-10 21:46:44 +00:00
Ronnie Sahlberg 26f642778f From Paolo Abeni
USB dissector


svn path=/trunk/; revision=19480
2006-10-10 21:00:35 +00:00
Guy Harris e9a7c32e2d Squelch a compiler warning.
svn path=/trunk/; revision=19474
2006-10-10 08:12:04 +00:00
Guy Harris 51a426a4ca Clean up some compiler warnings.
svn path=/trunk/; revision=19473
2006-10-10 08:10:42 +00:00
Guy Harris badda625ae Get rid of an unused variable.
svn path=/trunk/; revision=19472
2006-10-10 08:09:11 +00:00
Guy Harris 9890b823f4 Get rid of CR's at the ends of lines, set svn:keywords and svn:eol-style
appropriately.

svn path=/trunk/; revision=19469
2006-10-10 07:35:47 +00:00
Gerald Combs 4e1d2cd8a9 Remove a leftover printf.
svn path=/trunk/; revision=19468
2006-10-10 00:30:49 +00:00
Gerald Combs 993305a75f 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.

svn path=/trunk/; revision=19467
2006-10-10 00:28:53 +00:00
Ronnie Sahlberg 01b065893e From Joe Breher
dissect the permission bits in the capability blob



svn path=/trunk/; revision=19462
2006-10-09 19:35:36 +00:00
Ronnie Sahlberg dfc0a65002 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





svn path=/trunk/; revision=19460
2006-10-09 08:31:04 +00:00
Anders Broman ed0cf1e0bb H248:
Lost a line in last commit.

ISUP Export a value string.

svn path=/trunk/; revision=19454
2006-10-08 20:57:20 +00:00
Ronnie Sahlberg daed1f10cd add some more SCSI OSD command dissectors
REMOVE
REMOVE PARTITION
REMOVE COLELCTION
SET KEY


svn path=/trunk/; revision=19453
2006-10-08 19:54:01 +00:00
Ronnie Sahlberg 0eb3023c5f dissect attribute get/set data in data in/out blobs and display them for now as a blob.
svn path=/trunk/; revision=19452
2006-10-08 19:11:39 +00:00
Jaap Keuter f9e196db54 Fix for bug 1153, typos in debug output
svn path=/trunk/; revision=19451
2006-10-08 07:54:06 +00:00
Ronnie Sahlberg 08421ffc74 scsi osd
collapse attripute parameters, capability and security parameters into subtrees to make the display easier to read


svn path=/trunk/; revision=19450
2006-10-08 04:48:24 +00:00
Ronnie Sahlberg 4d6a65270b 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


svn path=/trunk/; revision=19449
2006-10-08 04:13:18 +00:00
Jörg Mayer 7cf6ac9327 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.

svn path=/trunk/; revision=19447
2006-10-07 14:48:04 +00:00
Anders Broman 1785428d4c Add a few packages and fix dissecton of a_codecs and handle the case when
hf_param = -1.

svn path=/trunk/; revision=19445
2006-10-06 19:48:00 +00:00
Jaap Keuter 004cb06d90 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.

svn path=/trunk/; revision=19444
2006-10-06 19:18:55 +00:00
Martin Mathieson 60193f0ae7 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).

svn path=/trunk/; revision=19439
2006-10-05 14:10:10 +00:00
Jaap Keuter 52499b3dd4 Patch in bug 1149, adds DCE-style flag for gss-api
svn path=/trunk/; revision=19438
2006-10-05 11:35:41 +00:00
Anders Broman 1677b21838 Added the possibillity of Statistic pkg as well.
svn path=/trunk/; revision=19436
2006-10-04 22:43:38 +00:00
Jaap Keuter 662d1c90fa Make provisional ETHERTYPE dependant on registered ETHERTYPE
Remove preferences stuff
Use stringz for variable length names
Media address size independant
Removed generated item
Set actual length of packet
Make info column work without coloring rules or filters

svn path=/trunk/; revision=19435
2006-10-04 22:01:58 +00:00
Anders Broman 7817c0a610 Put back the bugfixes froim Revision 19190/19356
Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1091

"h248_handle was declared localy, udp port was not added at register.

Added a few more packagenames."

svn path=/trunk/; revision=19434
2006-10-04 21:52:35 +00:00
Anders Broman d701298da8 From Martin Peylo:
dissector for Enea's LINX protocol?

A protocol spec is available at <http://www.enea.com/templates/Extension____8947.aspx>. The source of the kernel module could be obtained from Enea by sending a request to "linx at enea dot com".

Currently they use ethertype 0x9999 which is not registered at IEEE.

svn path=/trunk/; revision=19430
2006-10-04 18:00:32 +00:00
Anders Broman 1775368e0a From Nicolas DICHTEL:
M flag isn't for MCOA, but for HMIP (RFC4140 Section 4.1).

svn path=/trunk/; revision=19429
2006-10-04 17:43:52 +00:00
Anders Broman 12819c3b19 Finally got it to complie.
svn path=/trunk/; revision=19427
2006-10-04 16:02:59 +00:00
Luis Ontanon c284a7f9ab more cleanup... almost there...
svn path=/trunk/; revision=19426
2006-10-04 15:31:31 +00:00
Anders Broman 699c5c66b6 From Florent.Drouin@alcatel.fr:
I did improve the OID management in the tcap dissector.
Now, when a tcap message is reveived, without upper layer, the ACN is saved in the TCAP context, and can be used for the next messages of the dialogue. It is used only when the upper layer session is opened with Tcap only messages.

svn path=/trunk/; revision=19414
2006-10-03 19:24:22 +00:00
Luis Ontanon 8f737d2587 Get it to compile...
svn path=/trunk/; revision=19412
2006-10-03 18:38:04 +00:00
Anders Broman 8774e7e28e From David Richards:
numerous changes, most notably:

1) BACnetStatusFlags is bit string, not enum, in NotificationParameters
2) Fixes many places where enclosing context tags were not handled properly.
3) Simplify tag decoding logic.  Change to explicit decoding in many 
instances rather
    than read tags in a loop and do a switch based on tag number.  Looping
    ignores out-of-order and other types of tagging errors.

svn path=/trunk/; revision=19410
2006-10-03 18:11:55 +00:00
Luis Ontanon 5d40bae072 MSVCC does not like mixing code and variable declarations
svn path=/trunk/; revision=19409
2006-10-03 18:07:31 +00:00
Anders Broman 83971ab494 Add application/media_control+xml
svn path=/trunk/; revision=19408
2006-10-03 18:04:15 +00:00
Luis Ontanon a4d7156808 H.248 packages...
few things to be fixed:
- // comments,
- not every hf_xxx used might be registered

some packages from the current h248 dissector are still missing.



svn path=/trunk/; revision=19407
2006-10-03 17:24:28 +00:00
Martin Mathieson 3474ea868c - Add special case for reading strange encoding of ATM CID field
- Indicate direction of DCH Data in info column
- Assume EDCH payload CRC if 2 bytes are left over (previous test was broken)

svn path=/trunk/; revision=19405
2006-10-03 14:21:07 +00:00
Anders Broman 179039652b From Stephen Fisher:
always register 
itself on the port from the preferences (defaults to 0) upon launch.  
This allows the user to right-click and use decode as.

svn path=/trunk/; revision=19403
2006-10-03 05:50:28 +00:00
Anders Broman e65847960f From Stephen Fisher:
Modifie the VNC dissector to desegment 
the "server cut text" message type for cases where the cut text is in 
the next tcp segment from the first part of the message.

svn path=/trunk/; revision=19402
2006-10-03 05:48:47 +00:00
Martin Mathieson 2bfdb780ee Set correct length for extensions root
svn path=/trunk/; revision=19393
2006-10-02 10:49:57 +00:00
Ronnie Sahlberg af410bce95 fix for header digest detection being broken when AHS is used.
we simply forgot to account for the AHS when testing to calculate the crc


svn path=/trunk/; revision=19389
2006-09-30 21:49:11 +00:00
Ronnie Sahlberg 61ac971e2c add dissection of the cdb for service action LIST
(but no decoding of the data in yet)



svn path=/trunk/; revision=19388
2006-09-30 21:08:27 +00:00
Ronnie Sahlberg 71af839c39 the ahs length inside the AHS for an extended cdb includes the reserved byte before the start of cdb data
account for this extra reserved byte in the ahs length so that the reconstructed cdb has the correct length and does not contain one extra byte at the end



svn path=/trunk/; revision=19387
2006-09-30 20:40:04 +00:00
Ulf Lamping ee8abeec9e fix a typo
svn path=/trunk/; revision=19386
2006-09-30 18:30:43 +00:00
Graeme Lunt 23937f82c7 A new field information flag, FI_URL, to indicate a field contains a URL.
This is used to display the field underlined and to allow the user to double-click on it (like FT_FRAMENUM) to open the URL in the configured browser. 
Example usage in the x509ce and logotype certificate extensions. 


svn path=/trunk/; revision=19383
2006-09-30 14:37:09 +00:00
Ulf Lamping 3da46255fe remove compiler warnings
svn path=/trunk/; revision=19382
2006-09-30 13:40:36 +00:00
Ronnie Sahlberg c2b08c79d2 add dissection of SCSI OSD CREATE PARTITION
svn path=/trunk/; revision=19379
2006-09-30 10:24:23 +00:00
Ronnie Sahlberg cadbe48610 finish off the remainder of FORMAT OSD for scsi osd dissector
svn path=/trunk/; revision=19378
2006-09-30 10:08:43 +00:00
Ronnie Sahlberg bedacc2bc2 scsi osd updates
iscsi: when iscsi transfers a cdb that is alrger than 16 bytes,  the first 16 bytes are transferred in the normal place in the header and ther remainder of the cdb is transported inside the AHS.

reassemble these cdb into a proper tvb before passing it to the scsi dissector



svn path=/trunk/; revision=19376
2006-09-30 09:34:58 +00:00
Ulf Lamping 4e79f8f307 remove a warning
svn path=/trunk/; revision=19375
2006-09-30 09:15:15 +00:00
Ronnie Sahlberg 62290c9cc5 add an extra_data pointer to the itlq structure where specific commandsets/cdbs can hang additional data that are unique to that commandset/cdb
make the scsi osd service action and getsetattributetype use this facility

furhter enhancements to scsi osd


svn path=/trunk/; revision=19374
2006-09-30 04:10:28 +00:00
Ronnie Sahlberg deef583ae5 scsi opcode 0x7f is variable length so dont clamp the cdb length to 16 bytes
svn path=/trunk/; revision=19373
2006-09-30 01:01:57 +00:00
Ronnie Sahlberg 0afdb9be78 scsi osd additions
we also need to track the serviceaction in the itlq structure so we can decode the data in/out properly


svn path=/trunk/; revision=19371
2006-09-30 00:31:36 +00:00
Ulf Lamping d6f0ae689c MSVC doesn't like empty array inits
svn path=/trunk/; revision=19368
2006-09-29 21:53:54 +00:00
Anders Broman 55967abbf1 Update Diamater and Radius AVP:s
svn path=/trunk/; revision=19366
2006-09-29 21:26:27 +00:00
Jaap Keuter 8fd898635b Fix for bug 1133:
add a test for (length > 0) in the dissector (dissect_xot_pdu), to avoid to
allocate a new tvb when the XOT decoded length is null. 

svn path=/trunk/; revision=19365
2006-09-29 19:39:40 +00:00
Martin Mathieson 49a3e2a6e5 Dissect Via header
svn path=/trunk/; revision=19364
2006-09-29 17:35:23 +00:00
Jaap Keuter e01fdc5616 From Nicolas DICHTEL:
Please find enclosed a patch about Mobile Network Prefix option in NEMO.
Following RFC3963 Section 4.3, lenght of this option is 18, not 16.

svn path=/trunk/; revision=19363
2006-09-29 16:31:52 +00:00
Ronnie Sahlberg 59d9a1b9c2 add a missing heuristic to acept a NOP_IN packet and correct a broken heuristic that would refuse all NOP_OUT pdus as non-iscsi
it is absolutely amazing that none of the iscsi implementors and users of wireshark had noticed this breakage and reported it.   they apparently do not use wireshark.


svn path=/trunk/; revision=19362
2006-09-29 11:12:18 +00:00
Tomas Kukosa 809d8a1113 From Reinhard Speyerer:
patch fixes a small typo in epan/dissectors/packet-per.c

svn path=/trunk/; revision=19361
2006-09-29 11:09:17 +00:00
Ronnie Sahlberg e2a851e18d add initial scsi osd dissector but only dissect sdbs that are impoerted from SPC
various changes to the existing scsi dissector to start allowing different commandsets to be implemented in their own dissector files to prevent the scsi dissector to become as huge as the parlay dissector




svn path=/trunk/; revision=19360
2006-09-29 10:40:51 +00:00
Ronnie Sahlberg d09cfb2bb8 move the defines for SPC command opcode values to the headerfile
svn path=/trunk/; revision=19359
2006-09-29 09:24:51 +00:00
Anders Broman 2861b22148 Update some value_strings
svn path=/trunk/; revision=19355
2006-09-29 05:51:44 +00:00
Anders Broman f1a97e4ec3 From Martin Peylo:
- dissection of TIPCv2 internal messages now shows
  all fields used according to the protocol spec
- there should be no issues with the current protocol
  spec anymore
- the info column is more concise and gives more
  details
- some code beautifications

svn path=/trunk/; revision=19354
2006-09-29 05:50:41 +00:00
Jaap Keuter b43742894c From Nicolas DICHTEL:
I've two patchs for FMIPv6:
- FBU encapsulated in FNA are not correctly parsed;
- there is an error when parsing LLA Option.

svn path=/trunk/; revision=19351
2006-09-28 16:30:20 +00:00
Ronnie Sahlberg c220a1a89a From stephen fisher:
I have figured out one of the fields in the MAPI
EcRRegisterPushNotification packet.  The field is a UDP port number that
the client wants the Exchange server to send new mail notifications on.
These notifications are on a port > 1023 and are always 8 bytes long.

It looks like I would add the function name to the
dcerpc_mapi_dissectors[] for the register push notification.  What would
my new function need to do besides display the field?


Thanks,

Steve

Here is a patch to add this functionality.  It displays the notification
port and the notification payload (not sure what the payload itself
means yet).  It also dynamically registers each notification port found
with a new dissector (that I called newmail for lack of a better name -
I'm open to suggestions) that displays the notification payload.  This
is all undocumented by Microsoft in their usual fashion.

I also changed the code to always display the mapi.opnum field;
currently, the mapi.opnum is only displayed when the
dcerpc_mapi_dissector is null.


Steve




svn path=/trunk/; revision=19350
2006-09-28 16:29:18 +00:00
Ronnie Sahlberg c20b7c8eda additional scsi sense codes from patrick@abra2.bitwizard.nl
svn path=/trunk/; revision=19349
2006-09-28 15:57:54 +00:00
Ronnie Sahlberg ad305c630b Hi,
This patch fixes the page code selector for the scsi log sense command.

Patrick




svn path=/trunk/; revision=19348
2006-09-28 15:55:13 +00:00
Ronnie Sahlberg 6fee9a41f0 From Alex Burlyga
This patch adds support for dissecting ontap's nfsv4 filehandle,
as well as some updates to nfsv3 filehandle as well in the nfs
dissector.

Alex.


checked in with minor changes


svn path=/trunk/; revision=19345
2006-09-28 07:52:46 +00:00
Ronnie Sahlberg 171a98950c EFS is generated by PIDL now so we dont need the old idl2wrs folder any more
svn path=/trunk/; revision=19343
2006-09-27 20:56:15 +00:00
Ronnie Sahlberg 3fbca8aff5 generate the EFS DCERPC interface dissector using PIDL
svn path=/trunk/; revision=19342
2006-09-27 20:55:13 +00:00
Anders Broman ad9a9a6a9d From Florent Drouin:
Here are some patches and a new module to introduce the notion of Tcap context for a Tcap transaction. For each Tcap transaction, several parameters, like session identifier, start time or OID, will be saved in a hash table, to keep these informations available for the next messages. This context is then given to the upper layer, and can be used, for example, to generate transaction-associated statistics.

Moreover, the Upper protocol, detected in the Begin of the TCAP transaction ( according to the OID ), is saved in the context, and will be reused for the next messages of the transaction. This help the decoding of SS7 messages, without any SSN configuration in the "wireshark preferences".

You will have too, the possibility to apply a filter to see only the messages related to a TCAP transaction. (tcap.srt.session_id=XXX)

To enable the use of the Tcap context, you have 2 new parameters in the preferences,
- SRT, enable search for a Tcap context for any TCAP messages
- persistentSRT, keep the Tcap context, even after the transaction has been closed. This is mandatory with Wireshark, to have a clean display of the stats.

There is 2 new timers  in the preferences for the statistics, to tune the retransmission timeout, and messages lost timeout.

svn path=/trunk/; revision=19341
2006-09-27 20:06:06 +00:00
Anders Broman 9753b85f46 Handle unaligned dissect_per_length_determinant and dissect_per_restricted_character_string_sorted.
svn path=/trunk/; revision=19340
2006-09-27 19:30:22 +00:00
Martin Mathieson 473347e064 Dissect sequence number & method name of CSeq header.
svn path=/trunk/; revision=19336
2006-09-27 12:49:00 +00:00
Ronnie Sahlberg 10091ebdaa add new dcerpc protocol WZCSVC based on samba4 idl
this protocol is not too interesting yet since only the function names of this interface is known  but it is more that no dissection at all



svn path=/trunk/; revision=19333
2006-09-27 08:59:20 +00:00
Martin Mathieson 0852c89fd1 - Mark the multipart type as a generated field.
- Remove the RFC 3261 attribution in the long text version of several headers (some of them I couldn't easily work out where the first non-obsoleted introduction of them is)

svn path=/trunk/; revision=19328
2006-09-26 13:01:27 +00:00
Ronnie Sahlberg e2aea53993 update the idl for wkssvc and generate the dissector by pidl
svn path=/trunk/; revision=19321
2006-09-25 08:50:21 +00:00
Anders Broman 299469d48d Handle Zero length SEQUENCE and SEQUENCE OF.
svn path=/trunk/; revision=19318
2006-09-24 21:04:53 +00:00
Guy Harris 239ba17a50 dissect_ndr_uint16()'s last argument points to a guint16, not a guint.
svn path=/trunk/; revision=19316
2006-09-24 20:31:02 +00:00
Guy Harris 240f452c38 Squelch a compiler warning.
Clean up indentation.

svn path=/trunk/; revision=19315
2006-09-24 20:29:47 +00:00
Ronnie Sahlberg d00cec91ec these dissector functions should not be in svn in pidl they are just temporary files that are copied to the correct location after being manually compiled
svn path=/trunk/; revision=19312
2006-09-24 20:24:39 +00:00
Ronnie Sahlberg aa7834c8ef pidl has been updated to use WERR instead of DOS error tables.
regenerate some dissectors


svn path=/trunk/; revision=19311
2006-09-24 20:23:17 +00:00
Ulf Lamping 8ee212b535 print the connectionless interface name if such is known
svn path=/trunk/; revision=19309
2006-09-24 11:10:31 +00:00
Ulf Lamping cb29acb89a don't replace the COL_PROTO and COL_INFO entries simply with "PNG", but append it only to the COL_INFO just like the GIF dissector is doing
this keeps valuable info in COL_INFO, e.g. the HTTP status code 

svn path=/trunk/; revision=19308
2006-09-24 00:45:31 +00:00
Ronnie Sahlberg 1b3847969e we did not have a proper WERR error table for the windows errors insterad we justkept adding the errors to the DOS error table (this merging does work ok since there is so very little overlap between he values in both ranges)
Add a new WERR error table to packet-windows-common    so that PIDL generated dissectors can use this table instead of the DOS table.


To make this table as complete and accurate as possible and to avoid having to type all the values in by hand    the table is generated from the samba doserr.h file and two small commandlines.
The commends in pakcet-windows-common.h explains how to regenerate the table from doserr.h






svn path=/trunk/; revision=19306
2006-09-23 21:55:40 +00:00
Ronnie Sahlberg 5c2232dc22 replace a rotating buffer in smb with ep allocated memory
dont try dcerpc reassembly of fragments if we dont have the entire pdu

only call the heuristical dissectors once from smb/pipe as per guy(?)s comments about idempotence.
when doing reassembly, the dcerpc dissector is indeed not idempotent any more.



svn path=/trunk/; revision=19304
2006-09-23 13:21:54 +00:00
Graeme Lunt 914d48e098 Fix to show all the internal tokens. when configured, when dissecting an unknown piece of BER.
svn path=/trunk/; revision=19289
2006-09-22 17:39:02 +00:00
Graeme Lunt 3001ad5169 When dissecting LDAP, the assumption was made that the maximum LDAP PDU size will be 65535. Anything bigger than this was considered not to be LDAP. However, LDAP can have PDU sizes bigger than this - a CRL can easily grow to be bigger than this, for example.
This patch makes the the maximum valid LDAP PDU size a preference. The default value for this new preference is 65535 for backwards compatibility.


svn path=/trunk/; revision=19288
2006-09-22 15:19:32 +00:00
Martin Mathieson 03a7d4ac2e Add missing updates to unbreak build...
svn path=/trunk/; revision=19287
2006-09-22 12:41:30 +00:00
Martin Mathieson aa42f96cc5 Add remaining dedicated control message types. This dissector is pretty complete now.
svn path=/trunk/; revision=19286
2006-09-22 12:35:06 +00:00
Martin Mathieson e240c46f6c EDCH new fields + another DCH control message type
svn path=/trunk/; revision=19285
2006-09-22 10:29:19 +00:00
Ronnie Sahlberg 4987fc95bb dfs updates from the s4 idl repository
svn path=/trunk/; revision=19284
2006-09-22 09:27:25 +00:00
Ronnie Sahlberg cb23bfa371 update where the extra strings in the record are being dissected to that the decode follows the packet structure more closely
svn path=/trunk/; revision=19283
2006-09-22 07:56:18 +00:00
Ronnie Sahlberg 4fb91a42f8 update to eventlog record
dissect the informational strings that may be present inside an event



svn path=/trunk/; revision=19282
2006-09-22 07:43:29 +00:00
Ronnie Sahlberg f1aec19c53 add conformance file magic to decode the non-NDR source/computer name strings of the eventlog_Record
svn path=/trunk/; revision=19280
2006-09-22 01:40:23 +00:00
Ronnie Sahlberg e38da93629 updates to eventlog to use the pidl generated dissector and enhance the conformance file to dissect parts of the eventlog Records.
(record dissection is incomplete since this is not really NDR encoded   but better than nothing)



svn path=/trunk/; revision=19279
2006-09-22 00:01:38 +00:00
Ronnie Sahlberg 3991557f68 merge JBMs changes from the handwritten dissector to the idl
svn path=/trunk/; revision=19278
2006-09-21 22:02:08 +00:00
Ronnie Sahlberg 03ff1644f3 add idl file and conformance file for eventlog interface
svn path=/trunk/; revision=19277
2006-09-21 22:01:32 +00:00
Ronnie Sahlberg d1ce720b3c winreg updates resync idl from s4
svn path=/trunk/; revision=19276
2006-09-21 21:14:33 +00:00
Anders Broman c8f1354c14 Fix for bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1106
packet-lapd.c change on 2006-03-02 (17452) by etxrab swaps SRC/DST for the default case
And added a comment to Q.931

svn path=/trunk/; revision=19275
2006-09-21 19:39:42 +00:00
Guy Harris 3b1726527a Add some space after commas.
svn path=/trunk/; revision=19274
2006-09-21 17:42:23 +00:00
Guy Harris 2b56ab8695 Fix the handling of IPv4-address and Boolean suboptions of the Novell
options item.

svn path=/trunk/; revision=19273
2006-09-21 17:41:47 +00:00
Jaap Keuter 18664a7803 From: Marco Strack
The smb dissector displays lock requests in the "Locking AndX Request" as a vector of locks. It opens a tree branch
"Locks" and appends the locks to this branch. Instead of adding "Lock" objects to this branch it added "Unlock"
objects. Everything else is fine.

svn path=/trunk/; revision=19271
2006-09-21 13:08:50 +00:00
Martin Mathieson 4990aec4b9 New fields in R6 RACH
svn path=/trunk/; revision=19270
2006-09-21 10:21:12 +00:00
Ronnie Sahlberg af26289df3 dfs updates
svn path=/trunk/; revision=19269
2006-09-21 09:18:39 +00:00
Martin Mathieson b7bb8c7460 Make the data part of the message filterable
svn path=/trunk/; revision=19265
2006-09-20 12:13:18 +00:00
Martin Mathieson 6de1b28bb8 Add Content-Id and Content-Transfer-Encoding headers, as described in RFC 2045/6
svn path=/trunk/; revision=19264
2006-09-20 12:12:18 +00:00
Anders Broman 06bdcadce0 From David Pelton:
Add  the ieee802a_add_oui function to libwireshark.def, and also adds the OUI that I am using to a couple of internal lists (in epan/oui.h and dissectors/packet-llc.c).

From me:
Resorted the oui  lists, some witespace changes and added Ericsson OUI:s.

svn path=/trunk/; revision=19262
2006-09-20 06:13:02 +00:00
Anders Broman 93ea6fac36 From Graham Addis:
In dissect_geographical_description the longitude is multiplied by 260 
 and should be by 360(degrees).

 Also it would be good to display to 5 decimal places.

svn path=/trunk/; revision=19260
2006-09-19 20:25:57 +00:00
Martin Mathieson 133e459384 Make Content-Length and Max-Forwards fields uints
svn path=/trunk/; revision=19259
2006-09-19 17:40:24 +00:00
Ronnie Sahlberg 6cd45b33ae import DFS.idl from samba and use it to generate a much more complete DFS dissector
svn path=/trunk/; revision=19257
2006-09-19 08:02:19 +00:00
Jaap Keuter 0058816599 From G.F. aka Gena01
I have put together a patch for YMSG packet dissector. This is based on my own code and service lists (this
should match Gaim and Kopete service lists). This new code should bring the code up to par to most of the
known services. Which should cover up to Yahoo 7.x or most of it.

I have also setup a new set of constants which are specific to YMSG packets. These are the types that I've
seen in miranda network logs and they should reveal more information. The other constants are mostly for buddy
statuses and need nor apply to the YMSG header.  I have left them in the code (for now). These constants are
currently used in my own code.

svn path=/trunk/; revision=19255
2006-09-18 14:29:58 +00:00
Jaap Keuter a3821bf4c3 Licepnse -> License
svn path=/trunk/; revision=19254
2006-09-18 13:59:30 +00:00
Martin Mathieson 704f848105 Add old release DSCH FDD fields. Try to squash compiler warnings seen on MACOS buildbot
svn path=/trunk/; revision=19253
2006-09-18 13:39:23 +00:00
Jörg Mayer 8b4aeedaf1 jeff morriss:
Patch for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1102


svn path=/trunk/; revision=19252
2006-09-18 10:14:12 +00:00
Jaap Keuter b9f9757bed From Francesco Fondelli:
You find attached a patch file (against svn 19058) to dissect packets
produced by the Linux kernel packet generator.

svn path=/trunk/; revision=19251
2006-09-18 09:27:47 +00:00
Ronnie Sahlberg fe89548ed9 some more bitmaps for SRVSVC
svn path=/trunk/; revision=19250
2006-09-18 08:42:46 +00:00
Ronnie Sahlberg 690ad14806 add decoding of the SessionInfo userflags
svn path=/trunk/; revision=19249
2006-09-18 08:05:51 +00:00
Anders Broman 168079f703 From Martin Peylo:
Improve Infocolumn output.

svn path=/trunk/; revision=19248
2006-09-17 20:23:23 +00:00
Anders Broman 71628796c4 Fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1107
"The decoder has some bugs:
 * RTP redundancy field is decoded incorrectly.
 * Timer TU3920 is displayed as being in seconds, but it is really in units of
100 ms."

svn path=/trunk/; revision=19247
2006-09-17 19:43:13 +00:00
Ronnie Sahlberg b85f1d1b80 generate SRVSVC by pidl
small prettification regression but that will be fixed in the next few days



svn path=/trunk/; revision=19244
2006-09-16 11:57:14 +00:00
Ronnie Sahlberg 7bed417e5e make dissect_nt_sid return ep allocated memory and thus fix a few memory leaks
(this function is often called from dcerpc dissectors)


svn path=/trunk/; revision=19243
2006-09-16 09:20:34 +00:00
Ronnie Sahlberg ff901e2b0e strings we pass up to the caller through private_data are now of ep scope
this closes a few memory leaks


svn path=/trunk/; revision=19242
2006-09-16 09:10:23 +00:00
Ronnie Sahlberg ac85c4717c remove any dependencies that dcv->private_data is persistent
svn path=/trunk/; revision=19241
2006-09-16 08:51:03 +00:00
Ronnie Sahlberg eebad152f7 make SAMR not rely on dcv->private_data being persistent any more and use dcv->se_data
once the private_data -> se_data conversion is complete we can plug quite a large number of memory leaks related to dcerpc



svn path=/trunk/; revision=19240
2006-09-16 05:30:31 +00:00
Martin Mathieson 5f38a25c0b More missing message types
svn path=/trunk/; revision=19235
2006-09-15 15:03:18 +00:00
Anders Broman 20b391debb svn propset.
svn path=/trunk/; revision=19234
2006-09-14 17:21:28 +00:00
Martin Mathieson 2a380ba8bf More fixes and prettifications
svn path=/trunk/; revision=19233
2006-09-14 15:43:43 +00:00
Ronnie Sahlberg 8b236488e2 add OpenSCManagerW
also make the dissector manage that dcv->private_data in the future will be of ep scope



svn path=/trunk/; revision=19232
2006-09-14 12:01:18 +00:00
Jörg Mayer 2a5d217358 Jeff Morriss:
Fix for bug 1036

I looked at this today and found that in fact the PC stuff is pretty
hosed up in the SS7 dissectors.  For example, MTP3 *looks* OK here (DPC is
4-5-6):

    Routing label
        DPC (4-5-6) (394500)

but 394500 == 0x60504 == 6-5-4.  Something's not right.

I made a common PC dissector function for all the SS7 dissectors so as to
concentrate all this code in one place (something I've been wanting to do for a
while anyway) and fixed the reported problem as well as the above problem in
the attached patch.

svn path=/trunk/; revision=19231
2006-09-14 10:51:44 +00:00
Martin Mathieson 1d5165c8e0 Add support for R6 HSDPA data 'new IEs' (the spec seems not be be very clear...).
Try to cast away a warning seen on buildbot logs

svn path=/trunk/; revision=19229
2006-09-13 13:32:31 +00:00
Ronnie Sahlberg f6976864bf the way we pass dcerpc strings from deep down in helpers to high level dissector functions (dcv->private_data) for things such as strings and sids is a mess and very difficult to handle without a lot of memory leakage.
the biggest problem in changing this is the dcv->private_data usage.


add a dcv->se_data which can keep data around from a request to a response and use this to change the LSA/OpenPolicy2 servername passing from request to response as a test pattern of moving all users of dcv->private data over to use dcv->se_data.

once all users are migrated over we can then change the dcv->private data pointer to be of ep scope and thus not need an explicit free (which is quite difficult and it is quite difficult in the old semantics to know WHEN we need to free this pointer)

this will eventually make the usage more clean and at the same time close down quite a few memory leaks.


eventually this will make dissect_ndr_nt_SID return a pointer to ep allocated memory that need not be explicitely freed.



svn path=/trunk/; revision=19226
2006-09-13 08:30:16 +00:00
Guy Harris 2e64b81928 Not all platforms define "u_short", and "tvb_length_remaining()+4" isn't
guaranteed to fit into a "u_short" in any case.  Use "gint" instead.

Squelch some compiler warnings.

svn path=/trunk/; revision=19225
2006-09-13 01:28:07 +00:00
Anders Broman 5dd7a4e7f9 From: Luca Deri via Andrew Feren:
> please find enclosed a patch to the CFlow dissector (packet-netflow.c) 
> that enables it to decode IPFIX packet traces.

svn path=/trunk/; revision=19221
2006-09-12 19:11:45 +00:00
Anders Broman ffbabd4fb8 Set default port to zero.
svn path=/trunk/; revision=19220
2006-09-12 19:02:10 +00:00
Martin Mathieson 46afb89310 More DCH control types
svn path=/trunk/; revision=19212
2006-09-12 17:13:56 +00:00
Jaap Keuter 593efe3509 Fix for bug 1098. Add BPDU dissector to ethertype 0x8181.
svn path=/trunk/; revision=19211
2006-09-12 12:58:16 +00:00
Ronnie Sahlberg 4919409df7 from Taner Kurtulus and Menno Andriesse
Hi folks,
We think we've found a bug in STANAG 5066 SIS layer dissector.

Problem is at S_EXPEDITED_UNIDATA_INDICATION S_Prim's parser
and occurs when we receive a U_PDU via expedited unidata channel.
Dissector tries to parse first 2 bytes of U_PDU as a header size of  type
21 s_prim (S_UNIDATA_INDICATION). But, this is not an wanted  process on
that parser. Maybe, it was forgotten unchanged from
S_UNIDATA_INDICATION dissector while copying it. So it shows
data (U_PDU) 2 bytes short. Moreover, if data is just 1-byte, TCP datagrams
receive TCP checksum error.


Confirmed.

It was indeed a "copy-paste-did not edit correctly" bug.

While going over the code once more, I found:

1 - One bug in the heuristic. (Changed '&&' to '||')
2 - One to-do that was already done. (Removed the /* TODO */)
3 - One to-do that is now done. ;-)



svn path=/trunk/; revision=19210
2006-09-12 12:08:34 +00:00
Ronnie Sahlberg 073483df45 from Florian Lohoff
Hi,
after using the redback dissector again i found some more protocol
types:



svn path=/trunk/; revision=19209
2006-09-12 11:51:48 +00:00
Ronnie Sahlberg b61e42bc3a from bryant eastham
Also, there is still an outstanding issue regarding the default use of
the "media" dissector. The way it is currently coded there is no way to
have a heuristic decoder when a content-type header is specified.


In this way if there is a decoder for a specific content-type then it
will be used, then the heuristic decoders have a chance, and finally the
default of either the media-type decoder of the http_payload decoder.



svn path=/trunk/; revision=19208
2006-09-12 11:39:51 +00:00
Martin Mathieson 3dc82c316d Various small fixes and prettifications
svn path=/trunk/; revision=19207
2006-09-12 11:36:42 +00:00
Ronnie Sahlberg a92d1dc783 put the ah and esp payload as its own top level expansion in the tree instead of as an expansion inside the ah/esp layer.
since source/dest/protocol/info is updated by the content of the payload    it doesnt make sense to hide the actual payload inside esp/ah
it just would look confusing



svn path=/trunk/; revision=19206
2006-09-12 10:04:11 +00:00
Ronnie Sahlberg a67f7da9d7 prettify dissection of ESP
show the IV as a hexadecimal
show the protocol name for the Next header field inside ESP



svn path=/trunk/; revision=19204
2006-09-12 09:53:10 +00:00
Ulf Lamping 04fe34d711 various nmake related build file cleanups
svn path=/trunk/; revision=19198
2006-09-12 00:27:03 +00:00
Anders Broman 96c13a1000 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1091
h248_handle was declared localy, udp port was not added at register.

Added a few more packagenames.

svn path=/trunk/; revision=19190
2006-09-11 20:35:24 +00:00
Martin Mathieson 1936461d8d Added E-DCH (HSUPA) channels to FP.
Also show VPI/VCI/CID in ATM protocol label.

svn path=/trunk/; revision=19189
2006-09-11 12:03:29 +00:00
Jaap Keuter f29dbe34d8 VRRPver3 support fixed: Count restored, Auth Type is reserved field.
svn path=/trunk/; revision=19188
2006-09-10 18:48:33 +00:00
Ronnie Sahlberg d517c305b1 fix for bug 1045
windows in SYN and SYN+ACK packets are not scaled so dont apply window scaling to them when displaying them in the tree


svn path=/trunk/; revision=19186
2006-09-10 14:34:57 +00:00
Ronnie Sahlberg 6d3c94a53a implement support to reassemble tcp sessions until the end of the session (FIN)
add required code to the http (and others) code in req_resp_hdrs.c to signal to tcp
when it wants a session to be reassembled to the FIN.

This is currently done for all HTTP packets where we have a Content-type in the header but no content-length.




svn path=/trunk/; revision=19185
2006-09-10 14:03:08 +00:00
Anders Broman 505465d5a4 From Frédéric Roudaut:
as requested  here is a patch  in order to take into account  Encryption 
and Authentication keys for ESP in hexa. 
You only have to write your key with 0x first. In this case if the key 
is not in 8-bit unit, it will be considered as starting with a "0" (4 bits). Excepted this case, the key should be completely written, even if it 
starts with "0x00".

svn path=/trunk/; revision=19181
2006-09-08 07:32:13 +00:00
Anders Broman d0ee14432c Move the code to handle ISO protocols over TCP/TPKT to packet-osi.c where it belongs.
svn path=/trunk/; revision=19180
2006-09-08 06:58:40 +00:00
Ulf Lamping ac76ad1c64 tweak some expert infos so they better work with the composite dialog (e.g. remove some minor details)
svn path=/trunk/; revision=19176
2006-09-07 20:35:26 +00:00
Ulf Lamping a6d4e249a6 add some probable protocol IDs from the DCOM specs
svn path=/trunk/; revision=19175
2006-09-07 20:33:02 +00:00
Ulf Lamping 4a03300106 distinguish between things "ToBeDone" and "NoSpecificationAvailable" as some DCOM things are just unknown and cannot be implemented therefore
svn path=/trunk/; revision=19174
2006-09-07 20:30:48 +00:00
Ronnie Sahlberg 457c3f13c0 pidl now handles empty bitmaps properly so no need for the dummy (dont trigger empty bitmapbug entry)
svn path=/trunk/; revision=19170
2006-09-07 10:53:32 +00:00
Martin Mathieson b7505630c8 Dissect some more common control messages
svn path=/trunk/; revision=19164
2006-09-06 14:08:40 +00:00
Ronnie Sahlberg 9fddfa2777 fix for the typo in bug 1094
svn path=/trunk/; revision=19163
2006-09-06 08:36:13 +00:00
Jörg Mayer 370a162e87 - Make options filterable
- Display options in info column
- Only remember blksize from OACK packets
- Add some rfc numbers
- Move tftp_dissect_options in front of dissect_tftp
  (I forgot to fix the forward decl once too often ;)
- Warning fixes
- Add expert error in case of tftp-error pdu


svn path=/trunk/; revision=19162
2006-09-06 08:24:36 +00:00
Jörg Mayer adc56b8e95 option name "blksize" is case in-sensitive
svn path=/trunk/; revision=19158
2006-09-05 16:09:49 +00:00
Martin Mathieson 26285e4b2f Make smrse & radius dissectors findable by name
svn path=/trunk/; revision=19157
2006-09-05 16:06:41 +00:00
Martin Mathieson 2e1177c328 For DCT2000, show better transport info:
- for FP over AAL2, add CID to AAL tree
- for IPPRIM protocols, show IPV4 addresses in src & dst columns

svn path=/trunk/; revision=19156
2006-09-05 16:05:23 +00:00
Jörg Mayer 56e1dd7780 Fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1092
Actually, this was a feature request:

Store the value of the blksize option in the conversation data
and use that information to compare whether we have reached the
last packet.

Includes the cleanup ideas from Ronnie.

svn path=/trunk/; revision=19155
2006-09-05 15:58:11 +00:00
Ronnie Sahlberg 542380d974 fix for bug 1054
there were instances where the function dissect_nt_sid() would not fill in the return pointer for the sid string
causing callers that rely on that this string will ALWAYS be assigned try to access and g_free() an uninitialized pointer.

dissect_nt_sid() should be changed to use and return ep allocated memory instead of gmalloced memory



svn path=/trunk/; revision=19154
2006-09-05 15:13:39 +00:00
Ronnie Sahlberg 52c827f1d1 fix for bug 1079
verify that stat_info->request_uri is non null before doing string manipulations on it
so that we dont try to dereference a null pointer further down the code


svn path=/trunk/; revision=19153
2006-09-05 14:32:15 +00:00
Jaap Keuter db31d4a72f Fix for bug 1093, as proposed by Atsushi Fukumoto
svn path=/trunk/; revision=19152
2006-09-05 12:22:44 +00:00
Anders Broman 5c682dd6ee From Stephen Fisher:
A patch to bring the VNC dissector almost to completion.

I have not had a chance to finish the server message type "frame buffer 
update," which are the pixel values for screen rectangle updates.  
Everything else is there - tracking the keys the user is pushing, 
ringing a bell on the client, mouse button pushes/pointer movements, 
etc.

svn path=/trunk/; revision=19145
2006-09-05 05:38:11 +00:00
Guy Harris ee7166aff1 Declare "dissect_h248_Name()" and "dissect_h248_Value()" before they're
used.

svn path=/trunk/; revision=19141
2006-09-04 23:20:52 +00:00
Anders Broman c99428334a Fix(?) bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1042
Does the string need to be freed ad destruction of the hashtable?

Surplus add_text removed.

svn path=/trunk/; revision=19139
2006-09-04 21:07:35 +00:00
Anders Broman 316453598a From Oleg Kostenko:
This patch will add the following functionality to the H.248
 dissector:

 1. Dissection of properties from Annex C.11 SDP equivalents.

 2. Dissection of EventNames and SignalNames from Annex E Basic
Packages.

 3. Dissection of event and signal parameters from Annex E.9 Analog
 Line Supervision Package.

 4. Dissection of statistics from Annex E.11 Network Package and
 Annex E.12 RTP Package.

svn path=/trunk/; revision=19136
2006-09-04 18:10:14 +00:00
Jaap Keuter 6f7f25b8d5 From Donald White:
First, the length of the header of a sub-frame may be miscalculated if
if the PID field is not present, but was present in a previous
sub-frame.  The calculation of the header length will use the value from
the previous sub-frame.

Second, correct the typo "ength" to "length".

Third, the length of the current sub-frame was not passed as the
reported length to a sub-dissector.  When the sub-dissector calls
tvb_reported_length(), the function returns the length of the complete
frame and not the length of the sub-frame to be dissected.

svn path=/trunk/; revision=19132
2006-09-04 14:12:26 +00:00
Martin Mathieson 76192b1c6c Partial implementation of UMTS FP. Currently only works with Catapult DCT2000 format files, as need extra information about packet when decoding. There are a few TODOs (notably E-DCH channels), but the current version gives OK coverage.
svn path=/trunk/; revision=19130
2006-09-04 11:04:14 +00:00
Ronnie Sahlberg 6e040b3a83 krb4 is a new style dissector and is called through a handle from krb5 which is also new style.
use call_dissector_only()  which is new-style aware and not call_dissector() which is not.

this fixes a recent bug found on the heimdal list.



svn path=/trunk/; revision=19129
2006-09-04 08:18:52 +00:00
Ronnie Sahlberg 389e7390e9 make the heuristics for detecting kerberos4 stronger
svn path=/trunk/; revision=19128
2006-09-04 07:44:30 +00:00
Ronnie Sahlberg c91f8d9876 From David Buechi
New protocol: epl v1


Hi,

in addition to the recently submitted dissector for the EPL v2 protocol,
this is the dissector for the first version of the EPL protocol.

Best Regards,
David




svn path=/trunk/; revision=19125
2006-09-02 23:18:38 +00:00
Ronnie Sahlberg e3c9fab51c add primitive reassembly of gssapi
this will allow reassembly of gssapi blobs that span multiple smb/sessionsetup command pdus



svn path=/trunk/; revision=19119
2006-09-02 11:46:15 +00:00
Guy Harris f1706bc27a Add a common routine for adding session IDs. Have it handle session IDs
from 1 to 8 bytes, and not only handle 0-byte session IDs as special,
have it handle session IDs > 8 bytes as special as well.

svn path=/trunk/; revision=19115
2006-09-02 06:38:21 +00:00
Guy Harris d6209d8dbe Add brackets to squelch a compiler warning.
Fix indentation.

svn path=/trunk/; revision=19114
2006-09-02 06:36:42 +00:00
Ronnie Sahlberg 8e830b8ef4 break out the handling of conversation specific data so that we will always have one such struct (and not an value pointer to an oid struct)
so that it is easier to attach other useage to the conversation specific state



svn path=/trunk/; revision=19113
2006-09-02 02:03:26 +00:00
Ronnie Sahlberg 62780fec5a resolve the oid to a variable before we check it in the conditional so that
we can add code to check that it looks sane (for better heuristics) when
we start adding GSS-KRB reassembly.

we need this for some transports such as SMB/SessionSetup that will transport GSS-KRB blobs inside multiple PDUs (multiple different SMB/SessionSetups) so we can reassemble the blobs before decoding them.


this probably only happens for SMB/SessionSetup   but the design of that command is so "nice" that you can not tell whether the blob is fragmented or not or how big it is supposed to be by looking at the SMB layer itself, one needs to know the BER length field for the BER APPLICATION tag. :-(

to make things worse, the only way match multiple such fragments together one will need not just the fragments from the SessionSetup requests  but also the UID that is returned in the response to the initial request.
perverse design.


lets assume that there will almost never be multiple sessionsetups on the same tcp session in real traces    so to make things easier just ignore the UID for now when reassembling. (well reassembly is not added yet but will be)




svn path=/trunk/; revision=19112
2006-09-02 00:43:19 +00:00
Ronnie Sahlberg 000182e09b remove a comment with dead code
remove three pointless volatile declarations


svn path=/trunk/; revision=19111
2006-09-02 00:24:31 +00:00