| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
really dislikes this, we could add a switch to disable it at runtime and
check in popen.c.
|
|
|
|
|
|
| |
more than once.
Pointed-out-by: sheldonh
|
|
|
|
| |
PR: docs/10771
|
|
|
|
|
|
|
|
|
|
| |
o main returns int not void
o use return 0 at end of main when needed
o use braces to avoid potentially ambiguous else
o don't default to type int (and also remove a useless register
modifier).
Reviewed by: obrien and chuckr
|
|
|
|
|
|
|
|
|
|
| |
friends are terminated and allow for a maximum
host name length of MAXHOSTNAMELEN - 1.
Put parenthesis around sizeof args.
Make some variables static.
Fix telnetd -u (broken by my last commit)
Prompted by: bde
|
|
|
|
|
|
| |
gethostbyaddr() & gethostbyname().
Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
|
|
|
|
|
|
| |
my check of the tree was incomplete. Sorry guys.
Reported by: Ben Smithurst <ben@scientia.demon.co.uk>
|
|
|
|
|
|
|
| |
net.inet.ip.portrange.hifirst and net.inet.ip.portrange.hilast
PR: docs/6745
Submitted by: Masachika Ishizuka <ishizuka@ish.org>
|
|
|
|
|
| |
of in "src/usr.bin/login". The latter instance is going away. As
soon as ftpd is PAMized, it won't need to use klogin.c at all.
|
|
|
|
|
|
| |
PR: bin/7943 bin/8293
Submitted by: Bill Fenner <fenner@parc.xerox.com>
Approved by: jkh
|
|
|
|
|
| |
PR: 8094
Submitted by: Christoph Weber-Fahr <wefa@callcenter.systemhaus.net>
|
|
|
|
| |
PR: 5676
|
|
|
|
| |
time() requires a time_t pointer, not a long.
|
|
|
|
|
| |
PR: 6682
Submitted by: Max Euston <meuston@jmrodgers.com>
|
|
|
|
|
|
|
|
| |
output for local users. FTP protocol RFC also says that 'ls' output is
not machine-readable. "always UTC" still possible with TZ= in ftpd
environment by price of having UTC in log files too.
Fix INTERNAL_LS to sense new /etc/localtime after chroot
|
| |
|
| |
|
|
|
|
| |
Fork already used for INTERNAL_LS in anycase
|
| |
|
|
|
|
|
|
|
|
|
| |
any case.
It makes no difference for anon account (since chroot already makes it GMT),
but if you do mirror with special non-anon login, in old variant
your mirror will be wholy retransmitted twice in the year due to
time zone changes (/etc/localtime plays bad role here)
|
| |
|
| |
|
|
|
|
|
| |
array would end up without the NULL pointer termination, causing the glob
code to glob whatever garbage happend to follow on the stack.
|
|
|
|
|
|
| |
Pointed-in-the-right-driection-by: Mike Smith and Steve Price
Close syslogging before calling ls_main()
|
| |
|
| |
|
|
|
|
|
| |
Minor style fix (strcpy(foo,"") -> *foo = '\0')
Obtained from: OpenBSD(?)
|
|
|
|
| |
Pointed out by: Jaye Mathisen <mrcpu@cdsnet.net>
|
| |
|
|
|
|
|
|
| |
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
|