History log of /freebsd-14.2/lib/libfetch/fetch.3 (Results 1 – 25 of 86)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# 6d0ea82c 08-Oct-2023 Dag-Erling Smørgrav <[email protected]>

libfetch, fetch: Stop recommending the use of ca_root_nss.

MFC after: 3 days
Reviewed by: kevans, emaste
Differential Revision: https://reviews.freebsd.org/D42119

(cherry picked from commit 2821a74

libfetch, fetch: Stop recommending the use of ca_root_nss.

MFC after: 3 days
Reviewed by: kevans, emaste
Differential Revision: https://reviews.freebsd.org/D42119

(cherry picked from commit 2821a7498f65d357c68166e1978b491abef1ca4a)

show more ...


# fa9896e0 16-Aug-2023 Warner Losh <[email protected]>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


Revision tags: release/13.2.0, release/12.4.0
# ed5e7fb1 17-Sep-2022 Jens Schweikhardt <[email protected]>

There's no PEM(3) anywhere around; delete reference.


Revision tags: release/13.1.0, release/12.3.0, release/13.0.0
# fe85238e 24-Nov-2020 Jung-uk Kim <[email protected]>

Remove support for SSLv3 from fetch(3).

Support for SSLv3 was already removed from OpenSSL (r361392).

Differential Revision: https://reviews.freebsd.org/D24947


Revision tags: release/12.2.0, release/11.4.0
# c44be5aa 15-Feb-2020 Kyle Evans <[email protected]>

fetch(3): Add SOCKS5 support

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 envi

fetch(3): Add SOCKS5 support

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 <farhan farhan codes>
Differential Revision: https://reviews.freebsd.org/D18908

show more ...


Revision tags: release/12.1.0
# f4e05cc5 28-Aug-2019 Mark Johnston <[email protected]>

Document fetchReqHTTP().

Submitted by: Farhan Khan <[email protected]>
Reviewed by: 0mp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D18788


Revision tags: release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0
# 225636dc 28-Mar-2016 Edward Tomasz Napierala <[email protected]>

Fix bunch of .Xrs.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


Revision tags: release/10.3.0
# 1ec923fd 19-Mar-2016 Michael Gmelin <[email protected]>

Update fetch.1 and fetch.3 to reflect libfetch's actual use of CA bundles

Reviewed by: wblock
Approved by: wblock
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D5558


# 4d8b056e 29-Nov-2015 Dag-Erling Smørgrav <[email protected]>

Use .netrc for HTTP sites and proxies, not just FTP.

PR: 193740
Submitted by: TEUBEL György <[email protected]>
MFC after: 1 week


Revision tags: release/10.2.0
# 01ed3ca3 25-Mar-2015 Jung-uk Kim <[email protected]>

Remove defunct SSLv2 support from fetch(1) and fetch(3).


Revision tags: release/10.1.0
# 76720765 15-Oct-2014 Dag-Erling Smørgrav <[email protected]>

As pointed out by several people, r273114 was incorrect: it unconditionally
disabled everything except TLS 1.0. Replace it with a more carefully
wrought patch:

- Switch the default for SSLv3 from

As pointed out by several people, r273114 was incorrect: it unconditionally
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

show more ...


Revision tags: release/9.3.0
# 6cfac37b 11-Jun-2014 Baptiste Daroussin <[email protected]>

Use Mt macro to properly format mailto links (patch from Franco Fichtner <[email protected]> for Dragonfly)

Reviewed by: des
Approved by: des
Obtained from: Dragonfly
MFC after: 1 week


# c257f99e 05-Jun-2014 Dag-Erling Smørgrav <[email protected]>

If HTTP_USER_AGENT is defined but empty, don't send User-Agent at all.

PR: 184507
Submitted by: [email protected] (with modifications)
MFC after: 1 week


Revision tags: release/10.0.0, release/9.2.0
# 1453595f 30-Jul-2013 Dag-Erling Smørgrav <[email protected]>

Include an Accept header in requests.

PR: kern/180917
MFC after: 1 week


# dcd47379 26-Jul-2013 Dag-Erling Smørgrav <[email protected]>

Implement certificate verification, and many other SSL-related
imrovements; complete details in the PR.

PR: kern/175514
Submitted by: Michael Gmelin <[email protected]>
MFC after: 1 week


Revision tags: release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0
# 50d675f7 29-Mar-2012 Eitan Adler <[email protected]>

Remove trailing whitespace per mdoc lint warning

Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days


Revision tags: release/9.0.0
# 578153f1 19-Oct-2011 Dag-Erling Smørgrav <[email protected]>

latin1 -> utf8


# 6337341d 27-Sep-2011 Dag-Erling Smørgrav <[email protected]>

Update copyright dates and strip my middle name.


# 76b94eb6 27-Sep-2011 Dag-Erling Smørgrav <[email protected]>

Bump date.


# ecd18c96 27-Sep-2011 Dag-Erling Smørgrav <[email protected]>

Think first, commit second.

1. Allow the caller to select active mode.
2. Fix the envar logic so it *always* overrides the caller's flags.
3. Document the change from active to passive.


Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0
# aae70d84 26-Jan-2010 Dag-Erling Smørgrav <[email protected]>

insta-mfh r203028 (doc update)


# 78122aac 26-Jan-2010 Dag-Erling Smørgrav <[email protected]>

Document HTTP digest authentication support.

Mention some prominent past contributors: Hajimu Umemoto (ipv6), Henry
Whincup (https), Jukka Ukkonen (if-modified-since) and Jean-François
Dockes (diges

Document HTTP digest authentication support.

Mention some prominent past contributors: Hajimu Umemoto (ipv6), Henry
Whincup (https), Jukka Ukkonen (if-modified-since) and Jean-François
Dockes (digest auth)

show more ...


Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0
# 7f92799f 15-Dec-2008 Murray Stokely <[email protected]>

Add support for HTTP 1.1 If-Modified-Since behavior.

fetch(1) accepts a new argument -i <file> that if specified will cause
the file to be downloaded only if it is more recent than the mtime of
<fil

Add support for HTTP 1.1 If-Modified-Since behavior.

fetch(1) accepts a new argument -i <file> that if specified will cause
the file to be downloaded only if it is more recent than the mtime of
<file>.

libfetch(3) accepts the mtime in the url structure and a flag to
indicate when this behavior is desired.

PR: bin/87841
Submitted by: Jukka A. Ukkonen <[email protected]> (partially)
Reviewed by: des, ru
MFC after: 3 weeks

show more ...


Revision tags: release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0
# e97f516c 08-Feb-2008 Dag-Erling Smørgrav <[email protected]>

s/MAXPATHLEN/PATH_MAX/ to reflect five-year old change to the code :)

Submitted by: Joerg Sonnenberger <[email protected]>
MFC after: 2 weeks


Revision tags: release/6.3.0_cvs, release/6.3.0
# e99ace35 18-Dec-2007 Dag-Erling Smørgrav <[email protected]>

Document NO_PROXY / no_proxy.

MFC after: 3 weeks


1234