Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-users: Re: [Wireshark-users] Filtering SCTP message contents

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 4 Sep 2008 00:02:35 -0700


On Sep 3, 2008, at 11:42 PM, Emre UZUNCA wrote:

When bundling is used for SCTP messages, filter conditions are checked in the full SCTP message content. For example, if 2 M3UA messages are bundled in a single SCTP message, the filter specifed as (m3ua.protocol_data_opc == 10000) && (m3ua.protocol_data_dpc== 10001) is satisfied when the first M3UA message has m3ua.protocol_data_opc == 10000 and the second has m3ua.protocol_data_dpc== 10001. Is there a way to make the filter check only the same M3UA message contents?

Unfortunately, no.

This can't be handled by the proposed {n} operator, unless you allow that operator to have "n" in it rather than just specific numbers, e.g.

m3ua{n}.protocol_data_opc == 10000 && m3ua{n}.protocol_data_dpc == 10001

where "n" is what's used there, rather than a specific number.

(I attached the {n} to "m3ua" rather than to "protocol_data_opc" - I could imagine, for example, protocol A, a single PDU of which can contain one or more PDUs of protocol B, and where a PDU of protocol B could contain multiple instances of field C - the expression "B{2}.C == 15" would match if any of the instances of C in the 2nd protocol-B PDU are equal to 15, while "B.C{2} == 15" would match if the 2nd instance of C in any of the protocol-B PDUs is equal to 15.)

  • Follow-Ups:
    • Re: [Wireshark-users] Filtering SCTP message contents
      • From: Guy Harris
  • References:
    • [Wireshark-users] Filtering SCTP message contents
      • From: Emre UZUNCA
  • Prev by Date: [Wireshark-users] Filtering SCTP message contents
  • Next by Date: Re: [Wireshark-users] Filtering SCTP message contents
  • Previous by thread: [Wireshark-users] Filtering SCTP message contents
  • Next by thread: Re: [Wireshark-users] Filtering SCTP message contents
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation