Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BBB64DD29 for ; Mon, 29 Oct 2012 16:38:13 +0000 (UTC) Received: (qmail 99251 invoked by uid 500); 29 Oct 2012 16:38:13 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 99162 invoked by uid 500); 29 Oct 2012 16:38:13 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 99132 invoked by uid 99); 29 Oct 2012 16:38:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 16:38:12 +0000 Date: Mon, 29 Oct 2012 16:38:12 +0000 (UTC) From: "Ralph Goers (JIRA)" To: issues@commons.apache.org Message-ID: <2011319027.39495.1351528692617.JavaMail.jiratomcat@arcas> In-Reply-To: <1690237570.13857.1349782922957.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (VFS-440) [SFTP] Stream (e.g. netcat) proxy for Sftp file system (aka ProxyCommand) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/VFS-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486127#comment-13486127 ] Ralph Goers commented on VFS-440: --------------------------------- FWIW, I ran mvn site to look at the checkstyle output and the build hung on SftpProviderTestCase. When I ran mvn clean install it succeeded but had the messages noted above. > [SFTP] Stream (e.g. netcat) proxy for Sftp file system (aka ProxyCommand) > ------------------------------------------------------------------------- > > Key: VFS-440 > URL: https://issues.apache.org/jira/browse/VFS-440 > Project: Commons VFS > Issue Type: Improvement > Reporter: Benjamin Piwowarski > Assignee: Gary Gregory > Priority: Minor > Labels: proxy, sftp > Fix For: 2.1 > > Attachments: sftp-stream-proxy.diff, sftp-stream-proxy-v2.diff, sftp-stream-proxy-v3.diff, sftp-stream-proxy-v4.diff, sftp-stream-proxy-v5.diff, sftp-stream-proxy-v6.diff, sftp-stream-proxy-v7-bis.diff, sftp-stream-proxy-v7.diff, sftp-stream-proxy-v8.diff > > > What I propose is to add the possibility to connect to a remote SSH server through an SSH connection stream (instead of an HTTP or SOCKS proxy). See for instance > http://backdrift.org/transparent-proxy-with-ssh > for a use case. > This simulates a ProxyCommand where the command is run on a SSH host. > The patch also contains a test for the new functionality. > Example of use (with the netcat command nc -q 0 HOSTNAME PORT) > {code:java} > builder.setProxyType(opts, SftpFileSystemConfigBuilder.PROXY_STREAM); > builder.setProxyCommand(opts, SftpStreamProxy.NETCAT_COMMAND); > builder.setProxyHost(opts, "gate.way.host"); > builder.setProxyPort(opts, 22); > builder.setProxyOptions(opts, proxyOptions); > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira