This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hello

I try to send a message coded in H225 in asn1 (my message is generated with the Binary Note Encoder librairie). I used the ans1 file h2250v7.asn link to download it

Wireshark don't understand my message and I got malformed packet error.

Which version is used by Wireshark to decode h225 message ?

asked 01 Sep '11, 09:48

Guillaume%20Ansquer's gravatar image

Guillaume An...
1111
accept rate: 0%


Hi, The verios is -- Taken from ITU ASN.1 database -- http://www.itu.int/ITU-T/formal-language/itu-t/h/h225-0/2009/H323-MESSAGES.asn Did you use PER encoding?

permanent link

answered 01 Sep '11, 22:28

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

Thanks for this document.

It's looks similar than the one I use. I use PER encoding.

Maybe my problem is the "...," in the asn1 file. My compiler for generating java source don't want them so I suppress them. What is the use of them in asn1 ?

(exemple:

H323-UU-PDU ::= SEQUENCE { h323-message-body CHOICE {setup Setup-UUIE,
callProceeding CallProceeding-UUIE,
connect Connect-UUIE, alerting Alerting-UUIE,
information Information-UUIE,
releaseComplete ReleaseComplete-UUIE, facility Facility-UUIE,
...,
progress Progress-UUIE,
empty NULL, -- used when a Facility message is sent,--

permanent link
This answer is marked "community wiki".

answered 02 Sep '11, 01:21

Guillaume%20Ansquer's gravatar image

Guillaume An...
1111
accept rate: 0%

That may very well be your problem, you may want to check with X.690 but without looking at the spec, "...," means that the SEQUENCE may be extended, if that is the case there is an extension bit set and other encoding details.

(02 Sep '11, 07:20) Anders ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×20
×11
×6

question asked: 01 Sep '11, 09:48

question was seen: 3,383 times

last updated: 02 Sep '11, 07:20

p​o​w​e​r​e​d by O​S​Q​A