| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
constant). These are not security holes but it is worth fixing
them anyway both for robustness and so folks looking for examples
in the tree are not misled into doing something potentially dangerous.
Furthermore, it is a bad idea to assume that pathnames will not
include '%' in them and that error routines don't return strings
with '%' in them (especially in light of the possibility of locales).
|
|
|
|
| |
if epsv4 is disabled. problem reported by price@netdoor.com on misc.
|
|
|
|
|
|
|
| |
automagicaslly disable epsv on ipv4, if epsv fails for single connection.
merge from netbsd-current.
req from fgs.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
o getopt string is wrong in main(); (missing : after P)
o use of vprintf(...) instead of vfprintf(ttyout,...) in ftp.c::command()
o missing \n in fputs in cmds.c::status()
o should use strtol() instead of atol()
o sometimes use 'NULL' instead of 'NUL' (in comments)
|
| |
|
| |
|
|
|
|
|
| |
before use. Hopefully, this is the last of the
PR# 406 stuff that this will need.
|
|
|
|
|
| |
The user can specify active only with the -A flag, or use the
new FTPMODE envariable.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bugs fixed:
* don't interpret '-' or '|' when a local filename is determined from
the remote name (i.e, in mget, and in get with only one argument).
This is implemented using an extra argument to recvrequest().
Fixes a major security hole.
* clean up memory leak when using globulize()
* clean up a couple of comments
* fix wording in TNF copyright
features added:
* support for TIS fwtk gate-ftp servers:
* read defaults from $FTPSERVER && $FTPSERVERPORT
* start in gate-ftp mode if invoked as 'gate-ftp'
* toggle or set with 'gate [host [port]]'
Other changes:
* use symbolic flags in access(2)
* Use USHRT_MAX, not 0xffff
|
| |
|
|
|
|
| |
More -W* cleanup and in_port_t usage by me.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* differentiate between being connected, and being logged in
* cleanup some text messages
* support username & password ftp URLs (ftp://user:pass@host/) in non-proxy
situations; assume proxy supports it for proxy situations.
* cd to / before performing any autofetch transfers
|
|
|
|
|
| |
Always compile complete.c but ifdef out the bits if -DSMALL (christos)
reset interactive mode correctly in auto_fetch() mget mode (lukem)
|
| |
|
| |
|
|
|
|
| |
and setting times.
|
|
|
|
|
|
|
|
| |
what signal(3)'s prototype says (and cast when not).
Also change MAXFOO+1 -> MAXFOO since MAXFOO includes the NULL.
Support $TMPDIR and use utime(3) not utimes(2) for portability's sake.
Don't spew "Passive mode enabled/disabled" unless verbose (this means
togglevar() needs to watch for a NULL 'message').
|
|
|
|
| |
I'm anal. Closer to KNF now.
|
| |
|
|
|
|
| |
requires it to at least look sensible.
|
| |
|
| |
|
|
|
|
| |
dunno how to do optional argument.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
add support for -p portnum
might need todo: -N for silence, better exit status for failures
|
|
|