| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
2) Use commonly used OPIE response form instead of self-made one
|
|
|
|
|
|
|
|
| |
don't instruct users to set the directory mode 777.
PR: 30690
Obtained from: NetBSD (with modification)
MFC after: 2 weeks
|
|
|
|
| |
what using snprintf() achieves. It was also being used incorrectly.
|
|
|
|
|
|
|
|
|
|
| |
in the SYNOPSIS and DESCRIPTION.
Note that -l remains an ugly exception, to which no known rules apply,
since the specification of a single option multiple times isn't normal
standards-compliant CLI behaviour.
While here, mark AF_INET* and LOG_* defined values up with Dv.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-O, which limits the impact of the write-only restriction to guest
users.
*) The existing manual page's SYNOPSIS and option listing in the
DESCRIPTION are already horribly disordered. No attempt has been
made to fix this.
*) The existing source's getopt() optstring and option handling switch
are already horribly disordered. No attempt has been made to fix
this.
Discussed with: nik, -audit
|
|
|
|
|
|
|
|
|
|
|
| |
long -> time_t
%ld -> %qd
fseek -> fseeko
NOTE: that fseek not works for >long offsets per POSIX:
[EOVERFLOW] For fseek( ), the resulting file offset would be a value which
cannot be represented correctly in an object of type long.
|
|
|
|
|
|
|
|
|
| |
preventing anyone from downloading files. In conjunction with -A, and some
appropriate file permissions, this lets you create an anonymous FTP drop
box for people to upload files to.
The more obvious "-w" flag is already taken by NetBSD's ftpd. "-o" was
available as an option letter in all three BSDs.
|
|
|
|
|
|
|
|
|
|
| |
with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with
errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc'
patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to
maintain backwards compatibility.
Reviewed by: sheldonh, assar
Obtained from: NetBSD/OpenBSD
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
with the conversation function and challenges which needs to be
revisited, so in the interim a hack is introduced to provide
an OPIE challenge (which is random if OPIE does not apply)
at all non-anonymnous logins.
|
|
|
|
| |
the latter is not required for ftpd to compile.
|
|
|
|
| |
wanting static apps).
|
| |
|
|
|
|
| |
Asked for by: BDE
|
|
|
|
|
| |
in conflict with library values of the same name. This allows static
linking.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Limit the "pathname" glob to one item, as that is what all users of it
are expecting, except for LIST.
Always glob, instead of when the first character is a ~. For example,
if you had directories ~/x1, and ~/x2, then "cwd x[1]" would fail, but
"cwd ~/x[1]" would work since it was globbed due to the ~ character.
Also, "cwd ~/x[12]" used to arbitarily work as it used the first
expansion (ie: x1) without an error. Make it return '550 ambiguous'
instead of '550 not found' so that the user can see the difference.
For LIST, just use the user supplied string as the popen does the glob.
Problem noticed by: Ajay Mittal <amittal@iprg.nokia.com>
|
|
|
|
| |
using tilde expansion.
|
| |
|
|
|
|
| |
Obtained from: logdaemon package by Wietse Venema
|
|
|
|
|
|
|
|
|
| |
This allows you to determine if the file on the other side is the same
as the one you have without transferring the entire file to compare.
Needless to say, if the server end lies to you this check doesn't work,
but on the other hand, if it lies to you about the files checksum,
what can you trust from it ?
|
|
|
|
|
|
|
| |
The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux
package's PAM patches to the BSD login.c
Submitted by: "David J. MacKenzie" <djm@web.us.uu.net>
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
| |
|
|
|
|
|
|
| |
of the transferred byte count. MFC candidate.
PR: bin/25699
|
| |
|
|
|
|
|
|
| |
TYPE, STRU, MODE, ALLO, STAT, ABOR, SITE IDLE, SYST, REST
Reviewed by: kris, sheldon
|
| |
|
| |
|
|
|
|
|
| |
PR: 23591
Submitted by: mavetju@chello.nl
|
|
|
|
|
|
|
|
|
| |
into confusion.
Add option -r to make ftpd support only read-only operations.
Submitted by: Flemming (F3) Jacobsen <fj@batmule.dk>
Reviewed by: phk
|
|
|
|
|
|
|
| |
files. Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive. Some were
misspellings of "-I${.CURDIR}" as "-I.".
|
|
|
|
| |
include files in subdirs of it.
|
|
|
|
|
|
| |
via 'QUOTE CWD'.
Reviewed by: des
|
| |
|
| |
|
|
|
|
| |
were broken because the code failed to set PAM_RHOST.
|
|
|
|
| |
<time.h>).
|
| |
|
|
|
|
|
|
|
| |
instead.
PR: 20675
Submitted by: Vladimir B Grebenschikov <vova@express.ru>
|
|
|
|
| |
standalone -D mode when neither -4 nor -6 is specified.
|
|
|
|
|
|
|
|
|
|
|
|
| |
has set pwok to a non-zero value.
Previously, the fact that skey.access(5) allowed UNIX passwords for
this connection attempt was ignored, even in the NOPAM case.
This only addresses the NOPAM case; when libpam is used, the problem
will persist.
PR: 20333
|
| |
|
|
|
|
|
| |
PR: 16934
Submitted by: Kurt Zeilenga <kurt@OpenLDAP.org>
|
|
|
|
|
|
|
| |
duplicated host entries in /etc/ftphosts not to be folded. Make sure
we exit the loop on a match.
PR: bin/19390
|
| |
|