Ethereal-dev: Re: [Ethereal-dev] Fwd: H.235 protocol

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Tomas Kukosa <tomas.kukosa@xxxxxxxxxxx>
Date: Fri, 09 Apr 2004 12:46:51 +0200
Ronnie Sahlberg wrote:
Can you regenerate it with a new version of packet-h225.c from CVS (you will
need to remove some h235 stuff from the cvs version of h235)
or does the included packet-h225.c also include the changes to add the
missing h225 stuff like CryptoH323Token?
Yes, it was necessary to add CryptoH323Token into packet-h225.c.
I can look at it next week what is the best way for merging your and my changes.

Does it dissect properly the recent ClearToken rescently sent to the list?
See attached ouptuts.

What would be the best place in the CVS tree for the asn2eth.py compiler?
Should we put into the CVS the PLY package too (two files lex.py, yacc.py) or should we leave it "external" and each developer has to copy it himself?



-------- Original Message --------
Subject: H.235 protocol
Date: Fri, 09 Apr 2004 09:17:13 +0200
From: Tomas Kukosa

Hi Ronnie,
    I have prepared h235 dissector but I have not released it as it is based
on the ASN.1
to Ethereal compiler which is still (when I have time) beeing developped.
See attached files. (The packet-h225.c is from 0.10.0 as at that time I
worked with the
h235 last time. File description is below.)

I will try to make the ASN compiler stable enough for the first usage or we
can put into
the CVS only generated files from compiler (packet-h235-*.*).

Comments, suggestions, etc. are welcome.

    Regards,
      Tomas

Some comments to files:

H235-SECURITY-MESSAGES.asn - original H.235 definition
H235-SECURITY-MESSAGESx.asn - some changes as not all ASN.1 features (e.g.
classes) are
supported with comiler
h235.cnf - "conformance file", it drives compiler to make other than default
output
h235.bat - invokes compiler

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev

Frame 1 (958 bytes on wire, 958 bytes captured)
Ethernet II, Src: 00:50:da:bd:86:8c, Dst: 00:01:c9:9e:ac:1c
Internet Protocol, Src Addr: 209.58.84.23 (209.58.84.23), Dst Addr: 209.58.84.26 (209.58.84.26)
User Datagram Protocol, Src Port: 1719 (1719), Dst Port: 1719 (1719)
H.225.0 RAS
    RasMessage
        RasMessage: .100 11.. : locationConfirm (19)
            LocationConfirm
                RequestSeqNum: 2170
                CallSignalAddress2
                rasAddress
                DestinationInfo
                destinationType
                alternateEndpoints
                tokens
                    Item 0
                        cleartoken
                            tokenOID: 2.16.840.1.113777.1.2.117
                            nonStandard
                                nonStandardIdentifier: 2.16.840.1.113777.1.2.117
                                Octet String Length: 83
                                data: 070000004B00000071F542C47A13B0E7...
                    Item 1
                        cleartoken
                            tokenOID: 2.16.840.1.113777.1.2.232
                            nonStandard
                                nonStandardIdentifier: 2.16.840.1.113777.1.2.232
                                Octet String Length: 38
                                data: 04600C008C300771617469676572600C...

0000  00 01 c9 9e ac 1c 00 50 da bd 86 8c 08 00 45 00   .......P......E.
0010  03 b0 92 13 00 00 80 11 5a 83 d1 3a 54 17 d1 3a   ........Z..:T..:
0020  54 1a 06 b7 06 b7 03 9c 3f 59 4e 08 79 00 d1 3a   T.......?YN.y..:
0030  54 e9 06 b8 00 d1 3a 54 e9 06 b7 0f 58 57 03 82   T.....:T....XW..
0040  1b 00 18 35 33 30 30 2d 74 31 2d 33 40 73 76 72   ...5300-t1-3@svr
0050  5f 31 2e 69 74 78 63 2e 63 6f 6d 00 40 17 00 35   _1.itxc.com.@..5
0060  00 33 00 30 00 30 00 2d 00 74 00 31 00 2d 00 33   .3.0.0.-.t.1.-.3
0070  00 40 00 73 00 76 00 72 00 5f 00 31 00 2e 00 69   .@.s.v.r._.1...i
0080  00 74 00 78 00 63 00 2e 00 63 00 6f 00 6d 04 80   .t.x.c...c.o.m..
0090  45 55 cc c8 3a 10 28 40 58 00 00 01 07 34 2e 30   EU..:.(@X....4.0
00a0  2e 30 2e 30 00 00 82 66 02 3e 00 03 82 1c 00 19   .0.0...f.>......
00b0  63 69 73 63 6f 31 40 73 76 72 5f 31 2e 6c 61 62   cisco1@svr_1.lab
00c0  2e 69 74 78 63 2e 63 6f 6d 00 40 18 00 63 00 69   .itxc.com.@..c.i
00d0  00 73 00 63 00 6f 00 31 00 40 00 73 00 76 00 72   .s.c.o.1.@.s.v.r
00e0  00 5f 00 31 00 2e 00 6c 00 61 00 62 00 2e 00 69   ._.1...l.a.b...i
00f0  00 74 00 78 00 63 00 2e 00 63 00 6f 00 6d 04 00   .t.x.c...c.o.m..
0100  87 99 99 83 a0 01 00 d1 3a 54 e7 06 b8 01 00 d1   ........:T......
0110  3a 54 e7 06 b7 28 40 58 00 00 01 07 34 2e 30 2e   :T...(@X....4.0.
0120  30 2e 30 00 00 02 00 80 0a 60 86 48 01 86 f8 71   0.0......`.H...q
0130  01 02 75 0a 60 86 48 01 86 f8 71 01 02 75 53 07   ..u.`.H...q..uS.
0140  00 00 00 4b 00 00 00 71 f5 42 c4 7a 13 b0 e7 6b   ...K...q.B.z...k
0150  12 28 89 9b 30 1c f9 50 a2 30 4b e2 cc 08 a4 6c   .(..0..P.0K....l
0160  0e 65 d8 a1 01 47 cf ba 62 10 93 49 a2 b4 82 19   .e...G..b..I....
0170  9c bc 1e db 89 27 05 99 49 a5 31 db 0f 61 0b a1   .....'..I.1..a..
0180  cd e0 4c 12 3b b6 c0 c9 8b f6 7c 83 84 10 65 74   ..L.;.....|...et
0190  16 e1 00 80 0b 60 86 48 01 86 f8 71 01 02 81 68   .....`.H...q...h
01a0  0b 60 86 48 01 86 f8 71 01 02 81 68 26 04 60 0c   .`.H...q...h&.`.
01b0  00 8c 30 07 71 61 74 69 67 65 72 60 0c 00 7c 30   ..0.qatiger`..|0
01c0  07 31 32 32 32 35 30 37 60 0c 00 58 53 00 0c 00   .1222507`..XS...
01d0  59 30 00 3e 00 03 82 21 00 1e 35 33 35 30 2d 74   Y0.>...!..5350-t
01e0  31 2d 31 33 40 76 67 6b 31 2e 71 61 6c 61 62 2e   1-13@vgk1.qalab.
01f0  69 74 78 63 2e 63 6f 6d 00 40 1d 00 35 00 33 00   itxc.com.@..5.3.
0200  35 00 30 00 2d 00 74 00 31 00 2d 00 31 00 33 00   5.0.-.t.1.-.1.3.
0210  40 00 76 00 67 00 6b 00 31 00 2e 00 71 00 61 00   @.v.g.k.1...q.a.
0220  6c 00 61 00 62 00 2e 00 69 00 74 00 78 00 63 00   l.a.b...i.t.x.c.
0230  2e 00 63 00 6f 00 6d 05 00 9a bb bc cc 83 a0 01   ..c.o.m.........
0240  00 d1 3a 54 f3 06 b8 01 00 d1 3a 54 f3 06 b7 28   ..:T......:T...(
0250  40 58 00 00 01 07 34 2e 30 2e 30 2e 30 00 00 02   @X....4.0.0.0...
0260  00 80 0a 60 86 48 01 86 f8 71 01 02 75 0a 60 86   ...`.H...q..u.`.
0270  48 01 86 f8 71 01 02 75 54 07 00 00 00 4c 00 00   H...q..uT....L..
0280  00 3f 6e 39 8b 77 01 b0 48 d9 92 fc d6 d5 f2 73   .?n9.w..H......s
0290  c3 0e 81 72 6a 75 b4 61 19 1f 94 69 ff 6c 92 fc   ...rju.a...i.l..
02a0  3d a3 79 9a 9b 7b d5 dc 5b a6 db 0f 52 34 d5 e8   =.y..{..[...R4..
02b0  12 06 a7 56 49 69 35 60 20 03 0e 23 7c b5 41 19   ...VIi5` ..#|.A.
02c0  bc f5 77 eb 06 4e 2a 54 95 e2 4b a6 f9 00 80 0b   ..w..N*T..K.....
02d0  60 86 48 01 86 f8 71 01 02 81 68 0b 60 86 48 01   `.H...q...h.`.H.
02e0  86 f8 71 01 02 81 68 26 04 60 0c 00 8c 30 07 71   ..q...h&.`...0.q
02f0  61 74 69 67 65 72 60 0c 00 7c 30 07 31 32 32 32   atiger`..|0.1222
0300  35 30 37 60 0c 00 58 53 00 0c 00 59 30 00 80 ae   507`..XS...Y0...
0310  02 00 80 0a 60 86 48 01 86 f8 71 01 02 75 0a 60   ....`.H...q..u.`
0320  86 48 01 86 f8 71 01 02 75 53 07 00 00 00 4b 00   .H...q..uS....K.
0330  00 00 71 f5 42 c4 7a 13 b0 e7 6b 12 28 89 9b 30   ..q.B.z...k.(..0
0340  1c f9 50 a2 30 4b e2 cc 08 a7 ae c2 30 93 3b 12   ..P.0K......0.;.
0350  96 8c 74 d0 3c ba 42 a9 06 a1 71 12 4a f0 56 89   ..t.<.B...q.J.V.
0360  27 05 99 49 a5 31 db 0f 61 0b a1 cd e0 4c 12 3b   '..I.1..a....L.;
0370  b6 c0 c9 8b f6 7c 83 84 10 65 74 16 e1 00 80 0b   .....|...et.....
0380  60 86 48 01 86 f8 71 01 02 81 68 0b 60 86 48 01   `.H...q...h.`.H.
0390  86 f8 71 01 02 81 68 26 04 60 0c 00 8c 30 07 71   ..q...h&.`...0.q
03a0  61 74 69 67 65 72 60 0c 00 7c 30 07 31 32 32 32   atiger`..|0.1222
03b0  35 30 37 60 0c 00 58 53 00 0c 00 59 30 00         507`..XS...Y0.
Frame 1 (384 bytes on wire, 384 bytes captured)
Ethernet II, Src: 00:07:eb:59:2c:58, Dst: 00:d0:ff:90:98:00
Internet Protocol, Src Addr: 209.58.84.245 (209.58.84.245), Dst Addr: 209.58.84.80 (209.58.84.80)
User Datagram Protocol, Src Port: 50893 (50893), Dst Port: 1719 (1719)
H.225.0 RAS
    RasMessage
        RasMessage: .010 01.. : admissionRequest (9)
            AdmissionRequest
                RequestSeqNum: 15627
                CallType
                CallModel
                EndpointIdentifier: 61A68C5400000001
                DestinationInfo
                srcInfo
                BandWidth: 1280
                CallReferenceValue: 166
                nonStandardData
                conferenceID: 78028935002411D881CAB2F7D3FBAC11
                activeMC: 0... .... False
                answerCall: .0.. .... False
                canMapAlias: 1... .... True
                CallIdentifier
                tokens
                    Item 0
                        cleartoken
                            tokenOID: 1.2.840.113548.10.1.2.1
                            timeStamp: 1066428163
                            challenge: ADF02890BFDC03A5A7BDEFE8DF1759B7
                            random: 92
                            generalID: 5350-ss7t1-15
                cryptoTokens
                    Item 0
                        CryptoH323Token
                            CryptoH323Token: .000 .... : cryptoEPPwdHash (0)
                                cryptoEPPwdHash
                                    AliasAddress
                                        AliasAddress: .... .1.. : h323ID (1)
                                            h323ID: 5350-ss7t1-15
                                    timeStamp: 1066428163
                                    token
                                        algorithmOID: 1.2.840.113549.2.5
                                        paramS
                                        Bit String Length: 128
                                        hash: 89A1828DD47E0A54C3C60C69639D9F1C
                willSupplyUUIEs: 0... .... False
                CallCapacity
                CircuitInfo

0000  00 d0 ff 90 98 00 00 07 eb 59 2c 58 08 00 45 68   .........Y,X..Eh
0010  01 72 41 8d 00 00 ff 11 2c cb d1 3a 54 f5 d1 3a   .rA.....,..:T..:
0020  54 50 c6 cd 06 b7 01 5e 0c 7f 27 88 3d 0a 00 f0   TP.....^..'.=...
0030  00 36 00 31 00 41 00 36 00 38 00 43 00 35 00 34   .6.1.A.6.8.C.5.4
0040  00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 31   .0.0.0.0.0.0.0.1
0050  01 03 00 45 67 83 50 01 40 0c 00 35 00 33 00 35   ...Eg.P.@..5.3.5
0060  00 30 00 2d 00 73 00 73 00 37 00 74 00 31 00 2d   .0.-.s.s.7.t.1.-
0070  00 31 00 35 40 05 00 00 a6 40 b5 00 00 12 42 80   .1.5@....@....B.
0080  00 00 0a 28 0b 12 49 53 44 4e 20 33 2f 30 3a 44   ...(..ISDN 3/0:D
0090  30 00 2d 49 41 4d 2c 0d 0a 47 43 49 2c 37 38 30   0.-IAM,..GCI,780
00a0  32 38 39 33 35 30 30 32 34 31 31 64 38 38 31 63   28935002411d881c
00b0  61 62 32 66 37 64 33 66 62 61 63 31 31 0d 0a 0d   ab2f7d3fbac11...
00c0  0a 78 02 89 35 00 24 11 d8 81 ca b2 f7 d3 fb ac   .x..5.$.........
00d0  11 08 e3 26 00 01 80 11 00 78 02 89 35 00 24 11   ...&.....x..5.$.
00e0  d8 81 cc b2 f7 d3 fb ac 11 43 01 4d 00 0a 2a 86   .........C.M..*.
00f0  48 86 f7 0c 0a 01 02 01 c0 3f 90 67 02 10 ad f0   H........?.g....
0100  28 90 bf dc 03 a5 a7 bd ef e8 df 17 59 b7 01 5c   (...........Y..\
0110  1a 00 35 00 33 00 35 00 30 00 2d 00 73 00 73 00   ..5.3.5.0.-.s.s.
0120  37 00 74 00 31 00 2d 00 31 00 35 00 00 3e 01 04   7.t.1.-.1.5..>..
0130  0c 00 35 00 33 00 35 00 30 00 2d 00 73 00 73 00   ..5.3.5.0.-.s.s.
0140  37 00 74 00 31 00 2d 00 31 00 35 c0 3f 90 67 02   7.t.1.-.1.5.?.g.
0150  08 2a 86 48 86 f7 0d 02 05 00 80 80 89 a1 82 8d   .*.H............
0160  d4 7e 0a 54 c3 c6 0c 69 63 9d 9f 1c 01 00 0a 28   .~.T...ic......(
0170  00 01 40 5e 06 49 54 58 43 06 42 03 49 54 58 43   ..@^.ITXC.B.ITXC