[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Idee zur TCP-Paket-Manipulation gesucht



Hallo,

Stefan Baur <newsgroups.mail2@stefanbaur.de>:

>> ssh / scp kann die Daten bei der Übertragung kopieren. Hast du das mal
>> probiert?
>
>Du meinst wohl komprimieren.

Ja, das war gemeint. ;-)

>Alles was irgendwie auf Stream-Komprimierung aus ist, taugt nicht. Die 
>Baustellen haben wir leider alle schon durch. (Was mich dazu bringt, 
>mich zu wundern, warum dort nicht ebenfalls GZIP, BZIP2 oder XZ zum 
>Einsatz kommen.)

Laut SSH Manpage wird hier gzip verwendet.

| -C  Requests compression of all data (including stdin, stdout,
|     -stderr, and data for forwarded X11 and TCP connections). 
|     The compression algorithm is the same used by gzip(1), and the
|     "level" can be controlled by the CompressionLevel option for
|     protocol version 1. Compression is desirable on modem lines and
|     other slow connections, but will only slow down things on fast
|     networks.  The default value can be set on a host-by-host basis
|     in the configuration files; see the Compression option.

Alternativ kann man auch sowas nutzen:

  < inputfile gzip --best | ssh user@host 'gzip -d > outputfile'

oder bzip2 statt gzip.

Gruß, Harald


Reply to: