| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
|
|
|
|
|
|
|
|
|
| |
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
|
|
|
|
| |
version ftpd_logwtmp().
|
| |
|
|
|
|
|
| |
PR: 4135
Based on submitted patch by: blank@fox.uni-trier.de
|
| |
|
| |
|
|
|
|
| |
definition of a system's virtual hosts.
|
|
|
|
| |
and allow chroot access to entire groups.
|
|
|
|
| |
anon ftp and chrooted users.
|
|
|
|
|
|
|
|
|
|
|
| |
modules from src/bin/ls, and handling exec(_PATH_LS,..) as a
special case, very useful in an environment where many users
are given chroot access. "~/etc/{s}pwd.db" files are still
needed if uid/gid->user/group translation is desired.
To enable this it must be compiled with the make variable
FTP_INTERNAL_LS defined, either in /etc/make.conf or the
environment.
|
| |
|
|
|
|
| |
posix standard on the topic.
|
|
|
|
|
|
| |
Closes PR# 3050.
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use MAP_FAILED instead of the constant -1 to indicate
failure (required by POSIX).
- Removed flag arguments of '0' (required by POSIX).
- Fixed code which expected an error return of 0.
- Fixed code which thought any address with the high bit set
was an error.
- Check for failure where no checks were present.
Discussed with: bde
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
|
|
|
| |
to change syslog's config file in order for all of
ftpd's log messages to be displayed by syslogd.
Closes PR# 1559.
|
|
|
|
| |
Reviewed by: pst
|
| |
|
|
|
|
| |
Cannidate for: 2.1 and 2.2
|
|
|
|
|
|
|
| |
password: ask for it, but don't tell that S/key password required.
It looks like non-s/key system from outside.
Additionally tell that s/key required when it is so for normal case
|
| |
|
|
|
|
|
|
|
| |
It happens if 1) regular passwords not allowed, 2) skey database
not activated for given user.
Under some rare circumstanes skey_challenge can return empty
diagnostic or even previous buffer, fix it.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Submitted by: archie@whistle.com
allow ftpd to bind to a single address/interface
this allows easy split services.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Document the new -R (relax paranoia) option.
From NetBSD/Lite2: code and man page cleanups, Kerberos IV hooks
(relax, we're still exportable), and /etc/ftpchroot feature for
semi-anonymous accounts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
or addresses other than the requestor's address. This violates the FTP
protocol (hmm...as I write this, I'm going to change this to a run-time var.)
Require login before PASV and RNTO commands.
Close unused PASV ports so they don't hang around forever.
Do not allow file overwrites via rename or STOR when anonymous
(suspenders).
Clean up buffer utilization.
My code, but heavily inspired by Hobbit's changes to wu-ftpd as pointed out
by Mike Prettejohn and Kit Knox.
|
|
|
|
| |
valid utmp and wtmp entries
|
| |
|
|
|
|
|
| |
compiled values. see sysctl net.inet.ip.portrange.* and the IP_PORTRANGE
discussion in <netinet/in.h>
|
| |
|
|
|
|
|
|
|
|
|
| |
accepting connections on the FTP port and forking children processes to
handling them. This is lower overhead than spawning ftpd from inetd and
can be a significant win on busy FTP servers. Be sure to disable ftpd in
inetd.conf if you decide to use this option.
These changes are based on similar changes I made to wu-ftpd and have
been in use on wcarchive for several months.
|
|
|
|
|
|
|
| |
not logged in. Original fix slightly altered by me to return the correct
reply code.
Submitted by: Vadim Kolontsov <vadim@tversu.ac.ru>
|
|
|
|
|
| |
I've left the old code in there under #ifdef OLD_SETPROCTITLE in case
somebody wants to try to compile out ftpd on some other machine.
|
|
|
|
|
|
| |
This gets rids of dozens of hanging ftpd's because some broken
pc implementation `forgets' to open a passive connection.
Obtained from: Wietse Venema
|
| |
|
|
|
|
|
|
|
| |
in a firewall environment. Original idea by Mark Tracy (?).
Reviewed by: wollman
Submitted by: pst
|
| |
|
| |
|
|
|
|
| |
directory /root.
|