History log of /freebsd/libexec/ftpd/ftpd.c (Results 151 – 175 of 477)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 12da320b 17-Jul-2002 Mike Heffner <mikeh@FreeBSD.org>

GLOB_QUOTE has been retired.


# 5f76ebf3 16-Jul-2002 Yaroslav Tykhiy <ytykhiy@gmail.com>

Use the right indent for the closing brace: it belongs to `if',
not to `for'. The previous indent was reather misleading for
the code reader.

MFC after: 1 week


# 55b54aa7 16-Jul-2002 Yaroslav Tykhiy <ytykhiy@gmail.com>

Replace the awkward hackery about strtok(3)
by conventional one-way parsing of ftphosts(5).
Don't let NULL hostname pointers into virtual
host records as well.

PR: bin/18410
MFC after: 1 month


# 737d08f3 12-Jul-2002 Yaroslav Tykhiy <ytykhiy@gmail.com>

Use fgetln(3) to read lines from configuration files (ftpusers, ftphosts.)
Thus lines of any length can be handled, unlike before.

Don't assume that each line read from the files ends with a newline

Use fgetln(3) to read lines from configuration files (ftpusers, ftphosts.)
Thus lines of any length can be handled, unlike before.

Don't assume that each line read from the files ends with a newline.

As a side effect in inithosts(), don't use automatic buffer at all,
utilize malloc(3) when getting local host name instead.

PR: misc/21494
Reviewed by: maxim, mikeh
MFC after: 1 month

show more ...


Revision tags: release/4.6.0_cvs
# 0849c184 03-Jul-2002 Dan Moschuk <dan@FreeBSD.org>

Make sure to reset transflag back to zero upon succesfully using sendfile()
to transfer a file.

PR: 39362
Submitted by: TANAKA Hiroyuki <kattyo@abk.nu>
MFC after: 1 week


# b0f06def 02-Jul-2002 Hajimu UMEMOTO <ume@FreeBSD.org>

Cope with 2292bis-01 getaddrinfo (no NI_WITHSCOPEID, always attach
scope identifier).

MFC after: 3 weeks


# 3ded9dcd 01-Jul-2002 Maxim Konovalov <maxim@FreeBSD.org>

Remove trailing whitespaces.


# 3af48c42 01-Jul-2002 Maxim Konovalov <maxim@FreeBSD.org>

Move 'byte_count' calculation just before 'recvurg' check. It is a global
variable and used in myoob().

PR: bin/38928
Submitted by: Oliver Fromme <olli@secnetix.de>
MFC after: 1 month


# d186bb12 01-Jul-2002 Matthew N. Dodd <mdodd@FreeBSD.org>

Implement a flag to disable directory creation for anonymous users.

PR: misc/38987
Submitted by: Peter da Silva <peter@abbnm.com>
MFC after: 1 week


# 3613e24c 28-May-2002 Alfred Perlstein <alfred@FreeBSD.org>

Assume __STDC__, remove non-__STDC__ code.


# 60769b19 25-Feb-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Rewrite the part of the conversation function that allocates the reply array;
it was inelegant and neglected to check the return value from malloc(3).

Sponsored by: DARPA, NAI Labs


# 492f1d9c 13-Feb-2002 Maxim Konovalov <maxim@FreeBSD.org>

Fix infinite loop around sendfile(2) after sending >4GB file.

PR: bin/33770
Submitted by: Vladislav Shabanov <vs@rambler-co.ru>
Reviewed by: ru
Approved by: ru
MFC after: 1 month


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# e4bc453c 03-Feb-2002 Warner Losh <imp@FreeBSD.org>

o Eliminate __P
o Use new-style function definitions
o remove some !__STDC__ code
o eliminate register


# 4b82fc95 28-Jan-2002 Yaroslav Tykhiy <ytykhiy@gmail.com>

Remove the setjmp/longjmp stuff completely. Use signal
handlers to set flags only (with exception for sigquit(),
which still seems to call some non-reentrant functions on
its way to _exit(2).) That

Remove the setjmp/longjmp stuff completely. Use signal
handlers to set flags only (with exception for sigquit(),
which still seems to call some non-reentrant functions on
its way to _exit(2).) That must eliminate the possibility
of catching SIGSEGV from following non-reentrant paths from
signal handlers.

PR: bin/32740 bin/33846
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
Obtained from: OpenBSD

show more ...


# 46948173 28-Jan-2002 Hajimu UMEMOTO <ume@FreeBSD.org>

Log wtmp according to an address family properly.

Reported by: matusita
Reviewed by: matusita
MFC after: 1 week


# f650a124 21-Jan-2002 Andrey A. Chernov <ache@FreeBSD.org>

Remove my workaround fallback since PAM now do it properly.


# 819a1420 19-Jan-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Really back out ache's commits. These files are now precisely as they were
twentyfour hours ago, except for RCS ids.


# 07977587 19-Jan-2002 Andrey A. Chernov <ache@FreeBSD.org>

Back out PAM_CRED_ERR addition


# 3e4f7c7f 19-Jan-2002 Andrey A. Chernov <ache@FreeBSD.org>

Add PAM_CRED_ERR as valid failure case


# c0cbe6a9 19-Jan-2002 Andrey A. Chernov <ache@FreeBSD.org>

Call opieunlock() only if we skip opieverify() part


# 50356ef3 19-Jan-2002 Andrey A. Chernov <ache@FreeBSD.org>

Remove conditional 'pwok' fallback for PAM which now
is implemented in pam_opie module

For non-PAM variant rewrite empty password checking code to do the right thing
and not disallow empty passwords

Remove conditional 'pwok' fallback for PAM which now
is implemented in pam_opie module

For non-PAM variant rewrite empty password checking code to do the right thing
and not disallow empty passwords in all cases.

show more ...


# 47499ecd 01-Jan-2002 Andrey A. Chernov <ache@FreeBSD.org>

Fix OPIE auth


# 4cd48bac 19-Nov-2001 Yaroslav Tykhiy <ytykhiy@gmail.com>

Eliminate another instance of the old and well-known
DoS bug that the select(2)/accept(2) pair is called on
a socket that is in the blocking I/O mode. The bug is
triggered if a selected connection d

Eliminate another instance of the old and well-known
DoS bug that the select(2)/accept(2) pair is called on
a socket that is in the blocking I/O mode. The bug is
triggered if a selected connection dies before the accept(2)
leading to the accept(2) blocking virtually forever.

MFC after: 1 week

show more ...


# 7a29d7da 12-Oct-2001 Yaroslav Tykhiy <ytykhiy@gmail.com>

Don't let a user name in ftpd's proctitle
be mistaken for a status message.

PR: misc/25217
MFC after: 7 days


# 11342ab1 12-Oct-2001 Yaroslav Tykhiy <ytykhiy@gmail.com>

Be consistent about indent at least within one block of code.


12345678910>>...20