|
Hi, I found the problems in the ASN1 file. I got it
to compile and link. Thank! -Jacob From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Anders Broman (AL/EAB) Hi, That implys that there is something asn2wrs does
not like at line 38 of your asn1 file can yo send lines 30 - 40? Brg Anders From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Jacob Avraham Hi, I'm getting the following error: (python version
is 2.4.3) [EMAIL PROTECTED] qod]$ python ../../tools/asn2wrs.py
-p qod -c qod.cnf -s packet-qod-template qod.asn ASN.1 to Wireshark dissector compiler Traceback (most recent call last):
File "../../tools/asn2wrs.py", line
eth_main()
File "../../tools/asn2wrs.py", line
ast.extend(yacc.parse(f.read(), lexer=lexer, debug=pd))
File "/home/jacob/wireshark-0.99.3a/tools/yacc.py", line
tok = self.errorfunc(errtoken)
File "../../tools/asn2wrs.py", line
raise ParseError(str(t)) __main__.ParseError:
LexToken(RBRACE,'}',38) -Jacob From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Anders Broman (AL/EAB) Hi, Well the .cnf file is only needed if you need to
do someting to the asn1 decoding and the template file is were you put the code
that makes your dissector be called forinstance. But the first step is to get the dissector
generated have you succeeded to do that with skeleton .cnf and template files? Brg Anders From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Jacob Avraham Anders, I'm
adding a dissector to a proprietary protocol, which is ASN1 PER encoded, and is
in the payload of a specific UDP port packet. I'm
trying to understand how to write the packet-myproto-templace.c and the
myproto.cnf . Thanks, Jacob |
_______________________________________________ Wireshark-dev mailing list [email protected] http://www.wireshark.org/mailman/listinfo/wireshark-dev
