Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82258 > unrolled thread
| Started by | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| First post | 2014-12-09 23:37 -0500 |
| Last post | 2014-12-09 23:37 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Ftplib.FTP_TLS Ports Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-09 23:37 -0500
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2014-12-09 23:37 -0500 |
| Subject | Re: Ftplib.FTP_TLS Ports |
| Message-ID | <mailman.16791.1418186283.18130.python-list@python.org> |
On Tue, 9 Dec 2014 20:13:40 -0800, Eric <seag33k@gmail.com> declaimed the
following:
>We are trying to open our firewall but it keeps failing. The docs state
>that the default port is 21 and we've opened port 21. I've ran tcpdump on
>the box while running the script. I see a destination port of 21, but
>there seems to be random destination ports such as 2320 which follow. If
>we open the firewall to allow all traffic, the script works. Here is a
>snip of what I have for the ftp portion. Any ideas would be helpful.
>
Are you running in PASSIVE mode?
Original (normal?) FTP uses the known numbered port as a control port,
and gets a second port for the data itself (without looking up the RFC I
can't state if said second port is opened by the server in response to the
client connect, or is provided to the server by the client).
Passive mode, as I understand it, basically means the control port is
used for everything -- it explicitly is used to get through firewalls.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to top | Article view | comp.lang.python
csiph-web