4 /* Configurable preferences */
6 extern int tunable_anonymous_enable
; /* Allow anon logins */
7 extern int tunable_local_enable
; /* Allow local logins */
8 extern int tunable_pasv_enable
; /* Allow PASV */
9 extern int tunable_port_enable
; /* Allow PORT */
10 extern int tunable_chroot_local_user
; /* Restrict local to home dir */
11 extern int tunable_write_enable
; /* Global enable writes */
12 extern int tunable_anon_upload_enable
; /* Enable STOR for anon users */
13 extern int tunable_anon_mkdir_write_enable
; /* MKD for anon */
14 extern int tunable_anon_other_write_enable
; /* APPE DELE RMD RNFR for anon */
15 extern int tunable_chown_uploads
; /* chown() anon uploaded files */
16 extern int tunable_connect_from_port_20
; /* PORT connects from port 20 */
17 extern int tunable_xferlog_enable
; /* Log transfers to a file */
18 extern int tunable_dirmessage_enable
; /* Look for + output .message */
19 extern int tunable_anon_world_readable_only
; /* Only serve world readable */
20 extern int tunable_async_abor_enable
; /* Enable async ABOR requests */
21 extern int tunable_ascii_upload_enable
; /* Permit ASCII upload */
22 extern int tunable_ascii_download_enable
; /* Permit ASCII download */
23 extern int tunable_one_process_model
; /* Go faster stripes ;-) */
24 extern int tunable_xferlog_std_format
; /* Log details like wu-ftpd */
25 extern int tunable_pasv_promiscuous
; /* Allow any PASV connect IP */
26 extern int tunable_deny_email_enable
; /* Ban a list of anon e-mails */
27 extern int tunable_chroot_list_enable
; /* chroot() based on list file */
28 extern int tunable_setproctitle_enable
; /* Try to use setproctitle() */
29 extern int tunable_text_userdb_names
; /* For "ls", lookup text names */
30 extern int tunable_ls_recurse_enable
; /* Allow ls -R */
31 extern int tunable_log_ftp_protocol
; /* Log FTP requests/responses */
32 extern int tunable_guest_enable
; /* Remap guest users */
33 extern int tunable_userlist_enable
; /* Explicit user allow or deny */
34 extern int tunable_userlist_deny
; /* Is user list allow or deny? */
35 extern int tunable_use_localtime
; /* Use local time or GMT? */
36 extern int tunable_check_shell
; /* Use /etc/shells for non-PAM */
37 extern int tunable_hide_ids
; /* Show "ftp" in ls listings */
38 extern int tunable_listen
; /* Standalone (no inetd) mode? */
39 extern int tunable_port_promiscuous
; /* Any any PORT connect IP */
40 extern int tunable_passwd_chroot_enable
; /* chroot() based on passwd */
41 extern int tunable_no_anon_password
; /* Do not ask for anon pword */
42 extern int tunable_tcp_wrappers
; /* Standalone: do tcp wrappers */
43 extern int tunable_use_sendfile
; /* Use sendfile() if we can */
44 extern int tunable_force_dot_files
; /* Show dotfiles without -a */
45 extern int tunable_listen_ipv6
; /* Standalone with IPv6 listen */
46 extern int tunable_dual_log_enable
; /* Log vsftpd.log AND xferlog */
47 extern int tunable_syslog_enable
; /* Use syslog not vsftpd.log */
48 extern int tunable_background
; /* Background listener process */
49 extern int tunable_virtual_use_local_privs
; /* Virtual user => local privs */
50 extern int tunable_session_support
; /* utmp, wtmp, pam_session */
51 extern int tunable_download_enable
; /* Can download anything? */
52 extern int tunable_dirlist_enable
; /* Can see any dirs? */
53 extern int tunable_chmod_enable
; /* Is CHMOD allowed? (local) */
54 extern int tunable_secure_email_list_enable
; /* Require specific anon email */
55 extern int tunable_run_as_launching_user
; /* Runs as launching user */
56 extern int tunable_no_log_lock
; /* Don't lock log files */
57 extern int tunable_ssl_enable
; /* Allow SSL/TLS AUTH */
58 extern int tunable_allow_anon_ssl
; /* Allow anonymous use of SSL */
59 extern int tunable_force_local_logins_ssl
; /* Require local logins use SSL */
60 extern int tunable_force_local_data_ssl
; /* Require local data uses SSL */
61 extern int tunable_sslv2
; /* Allow SSLv2 */
62 extern int tunable_sslv3
; /* Allow SSLv3 */
63 extern int tunable_tlsv1
; /* Allow TLSv1 */
64 extern int tunable_tilde_user_enable
; /* Support e.g. ~chris */
65 extern int tunable_force_anon_logins_ssl
; /* Require anon logins use SSL */
66 extern int tunable_force_anon_data_ssl
; /* Require anon data uses SSL */
67 extern int tunable_mdtm_write
; /* Allow MDTM to set timestamps */
68 extern int tunable_lock_upload_files
; /* Lock uploading files */
69 extern int tunable_pasv_addr_resolve
; /* DNS resolve pasv_addr */
70 extern int tunable_debug_ssl
; /* Verbose SSL logging */
71 extern int tunable_require_cert
; /* SSL client cert required */
72 extern int tunable_validate_cert
; /* SSL certs must be valid */
73 extern int tunable_strict_ssl_read_eof
; /* Need SSL_shutdown() on read */
74 extern int tunable_strict_ssl_write_shutdown
; /* Need SSL_shutdown() on write */
75 extern int tunable_ssl_request_cert
; /* Ask client for cert */
76 extern int tunable_delete_failed_uploads
; /* Delete an upload that failed */
78 /* Integer/numeric defines */
79 extern unsigned int tunable_accept_timeout
;
80 extern unsigned int tunable_connect_timeout
;
81 extern unsigned int tunable_local_umask
;
82 extern unsigned int tunable_anon_umask
;
83 extern unsigned int tunable_ftp_data_port
;
84 extern unsigned int tunable_idle_session_timeout
;
85 extern unsigned int tunable_data_connection_timeout
;
86 extern unsigned int tunable_pasv_min_port
;
87 extern unsigned int tunable_pasv_max_port
;
88 extern unsigned int tunable_anon_max_rate
;
89 extern unsigned int tunable_local_max_rate
;
90 extern unsigned int tunable_listen_port
;
91 extern unsigned int tunable_max_clients
;
92 extern unsigned int tunable_file_open_mode
;
93 extern unsigned int tunable_max_per_ip
;
94 extern unsigned int tunable_trans_chunk_size
;
95 extern unsigned int tunable_delay_failed_login
;
96 extern unsigned int tunable_delay_successful_login
;
97 extern unsigned int tunable_max_login_fails
;
98 extern unsigned int tunable_chown_upload_mode
;
101 extern const char* tunable_secure_chroot_dir
;
102 extern const char* tunable_ftp_username
;
103 extern const char* tunable_chown_username
;
104 extern const char* tunable_xferlog_file
;
105 extern const char* tunable_vsftpd_log_file
;
106 extern const char* tunable_message_file
;
107 extern const char* tunable_nopriv_user
;
108 extern const char* tunable_ftpd_banner
;
109 extern const char* tunable_banned_email_file
;
110 extern const char* tunable_chroot_list_file
;
111 extern const char* tunable_pam_service_name
;
112 extern const char* tunable_guest_username
;
113 extern const char* tunable_userlist_file
;
114 extern const char* tunable_anon_root
;
115 extern const char* tunable_local_root
;
116 extern const char* tunable_banner_file
;
117 extern const char* tunable_pasv_address
;
118 extern const char* tunable_listen_address
;
119 extern const char* tunable_user_config_dir
;
120 extern const char* tunable_listen_address6
;
121 extern const char* tunable_cmds_allowed
;
122 extern const char* tunable_hide_file
;
123 extern const char* tunable_deny_file
;
124 extern const char* tunable_user_sub_token
;
125 extern const char* tunable_email_password_file
;
126 extern const char* tunable_rsa_cert_file
;
127 extern const char* tunable_dsa_cert_file
;
128 extern const char* tunable_ssl_ciphers
;
129 extern const char* tunable_rsa_private_key_file
;
130 extern const char* tunable_dsa_private_key_file
;
131 extern const char* tunable_ca_certs_file
;
133 #endif /* VSF_TUNABLES_H */