Ethereal-dev: RE: [Ethereal-dev] DNP Dissector?

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

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Mon, 31 May 2004 11:53:04 +0100
> -----Original Message-----
> From: ethereal-dev-bounces@xxxxxxxxxxxx
> [mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Ronnie Sahlberg
> Sent: 29 May 2004 03:39
> To: Ethereal development
> Subject: Re: [Ethereal-dev] DNP Dissector?
>
>
> The dissector is implementing its own CRC table.
> Is this CRC specific to this particular protocol   or if it is common to
> other protocols as well?
>
>
> If this polynomial is also used by other protocols it should be broken out
> into a separate.
>

The 16 bit CRC uses the polynomial X^16 + X^13 + X^12 + X^11 + X^10 + X^8 +
X^6 + X^5 + X^2 + 1.  I have no idea if this is used elsewhere.

Also while checking this I noted that there is a technical note stating that
port 20000 has been registered with IANA for DNP 3.0 use on both TCP and
UDP, so that should be made the default.

Graham