Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2008 10:17:08 -0800 (PST)
From:      Eugene Pimenov <libc.mail@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Pasting via ssh causes data loss
Message-ID:  <9284e88e-ae6b-4164-888d-01913a0f7669@e18g2000yqo.googlegroups.com>
In-Reply-To: <200812011352.27349.fbsd.questions@rachie.is-a-geek.net>
References:  <BE908921-8606-4D31-85A7-23C443EDA2B5@gmail.com>  <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>

next in thread | previous in thread | raw e-mail | index | archive | help


On 1 =E4=E5=EA, 15:52, Mel <fbsd.questi...@rachie.is-a-geek.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9284e88e-ae6b-4164-888d-01913a0f7669>