| Age | Commit message (Collapse) | Author |
|
* Fix WARNS=4 issues (const & sign mismatches, etc)
* Ensure various ftpd.conf values can't exceed their underlying types.
* Fix for 64 bit time_t and dev_t
* Rename internal getline() function to get_line() so it does
conflict with the getline(3) libc function.
* Log both the hostname and numeric address.
* Improve man page mdoc formatting
|
|
conflict with the soon to be added getline(3) libc function.
|
|
|
|
|
|
argument limit in ancient groff versions.
|
|
Problem noted by and fix confirmed by Olaf 'Rhialto' Seibert.
|
|
|
|
Ensure various ftpd.conf values can't exceed their underlying types.
|
|
|
|
|
|
|
|
|
|
Rework an expression to make it easier to conditionally compile.
|
|
|
|
checks whether user as connecting from host would be granted
access by ftpusers(5).
Support IPv6 in the host directive of ftpusers(5).
(May resolve PR 26555)
Both features from Rudolf Cejka <cejkar@fit.vutbr.cz>
(FreeBSD's tnftpd port maintainer).
|
|
|
|
This prevents CSRF-like attacks, when a web browser is used to access
an ftp server.
Reported by Maksymilian Arciemowicz <cxib@securityreason.com>.
Fix mostly derived from OpenBSD, written by Moritz Jodeit <moritz@OpenBSD.org>
|
|
|
|
|
|
|
|
Strip trailing whitespace (as well as ':'s) off PAM password prompts.
Improve some debug logging related to PAM.
|
|
|
|
|
|
|
|
performed by the pam_conv (PAM conversation) callback, which then
getline()s the PASS reply internally. This involves calling
auth_pam() from user() and caching the result to use later in pass().
This allows the PAM modules to present a different password prompt
dialog if necesary. For example:
Name (localhost:lukem):
331 User lukem accepted, provide password [ otp-md4 89 xxxx12345 ].
versus
Name (localhost:lukem): root
331 User root accepted, provide password.
This is independent of (and effectively exclusive to) USE_SKEY support.
Previously ftpd with USE_SKEY=yes would provide the skey prompt
if the user had an skey configured, even if /etc/pam.d/ftpd didn't
have pam_skey in use.
I.e., ftpd shouldn't need special support for custom password prompts
(such as skey) if PAM is in use.
|
|
|
|
Improvements from FreeBSD:
* Document `ftp-chroot' from login.conf(5).
* Document that SIZE is prevented for files > 10240 bytes via ASCII transfers.
|
|
|
|
|
|
Use defined(HAVE_foo) instead of just testing HAVE_foo.
|
|
addresses.
|
|
|
|
to IEC 60027-2 prefixes for 2^n multiples ("KiB" instead of "KB", etc.)
|
|
|
|
|
|
bin/ls sources to libutil:
o Bump libutil minor version number
o Fix uses to include <util.h> to pick up the function definitions
o Fix most uses of flags_to_string() to release the now-malloc()ed result
|
|
|
|
|
|
20060201
debug -> ftpd_debug
xstrdup -> ftpd_strdup
20060317
* Make sure that "su" is initialized before dereferencing it.
Fixes Coverity CID 1075.
* Set file to NULL after calling fclose().
Fixes Coverity CID 2669.
* Remove unreachable code (res could never be NULL here).
Fixes Coverity CID 712.
20060509
change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
20060923
Apply patch from PR bin/33261 sent by FUKAOMI Naoki:
"ftpd does not update wtmpx".
|
|
"ftpd does not update wtmpx".
Thanks.
|
|
socklen_t are different signness.
|
|
|
|
Fixes Coverity CID 712.
Ok by lukem@.
|
|
Fixes Coverity CID 2669.
Ok by lukem@.
|
|
Fixes Coverity CID 1075.
Ok by lukem@.
|
|
|
|
xstrdup -> ftpd_strdup
|
|
|
|
concurrent realpath(3)s, otherwise we'll log the wrong information
for a rename.
Noted by Dmitry Sivachenko in private mail.
|
|
Pointed out in private mail by Tetsuya Isaki and Dmitry Sivachenko.
|