From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 10:11:59 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 2C5B31065673 for ; Wed, 3 Dec 2008 10:11:59 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id A21878FC16 for ; Wed, 3 Dec 2008 10:11:58 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2522233fgb.35 for ; Wed, 03 Dec 2008 02:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=aISdpgwRDQvl5Y7vEHQLIof3vIXrCt3ZJoyRsm8jAv8=; b=eVwn1tweImgb2CCums8QyXQgVE3uFiyeY4avJh4eX3nlmztCzw76+QqrI1bkc2ZFlV obFmn3iUlRxB3fO16AvlvKpL+/brbwxZquhHQ/iKVaZi1a+UUe7lSi1bc1UdyTW6A8AC 7FuYY2/txs/rW5TNI0lraTKL3WDQz4Fw3RE+g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=gXXHOi2yET+DA9oEm/JAiqnrZDEYMacUHsf9IvNcjyDz6STlcTNtg+CIdKAmZN7KYU f4+C21qxA989SKe4i87VJCTKGfDAe5H2IpaVewmvE2s2T04VBYZZneZhM2pnNjm//aT/ am2TGJNj9OOuUa1cw9EA2TclqfNhVo6b6aZb0= Received: by 10.86.91.12 with SMTP id o12mr7808476fgb.52.1228299117286; Wed, 03 Dec 2008 02:11:57 -0800 (PST) Received: from ?192.168.1.54? (ppp85-140-90-144.pppoe.mtu-net.ru [85.140.90.144]) by mx.google.com with ESMTPS id d6sm2500898fga.49.2008.12.03.02.11.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Dec 2008 02:11:56 -0800 (PST) Message-Id: <4C574FF7-19F6-440B-A006-AC414B3A3A5B@gmail.com> From: Eugene Pimenov To: Mel In-Reply-To: <200812011352.27349.fbsd.questions@rachie.is-a-geek.net> Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 3 Dec 2008 13:11:54 +0300 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> X-Mailer: Apple Mail (2.929.2) Content-Type: text/plain; charset=KOI8-R; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org 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: Wed, 03 Dec 2008 10:11:59 -0000 01.12.2008, =D7 15:52, Mel =CE=C1=D0=C9=D3=C1=CC(=C1): >> Can't check telnet... there's no telnet demon around. > > inetd: > $ grep telnet /etc/inetd.conf > #telnet stream tcp nowait root /usr/libexec/telnetd =20 > telnetd > #telnet stream tcp6 nowait root /usr/libexec/telnetd =20 > telnetd > > 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 =20= > check > encrypted, but a 3k diff should show up in number of the IP packets =20= > sent. Is > it possible to compare tcpdump linux <-> linux vs linux <-> freebsd =20= > on the > 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 =20 packet, because it was encrypted. Headers and packet size depends on =20 many factors. For example, if you compare linux and freebsd tcpdumps =20 here, you'll see that freebsd ignore packet's checksums and linux has =20= tcp timestamps turned off, and so on. > > > --=20 > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part.