Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert suni'ls ftp rewrite for now. | 2019-05-16 | 29 | -3510/+11520 | |
| | | | | | We are juggling too many things at the moment and we can't deal with the differences in behaviour right now. | ||||
* | Display "bytes received" like the csrg ftp used to when the progressbar | 2019-05-15 | 4 | -23/+42 | |
| | | | | | | is disabled. Difference pointed out by deraadt OK kurtm, sunil | ||||
* | Add the -m flag to the ftp.1 man page. | 2019-05-15 | 2 | -7/+12 | |
| | | | | | | | Adjust the usage message of ftp(1) to reflect its two operating modes and list missing flags. OK florian@ jmc@ | ||||
* | do not intermingle direct io (write), and potentially buffered io (stdio) | 2019-05-14 | 2 | -5/+5 | |
| | | | | | against the same outputs ok kmos florian | ||||
* | Document -v | 2019-05-14 | 1 | -2/+8 | |
| | |||||
* | -v forces verbose mode even if stdin is not a terminal | 2019-05-14 | 1 | -2/+4 | |
| | | | | | Found the hard way by bluhm Debugged with deraadt & bluhm | ||||
* | Enable TLSv1.0 and TLSv1.1 | 2019-05-14 | 1 | -1/+5 | |
| | | | | | Like the old ftp. Discussed with at least with tedu@ "We should match existing behavior at least for now" | ||||
* | Remove an unused and leftover label. | 2019-05-14 | 1 | -2/+1 | |
| | |||||
* | tls_write(3): Handle short writes. | 2019-05-14 | 1 | -6/+12 | |
| | | | | Ok jca@ | ||||
* | ephermal -> ephemeral | 2019-05-13 | 1 | -2/+2 | |
| | | | | From Hiltjo Posthuma | ||||
* | Fix double free by nulling out pointers after free. | 2019-05-12 | 1 | -1/+6 | |
| | | | | from florian, ok jca | ||||
* | Make the "xx bytes received in y time" message go to the right place | 2019-05-12 | 1 | -2/+2 | |
| | | | | | | by using the login_info() function the other messages use. OK florian@ | ||||
* | zap confusing unneeded parameters | 2019-05-12 | 1 | -4/+4 | |
| | | | | okay jca@, jasper@ | ||||
* | Repair ftp -o - and thus pkg_add: print informational messages on stderr | 2019-05-12 | 1 | -2/+3 | |
| | | | | ok florian@ espie@ | ||||
* | It will show up in 6.6. | 2019-05-12 | 1 | -2/+2 | |
| | |||||
* | add rcs ids | 2019-05-12 | 11 | -0/+22 | |
| | |||||
* | Move us from old ftp(1) to Sunil's new ftp(1). The necessary modifications | 2019-05-12 | 29 | -11531/+3452 | |
| | | | | | | have been made to make it behave. Any new misbehaviors can be fixed in tree. OK florian@ deraadt@ "Have you committed ftp yet?" | ||||
* | ftp makes a new connection for each auto-fetch file. Remove a lie claiming | 2019-05-09 | 1 | -6/+2 | |
| | | | | otherwise. ok tb@ tedu@ | ||||
* | Add TLS session support to ftp(1). | 2018-02-10 | 4 | -13/+40 | |
| | | | | | | | | | | | If a session file is specified via the `-S session=...', ftp(1) will attempt to resume TLS sessions based on the session data contained within this file. Upon completion of a successful TLS handshake the session file will be updated with new session data, if available. Discussed with deraadt@ and beck@. Requested by and input from espie@. | ||||
* | rename var 's' -> 'fd' to ease finding it in a long function | 2018-02-07 | 1 | -32/+32 | |
| | | | | ok tb@ deraadt@ | ||||
* | eliminate close()/fclose() dance. | 2018-02-07 | 1 | -5/+15 | |
| | | | | ok tb@ deraadt@ | ||||
* | Use closefrom(3) instead of manually closing all file descriptors | 2018-01-24 | 1 | -3/+2 | |
| | | | | | | between 3 and 19. ok martijn, millert, jca | ||||
* | Use the monotonic clock for logging progress in cdio(1) and ftp(1). | 2017-12-23 | 1 | -14/+14 | |
| | | | | | | | Keeps the progress log from blipping or stalling if, e.g., the system time is changed in the midst of a rip or a transfer. ok tb@ jca@ | ||||
* | Initialize 'out' file descriptor to avoid possible | 2017-09-25 | 1 | -2/+2 | |
| | | | | | | | | uninitialized use. Spotted by clang during 'make release', triggered when both NOSSL and SMALL are defined. ok bluhm@ deraadt@ | ||||
* | Avoid a possible leak in progressmeter | 2017-09-05 | 1 | -2/+4 | |
| | | | | From Scott Cheloha, ok bluhm@ | ||||
* | Remove self assignment. | 2017-08-01 | 1 | -2/+1 | |
| | | | | ok deraadt@ | ||||
* | tls_close() can return TLS_WANT_POLLIN/TLS_WANT_POLLOUT, handle them | 2017-03-07 | 1 | -2/+4 | |
| | | | | | | appropriately. Ok jca@ | ||||
* | close ftp(1)'s output file to avoid leaking one FD per request. | 2017-03-02 | 1 | -1/+3 | |
| | | | | ok deraadt | ||||
* | Use a do{}while loop with ssize_t return value when calling tls_read() | 2017-02-28 | 1 | -12/+10 | |
| | | | | problem noted by and ok jsg@ | ||||
* | cetificate -> certificate; | 2017-01-25 | 1 | -3/+3 | |
| | |||||
* | Add -S noverifytime to ftp to permit an unvalidated TLS connection when | 2017-01-24 | 2 | -3/+10 | |
| | | | | you don't knwo what time it is | ||||
* | Nuke whitespace foolish enough to expose itself during the great | 2017-01-21 | 12 | -46/+46 | |
| | | | | "warning:" rectification. | ||||
* | Move a couple of variables that are unused in SMALL under #ifndef SMALL. | 2017-01-20 | 1 | -3/+6 | |
| | | | | ok deraadt@ | ||||
* | Straggling __dead. Mark usage() as __dead and make gcc happier. | 2017-01-20 | 2 | -4/+5 | |
| | |||||
* | #ifndef SMALL around a couple of non-SMALL labels. | 2017-01-20 | 2 | -2/+6 | |
| | | | | ok deraadt@ | ||||
* | HTTPS proxy support for ftp-ssl. | 2017-01-14 | 1 | -8/+6 | |
| | | | | | | The install media already allow for plaintext HTTP proxying. The code to support CONNECT is short enough. Reported/fix tested by rpe@, ok deraadt@ | ||||
* | Don't attempt to read .netrc when we already force anonymous FTP (-a). | 2017-01-11 | 1 | -2/+2 | |
| | | | | | | Patch from Anton Lindqvist via tech@, thanks! okay deraadt@ | ||||
* | Pledge more strictly. This is only enabled on the ramdisk version of the | 2017-01-10 | 1 | -8/+29 | |
| | | | | | | | | ftp(1) client, which operates only in URL mode. Not willing to spend the time tracking piles of global variables for sub-modes, and finding all the pledge interactions. Would rather have the install media ftp(1) as safe as possible, immediately. ok tb jca | ||||
* | -#endif /* !SMALL */ | 2017-01-07 | 1 | -2/+2 | |
| | | | | +#endif /* !NOSSL */ | ||||
* | Add a "-w connect_timeout" option in support of URL-fetching. This allows | 2017-01-03 | 4 | -10/+42 | |
| | | | | | | slow / failing connects to be identified. The install script needs this functionaly. ok jca rpe millert | ||||
* | Split -DSMALL into -DNOSSL, so that a SSL-enabled version of ftp can | 2016-12-28 | 5 | -72/+85 | |
| | | | | | be built, which is still pretty small (in distrib/special/ftp-ssl). Lots of testing by rpe. | ||||
* | Correctly handle tls_read()/tls_write(). | 2016-12-24 | 1 | -2/+7 | |
| | | | | | | | | | In one tls_read() case, we failed to check for WANT_{POLLIN,POLLOUT}, so fix that. In the same tls_read() case and the tls_write() case we fail to handle errors correctly, which means that error is not reported and can be lost by a futher libtls call. ok beck@ jca@ | ||||
* | missing full stop; | 2016-12-22 | 1 | -2/+2 | |
| | |||||
* | add muststaple option so that oscp stapling can be required for sites you | 2016-12-22 | 2 | -3/+10 | |
| | | | | | expect to provide it. ok jsing@ | ||||
* | Eliminate some gcc warnings about 'unused variables', mostly by | 2016-12-16 | 3 | -7/+13 | |
| | | | | | | adding appropriate #ifdef's around declarations. ok millert@ (with a tweak I will commit separately) | ||||
* | Avoid splitting the "Requesting %s" printf and its trailing newline. | 2016-12-08 | 1 | -8/+7 | |
| | | | | | Fixes a missing newline in one place and an extra one later on when both debug and verbose are set. | ||||
* | Avoid printf of a NULL pointer as a string in debug mode. | 2016-12-08 | 1 | -8/+8 | |
| | | | | OK deraadt@ | ||||
* | Check return value of tls_config_set_protocols(3) and bail out in case of | 2016-11-30 | 1 | -2/+5 | |
| | | | | | | failure Feedback and OK jsing@ | ||||
* | Bump ftp(1)'s cipher default from "all" to "legacy" - this really should | 2016-11-06 | 1 | -2/+2 | |
| | | | | | | be "compat", but that will require further testing. ok beck@ | ||||
* | Remove empty #ifdef and #ifndef blocks | 2016-09-27 | 1 | -3/+1 | |
| | | | | OK natano@ |