Commit Graph

3183 Commits

Author SHA1 Message Date
Ronnie Sahlberg 507b3a384f use the fc exchange data to track fcp response times
svn path=/trunk/; revision=17826
2006-04-06 02:46:41 +00:00
Ronnie Sahlberg 33af09f927 make fc pass the fchdr structure as pinfo->private data to higher layer protocols
svn path=/trunk/; revision=17825
2006-04-06 02:15:41 +00:00
Ronnie Sahlberg ec77d1cc28 remove another field from a structure that we never use.
svn path=/trunk/; revision=17824
2006-04-06 02:04:22 +00:00
Ronnie Sahlberg dd62a0f458 remove a field we no longer use in this dissector from the conversation structure.
svn path=/trunk/; revision=17823
2006-04-06 01:17:36 +00:00
Ronnie Sahlberg a72a698985 move conversation tracking out from the type specific subdissectors and track them in the main entry point for the protocol dissector instead.
this is semi-temporary though since FCP will always sit ontop of FC which also tracks the same conversations  so there is no need to do a redundant conversation tracking in fcp itself.



svn path=/trunk/; revision=17822
2006-04-06 01:16:23 +00:00
Ronnie Sahlberg 26f24ec097 decode the first two bytes of the negotiate protocol request as buffercode
svn path=/trunk/; revision=17821
2006-04-05 23:33:35 +00:00
Ronnie Sahlberg fb2cf0df34 from metze
dissect smb2 break responses   used by a server to break an oplock


these unsolicited responses are sent with a commandseqnum of -1   so mark these in the header as unsolicited as well



svn path=/trunk/; revision=17820
2006-04-05 21:38:41 +00:00
Michael Tüxen 083cda3e63 Update PPIDs to latest IANA regsitration status.
svn path=/trunk/; revision=17819
2006-04-05 20:24:48 +00:00
Anders Broman 5426b944ee Expand some value strings, get map_error from gsm_map use the added IE's.
svn path=/trunk/; revision=17818
2006-04-05 18:54:43 +00:00
Anders Broman d66ccda16a Add some IE:s
svn path=/trunk/; revision=17817
2006-04-05 16:05:29 +00:00
Anders Broman ba35e5d4d9 Frof Jeff Morriss:
The attached patch adds support for the Japan SS7 variants (TTC/NTT) to 
the MTP3, MTP3MG, SCCP, and SCCPMG dissectors.  It's not as thoroughly 
implemented nor tested as I'd like, but it does a good job of at least 
the basic dissection and I'm out of time for now.

It also fixes bug I found in the SCCP dissector where it would show an 
End of Optional parameter even when the Optional pointer was 0.

svn path=/trunk/; revision=17815
2006-04-05 16:03:36 +00:00
Ronnie Sahlberg 5e89308fe3 from previous commit
dont dereference cdata null pointer


svn path=/trunk/; revision=17814
2006-04-05 10:07:49 +00:00
Ronnie Sahlberg 4a8bcee67f create the protocol tree in the main function and not down in the individual helper functions
svn path=/trunk/; revision=17813
2006-04-05 09:51:14 +00:00
Ronnie Sahlberg 342c290c42 remove some crap
svn path=/trunk/; revision=17812
2006-04-05 08:58:16 +00:00
Ronnie Sahlberg a9f636b41d imake fcp responses that do carry a scsi response code
call the scsi response dissector as well
(so that eventually we can do things like SRT for SCSI)


it doesnt work yet since fcp is using some incredibly broken logic to
track state between frames.

the cdata stuff can just not ever work exscept for single scan tethereal dissection.
is there noone at all looking at these protocols wioth ethereal?
has noone noticed it is completely broken yet?


sigh,    soon   i think i will be able to add the originally estimated trivial to implement   SCSI SRT



svn path=/trunk/; revision=17811
2006-04-05 08:51:45 +00:00
Ronnie Sahlberg 6fd403ee95 make reportluns use the new macros to catch and flag alloclen truncation
svn path=/trunk/; revision=17810
2006-04-05 07:25:57 +00:00
Ronnie Sahlberg d06fea3fa6 cleaning up bits and pieces
replacing the hashtables with a better exchange   se_tree



svn path=/trunk/; revision=17809
2006-04-05 05:51:51 +00:00
Anders Broman 0d4dbda02b Add a dissector for Nortels LGE Monitor protocol.
svn path=/trunk/; revision=17808
2006-04-05 05:05:42 +00:00
Ronnie Sahlberg 1808675f72 add dissection of the fcp response bidir read residual field
svn path=/trunk/; revision=17807
2006-04-05 01:17:32 +00:00
Ronnie Sahlberg a7dd0aeac8 move some arrays from the header to fcp.c
svn path=/trunk/; revision=17806
2006-04-04 22:22:18 +00:00
Ronnie Sahlberg cd7baad861 refactoring of the fcp response dissector
add missing flags to the dissection   and during refactoring fix several things that just can not have worked previously.




svn path=/trunk/; revision=17805
2006-04-04 22:21:48 +00:00
Ronnie Sahlberg 0283e3ab17 major refactoring of the ifcp dissector.
remove the port preference setting and replace it with strong heuristics instead
(attempt but fail to set a conversation dissector when the heuristics and the dissection match)

use tcp_dissect_pdus() for reassembly and pdu tracking and get rid of the try-to-step-through-the-pdu-to-find-where-the-next-pdu-starts thing.




svn path=/trunk/; revision=17804
2006-04-04 11:58:56 +00:00
Ronnie Sahlberg 94f416ca62 fix for bug #856
dont try to lookup a NULL string since this string will be dereferenced
in the ghashtable   hash callback



svn path=/trunk/; revision=17802
2006-04-04 07:53:39 +00:00
Ronnie Sahlberg ab9b2e6836 dislay a flags field as "Flags" instead of "SCCS Flags"
svn path=/trunk/; revision=17801
2006-04-03 20:39:55 +00:00
Ronnie Sahlberg 54d8591809 use col_set_fence() after we have populated the info column with the SCSI details so that if there are other pdus followinf this scsi pdu in the packet they will not overwrite it
svn path=/trunk/; revision=17800
2006-04-03 20:29:53 +00:00
Ronnie Sahlberg 5ee1c8d1e4 add dissection of the inq sync flag
sort the entries in scsi_verdesc_val   so it is easier to add missing entries


svn path=/trunk/; revision=17799
2006-04-03 20:12:24 +00:00
Anders Broman e47e1c864d Fix bug http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=850 problems with tagged assignments.
Add som OID names. 

svn path=/trunk/; revision=17798
2006-04-03 19:07:52 +00:00
Gerald Combs 34335a2bc1 Add a null pointer check. Fixes the current Buildbot menagerie failure.
svn path=/trunk/; revision=17797
2006-04-03 14:44:56 +00:00
Ronnie Sahlberg 10a0fd2105 a krb_error pdu with the error_code ERR_CLIENT_REVOKED
issued by ms kdc contains a PA_DATA structure with a salt that contains an
nt_status code explaining why the client was not allowed to get a (tgt) ticket



svn path=/trunk/; revision=17796
2006-04-03 08:55:04 +00:00
Ronnie Sahlberg f886744b64 further prettification of the inq dissector.
further refactorinf of  the scsi  alloc_len macros



svn path=/trunk/; revision=17795
2006-04-03 08:20:54 +00:00
Ronnie Sahlberg 700a7f527a dissect byte 7 of the inq response
svn path=/trunk/; revision=17794
2006-04-03 03:19:52 +00:00
Ronnie Sahlberg 0f1f0c8d8a add dissection of byte 6 of inq response
(except fopr 3 bits that only exist for pscsi)


svn path=/trunk/; revision=17791
2006-04-03 02:40:07 +00:00
Ronnie Sahlberg d5585760e7 add dissection of the flags in byte 5 of the inquiry response
svn path=/trunk/; revision=17788
2006-04-03 01:44:56 +00:00
Ronnie Sahlberg ae66a76a1a prettify dissection of the aca flags byte in the inq response data.
add dissection of two additional bits and the respdataformat bitvield

add booleans for the filter fields

make all the fields filterable



svn path=/trunk/; revision=17787
2006-04-03 00:55:21 +00:00
Ronnie Sahlberg 2376539aab the hash,name,fullname of an nfs filehandle are all
generated items

mark them as generated items in the dissect pane


svn path=/trunk/; revision=17785
2006-04-02 23:24:00 +00:00
Ronnie Sahlberg 695b605cbb change TRY_SCSI_SHORT_TRANSFER to use the allocation length specified in the CDB
instead of the allocation length from the data pdu   since sometimes the datapdu will be completely empty and thus we cant extract it from the data pdu.
(unclear if this is really allowed by scsi   but anyway)
this should make the scsi transfer length checking more correct.


update mmc  getconfiguration   and spc  inquiry  to use these macros
and flag these packets that are short due to a too small alloc_len
as truncated due to scsi  and not being short/malformed packets.


at the same time,  get rid of a few horrible   offset+x   in the inquiry dissector and replace with proper offset incrementation instead.





svn path=/trunk/; revision=17784
2006-04-02 22:50:46 +00:00
Ronnie Sahlberg d9227587f0 prettify dissection of nfsv3 fattr3 structure
put useful info like type,mode,uid,gid on the expansion lines so we dont have to open the expansion to see these values.

allow it to push this info multiple expansion lines upward
and optionally (such as for GETATTR replies) put this info in the info column as well




svn path=/trunk/; revision=17783
2006-04-02 21:04:11 +00:00
Anders Broman 30ade25ed3 From Martin Mathieson:
Removes the use of the deprecated proto_tree_add_item_hidden() function

I was adding the 'msmms.command.unknown' field in lots of places (a 
habit of mine in my own dissectors), but this probably isn't useful.

svn path=/trunk/; revision=17782
2006-04-02 19:38:36 +00:00
Anders Broman 510b805e69 From Greg Morris:
Fixes bug 830
Adds a few more expert info details.
 

svn path=/trunk/; revision=17781
2006-04-02 19:37:12 +00:00
Anders Broman 89de25406b From Ming Zhang:
fix a minor error in mode_select, packet-scsi.c

svn path=/trunk/; revision=17780
2006-03-31 05:11:57 +00:00
Anders Broman 17d995edfa From Francesco Fondelli:
you find attached a patch for dissecting MPLS OAM pdus
as defind in Y.1711 ITU-T doc.

svn path=/trunk/; revision=17779
2006-03-31 05:09:37 +00:00
Anders Broman 84fb70ef42 call OID subdissector for private extensiions, fix makefiles.
svn path=/trunk/; revision=17772
2006-03-30 16:46:36 +00:00
Gerald Combs f87b0f78ae Fix an off-by-one error.
svn path=/trunk/; revision=17771
2006-03-30 16:13:37 +00:00
Jaap Keuter d53b9d7205 Update status codes from RFC 2616 and RFC 2518
svn path=/trunk/; revision=17769
2006-03-30 10:16:35 +00:00
Anders Broman e4f01d2051 From Martin Mathieson:
> > This patch adds a hidden 'sip.auth' field, that will be present 
> > whenever one of the authenticiation/authorization headers is 
> > present.
> >
> > I believe this is one place where hidden fields are justified:
> > - it is a substring of several sip.auth.* fields, so its reassuring 
> > to see the field turn green as you're typing in one of the visible 
> > fields
> > - it lets you quickly find all of the frames with any of these fields
> > (there are 4 different SIP headers that can contain the auth fields)

svn path=/trunk/; revision=17766
2006-03-30 05:02:06 +00:00
Guy Harris 015b486dc9 Get rid of an unused variable.
svn path=/trunk/; revision=17764
2006-03-29 22:11:42 +00:00
Guy Harris 01606f6114 Get rid of some unused variables.
svn path=/trunk/; revision=17763
2006-03-29 22:05:57 +00:00
Guy Harris 3ea3ee1fa2 Get rid of an unused function argument.
Clean up indentation.

svn path=/trunk/; revision=17762
2006-03-29 22:04:37 +00:00
Guy Harris 31e5e71b90 Close a comment to squelch a compiler warning.
svn path=/trunk/; revision=17761
2006-03-29 22:03:21 +00:00
Guy Harris 25ff28766f Squelch a compiler warning (for a problem that can't happen).
Fix up indentaton.

svn path=/trunk/; revision=17760
2006-03-29 21:57:58 +00:00