ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
From: hhelibebcnofnenamg@gmail•com
To: ruby-dev@ruby-lang.org
Subject: [ruby-dev:50334] [Ruby trunk Feature#13382] [PATCH] Options for FTP PORT command
Date: Mon, 04 Dec 2017 06:40:28 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-68165.20171204064026.d4c1e1426aad067d@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-13382.20170329083629@ruby-lang.org

Issue #13382 has been updated by osa (Shunsuke OSA).


I used to use FTP and need this feature.
But now, I don't use it and lose motivation to implement this feature.
I'm so sorry.

Please close this issue.
(I guess I can't close this issue.)

----------------------------------------
Feature #13382: [PATCH] Options for FTP PORT command
https://bugs.ruby-lang.org/issues/13382#change-68165

* Author: osa (Shunsuke OSA)
* Status: Assigned
* Priority: Normal
* Assignee: shugo (Shugo Maeda)
* Target version: 
----------------------------------------
# Abstract

Add options to Net::FTP to set data listening host and port.

# Background

Net::FTP sends local address and default port to remote FTP server.
In FTP active mode, remote server will connect to client to establish data connection, but it will fail if there is NAT in network.
(NAT doesn't rewrite address and port in PORT command because they are not in packet header but payload)
So, it's necessary to set host and port for FTP PORT command explicitly.

# Real use cases

Active FTP is not working in AWS EC2.

- https://forums.aws.amazon.com/thread.jspa?messageID=75667 (Login required)
- http://osa.hatenablog.com/entry/2015/02/24/134826 (Japanese)

# Pull request

- https://github.com/ruby/ruby/pull/1561



-- 
https://bugs.ruby-lang.org/

  parent reply	other threads:[~2017-12-04  6:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-13382.20170329083629@ruby-lang.org>
2017-03-29  8:36 ` [ruby-dev:50057] [Ruby trunk Feature#13382] [PATCH] Options for FTP PORT command hhelibebcnofnenamg
2017-03-29  9:24 ` [ruby-dev:50058] " shugo
2017-03-29 14:44 ` [ruby-dev:50060] " hhelibebcnofnenamg
2017-03-30  4:47 ` [ruby-dev:50061] " shugo
2017-03-30  5:10 ` [ruby-dev:50062] " shugo
2017-04-15  7:21 ` [ruby-dev:50079] " hhelibebcnofnenamg
2017-04-17  5:09 ` [ruby-dev:50083] " shugo
2017-04-18  8:58 ` [ruby-dev:50086] " hhelibebcnofnenamg
2017-12-04  6:40 ` hhelibebcnofnenamg [this message]
2017-12-04  8:15 ` [ruby-dev:50335] [Ruby trunk Feature#13382][Rejected] " shugo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-68165.20171204064026.d4c1e1426aad067d@ruby-lang.org \
    --to=ruby-dev@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).