[OpenAFS] 14 Jan 2021 08:25:36 GMT Breakage in RX Connection ID calculation

Andreas Hirczy ahi@itp.tugraz.at
Thu, 14 Jan 2021 20:22:49 +0100


Jeffrey E Altman <jaltman@auristor.com> writes:

>>> Patches to correct the flaw are available from OpenAFS Gerrit
>>>
>>>   https://gerrit.openafs.org/14491
>>>   rx: rx_InitHost do not overwrite RAND_bytes rx_nextCid
>>>
>>>   https://gerrit.openafs.org/14492
>>>   rx: update_nextCid overflow handling is broken
>>
>> One more patch
>>
>>   https://gerrit.openafs.org/14495
>>   rx: modify RX_CIDMASK to match update_nextCid()
>
> which has been abandoned in favor of
>
>     https://gerrit.openafs.org/14496
>     Remove overflow check from update_nextCid
>
> Jeffrey Altman

Thanks!

I have created new Debian packages (Debian Buster, AMD64 only) based on
these 3 patches - available at
<https://itp.tugraz.at/Comp/debian/dists/buster/test/binary-amd64/>

A quick glance shows that my DB and file servers do work.

BUT: after restarting a client file access is not possible any more: "vos exa
.." works, but "ls /afs/itp.tugraz.at/" times out.

| root@faepop78 ~ # ls /afs/itp.tugraz.at/
| /bin/ls: cannot open directory '/afs/itp.tugraz.at/': Connection timed out

Best regards,
Andreas
-- 
Andreas Hirczy <ahi@itp.tugraz.at>                  https://itp.tugraz.at/~ahi/
Graz University of Technology                       phone: +43/316/873-   8190
Institute of Theoretical and Computational Physics    fax: +43/316/873-10 8190
Petersgasse 16, A-8010 Graz                        mobile: +43/664/859 23 57