summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
AgeCommit message (Collapse)Author
2005-11-13fseeko() and lseek() have different return values. cope with that ↵Theo de Raadt
correctly. spotted by dhill@mindcry.org
2005-10-30restart_point is of type off_t, so use it with fseeko() and cast itNikolay Sturm
to long long for printing this way we can reget partially downloaded files of more than 2GB on i386 noticed by Thilo Hannemann <hannemann at physnet.uni-hamburg.de> ok djm@
2005-10-12Fix mget directory traversal vulnerability. From NetBSD. CAN-2002-1345.Otto Moerbeek
ok millert@ deraadt@, prodding by david@
2005-09-21add ability to disable EPSV/EPRT from command-line.Federico G. Schwindt
from Thorsten Glaser via Matt Van Mater < matt dot vanmater at gmail dot com > with some minor mods. deraadt@ jmc@ ok
2005-08-05when i did the cleanup and switched to http 1.1, i forgot to add chunkedFederico G. Schwindt
support. while it's being tested switch to 1.0. noticed and tested by nick@.
2005-07-18some cleanup and on non-proxy operation switch to HTTP 1.1 since we'veFederico G. Schwindt
using some sort of it for a long time now; shrinks ~200 bytes. ok by millert@ and sturm@.
2005-07-11remove help if SMALL is defined. idea from NetBSD. should shrink a fewFederico G. Schwindt
bytes in the ramdisk. deraadt@ ok.
2005-07-06oops, $macro was documented, just not where i expected it; reword andJason McIntyre
make it a bit easier to find;
2005-07-06- now that `macdef' is nicely documented, tell people how to use itJason McIntyre
- replace `>' w/ groff char
2005-07-06improve the description of `macdef';Jason McIntyre
from netbsd -r1.110: patch from david h. gutteridge, pr #24296;
2005-04-21avoid infinite recursion on redirects; From NetBSD but limit set to 10.Federico G. Schwindt
deraadt@ ok.
2005-04-11knf; cloder okTheo de Raadt
2005-04-05a : in the path is not a port # indicator so don't take ones intoHenning Brauer
account after the first / behind the hostname, ok jaredy
2005-01-07oops - 2 more .Dq -> .Sq;Jason McIntyre
2005-01-07- distinguish between client (ftp) and protocol (FTP)Jason McIntyre
- uppercase http - use .Sq for single characters, rather than .Dq - adjust a list
2005-01-07`login'(n) -> `log in'(v);Jason McIntyre
2005-01-03use an example of nmap `outpattern' containing spaces that works;Jason McIntyre
2005-01-03a little cleanup in the nmap description;Jason McIntyre
2005-01-03need to escape lines starting w/ `...';Jason McIntyre
2005-01-02remove misleading "client host" string;Jason McIntyre
from matthias kilian pr# 4057;
2004-09-16type corrections and other delintingTheo de Raadt
2004-07-20ansi; khalek@linuxgamers.netTheo de Raadt
2004-07-09You can only use strlcpy() on real C strings, which lf->buffer is not.Todd C. Miller
Use memcpy() instead and NUL terminate.
2004-02-28Open a new connection for each URL given on the command line.Kenneth R Westerback
This eliminates problematic 'CWD /' commands that caused interactive commands and auto fetch commands to occaisonally end up in different directories, creating problems for the install scripts. Problematic 'CWD /' commands noticed by deraadt@. ok millert@.
2003-12-16for -DSMALL, do not include rcsid[]sTheo de Raadt
2003-11-20build statically, to ease disaster recovery in some situations.Ted Unangst
ok david@ grange@ henning@ ian@ jakob@ lebel@ markus@ and possibly a few others.
2003-11-20ftp.1:Jason McIntyre
- simpler macros - sort options - some updates - remove some old groff stuff main.c: sync usage()
2003-10-31New libedit api changes.Otto Moerbeek
Tested by djm@, mouring@, jmc@. ok deraadt@
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-08-15remove extra \n in {warn,err}{,x} callsTheo de Raadt
2003-08-11The empty() function basically effects a poll, so replace it withTodd C. Miller
real poll(). Gets rid of another static select(). OK deraadt@
2003-07-15.Ql Fl -> .Sq Fl where literal doesn't make sense;Jason McIntyre
2003-07-02protosTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-07Some NetBSD changes were committed to this file w/o updating theTodd C. Miller
copyright. I have gone through the cvs logs and added the appropriate NetBSD Foundation copyright corresponding to those changes.
2003-04-05string fixes; ok miod henningTheo de Raadt
2003-03-31Treat empty environment variables the same as NULL. henning@ OKTodd C. Miller
2003-03-31ascii -> ASCIIJason McIntyre
2003-03-18small typos;Jason McIntyre
ok miod@
2003-03-11getnameinfo buffer has to be NI_MAXHOSTJun-ichiro itojun Hagino
2003-03-11check error on getnameinfo failure.Jun-ichiro itojun Hagino
2003-03-10correct use of getnameinfo. PR 3138Jun-ichiro itojun Hagino
2003-02-17Fix double free; Brian PooleTodd C. Miller
2003-01-22line2 may overrun if line is too long (> 200). be more careful on strcpy.Jun-ichiro itojun Hagino
XXX strlen(argv[x]) should be checked before copies. netbsd 1.18 -> 1.19, requested by David Krause
2003-01-03be more aware of directory change failures; s@msmith.netTheo de Raadt
2002-12-30minor KNFTheo de Raadt
2002-12-19only do "Trying ..." if verboseTheo de Raadt
2002-11-08http redirect support; adapted from NetBSD.Federico G. Schwindt
2002-07-12malloc/strdup failure not handled; cloder@acm.orgTheo de Raadt
2002-07-04document port allocationJakob Schlyter