summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
AgeCommit message (Expand)Author
2017-09-25Initialize 'out' file descriptor to avoid possibleKenneth R Westerback
2017-09-05Avoid a possible leak in progressmeterJeremie Courreges-Anglas
2017-08-01Remove self assignment.anton
2017-03-07tls_close() can return TLS_WANT_POLLIN/TLS_WANT_POLLOUT, handle themSunil Nimmagadda
2017-03-02close ftp(1)'s output file to avoid leaking one FD per request.Stuart Henderson
2017-02-28Use a do{}while loop with ssize_t return value when calling tls_read()Philip Guenther
2017-01-25cetificate -> certificate;Jason McIntyre
2017-01-24Add -S noverifytime to ftp to permit an unvalidated TLS connection whenBob Beck
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
2017-01-20Move a couple of variables that are unused in SMALL under #ifndef SMALL.Kenneth R Westerback
2017-01-20Straggling __dead. Mark usage() as __dead and make gcc happier.Kenneth R Westerback
2017-01-20#ifndef SMALL around a couple of non-SMALL labels.Kenneth R Westerback
2017-01-14HTTPS proxy support for ftp-ssl.Jeremie Courreges-Anglas
2017-01-11Don't attempt to read .netrc when we already force anonymous FTP (-a).Vadim Zhukov
2017-01-10Pledge more strictly. This is only enabled on the ramdisk version of theTheo de Raadt
2017-01-07-#endif /* !SMALL */Theo Buehler
2017-01-03Add a "-w connect_timeout" option in support of URL-fetching. This allowsTheo de Raadt
2016-12-28Split -DSMALL into -DNOSSL, so that a SSL-enabled version of ftp canTheo de Raadt
2016-12-24Correctly handle tls_read()/tls_write().Joel Sing
2016-12-22missing full stop;Jason McIntyre
2016-12-22add muststaple option so that oscp stapling can be required for sites youBob Beck
2016-12-16Eliminate some gcc warnings about 'unused variables', mostly byKenneth R Westerback
2016-12-08Avoid splitting the "Requesting %s" printf and its trailing newline.Todd C. Miller
2016-12-08Avoid printf of a NULL pointer as a string in debug mode.Todd C. Miller
2016-11-30Check return value of tls_config_set_protocols(3) and bail out in case ofRicardo Mestre
2016-11-06Bump ftp(1)'s cipher default from "all" to "legacy" - this really shouldJoel Sing
2016-09-27Remove empty #ifdef and #ifndef blocksFrederic Cambus
2016-08-22Replace "union sockunion" with "union sockaddr_union" which is alsoTodd C. Miller
2016-08-20Use connect(2) + a connect_wait() function instead of connect_sync(),Todd C. Miller
2016-08-18Move connect_sync() to util.c and use it when connecting via httpTodd C. Miller
2016-08-14Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull.Philip Guenther
2016-08-13Split out the SSL options handling into a separate function, which makesJoel Sing
2016-08-09When connect(2) is interrupted by a signal it continues asynchronouslyTodd C. Miller
2016-07-28these programs probably do not need to use TMPDIR. ok florianTed Unangst
2016-07-13Adjust existing tls_config_set_cipher() callers for TLS cipher groupJoel Sing
2016-05-27Per the libtls man page, tls_init() must be called prior to any otherJoel Sing
2016-05-25Avoid a use-after-free.Kenneth R Westerback
2016-05-06Remove #ifdef INET6 bits, missed in a commit earlier this weekJeremie Courreges-Anglas
2016-03-17Last parameter to execl[e]() functions *must* be cast to a pointer.Kenneth R Westerback
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
2016-01-28Fix a crash when a server sends a non-standard newline ("\n" instead of "\r\n").martijn
2016-01-08Handle redirects to _relative_ URIs containing '://', e.g. for archive.org.Stuart Henderson
2015-12-09Remove NULL-checks before free(). ok tb@mmcc
2015-12-05Let special/ftp compile again. 'ares' is only used inside #ifndef SMALL, soKenneth R Westerback
2015-12-05Send bad whitespace to the attic.Kenneth R Westerback
2015-12-05Silence gcc whining about using 'serrno' uninitialized by initializingKenneth R Westerback
2015-11-05Fix the example "ls . |more"; from Frederic Nowak <fnwk at mailbox dot org>.Ingo Schwarze
2015-11-04Fix inverted pledge requests, from Frederic NowakJeremie Courreges-Anglas
2015-10-18unrelated commit; not ready yetTheo de Raadt
2015-10-18First casualty of making pledge "dns" mandatory for dns users.Theo de Raadt