<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libfetch/fetch.3, branch release/14.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-01-25T04:16:30Z</updated>
<entry>
<title>MFC: libfetch: allow disabling TLS v1.3 when negotiating the connection</title>
<updated>2026-01-25T04:16:30Z</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2026-01-22T14:37:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c41b12651a80e5c3c227e7428c2804f66ec17f2c'/>
<id>urn:sha1:c41b12651a80e5c3c227e7428c2804f66ec17f2c</id>
<content type='text'>
(cherry picked from commit 129aec72250266e60c07ff4643623188f7c27a9d)
</content>
</entry>
<entry>
<title>libfetch, fetch: Stop recommending the use of ca_root_nss.</title>
<updated>2023-12-13T16:23:57Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2023-10-08T04:35:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6d0ea82cc2520726e49d9f03e1b67734608139e7'/>
<id>urn:sha1:6d0ea82cc2520726e49d9f03e1b67734608139e7</id>
<content type='text'>
MFC after:	3 days
Reviewed by:	kevans, emaste
Differential Revision:	https://reviews.freebsd.org/D42119

(cherry picked from commit 2821a7498f65d357c68166e1978b491abef1ca4a)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: two-line nroff pattern</title>
<updated>2023-08-16T17:55:10Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa9896e082a1046ff4fbc75fcba4d18d1f2efc19'/>
<id>urn:sha1:fa9896e082a1046ff4fbc75fcba4d18d1f2efc19</id>
<content type='text'>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>There's no PEM(3) anywhere around; delete reference.</title>
<updated>2022-09-17T11:14:01Z</updated>
<author>
<name>Jens Schweikhardt</name>
<email>schweikh@FreeBSD.org</email>
</author>
<published>2022-09-17T11:14:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ed5e7fb16c01613bb23ed6992957ece990d6a48b'/>
<id>urn:sha1:ed5e7fb16c01613bb23ed6992957ece990d6a48b</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
