public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Colquhoun <paulcol@andor.dropbear.id.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] SSL giving corrupted MAC on input
Date: Tue, 7 Jul 2009 10:47:06 +1000	[thread overview]
Message-ID: <200907071047.07065.paulcol@andor.dropbear.id.au> (raw)
In-Reply-To: <5f14cf5e0907060931l2b59bc8pc0c53e6c3a569790@mail.gmail.com>

On Tue, 7 Jul 2009 02:31:38 Simon wrote:
> Hi there!
>   I'm getting this issue where even very small transfers through ssh
> will cause this error message:  Corrupted MAC on input.  I've done my
> homework and found out this is not necessarily related to the network
> hardware as TCP would retransmit such corrupted packets, moreover the
> error message is clearly related to ssh as googling proves this.
>
>   A quick troubleshooting i've done was to setup apache and simply
> wget a very large file over plain HTTP.  Transfer worked, i did it a
> second time and diff'ed the two downloads, they were the same.  I then
> did the same test over HTTPS and got an error
> (SSL3_GET_RECORD:decryption failed or bad record mac). This clarified
> the problem is much more related to SSL than anything else.
>
>   A quick glance at `emerge -vp openssl` showed an issue:  it had been
> compiled with sse2 support while this computer's cpu didnt support
> that.  Changed use flags and recompiled, restarted ssh and apache.
> They both continued giving the same error.  I finally rebooted the
> machine, in case, but same issue still...  The only use flag for
> openssl now is zlib.


What did you recompile?  There may still be a library using the "sse2" flag.

Have you tried using the "--newuse" or "--reinstall changed-use" emerge flags?


-- 
Reverend Paul Colquhoun, ULC.    http://andor.dropbear.id.au/~paulcol
 Before you criticize someone, you should walk a mile in their shoes.
Then, when you do, you'll be a mile away, and you'll have their shoes.




  parent reply	other threads:[~2009-07-07  0:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-06 16:31 [gentoo-user] SSL giving corrupted MAC on input Simon
2009-07-06 16:43 ` [gentoo-user] " Simon
2009-07-07  0:47 ` Paul Colquhoun [this message]
2009-07-20 18:59   ` [gentoo-user] " Simon
2009-07-20 19:16     ` Simon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200907071047.07065.paulcol@andor.dropbear.id.au \
    --to=paulcol@andor.dropbear.id.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox