Re: Home Network Speed (ftp vs scp)

From: David Bolton (angoraspruce_at_hotmail.com)
Date: 12/29/03


Date: Mon, 29 Dec 2003 04:24:14 GMT

P Gentry <rdgentry1@cablelynx.com> wrote:
> Buck Turgidson <jc_va@hotmail.com> wrote in message news:<TVDHb.18941$Fg.12239@lakeread01>...
>> I get about twice the throughput on my 10/100 network with ftp than with scp
>> (8.6 MB/s vs 4.6) transferring the same file.

[snip]
 
> SSH reads bytes from disk, encrypts them, _then_ sends them down the
> wire. Once received, the bytes read from the wire must be decrypted
> and returned to their original state before writing them to disk. Now
> the job is done.

In addition, it seems from my observations of tcpdump that SSH requires more
packets to send the encrypted info as opposed to plain text. Correct me if I'm
wrong, but my guess is that SSH will use at least double the packets, which
might account for your halved transfer rate.

Any experts who can clarify whether this is the case?

David



Relevant Pages

  • Re: Good sniffer software
    ... dsniff is the Swiss army knife of privacy invasion. ... the wire and stores it for later examination. ... could be used against your Windows-based networks. ... easily sniff clear text from packets to glean sensitive data. ...
    (alt.computer.security)
  • RE: Point-to-Point interfaces regressions
    ... mtu 1500 ... packets leak onto the wire even though that's a local address. ... writing to syslog: ...
    (freebsd-current)
  • RE: Point-to-Point interfaces regressions
    ... mtu 1500 ... packets leak onto the wire even though that's a local address. ... writing to syslog: ...
    (freebsd-net)
  • Re: Sendto(2) Never Reaches Wire
    ... > recommend a technique to maybe ensure a little higher success rate? ... > never reach the wire. ... My guess is the destination address isn't in the ARP cache when you send ... so if you send additional packets in quick ...
    (comp.unix.programmer)
  • Re: Help with identifying scan/attack
    ... MRTG is measuring the load on the OTHER end of the wire... ... This smells like a hardware problem, especially given the last 2 lines quoted. ... resulting signal quality loss caused lots of stray/spurious packets. ... thinwire/thickwire cable, and every network tap or other break sends back ...
    (Incidents)