config.h.in
上传用户:zibowangxu
上传日期:2007-01-04
资源大小:331k
文件大小:8k
- /****************************************************************************
-
- Copyright (c) 1999 WU-FTPD Development Group.
- All rights reserved.
-
- Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994
- The Regents of the University of California.
- Portions Copyright (c) 1993, 1994 Washington University in Saint Louis.
- Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc.
- Portions Copyright (c) 1989 Massachusetts Institute of Technology.
- Portions Copyright (c) 1998 Sendmail, Inc.
- Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman.
- Portions Copyright (c) 1997 by Stan Barber.
- Portions Copyright (c) 1997 by Kent Landfield.
- Portions Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997
- Free Software Foundation, Inc.
-
- Use and distribution of this software and its source code are governed
- by the terms and conditions of the WU-FTPD Software License ("LICENSE").
-
- If you did not receive a copy of the license, it may be obtained online
- at http://www.wu-ftpd.org/license.html.
-
- $Id: config.h.in,v 1.13 1999/09/18 14:26:10 wuftpd Exp $
-
- ****************************************************************************/
- /*
- * Top level config file... These values will be adjusted by autoconf.
- * $Id: config.h.in,v 1.13 1999/09/18 14:26:10 wuftpd Exp $
- */
- /*
- * allow "upload" keyword in ftpaccess
- */
- #undef UPLOAD
- /*
- * allow "overwrite" keyword in ftpaccess.
- */
- #undef OVERWRITE
- /*
- * allow "allow/deny" for individual users.
- */
- #undef HOST_ACCESS
- /*
- * log failed login attempts
- */
- #undef LOG_FAILED
- /*
- * log login attempts that fail because of class connection
- * limits. Busy servers may want to prevent this logging
- * since it can fill up the log file and put a high load on
- * syslog.
- */
- #undef LOG_TOOMANY
- /*
- * allow use of private file. (for site group and site gpass)
- * NO_PRIVATE
- * Define this if you don't want to use the private authentication databases.
- */
- #undef NO_PRIVATE
- /*
- * Try once more on failed DNS lookups (to allow far away connections
- * which might resolve slowly)
- */
- #undef DNS_TRYAGAIN
- /*
- * ANON_ONLY
- * Permit only anonymous logins... disables all other type
- * See FIXES-2.4-HOBBIT for more information on this option.
- */
- #undef ANON_ONLY
- /*
- * PARANOID
- * Disable "questionable" functions
- * See FIXES-2.4-HOBBIT for more information on this option.
- */
- #undef PARANOID
- /*
- * SKEY
- * Add SKEY support -- REQUIRES SKEY libraries
- * See FIXES-2.4-HOBBIT for more information on this option.
- */
- #undef SKEY
- /*
- * OPIE
- * One-time Passwords In Everything (OPIE)
- * Add OPIE support -- REQUIRES OPIE libraries
- */
- #if !defined (LINUX) /* Linux autodetects OPIE */
- #undef OPIE
- #endif
- /*
- * ALTERNATE_CD
- * Causes "cd ~" to return the chroot-relative directory instead of the
- * real directory.
- */
- #undef ALTERNATE_CD
- /*
- * UNRESTRICTED_CHMOD
- * If defined, any valid value for the mode will be accepted.
- * Otherwise, only values between 0 and 777 are accepted.
- */
- #undef UNRESTRICTED_CHMOD
- /*
- * USE_RFC931
- * Define this if you want to use RFC 931 'authentication' - this improves
- * the logging at the cost of a possible slight delay in connection.
- */
- #undef USE_RFC931
- /*
- * BUFFER_SIZE
- * You can specify the buffer size for binary transfers; the defaults
- * are often far too small for efficiency.
- */
- #undef BUFFER_SIZE
- /*
- * If you want to specify the syslog facility, you should modify CFLAGS in
- * the appropriate src/makefile/Makefile.*.
- */
- /* If you want to set the paths where the configuration files, pids and logs
- * are stored, you should inspect src/pathnames.h and modify the appropriate
- * src/config/config.*.
- */
- /*
- * DAEMON
- * If ftpd called with -D then run as a standalone daemon listing on the
- * ftp port. This can speed up ftpd response as all ftpd then needs to
- * do is fork off a copy to handle an incoming request. Under inetd
- * a new copy has to be opened and exec'd.
- */
- #undef DAEMON
- /*
- * MAX_BACKLOG
- * Only used in DAEMON mode.
- * This is second parameter to listen. It defines the number of incoming
- * processes to allow to backlog, prior to being accept() processing them,
- * before rejecting.
- */
- #undef MAX_BACKLOG
- /*
- * MAPPING_CHDIR
- * Keep track of the path the user has chdir'd into and respond with
- * that to pwd commands. This is to avoid having the absolue disk
- * path returned. This helps avoid returning dirs like '.1/fred'
- * when lots of disks make up the ftp area.
- */
- #undef MAPPING_CHDIR
- /*
- * THROUGHPUT
- * Keep track of total throughput for the user and limit if required.
- */
- #undef THROUGHPUT
- /*
- * TRANSFER_COUNT
- * Keep track of total bytes for statistics.
- */
- #undef TRANSFER_COUNT
- /*
- * TRANSFER_LIMIT
- * Limit file and bytes transferred in a session.
- */
- #undef TRANSFER_LIMIT
- /*
- * NO_SUCKING_NEWLINES
- * Don't suppress some extra blank lines on messages and banners.
- */
- #undef NO_SUCKING_NEWLINES
- /*
- * HELP_CRACKERS
- * Define this to help crackers break into your system by letting them
- * figure out which user names exist to guess passwords on.
- */
- #undef HELP_CRACKERS
- /*
- * VERBOSE_ERROR_LOGING
- * Log all problems with USER and PASS as well as all rejected commands
- * and denied uploads/downloads.
- */
- #undef VERBOSE_ERROR_LOGING
- /*
- * IGNORE_NOOP
- * Undefine this to let NOOP reset the idle timeout.
- */
- #undef IGNORE_NOOP
- /*
- * XFERLOG_REALPATH
- * Define this to log the real path rather than the chroot-relative path for
- * files named in the xferlog.
- */
- #undef XFERLOG_REALPATH
- /*
- * CLOSED_VIRTUAL_SERVER
- * Undefine this to allow real and non-owner guests to log in on a virutal server's address.
- */
- #undef CLOSED_VIRTUAL_SERVER
- /*
- * NO_DNS
- * Define this to skip DNS lookups. If the remote host name is needed, the
- * daemon uses the IP numbers instead. 'deny !nameserved' will always be
- * true (denying access) if this patch is enabled.
- *
- * This option is intended soley for very busy FTP sites where the added
- * security of DNS lookups is overshadowed by the speed and resource penalties.
- *
- * Disabling DNS lookups removes all protections against spoofing, making
- * remote user authentication virtually useless. This option should only be
- * used on anonymous FTP servers.
- *
- * If you're not *absolutely sure* you need this, don't enable it.
- */
- #undef NO_DNS
- /*
- * Some people don't like PASV and want to disable it. Whatever.
- * PORT can be abused to attack other hosts. Let's give the option to
- * disable one or the other. We'll ignore DISABLE_PASV if you defined
- * DISABLE_PORT (hey, you gotta have at least one!).
- */
- #undef DISABLE_PORT
- #undef DISABLE_PASV
- /*
- * Define this to suppress messages about PID locks causing the daemon to
- * sleep. This should only be needed at busy sites.
- */
- #undef NO_PID_SLEEP_MSGS
- /*
- * Define this to require the remove end of a PASV connection to have the
- * same IP as the control connection. This limits, but does not eliminate,
- * the risk of PASV port race stealing the connection. It also is non-RFC
- * compliant, so it may cause problems for some client sites.
- */
- #undef FIGHT_PASV_PORT_RACE
- /*
- * Define this to completely disable anonymous FTP access.
- */
- #undef NO_ANONYMOUS_ACCESS
- /*
- * Define this to have an ls command compiled into the daemon. That way you
- * don't need to put statically linked ls's into every chroot directory.
- */
- #undef INTERNAL_LS
- /*
- * Define this if you want the internal ls to display UIDs/GIDs rather than
- * user/group names. This is faster, but doesn't look as nice.
- */
- #undef LS_NUMERIC_UIDS
- /*
- * Define this if you want to hide setuid bits in the internal ls
- * this might be a good idea for security.
- */
- #undef HIDE_SETUID
- /*
- * Undefine this if you don't want the enhanced DNS (resolver) features;
- * or if you cannot find libresolv on your system.
- */
- #undef HAVE_LIBRESOLV
- /*
- * Define this if you want to support virtual servers
- */
- #undef VIRTUAL
- /*
- * Define this if you want to be able to receive mail on anonymous
- * uploads
- */
- #undef MAIL_ADMIN
- /*
- * Config files in /etc by default
- */
- #undef USE_ETC
- /*
- * Define this to support quota mechanisms...
- */
- #undef QUOTA