Re: Recent Padlock changes break ssh - FreeBSD

This is a discussion on Re: Recent Padlock changes break ssh - FreeBSD ; On Tue, Jul 22, 2008 at 07:05:37AM +0200, Ian FREISLICH wrote: > Hi > > Reverting to src/sys/crypto/via/padlock.c to r1.13 allow me to once > again ssh into my VIA C7 based system. > > I get the following error ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: Recent Padlock changes break ssh

  1. Re: Recent Padlock changes break ssh

    On Tue, Jul 22, 2008 at 07:05:37AM +0200, Ian FREISLICH wrote:
    > Hi
    >
    > Reverting to src/sys/crypto/via/padlock.c to r1.13 allow me to once
    > again ssh into my VIA C7 based system.
    >
    > I get the following error on the local side when attempting to ssh
    > to the server when r1.14 is in use.
    >
    > [apple] ~ $ ssh control.freislich.nom.za
    > Disconnecting: Bad packet length 4108489293.
    > [apple] ~ $ ssh control.freislich.nom.za
    > Disconnecting: Bad packet length 3064303097.
    >
    > I do however see this message on the very first ssh attempt to the
    > server in question with a working kernel (12 July 2008). Subsequent
    > connections connections work correctly.


    Could you try this patch? Those are the only changes that could
    eventually change the behaviour.

    http://people.freebsd.org/~pjd/patches/padlock.c.patch

    --
    Pawel Jakub Dawidek http://www.wheel.pl
    pjd@FreeBSD.org http://www.FreeBSD.org
    FreeBSD committer Am I Evil? Yes, I Am!

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.4 (FreeBSD)

    iD8DBQFIhZb4ForvXbEpPzQRAgz+AJ40tQjyral5pKQdsGIn+L xpOx6+EwCgyD8V
    C5sXfgWuTAooWTYEtZDjToM=
    =KbVy
    -----END PGP SIGNATURE-----


  2. Re: Recent Padlock changes break ssh

    Hi,

    I have noticed the same problem as described by Ian, on systems using C7
    processor with padlock support compiled in the kernel, the very first
    connection via SSH fails with the message indicated below (bad packet
    length), subsequent connections are always fine.

    This is with FreeBSD 6.x (I am now using 6.3-p3, but this has been
    noticed since I started using C7 bases systems with FreeBSD 6.0)

    Patrick.


    Pawel Jakub Dawidek a crit :
    > On Tue, Jul 22, 2008 at 07:05:37AM +0200, Ian FREISLICH wrote:
    >
    >> Hi
    >>
    >> Reverting to src/sys/crypto/via/padlock.c to r1.13 allow me to once
    >> again ssh into my VIA C7 based system.
    >>
    >> I get the following error on the local side when attempting to ssh
    >> to the server when r1.14 is in use.
    >>
    >> [apple] ~ $ ssh control.freislich.nom.za
    >> Disconnecting: Bad packet length 4108489293.
    >> [apple] ~ $ ssh control.freislich.nom.za
    >> Disconnecting: Bad packet length 3064303097.
    >>
    >> I do however see this message on the very first ssh attempt to the
    >> server in question with a working kernel (12 July 2008). Subsequent
    >> connections connections work correctly.
    >>

    >
    > Could you try this patch? Those are the only changes that could
    > eventually change the behaviour.
    >
    > http://people.freebsd.org/~pjd/patches/padlock.c.patch
    >
    >


    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...reebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


+ Reply to Thread