Ethereal-dev: Re: [Ethereal-dev] Re: BACnet Updates to APDU Part

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

From: Herbert Lischka <herbert@xxxxxxxxxxxxxxxxx>
Date: Tue, 26 Apr 2005 19:19:57 +0200
Hi Ronnie,

I found this german Diplomarbeit at http://www.abmlinux.de/DA/Diplomarbeit.pdf and it seems interesting for me to study it and to try the reimplementation, but in this Diplomarbeit they write about at least 3 months of work.... so
"What we need is to make ASN2ETH encoding agnostic ...   and make it
easy to implement and add new encodings for asn1 defined protocols."
I will try it.
If I need some help, may I ask you ?

Best regards
Herbert

ronnie sahlberg wrote:
I very rarely compile for windows,
I see you add a new library  ICONV.LIB to the makefile   and i assume
to the dependencies.

Is this a library available on all windows boxens ?
libiconv is already used if you compile with GTK2

I notice there is a libiconv package required for windows,   is this
this library referenced from the Makefile.nmake?
It's the same


I dont really like that this dissector tries to implement its own
handwritten BER unmarshalling. There is already a too many of these
reimplementations of BER decoding helper functions in ethereal and we
should not add more. The ones we do have in packet-ber.c are the only
ones which are reasonably well tested, works reasonably well   and are
used by teh automatic asn.1 to ethereal compiler.



It seems bacapp is really just a protocol described by asn.1 and using
BER for encoding.
most of the dissectors I added described by asn.1 in my headerfile

Instead of adding to this one   what really should be done is to
reimplement BACapp from scratch as a dissector generated automatically
from the ASN.1 definitions and using ASN2ETH.


Is the BACAPP ASN.1 protocol specification publicly available?
at http://www.ashrae.org -> bookstore
"Standard 135-2004 – BACnet® – A Data Communication Protocol for Building Automation and Control Networks (ANSI Approved)"
price $119,--