<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: Problems on Linux/alpha
From: Roberto Nibali <ratz,AT,tac,DOT,ch>
Date: Thu, 29 Aug 2002 11:29:10 +0200
In-reply-to: <Pine.LNX.4.44L.0208291010380.19938-100000@wigwam.lugs.ch>


> I'm using a cipe link between a Linux/i386 and a Linux/alpha
> system. The alpha is new installed last night - before, it was a
> Linux/sparc for a long time.

I reckon it worked with the Sparc.

> The alpha is'nt able to decrypt the traffic and sends a lot of
> failures to syslog:
> Sep 16 12:17:53 marmotta kernel: cipcb0: decrypt CRC error

I suspect that a LE/BE problem could be the issue here.

> Some research in Goolge shows me, that the fault is known since a
> long time:
> http://sites.inka.de/bigred/archive/cipe-l/2001-09/msg00021.html

Yes, this renders me quite convinced that the code for decrypt() generated 
alpha architecture is not endian safe.

> Currently, I run the link without encryption - but it's not the
> solution for everyday use.

I agree with that.

> Could I help somewhere debugging the code?

Search for the decrypting function and add some debugging stabs there and 
the values.

Another possibility you could do is to try out [1] and see if it works. First 
all this could minimize the possibility that the skb transfer from the rx 
to the kernel stack is corrupted and second of all you'd have a working 
encrypted tunnel.

[1] http://openvpn.sourceforge.net/

Roberto Nibali, ratz
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc

<< | Thread Index | >> ]    [ << | Date Index | >> ]