Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2008 13:11:54 +0300
From:      Eugene Pimenov <libc.mail@gmail.com>
To:        Mel <fbsd.questions@rachie.is-a-geek.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Pasting via ssh causes data loss
Message-ID:  <4C574FF7-19F6-440B-A006-AC414B3A3A5B@gmail.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

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C574FF7-19F6-440B-A006-AC414B3A3A5B>