From owner-freebsd-current Sun Dec 15 14:45:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3C0B37B401 for ; Sun, 15 Dec 2002 14:45:30 -0800 (PST) Received: from mailf.telia.com (mailf.telia.com [194.22.194.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3079143EA9 for ; Sun, 15 Dec 2002 14:45:30 -0800 (PST) (envelope-from david@realityrift.com) Received: from d1o836.telia.com (d1o836.telia.com [213.65.240.241]) by mailf.telia.com (8.12.5/8.12.5) with ESMTP id gBFMjS5E019665 for ; Sun, 15 Dec 2002 23:45:28 +0100 (CET) X-Original-Recipient: Received: from rift.ath.cx (h23n2fls32o836.telia.com [217.208.105.23]) by d1o836.telia.com (8.10.2/8.10.1) with ESMTP id gBFMjS611514 for ; Sun, 15 Dec 2002 23:45:28 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: David Holm To: current@FreeBSD.ORG Subject: Re: Problems connecting locally Date: Sun, 15 Dec 2002 23:45:27 +0100 User-Agent: KMail/1.4.3 References: <200212152244.22060.david@realityrift.com> In-Reply-To: <200212152244.22060.david@realityrift.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212152345.27386.david@realityrift.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I ran truss on both cvs and ssh and they stop at the following points: cvs: open("/home/avatar/.cvsignore",0x0,0666) ERR#2 'No such file or=20 directory' access("/home/avatar/.cvswrappers",0) ERR#2 'No such file or=20 directory' pipe() =3D 3 (0x3) pipe() =3D 5 (0x5) vfork() =3D 14645 (0x3935) close(3) =3D 0 (0x0) close(6) =3D 0 (0x0) fcntl(0x4,0x2,0x1) =3D 0 (0x0) fcntl(0x5,0x2,0x1) =3D 0 (0x0) getdtablesize() =3D 7322 (0x1c9a) fcntl(0x4,0x3,0x0) =3D 2 (0x2) fcntl(0x5,0x3,0x0) =3D 2 (0x2) __sysctl(0xbfbffa08,0x2,0x281cb29c,0xbfbffa04,0x0,0x0) =3D 0 (0x0) break(0x80d5000) =3D 0 (0x0) fstat(4,0xbfbff850) =3D 0 (0x0) break(0x80d9000) =3D 0 (0x0) write(4,0x80d5000,372) =3D 372 (0x174) fstat(5,0xbfbff8a0) =3D 0 (0x0) break(0x80dd000) =3D 0 (0x0) ssh: socket(0x2,0x1,0x0) =3D 3 (0x3) =2E =2E =2E open("/home/avatar/.ssh/known_hosts",0x0,0666) =3D 4 (0x4) fstat(4,0xbfbfca00) =3D 0 (0x0) read(0x4,0x8076000,0x1000) =3D 4096 (0x1000) read(0x4,0x8076000,0x1000) =3D 4096 (0x1000) read(0x4,0x8076000,0x1000) =3D 1212 (0x4bc) close(4) =3D 0 (0x0) write(3,0x8070000,16) =3D 16 (0x10) write(3,0x8070000,48) =3D 48 (0x30) select(0x4,0x806c360,0x0,0x0,0x0) =3D 1 (0x1) read(0x3,0xbfbfd900,0x2000) =3D 48 (0x30) write(3,0x8070000,64) =3D 64 (0x40) select(0x4,0x806c360,0x0,0x0,0x0) =3D 1 (0x1) read(0x3,0xbfbfd8f0,0x2000) =3D 80 (0x50) stat("/home/avatar/.ssh/identity",0xbfbff6d0) ERR#2 'No such file or=20 directory' stat("/home/avatar/.ssh/id_rsa",0xbfbff6d0) ERR#2 'No such file or=20 directory' stat("/home/avatar/.ssh/id_dsa",0xbfbff6d0) ERR#2 'No such file or=20 directory' write(3,0x8070000,96) =3D 96 (0x60) //David On Sunday 15 December 2002 22:44, David Holm wrote: > Hi, > after updating my -CURRENT today (sun dec 15) I can no longer connect t= o my > local cvs and sshd. > cvs returns: > > Connection closed by 217.208.105.23 > cvs [commit aborted]: end of file from server (consult above messages i= f > any) > > and ssh returns: > > Connection closed by 217.208.105.23 > > Both these worked flawlessly before the update, the previous version I = was > running on was about 2 weeks old. > The thing is, if I try to connect from remote I have no problems access= ing > both cvs and ssh. And apache seems unaffected, I can access my webserve= r > both locally and remotely. > > I have not modified my fiewall since the upgrade, but just in case, it > looks like this: > > 00050 divert 8668 ip from any to any via rl0 > 00100 allow ip from any to any via lo0 > 00200 deny ip from any to 127.0.0.0/8 > 00300 deny ip from 127.0.0.0/8 to any > 01050 deny ip from any to any dst-port 139 via rl0 > 01100 deny ip from any to any dst-port 587 via rl0 > 01150 deny ip from any to any dst-port 783 via rl0 > 01200 deny ip from any to any dst-port 901 via rl0 > 01250 deny ip from any to any dst-port 1024 via rl0 > 65000 allow ip from any to any > 65535 deny ip from any to any > > > //David Holm > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message