[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Server woes - Bad packet length, corrupted MAC on input


Hi Jeetu,

By seeing your logs, I understand this:
Both side have a hmac error. The openssh client sees it first, sends a
disconnect (that works), then there's the error in the libssh log.

I think I'll need a proof-of-concept code to debug this. Would you mind
sharing your code, or it's not possible (too much integration with
existing code).

If so, do you think I can reproduce the problem by "fixing" samplesshd
to make new X11 channels connection connect to the local X11 unix socket ?

Thanks.

Aris


Le 18/10/11 20:34, jeetu.golani@xxxxxxxxx a écrit :
>> This is not a problem and shouldn't cause invalid MAC errors. I'm on
>> travel so I'll look at the log when i'm back.
> 
> Thanks so much Aris :)
> 
> On Tue, Oct 18, 2011 at 5:52 PM, Aris Adamantiadis <aris@xxxxxxxxxxxx> wrote:
>> Hi,
>>
>> This is not a problem and shouldn't cause invalid MAC errors. I'm on
>> travel so I'll look at the log when i'm back.
>>
>> Aris
>>
>> Le 18/10/11 12:30, u@xxxxxxxxxxxxx a écrit :
>>> Hi all,
>>>
>>> debug3: Incorrect RSA1 identifier
>>> debug3: Could not load "/home/jeetu/.ssh/id_rsa" as a RSA1 public key
>>> debug2: key_type_from_name: unknown key type '-----BEGIN'
>>>
>>>
>>> On Tue, Oct 18, 2011 at 03:22:08PM +0500, jeetu.golani@xxxxxxxxx wrote:
>>>> Hi Aris,
>>>>
>>>> I've attached a log of the libssh server
>>>> (log-1-ebpsshd-singlesession-18102011.txt) and the OpenSSH client
>>>> (log-ssh-1-18102011.txt).
>>>
>>> Greetings
>>> --
>>> Stefan Kuttler ==*== nc.netbeisser.de
>>>
>>
>>
> 

Follow-Ups:
Re: Server woes - Bad packet length, corrupted MAC on input"jeetu.golani@xxxxxxxxx" <jeetu.golani@xxxxxxxxx>
References:
Re: Server woes - Bad packet length, corrupted MAC on input"jeetu.golani@xxxxxxxxx" <jeetu.golani@xxxxxxxxx>
Re: Server woes - Bad packet length, corrupted MAC on inputAris Adamantiadis <aris@xxxxxxxxxxxx>
Re: Server woes - Bad packet length, corrupted MAC on inputu@xxxxxxxxxxxxx
Re: Server woes - Bad packet length, corrupted MAC on inputAris Adamantiadis <aris@xxxxxxxxxxxx>
Re: Server woes - Bad packet length, corrupted MAC on input"jeetu.golani@xxxxxxxxx" <jeetu.golani@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org