<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/ftplib.py, branch 3.8</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/ftplib.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/ftplib.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2021-03-15T19:04:49Z</updated>
<entry>
<title>[3.8] bpo-43285 Make ftplib not trust the PASV response. (GH-24838) (GH-24881)</title>
<updated>2021-03-15T19:04:49Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2021-03-15T19:04:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=664d1d16274b47eea6ec92572e1ebf3939a6fa0c'/>
<id>urn:sha1:664d1d16274b47eea6ec92572e1ebf3939a6fa0c</id>
<content type='text'>
bpo-43285: Make ftplib not trust the PASV response.

The IPv4 address value returned from the server in response to the PASV command
should not be trusted.  This prevents a malicious FTP server from using the
response to probe IPv4 address and port combinations on the client network.

Instead of using the returned address, we use the IP address we're
already connected to.  This is the strategy other ftp clients adopted,
and matches the only strategy available for the modern IPv6 EPSV command
where the server response must return a port number and nothing else.

For the rare user who _wants_ this ugly behavior, set a `trust_server_pasv_ipv4_address`
attribute on your `ftplib.FTP` instance to True..
(cherry picked from commit 0ab152c6b5d95caa2dc1a30fa96e10258b5f188e)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>bpo-37390: Add audit event table to documentations (GH-14406)</title>
<updated>2019-06-27T18:07:16Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-27T18:07:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4fee28aa42dbac7f08a6d2829546b7d8e848034d'/>
<id>urn:sha1:4fee28aa42dbac7f08a6d2829546b7d8e848034d</id>
<content type='text'>
Also updates some (unreleased) event names to be consistent with the others.
(cherry picked from commit 44f91c388a6f4da9ed3300df32ca290b8aa104ea)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</content>
</entry>
<entry>
<title>bpo-37363: Add audit events for a range of modules (GH-14301)</title>
<updated>2019-06-24T16:09:47Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-24T16:09:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8763d43a9558b345af6a3a298afa18e7d3b42fd0'/>
<id>urn:sha1:8763d43a9558b345af6a3a298afa18e7d3b42fd0</id>
<content type='text'>
(cherry picked from commit 60419a7e96577cf783b3b45bf3984f9fb0d7ddff)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</content>
</entry>
<entry>
<title>bpo-35934: Add socket.create_server() utility function (GH-11784)</title>
<updated>2019-04-08T22:34:02Z</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2019-04-08T22:34:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eb7e29f2a9d075accc1ab3faf3612ac44f5e2183'/>
<id>urn:sha1:eb7e29f2a9d075accc1ab3faf3612ac44f5e2183</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268)</title>
<updated>2018-11-01T10:33:35Z</updated>
<author>
<name>Pablo Aguiar</name>
<email>scorphus@gmail.com</email>
</author>
<published>2018-11-01T10:33:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b5e62dbb22a3593e0db266c12f805b727a42b00'/>
<id>urn:sha1:4b5e62dbb22a3593e0db266c12f805b727a42b00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-31346: Use PROTOCOL_TLS_CLIENT/SERVER (#3058)</title>
<updated>2017-09-15T18:27:30Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2017-09-15T18:27:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a170fa162dc03f0a014373349e548954fff2e567'/>
<id>urn:sha1:a170fa162dc03f0a014373349e548954fff2e567</id>
<content type='text'>
Replaces PROTOCOL_TLSv* and PROTOCOL_SSLv23 with PROTOCOL_TLS_CLIENT and
PROTOCOL_TLS_SERVER.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;</content>
</entry>
<entry>
<title>bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214)</title>
<updated>2017-07-22T17:20:22Z</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2017-07-22T17:20:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2b1e6e9696cb433c0e0da11145157d54275d119f'/>
<id>urn:sha1:2b1e6e9696cb433c0e0da11145157d54275d119f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #28022: Deprecate ssl-related arguments in favor of SSLContext.</title>
<updated>2016-09-10T21:23:33Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2016-09-10T21:23:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d04863771b0c5bedeb1e4afe05dcba3adcc0fb58'/>
<id>urn:sha1:d04863771b0c5bedeb1e4afe05dcba3adcc0fb58</id>
<content type='text'>
The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.

ssl.wrap_socket() is not marked as deprecated yet.
</content>
</entry>
<entry>
<title>#27364: fix "incorrect" uses of escape character in the stdlib.</title>
<updated>2016-09-08T17:59:53Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2016-09-08T17:59:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=44b548dda872c0d4f30afd6b44fd74b053a55ad8'/>
<id>urn:sha1:44b548dda872c0d4f30afd6b44fd74b053a55ad8</id>
<content type='text'>
And most of the tools.

Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
</content>
</entry>
<entry>
<title>Removed unused imports.</title>
<updated>2016-04-24T21:12:32Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-04-24T21:12:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ccd047ea4b92f09a84b67e69deb82ce42e510c4c'/>
<id>urn:sha1:ccd047ea4b92f09a84b67e69deb82ce42e510c4c</id>
<content type='text'>
</content>
</entry>
</feed>
