From owner-freebsd-current@FreeBSD.ORG Tue Jul 22 10:11:18 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74843106567F; Tue, 22 Jul 2008 10:11:18 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id 344288FC0C; Tue, 22 Jul 2008 10:11:18 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:References:X-Attribution:Date:Message-Id; b=bIqjW/JoZS58157bgo0Nb4vrLDt0T99PD8aq2+ahWtfZgAVRFFWnTsRb3ftSwz7q+Z0BzMCPpD3vN2XsfLtYNjjQmqqHwNkbqTUALLjMgwvVYCwyyoDImYH5wFMUnD36FheNy5XNTp+WPq/yPEjmP+ilSIPO3yh6jybN8egfE+n8RNtLN4TzPIRsisgTQVnJCcWeCzpw7Ka4hDaZ6ySzRj9M7ZFy6GVTDk1o3IqyaTam9s9dcKqLgkgWQOG6xq5K; Received: from uucp by munchkin.clue.co.za with local-rmail (Exim 4.67) (envelope-from ) id 1KLEpx-00059A-FZ; Tue, 22 Jul 2008 10:11:17 +0000 Received: from ianf.clue.co.za ([10.0.0.6] helo=clue.co.za) by urchin.clue.co.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1KLEpN-00058N-Pu; Tue, 22 Jul 2008 10:10:41 +0000 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KLEpQ-0000x5-RQ; Tue, 22 Jul 2008 12:10:44 +0200 To: Pawel Jakub Dawidek From: Ian FREISLICH In-Reply-To: <20080722081449.GA3241@garage.freebsd.pl> References: <20080722081449.GA3241@garage.freebsd.pl> X-Attribution: BOFH Date: Tue, 22 Jul 2008 12:10:44 +0200 Message-Id: Cc: current@freebsd.org Subject: Re: Recent Padlock changes break ssh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 10:11:18 -0000 Pawel Jakub Dawidek wrote: > On Tue, Jul 22, 2008 at 07:05:37AM +0200, Ian FREISLICH wrote: > > Hi > >=20 > > Reverting to src/sys/crypto/via/padlock.c to r1.13 allow me to once > > again ssh into my VIA C7 based system. > >=20 > > I get the following error on the local side when attempting to ssh > > to the server when r1.14 is in use. > >=20 > > [apple] ~ $ ssh control.freislich.nom.za > > Disconnecting: Bad packet length 4108489293. > > [apple] ~ $ ssh control.freislich.nom.za > > Disconnecting: Bad packet length 3064303097. > >=20 > > 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 Even the first connection works correctly with this patch now or r1.14. Ian -- Ian Freislich