#
3283cc36 |
| 02-Jul-2023 |
mlelstv <mlelstv@NetBSD.org> |
Fix HTTPS through Proxy.
While a regular HTTP Proxy, requires the absolute URL with protocol and host part, yyou must only send the relative URL through a CONNECT tunnel (you are talking to the targ
Fix HTTPS through Proxy.
While a regular HTTP Proxy, requires the absolute URL with protocol and host part, yyou must only send the relative URL through a CONNECT tunnel (you are talking to the target server).
show more ...
|
#
3ec2a377 |
| 25-Feb-2023 |
mlelstv <mlelstv@NetBSD.org> |
Add option sslnoverify to control validation of SSL certificates. Add netrc processing to fetch-mode (URL on command line) to enable options and autologin via netrc. Fix SSL cleanup in some error pat
Add option sslnoverify to control validation of SSL certificates. Add netrc processing to fetch-mode (URL on command line) to enable options and autologin via netrc. Fix SSL cleanup in some error paths.
Certificate validation is now enabled by default. Set FTPSSLNOVERIFY=1 in environment or configure a corresponding init macro via netrc to not validate certs (required if you haven't installed a required CA certificate for OpenSSL).
Discussed with lukem@ on icb.
show more ...
|
#
880a17fe |
| 11-Sep-2022 |
christos <christos@NetBSD.org> |
PR/57003: Handle relative URLs (patch by kim@)
|
#
f82d03a6 |
| 01-Aug-2021 |
andvar <andvar@NetBSD.org> |
fix typos in word "otherwise".
|
#
355f4930 |
| 06-Jul-2021 |
christos <christos@NetBSD.org> |
Use raw write(2) instead of fwrite(3) to avoid stream corruption because of the progress bar interrupts. From RVP.
|
#
8de2cb48 |
| 11-Jul-2020 |
lukem <lukem@NetBSD.org> |
fetch_url: improve signal handler restoration
Use SIG_ERR not NULL as the indicator that a signal handler hasn't been changed, so that SIG_DFL (equivalent to NULL) will be restored.
Fix restoration
fetch_url: improve signal handler restoration
Use SIG_ERR not NULL as the indicator that a signal handler hasn't been changed, so that SIG_DFL (equivalent to NULL) will be restored.
Fix restoration of SIGQUIT; use the old handler not SIGPIPE's.
show more ...
|
#
af5e2608 |
| 04-Apr-2019 |
christos <christos@NetBSD.org> |
Make fetch_read() return size_t like fread() does. It is bogus to have one backing implementation that returns different values and types than the other. Handle error setting properly; i.e. bail out
Make fetch_read() return size_t like fread() does. It is bogus to have one backing implementation that returns different values and types than the other. Handle error setting properly; i.e. bail out if the internal read returned an error. Now we get a proper error message when the the server resets our connection instead of a warning that the right failed with an invalid argument.
The server used for testing was: http://capeweather.dyndns.org:8080/graphs/3474.png Which seems to be unreliable :-)
show more ...
|
#
0c9fa78f |
| 11-Feb-2018 |
christos <christos@NetBSD.org> |
more volatile to appease gcc.
|
#
7c4e8e1d |
| 25-Nov-2017 |
christos <christos@NetBSD.org> |
Make outfile always allocated, free it to set it to NULL, and don't move it around.
|
#
f9c96eb6 |
| 15-Feb-2017 |
nonaka <nonaka@NetBSD.org> |
ftp(1): split the auth processing function.
|
#
e14dd762 |
| 31-Jan-2017 |
christos <christos@NetBSD.org> |
Use the first name we requested the http/https URL for, not any name we ended up with after random redirects.
|
#
3a9ec3b1 |
| 15-Dec-2016 |
nonaka <nonaka@NetBSD.org> |
handle proxy authentication correctly.
|
#
80f6100c |
| 17-Oct-2016 |
christos <christos@NetBSD.org> |
PR/51558: ast@: ftp dumps core after usage message when IPv6 URL lacks a slash. Initialize variable so that we don't get random behavior on cleanup.
|
#
03c3408e |
| 03-Aug-2016 |
maya <maya@NetBSD.org> |
Do globbing for FTP URLs of the form ftp://... too
ok christos
|
#
8e3fd735 |
| 04-Apr-2016 |
christos <christos@NetBSD.org> |
PR/51043: Yorick Hardy: ftp(1) should use the port number for CONNECT
|
#
54aebfe0 |
| 18-Mar-2016 |
christos <christos@NetBSD.org> |
sprinkle more volatile (distribution build with gcc-5.3)
|
#
ad276d02 |
| 05-Feb-2016 |
nonaka <nonaka@NetBSD.org> |
Initialize the token match pointer.
|
#
1cb4e903 |
| 05-Jan-2016 |
wiz <wiz@NetBSD.org> |
Fix downloads of local files using file:// URLs
Previously it would error out in copyurlinfo() when copying a NULL port.
|
#
0be697d5 |
| 17-Dec-2015 |
christos <christos@NetBSD.org> |
mark function as only needed with ssl.
|
#
11a4424e |
| 17-Dec-2015 |
christos <christos@NetBSD.org> |
Split the position/size parsing into a separate function.
|
#
43de473d |
| 17-Dec-2015 |
christos <christos@NetBSD.org> |
Simplify and factor out connect message
|
#
4900e7e7 |
| 17-Dec-2015 |
nonaka <nonaka@NetBSD.org> |
- Fix to connect https via proxy. - Fix ttyout message.
|
#
bbd8ff02 |
| 16-Dec-2015 |
christos <christos@NetBSD.org> |
PR/50438: NONAKA Kimihiro: ftp(1): CONNECT method support Please test!
|
#
dd9bb30a |
| 16-Dec-2015 |
christos <christos@NetBSD.org> |
more refactoring: - introduce authinfo and urlinfo structures - split negotiation code out.
|
#
a57ee4e8 |
| 16-Dec-2015 |
nonaka <nonaka@NetBSD.org> |
Fix compile failure without WITH_SSL.
> /tmp/bracket/build/2015.12.15.21.01.27-i386/src/usr.bin/ftp/fetch.c: In function 'fetch_url': > /tmp/bracket/build/2015.12.15.21.01.27-i386/src/usr.bin/
Fix compile failure without WITH_SSL.
> /tmp/bracket/build/2015.12.15.21.01.27-i386/src/usr.bin/ftp/fetch.c: In function 'fetch_url': > /tmp/bracket/build/2015.12.15.21.01.27-i386/src/usr.bin/ftp/fetch.c:823:18: error: 'HTTPS_URL_T' undeclared (first use in this function) > urltype == HTTPS_URL_T ? &ssl : NULL);
show more ...
|