summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/ftp.c
AgeCommit message (Expand)Author
2001-12-26update copyrightslukem
2001-12-23Add -4 to force IPv4 and -6 to force IPv6 address usage.lukem
2001-12-20Large file ASCII mode support by using fseeko() instead of fseek().lukem
2001-02-19minor knflukem
2000-11-27fix INET6-less build (like x_ftp). PR11578itojun
2000-11-24cope with 2553bis getnameinfo (always attach scope id)itojun
2000-11-15use NI_MAXHOST with getnameinfo. we can assume presense of getnameinfo.itojun
2000-10-11More format string cleanup by sommerfeld.is
2000-09-28explicitly use SOCK_STREAM with socket() instead of res->ai_socktype,lukem
2000-08-06* implement parseport(), which takes a string and attempts to convertlukem
2000-08-01- rename NO_QUAD to NO_LONG_LONG, QUAD* -> LL* and add ULL* (unsigned)lukem
2000-07-31- we can't just rename BSD4_4 -> HAVE_SIN_LEN, since bsd systems define BSD4_4;lukem
2000-07-30* always set (struct sockinet).su_len after getsockname() et al, solukem
2000-07-30* always use getaddrinfo() and getnameinfo() instead of maintaining two codelukem
2000-07-30clean up NO_QUAD support: create helper #defines and use as appropriate:lukem
2000-07-18add support for FEAT and OPTS commands with `features' and `opts'.lukem
2000-07-07errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsditojun
2000-06-11from itojun: better fix for previous (doesn't need in_addr_t or u_int32_t)lukem
2000-06-11portability fixes for lukemftp:lukem
2000-06-05- fix ai_unmapped() to be a no-op in the !def INET6 caselukem
2000-05-30more comment on IPv4 mapped address handling.itojun
2000-05-29convert IPv4 mapped address (::ffff:10.1.1.1) into real IPv4 addressitojun
2000-05-01convert to ANSI KNFlukem
2000-05-01* Add support for `fget localfile', which reads a list of filenames tolukem
2000-03-14inhibit too-noisy message for scoped address data transferitojun
2000-02-28only use IPTOS_ setsockopt()s if they're defined (e.g, SunOS doesn't).lukem
2000-02-14only use getaddrinfo() et al if both NI_NUMERICHOST *and* INET6 are defined...lukem
2000-01-31define private type `sigfunc' aslukem
1999-12-11separate out the main `data pump' loop into two: one that supportslukem
1999-11-26* complete_remote(): use remglob("", ...) instead of remglob(".", ...),lukem
1999-11-11whitespace nitslukem
1999-11-03hookup(): when using getservbyname() (when getaddrinfo() isn't available), iflukem
1999-10-24new features:lukem
1999-10-12a few user interface and cosmetic tweaks:lukem
1999-10-10use sigjmp_buf for sigsetjmp(), instead of jmp_buf.lukem
1999-10-09allow a second SIGINT during the "xfer aborted. waiting for remote to finish ...lukem
1999-10-09* use sigsetjmp()/siglongjump() instead of setjmp()/longjmp(); the latterlukem
1999-10-05* set SIGQUIT to psummary in each of the xfer routines. (editline seems tolukem
1999-10-05the prior change was a bit too aggressive in factoring out common code inlukem
1999-10-05* factor out SIGINFO setting into a handler that is always active (but onlylukem
1999-10-05add TNFi copyright to all files i've done more than a minor amount of work to...lukem
1999-10-05enhancments from Marc Horowitz <marc@mit.edu> to improve connection timeouts:lukem
1999-10-01restart_point is a global; no need for it herelukem
1999-10-01If EPSV or EPRT fails, disable epsv4 for the rest of the current connection.lukem
1999-10-01prefix the global variables in ftp_var.h with GLOBAL, which defaultslukem
1999-09-30* In the !NI_NUMERICHOST case (i.e, getaddrinfo() challenged systems), portnumlukem
1999-09-30in empty(), FD_ZERO(&rmask) not (&cin). (hi christos! :)lukem
1999-09-29* consistentnly use memset(a,0,c); there were some cases of memset(a,'\0',c)lukem
1999-09-28remove debugging cruftlukem
1999-09-28* add new commands:lukem