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 72C439003 for ; Sat, 7 Jul 2012 15:38:35 +0000 (UTC) Received: (qmail 26567 invoked by uid 500); 7 Jul 2012 15:38:35 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 26504 invoked by uid 500); 7 Jul 2012 15:38:35 -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 26495 invoked by uid 99); 7 Jul 2012 15:38:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jul 2012 15:38:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E0BF9142852 for ; Sat, 7 Jul 2012 15:38:34 +0000 (UTC) Date: Sat, 7 Jul 2012 15:38:34 +0000 (UTC) From: "Gary D. Gregory (JIRA)" To: issues@commons.apache.org Message-ID: <65485301.18909.1341675514923.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1862268854.14889.1338359723524.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (NET-468) Request for native support for socks proxy routing with Commons net FTP 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/NET-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408692#comment-13408692 ] Gary D. Gregory commented on NET-468: ------------------------------------- I've attached a version 6 of the patch. See previous comment for a summary of changes over version 5. What is still missing is a functional test. Class names ending with "FunctionalTest" will not be run as part of the normal build but should be run by developers. A FunctionalTest class can depend on external resources. Thank you, Gary > Request for native support for socks proxy routing with Commons net FTP > ----------------------------------------------------------------------- > > Key: NET-468 > URL: https://issues.apache.org/jira/browse/NET-468 > Project: Commons Net > Issue Type: Improvement > Components: FTP > Affects Versions: 1.4, 2.0, 3.0.1, 3.1 > Environment: We use commons net in out products for all communication to an FTP server. OS : All. No other environment specifications. > Reporter: Ramya Rajendiran > Attachments: sockclient-proxy3.diff, sockclient-proxy4.diff, sockclient-proxy5.diff, sockclient-proxy6.diff > > > Commons net currently does not natively support connection to an FTP server via a socks proxy. The only way of achieving this would be to work at the socket level as observed here http://wiki.apache.org/commons/Net/FrequentlyAskedQuestions. (by setting JVM properties socksProxyPort and socksProxyPortHost) > However, a major side effect of this all connections on this JVM will go through the socks proxy since this setting is at the JVM level. This is sometimes undesirable as the business requirements are such that only certain applications on the JVM need to go through the socks proxy. There are no existing workarounds to conditionally prevent other applications to not be routed through the socks proxy. This makes our application which consumes the commons net unusable for such businesses. > Providing native support for socks proxy with commons net for FTP, will go a long way in supporting such common scenarios and business continuity. Therefore raising this enhancement request. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira