From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 18:17:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50DB91065673 for ; Mon, 1 Dec 2008 18:17:09 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: from yx-out-2122.google.com (yx-out-2122.google.com [74.125.44.25]) by mx1.freebsd.org (Postfix) with ESMTP id 0C58B8FC1A for ; Mon, 1 Dec 2008 18:17:08 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: by yx-out-2122.google.com with SMTP id 35so752291yxh.13 for ; Mon, 01 Dec 2008 10:17:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.112.12 with SMTP id p12mr920668ybm.2.1228155428493; Mon, 01 Dec 2008 10:17:08 -0800 (PST) Date: Mon, 1 Dec 2008 10:17:08 -0800 (PST) In-Reply-To: <200812011352.27349.fbsd.questions@rachie.is-a-geek.net> X-IP: 83.237.103.45 References: <200812010631.35147.fbsd.questions@rachie.is-a-geek.net> <7f73df71-b828-41b6-a27b-c7c6626e8950@g38g2000yqn.googlegroups.com> <200812011352.27349.fbsd.questions@rachie.is-a-geek.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; ru-ru) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1, gzip(gfe), gzip(gfe) Message-ID: <9284e88e-ae6b-4164-888d-01913a0f7669@e18g2000yqo.googlegroups.com> From: Eugene Pimenov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 01 Dec 2008 19:24:22 +0000 Subject: Re: Pasting via ssh causes data loss X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 18:17:09 -0000 On 1 =E4=E5=EA, 15:52, Mel wrote: > On Monday 01 December 2008 10:33:17 Eugene Pimenov wrote: > > inetd: > $ grep telnet /etc/inetd.conf > #telnet stream =A0tcp =A0 =A0 nowait =A0root =A0 =A0/usr/libexec/telnetd = =A0 =A0telnetd > #telnet stream =A0tcp6 =A0 =A0nowait =A0root =A0 =A0/usr/libexec/telnetd = =A0 =A0telnetd > > Quick setup: > remove appropreate hashmark above > /etc/rc.d/inetd onestart It works :( All 6060 bytes are saved. > > > I tried ssh -vvv, nothing between connect and disconnect. > > > It's definitely not an EOF. It just loses some part of data, doesn't > > stop receiving after some point. > > Where does it get lost? Meaning, does it get over the wire? Hard to check > encrypted, but a 3k diff should show up in number of the IP packets sent.= Is > it possible to compare tcpdump linux <-> linux vs linux <-> freebsd on th= e > receiving end? I'm on Mac OS X, so tcpdumps: I to freebsd http://pastie.org/327953.txt?key=3Dzaehiz6bxcxs3rjuyfbtyq freebsd to me http://pastie.org/327954.txt?key=3Dautckpywar1mkngb9re0w I to linux http://pastie.org/327955.txt?key=3Dklqvsd73l3flhayoykeeq linux to me http://pastie.org/327952.txt?key=3Duu1cpgleuhnctwcuqzxlw However, I'm not sure it's helpful. I mean you can't look inside a packet, because it was encrypted. Headers and packet size depends on many factors. For example, if you compare linux and freebsd tcpdumps here, you'll see that freebsd ignore packet's checksums and linux has tcp timestamps turned off, and so on. > > -- > Mel