asn.1 anyone?

asn.1 anyone?

NewsGroups | Search | Tools
 comp.dcom.telecom.tech  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
asn.1 anyone? rayj00 01-20-2008
Posted by rayj00 on January 20, 2008, 2:39 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

I'm a newbie trying to use asn.1 for some tools I'd like to develop
for the H.323 protocols, as
well as other protocols. I have been able to compile h2250v6.asn using
asn1c. I'm not sure what that exactly gets me?

What I need to do is create H.225 messages, like the SETUP message and
have invalid contents, like missing fields, invalid fields, etc. Then
I need to send this SETUP to the system under test.

If you look at the Protos tool at :
http://www.ee.oulu.fi/research/ouspg/protos/testing/c07/h2250v4/index.html,
this is what I'd like to do. But I'm stuck on creating the test cases.

I know enough about programming to be dangerous....

Ideas?


Pure Networks
Posted by on January 20, 2008, 10:42 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
> I'm a newbie trying to use asn.1 for some tools I'd like to develop
> for the H.323 protocols, as
> well as other protocols. I have been able to compile h2250v6.asn using
> asn1c. I'm not sure what that exactly gets me?
>
> What I need to do is create H.225 messages, like the SETUP message and
> have invalid contents, like missing fields, invalid fields, etc. Then
> I need to send this SETUP to the system under test.
>
> If you look at the Protos tool at
:http://www.ee.oulu.fi/research/ouspg/protos/testing/c07/h2250v4/index...,
> this is what I'd like to do. But I'm stuck on creating the test cases.
>
> I know enough about programming to be dangerous....
>
> Ideas?

Hello there! :D

My knowledge is limited but might be useful for u ;)

Asn1c compile ASN.1 definition into source code. It will give you a
class that can be use to decode BER or DER raw data encoded using ASN.
1.

Roughly, what needed to be done is

ASN.1 compiler ---> generate encode/decode class ----> Write your own
code using the generated class ---> Compile to binaries ----> Use your
binaries to process (encode or decode) data

If I'm not mistaken ASN1C is only for decoding. From your post you
might need to encode too. The good news is there is a lot of ASN1
compiler beside ASN1C, you just need to search for it.

For instance there is SNACC which is very old and compile to C
classes. If your expertise is Java or .Net, then it will be easier for
you to find such tool that generate Java or C# classes.

Have fun!








other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map