summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/fetch.c
AgeCommit message (Expand)Author
2015-10-13ctype functions isxdigit() expect an unsigned char value; add missing castsPhilip Guenther
2015-09-10Unbreak ftp(1) after tls_read()/tls_write() change.Joel Sing
2015-09-10fix after libtls api changesBob Beck
2015-09-09Make sure we check TLS_WRITE_AGAIN when calling tls_read() and ifJoel Sing
2015-07-18Handle short writes and TLS_{READ,WRITE}_AGAIN around tls_write().Alexander Bluhm
2015-02-27Fix URL-encoding of characters with the high order bit set.Jeremie Courreges-Anglas
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2015-01-12Fetching port distfiles with the ftp command from githup did notAlexander Bluhm
2014-11-25set ttyout to line buffered, because the signal handler writes areTheo de Raadt
2014-10-31Update ftp(1) to use libtls instead of libressl.Joel Sing
2014-10-30use ressl constant; from Jan KlemkowTed Unangst
2014-10-08userland reallocarray audit.Doug Hogan
2014-10-06Amend previous commit to unbreak TLS cert validation when using a proxy.Jeremie Courreges-Anglas
2014-10-04Be sure to only path the remote host to ressl_connect_socket(), without aMiod Vallat
2014-08-25you broke the ramdisk builds...Theo de Raadt
2014-08-25When using a proxy for an https connection, validate the cert hostnameJeremie Courreges-Anglas
2014-08-21Fix double free. ok guenther@Jeremie Courreges-Anglas
2014-07-14Convert ftp(1) to libressl, rather than rolling in^W^Whand rolling libssl.Joel Sing
2014-07-11simplify and slightly tweak user agent handlingAlexander Hall
2014-07-11Allow ftp(1) to change its User-Agent for HTTP(S) URL requests using aLawrence Teo
2014-07-05Given an http or https URL with user and password, URL-decode the userPhilip Guenther
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2014-05-19X509_free() the certificate if the server hostname check fails.Jeremie Courreges-Anglas
2014-05-19Explicitely initialize two static variables introduced in the previousJeremie Courreges-Anglas
2014-05-19HTTPS connections may see redirects, so initialize libcrypto and libsslJeremie Courreges-Anglas
2014-04-09If TLS validation is on, retrieve the server TLS certificate andJeremie Courreges-Anglas
2014-03-30SNI support. ok guenther@ sthen@Jeremie Courreges-Anglas
2014-03-30Check the return value from SSL_CTX_set_cipher_list(), for consistency.Jeremie Courreges-Anglas
2014-03-30SSLeay_add_ssl_algorithms() is just a #define for SSL_library_init(), soJeremie Courreges-Anglas
2014-03-02only signed types work when comparing less than zero.Ted Unangst
2014-02-26use a larger read buffer to speed things up, particularly during upgrades.Ted Unangst
2013-12-24Add support for SSL/TLS server certificate validation, enabled byJeremie Courreges-Anglas
2013-11-13satisfy gcc in -Whiny modeTheo de Raadt
2013-10-27If a constant string needs a name, use a static const array instead of aPhilip Guenther
2013-04-09Retry when SSL_read fails with SSL_ERROR_WANT_READ. Fixes the case whereStuart Henderson
2013-03-30Fixed a memory leak during HTTP header parsing.Tobias Stoeckmann
2012-08-18Fix http resume without out auth, which I broke on the last commit,Christiano F. Haesbaert
2012-08-14Add support for basic HTTP authentication as described on RFC 2617 andChristiano F. Haesbaert
2012-04-30Add a -s flag to ftp(1) to let the user specify the source IP addressChristiano F. Haesbaert
2012-04-23Handle HTTP Content-Length headers with trailing whitespace. ok martynas@Stuart Henderson
2010-08-25don't free proxyurl and cookie twice in the location code; with halex@Martynas Venckus
2010-07-23Handle redirection to relative url's in the Location: header of httpAlexander Hall
2010-07-03make lint happyAlexander Hall
2010-06-29fix output handling:Alexander Hall
2010-06-03HTTP/1.1 requests must send a "Connection: close" header. Fixes the issue whereAlexander Hall
2010-06-03When attempting to resume a download, against an HTTP server thatPeter Hessler
2009-10-16factor psummary code of ftp.c to be generic, for all types ofMartynas Venckus
2009-08-26In "auto-fetch" mode without -o, the filename to save under is derivedStuart Henderson
2009-08-06encode special or unsafe characters defined by rfc1738. as a result,Martynas Venckus
2009-08-03tweak error message. url is valid per rfc1738 and can now beMartynas Venckus