From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 24 16:02:50 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AFD737B401 for ; Thu, 24 Jul 2003 16:02:50 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 716F543FA3 for ; Thu, 24 Jul 2003 16:02:49 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net.strauser.com (kirk@pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.9/8.12.9) with ESMTP id h6OLtKFl007440 for ; Thu, 24 Jul 2003 16:56:21 -0500 (CDT) (envelope-from kirk@strauser.com) To: freebsd-hackers@freebsd.org References: <3F1F96A5.A7D2D221@aueb.gr> From: Kirk Strauser Date: Thu, 24 Jul 2003 16:55:13 -0500 In-Reply-To: <3F1F96A5.A7D2D221@aueb.gr> (Diomidis Spinellis's message of "Thu, 24 Jul 2003 11:19:49 +0300") Message-ID: <873cgvh9oe.fsf@pooh.honeypot.net> Lines: 22 X-Mailer: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: Network pipes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 23:02:50 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable At 2003-07-24T08:19:49Z, Diomidis Spinellis writes: > tar cvf - / |@ ssh remotehost -- dd of=3D/dev/st0 bs=3D32k | : > The effect of the above command is that a socket is created between the > local and the remote host with the standard output of tar and the standard > input of dd redirected to that socket. Authentication is still performed > using ssh (or any other remote login mechanism you specify before the -- > argument), but the flow between the two processes is from then on not > protected in terms of integrity and privacy. Thus the method will mostly > be useful within the context of a LAN or a VPN. Isn't this almost the same as: # ssh -f remotehost "nc -l -p 54321 | dd of=3D/dev/st0 bs=3D32k" # tar cvf - / | nc remotehost 54321 Netcat implements a TCP/UDP transports and basically nothing else. Isn't that what you're trying to achieve? =2D-=20 Kirk Strauser --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/IFXI5sRg+Y0CpvERAn68AKCb3qZi0tzRwxTUJHb3DyZoNS18igCfepfA 53pZ+kERAV6PePJB2PZpCJU= =ExXx -----END PGP SIGNATURE----- --=-=-=--