Wireshark-bugs: [Wireshark-bugs] [Bug 1652] A bug in CAMEL Connect message.
Date: Thu, 21 Jun 2007 01:22:32 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1652





------- Comment #4 from palos@xxxxxxxxxxxxx  2007-06-21 01:22 GMT -------
Hi.

I wrote simple way because I'm poor in English.
so, my expressions are not good to understand.

InitialDP is defined by ASN.1 as follows.

InitialDPArg  ::= SEQUENCE {
    serviceKey         [0] ServiceKey  ,
    calledPartyNumber  [2] CalledPartyNumber   OPTIONAL,
    callingPartyNumber [3] CallingPartyNumber  OPTIONAL,
...
}

CallingPartyNumber  ::= OCTET STRING (SIZE(
    minCallingPartyNumberLength .. maxCallingPartyNumberLength))

A difference is "SEQUENCE SIZE(1) OF" is included(in CAP_CON) or not(in
CAP_IDP)
    "DestinationRoutingAddress  ::= SEQUENCE SIZE(1) OF CalledPartyNumber "

In CAP_IDP case, CallingPartyNumber is decoded as you mentioned and wireshark
dissects correctly.
In CAP_CON case, OCTET STRING TAG is needed.
  => binary 00 0 00100 (universal primitive octetstring)=> 0x04
BUT, the Wireshark dissects same way in both cases although ASN.1 definitions
are different.

Best regards.
palos


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.