From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JYM4o-00053j-Gm for garchives@archives.gentoo.org; Sun, 09 Mar 2008 14:00:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8816FE055A; Sun, 9 Mar 2008 14:00:32 +0000 (UTC) Received: from clients5.estreet.com (clients5.estreet.com [66.17.141.35]) by pigeon.gentoo.org (Postfix) with ESMTP id 54C7CE0667 for ; Sun, 9 Mar 2008 14:00:32 +0000 (UTC) Received: (qmail 17575 invoked by uid 48); 9 Mar 2008 08:03:51 -0600 Received: from 99.221.172.222.broad.km.yn.dynamic.163data.com.cn (99.221.172.222.broad.km.yn.dynamic.163data.com.cn [222.172.221.99]) by webmail.collinstarkweather.com (Horde MIME library) with HTTP; Sun, 9 Mar 2008 08:03:51 -0600 Message-ID: <20080309080351.6kdf31qb4s08gggw@webmail.collinstarkweather.com> Date: Sun, 9 Mar 2008 08:03:51 -0600 From: Collin Starkweather To: Gentoo User List Subject: [gentoo-user] Bizarre SSH connection reset Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) X-Archives-Salt: 5e937720-4cba-460e-a90e-5e6251a5ce04 X-Archives-Hash: 0a3eaaabeddac4fded41bbc2cdd1d644 To preface the question, I should mention that I'm currently residing =20 in China, so communication with the networking guys on this end is a =20 bit difficult because the communication algorithm typically begins, =20 "Step 1: Learn Chinese." I am having difficulties with getting bumped out of an SSH connection =20 from a server in the U.S. with "Connection reset by peer" maybe 5-10 =20 seconds after logging in. It *only* occurs in my apartment; i.e., when I go to a local wifi =20 hotspot, I have no difficulties whatsoever. So I don't think it's =20 coming from my end, and I don't think it's coming from the server I'm =20 logging in to. Some details: 1) To ensure that I'm not having problems with keepalives, I =20 configured SSHD on the other end very liberally (with some =20 impressively fast typing, if I do say so myself). In sshd_config, I =20 have TCPKeepAlive no ClientAliveInterval 15 ClientAliveCountMax 12 2) I then set ethereal running. Just as I got bumped, it indicated Source Destination Protocol Info (the server) (my laptop) TCP 22 > 1259 [RST, ACK] Seq=3D5357 Ack=3D4037 Win=3D63856 Len=3D0 I'm not a networking guy, but I think that means a reset packet is =20 being sent, ostensibly from the server. 3) When I get bumped, ssh -vvv gives the following debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cfd -1) debug3: channel 0: close_fds r 4 w 5 e 6 c -1 Read from remote host www.bogusdomain.com: Connection reset by peer Connection to www.bogusdomain.com closed. debug1: Transferred: stdin 0, stdout 0, stderr 126 bytes in 17.1 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 7.4 debug1: Exit status -1 If the reset is not coming from the server or the client (I don't have =20 any problems when I'm at a hotspot), where could it be coming from? Thanks in advance, -Collin --=20 Collin Starkweather, Ph.D. http://www.linkedin.com/in/collinstarkweather -- gentoo-user@lists.gentoo.org mailing list