DCC Checksums: How are they determined?

Leandro Santi lesanti@uolsinectis.com.ar
Thu Nov 7 17:31:21 UTC 2002


>  This line in an email:
>
> From: John Q. Smith <abc8382fake@hotmail.com>
>
>  is the hash on "John ... mail.com>", "From: John ... mail.com>", or
>  something else?  Is whitespace deleted before running the checksum?
>  If you prefer me to find out from the code, just say so.

This one is particularly easy to understand from the code... just take a
look at it, it wont bite you at all :-)

And of course, dccproc is your friend,

% echo -ne 'From: <asdf@asdf.com>\nSubject: test\n\nBODY...\n\n\n\n' | dccproc -QC
X-DCC-UOLCC-Metrics: glossop.sinectis.com.ar 231; Body=0
                                                      checksum  server
                     From: 87f60ea7 77b0d939 5d5d4ad7 ea4be745       0
               Message-ID: d41d8cd9 8f00b204 e9800998 ecf8427e       0
% echo -ne 'From:      <asdf@asdf.com>\nSubject: test\n\nBODY...\n\n\n\n' | dccproc -QC
X-DCC-UOLCC-Metrics: glossop.sinectis.com.ar 231; Body=0
                                                      checksum  server
                     From: 87f60ea7 77b0d939 5d5d4ad7 ea4be745       0
               Message-ID: d41d8cd9 8f00b204 e9800998 ecf8427e       0

Regards,
Leandro




More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.