summaryrefslogtreecommitdiff
path: root/libexec/ftpd
AgeCommit message (Collapse)Author
2009-11-07NetBSD-ftpd 20091107:lukem
* 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
2009-07-13Rename internal getline() function to get_line() so it doesroy
conflict with the soon to be added getline(3) libc function.
2009-05-01Drop trailing whitespace.wiz
2009-05-01Simplify the example command used to extract a wu-ftpd compatible xferlog.lukem
2009-04-09Don't use .Xo/.Xc or .Oo/.Oc over .It lines to work around the macrojoerg
argument limit in ancient groff versions.
2009-03-18Fix 'vfork clobber' warning on vax.lukem
Problem noted by and fix confirmed by Olaf 'Rhialto' Seibert.
2009-03-15Declare all columns.joerg
2009-03-15Fix WARNS=4 issues (const & sign mismatches, etc)lukem
Ensure various ftpd.conf values can't exceed their underlying types.
2009-03-02bump version for remoteloghost & portability changeslukem
2009-03-02Use LLF (et al) instead of "%lld" (et al).lukem
2009-01-08PR/40339: Ed Ravin: make ftpd log both the hostname and numeric address.christos
2008-12-29fix for 64 bit time_t and dev_tchristos
2008-10-28Constify.lukem
Rework an expression to make it easier to conditionally compile.
2008-09-21Use passwd(5) instead of /etc/pwd.db as the name of the "password data base".lukem
2008-09-16Enhance -C to support an optional @host ('-C user[@host]'):lukem
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).
2008-09-16Support building with -DNO_INTERNAL_LSlukem
2008-09-13Don't split large commands into multiple commands; just fail on them.lukem
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>
2008-09-13Crank copyright dateslukem
2008-07-20Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2008-06-09Add missing RCSID.lukem
2008-06-09Don't use non-standard "u_<foo>" types.lukem
Strip trailing whitespace (as well as ':'s) off PAM password prompts. Improve some debug logging related to PAM.
2008-05-02Move TNF licenses to 2 clause formmartin
2008-04-30Convert TNF licenses to new 2 clause variantmartin
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-03-27Reorganize USE_PAM support so that the reply(331,) from USER islukem
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.
2008-03-09Switch from lockf() to (more portable) fcntl() lockinglukem
2008-01-30Explicitly note the unsupported requests from RFC 2228.lukem
Improvements from FreeBSD: * Document `ftp-chroot' from login.conf(5). * Document that SIZE is prevented for files > 10240 bytes via ASCII transfers.
2007-12-02filetypes -> file types.wiz
2007-07-23Rename cred_t to ftpd_cred_t; the former causes a nameclash on Solaris.lukem
2007-07-22Rename HAVE_SOCKADDR_SA_LEN to HAVE_STRUCT_SOCKADDR_SA_LEN.lukem
Use defined(HAVE_foo) instead of just testing HAVE_foo.
2007-06-10PR/36468: Andreas Wrede: ftpd(8) always logs hostnames. Add -n option to displaychristos
addresses.
2007-05-10Replace references from draft-ietf-ftpext-mlst-NN to RFC 3659.lukem
2007-04-13Expand documentation on numeric argument suffix parsing, and convertlukem
to IEC 60027-2 prefixes for 2^n multiples ("KiB" instead of "KB", etc.)
2007-01-20PR/35449: Shigeya Suzuki: ftpd does not register socket address into PAM +FIXchristos
2006-12-17fix volatile and initialization issues, from Anon Ymouschristos
2006-12-14Complete the move of string_to_flags() and flags_to_string() from thehe
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
2006-12-04allow compilation without SUPPORT_UTMPjdolecek
2006-09-26Fix -ULOGIN_CAP compile.lukem
2006-09-25Update to 20060923 for the following changes:lukem
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".
2006-09-23Apply patch from PR bin/33261 sent by FUKAOMI Naoki:xtraeme
"ftpd does not update wtmpx". Thanks.
2006-05-09change (mostly) int to socklen_t. GCC 4 doesn't like that int andmrg
socklen_t are different signness.
2006-03-23Remove more references to kerberosIV.wiz
2006-03-17Remove unreachable code (res could never be NULL here).peter
Fixes Coverity CID 712. Ok by lukem@.
2006-03-17Set file to NULL after calling fclose().peter
Fixes Coverity CID 2669. Ok by lukem@.
2006-03-17Make sure that "su" is initialized before dereferencing it.peter
Fixes Coverity CID 1075. Ok by lukem@.
2006-02-25Fix some typos.wiz
2006-02-01debug -> ftpd_debugchristos
xstrdup -> ftpd_strdup
2005-11-24NLST should return 450 instead of 550 upon error, per RFC 959.lukem
2005-10-03logxfer(): don't use the same buffer to store the results of two separatelukem
concurrent realpath(3)s, otherwise we'll log the wrong information for a rename. Noted by Dmitry Sivachenko in private mail.
2005-10-02Fix comment about DEFAULT_UMASK.lukem
Pointed out in private mail by Tetsuya Isaki and Dmitry Sivachenko.