Path: utzoo!attcan!ncrcan!aimed!nick From: nick@aimed.UUCP (Nick Pemberton) Newsgroups: comp.mail.uucp Subject: Re: UUCP checksumming Message-ID: <7620@aimed.UUCP> Date: 8 Sep 89 17:51:23 GMT References: <14192@polyslo.CalPoly.EDU> Reply-To: nick@aimed.UUCP (Nick Pemberton) Organization: AIM Inc, Toronto, Ontario, Canada Lines: 27 In article <14192@polyslo.CalPoly.EDU> cambler@polyslo.CalPoly.EDU (Fubar Guru) writes: >obviously, 42 != 63, and 107 != 0... so, when i run this through the >checksum validator, it comes up false. Does anyone know what i'm doing >wrong? Is there some magic value i should be using? should i ignore the >checksum on control packets if the xor check is ok? Haaaaalp!! :-) When I wrote uucp for PICK, I used the following method: get envelope. do XOR framing check. IF Data_required THEN get data pack do checksum Thus, the framing is always checked, and the checksum is ignored whenever a control packet is received. Whenever I generate a control packet, a place zeros in the checksum. Hope this helps. Nick -- Nick Pemberton uucp: !{lsuc, uunet!mnetor}!aimed!nick AIM, Inc bus: (416) 429-1085 Toronto, Ontario, Canada Home: (416) 690-0647