<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libfetch/fetch.3, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-11-24T22:10:33Z</updated>
<entry>
<title>Remove support for SSLv3 from fetch(3).</title>
<updated>2020-11-24T22:10:33Z</updated>
<author>
<name>Jung-uk Kim</name>
<email>jkim@FreeBSD.org</email>
</author>
<published>2020-11-24T22:10:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fe85238ef758d1adead72be009d07c597fdba0bb'/>
<id>urn:sha1:fe85238ef758d1adead72be009d07c597fdba0bb</id>
<content type='text'>
Support for SSLv3 was already removed from OpenSSL (r361392).

Differential Revision:	https://reviews.freebsd.org/D24947
</content>
</entry>
<entry>
<title>fetch(3): Add SOCKS5 support</title>
<updated>2020-02-15T18:03:16Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-15T18:03:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c44be5aa0a9e889c2ebde73986acabdaab952c65'/>
<id>urn:sha1:c44be5aa0a9e889c2ebde73986acabdaab952c65</id>
<content type='text'>
This change adds SOCKS5 support to the library fetch(3) and updates the man
page.

Details: Within the fetch_connect() function, fetch(3) checks if the
SOCKS5_PROXY environment variable is set. If so, it connects to this host
rather than the end-host. It then initializes the SOCKS5 connection in
accordance with RFC 1928 and returns the resulting conn_t (file descriptor)
for usage by the regular FTP/HTTP handlers.

Design Decision: This change defaults all DNS resolutions through the proxy
by sending all IPs as hostnames. Going forward, another feature might be to
create another environmental variable to toggle resolutions through the
proxy or not..

One may set the SOCKS5_PROXY environment variable in any of the formats:

SOCKS5_PROXY=proxy.example.com
SOCKS5_PROXY=proxy.example.com:1080
SOCKS5_PROXY=192.0.2.0
SOCKS5_PROXY=198.51.100.0:1080
SOCKS5_PROXY=[2001:db8::1]
SOCKS5_PROXY=[2001:db8::2]:1080

Then perform a request with fetch(1).

(note by kevans)
I've since been informed that Void Linux/xbps has a fork of libfetch that
also implements SOCKS5. I may compare/contrast the two in the mid-to-near
future.

Submitted by:	Farhan Khan &lt;farhan farhan codes&gt;
Differential Revision:	https://reviews.freebsd.org/D18908
</content>
</entry>
<entry>
<title>Document fetchReqHTTP().</title>
<updated>2019-08-28T17:01:28Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2019-08-28T17:01:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f4e05cc55da19b0777b9d8044ad9e2d352b569e6'/>
<id>urn:sha1:f4e05cc55da19b0777b9d8044ad9e2d352b569e6</id>
<content type='text'>
Submitted by:	Farhan Khan &lt;khanzf@gmail.com&gt;
Reviewed by:	0mp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D18788
</content>
</entry>
<entry>
<title>Fix bunch of .Xrs.</title>
<updated>2016-03-28T16:48:28Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2016-03-28T16:48:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=225636dccbfd160caa9a034cc050a09be0da1c25'/>
<id>urn:sha1:225636dccbfd160caa9a034cc050a09be0da1c25</id>
<content type='text'>
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Update fetch.1 and fetch.3 to reflect libfetch's actual use of CA bundles</title>
<updated>2016-03-19T11:55:21Z</updated>
<author>
<name>Michael Gmelin</name>
<email>grembo@FreeBSD.org</email>
</author>
<published>2016-03-19T11:55:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1ec923fd6d7d8a6d23723c40932f663123230dfd'/>
<id>urn:sha1:1ec923fd6d7d8a6d23723c40932f663123230dfd</id>
<content type='text'>
Reviewed by:	wblock
Approved by:	wblock
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D5558
</content>
</entry>
<entry>
<title>Use .netrc for HTTP sites and proxies, not just FTP.</title>
<updated>2015-11-29T14:26:59Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2015-11-29T14:26:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4d8b056ef182f278d706e7528b871f0631e22a80'/>
<id>urn:sha1:4d8b056ef182f278d706e7528b871f0631e22a80</id>
<content type='text'>
PR:		193740
Submitted by:	TEUBEL György &lt;tgyurci@gmail.com&gt;
MFC after:	1 week
</content>
</entry>
<entry>
<title>Remove defunct SSLv2 support from fetch(1) and fetch(3).</title>
<updated>2015-03-25T18:56:36Z</updated>
<author>
<name>Jung-uk Kim</name>
<email>jkim@FreeBSD.org</email>
</author>
<published>2015-03-25T18:56:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=01ed3ca3dedacaf3449a953e213dd462995c04fd'/>
<id>urn:sha1:01ed3ca3dedacaf3449a953e213dd462995c04fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>As pointed out by several people, r273114 was incorrect: it unconditionally</title>
<updated>2014-10-15T07:35:50Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2014-10-15T07:35:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=767207650c31a5615abd5b9a2dcca20432ba2f30'/>
<id>urn:sha1:767207650c31a5615abd5b9a2dcca20432ba2f30</id>
<content type='text'>
disabled everything except TLS 1.0.  Replace it with a more carefully
wrought patch:

 - Switch the default for SSLv3 from on to off
 - Add environment variables to control TLS 1.1 and 1.2
 - In verbose mode, report which version is used
 - Update the man page to reflect these changes.

MFC after:	1 week
</content>
</entry>
<entry>
<title>Use Mt macro to properly format mailto links (patch from Franco Fichtner &lt;franco@lastsummer.de&gt; for Dragonfly)</title>
<updated>2014-06-11T20:20:14Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2014-06-11T20:20:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6cfac37b03bb0723178c0f8b0f7dd1ee68a1a97e'/>
<id>urn:sha1:6cfac37b03bb0723178c0f8b0f7dd1ee68a1a97e</id>
<content type='text'>
Reviewed by:	des
Approved by:	des
Obtained from:	Dragonfly
MFC after:	1 week
</content>
</entry>
<entry>
<title>If HTTP_USER_AGENT is defined but empty, don't send User-Agent at all.</title>
<updated>2014-06-05T20:27:16Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2014-06-05T20:27:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c257f99e9b780a17756af5200ff895551f4f04fe'/>
<id>urn:sha1:c257f99e9b780a17756af5200ff895551f4f04fe</id>
<content type='text'>
PR:		184507
Submitted by:	jbeich@tormail.org (with modifications)
MFC after:	1 week
</content>
</entry>
</feed>
