Balazs Scheidler <[EMAIL PROTECTED]> writes:
> Niels advised me to check both key-set functions (in ssh2 and lshd) The
> funny thing is that the client side (ssh2) uses a key with all zeroes:
>
> Breakpoint 1, arcfour_init (context=0x80d3b38, key=0x80c0774 "",
> keylen=16,
> for_encryption=0) at arcfour.c:34
> 34 ArcfourContext *ctx = context;
> (gdb) x/16xb key
> 0x80c0774: 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> 0x00
> 0x80c077c: 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> 0x00
>
> strange, isn't it?
Ooops. Definitely strange. Could you check if there are any more calls
to arcfour_init; there should be at least two, for the recieve and
send streams. There could well be more than two calls, if arcfour is
used to generate pseudorandom padding or something like that.
Backtraces from the calls to arcfour_init may also give some more
clues about what sshd2 is doing.
/Niels