Chris PeBenito 9916c6
#
Chris PeBenito 9916c6
# This file is for the declaration of global booleans and tunables.
Chris PeBenito 9916c6
# To change the default value at build time, the tunables.conf
Chris PeBenito 9916c6
# file should be used.
Chris PeBenito 9916c6
#
Chris PeBenito 9916c6
Chris PeBenito 98a8ea
## Allow making anonymous memory executable, e.g. 
Chris PeBenito 98a8ea
## for runtime-code generation or executable stack.
Chris PeBenito 34c8fa
gen_tunable(allow_execmem,false)
Chris PeBenito 34c8fa
Chris PeBenito 98a8ea
## Allow making a modified private file
Chris PeBenito 98a8ea
## mapping executable (text relocation).
Chris PeBenito 34c8fa
gen_tunable(allow_execmod,false)
Chris PeBenito 34c8fa
Chris PeBenito 98a8ea
## Allow making the stack executable via mprotect.
Chris PeBenito 98a8ea
## Also requires allow_execmem.
Chris PeBenito 98a8ea
gen_tunable(allow_execstack,false)
Chris PeBenito 98a8ea
Chris PeBenito fc6524
## Allow ftp servers to modify public files
Chris PeBenito fc6524
## used for public file transfer services.
Chris PeBenito fc6524
gen_tunable(allow_ftpd_anon_write,false)
Chris PeBenito fc6524
Chris PeBenito 9916c6
## Allow gpg executable stack
Chris PeBenito 562cc2
gen_tunable(allow_gpg_execstack,false)
Chris PeBenito 562cc2
Chris PeBenito 9916c6
## Allow system to run with kerberos
Chris PeBenito 34c8fa
gen_tunable(allow_kerberos,false)
Chris PeBenito 34c8fa
Chris PeBenito a08248
## allow host key based authentication
Chris PeBenito a08248
gen_tunable(allow_ssh_keysign,false)
Chris PeBenito a08248
Chris PeBenito 1f91e1
## Allow sysadm to ptrace all processes
Chris PeBenito 1f91e1
gen_tunable(allow_ptrace,false)
Chris PeBenito 1f91e1
Chris PeBenito 42be7c
## Allow users to connect to mysql
Chris PeBenito 42be7c
gen_tunable(allow_user_mysql_connect,false)
Chris PeBenito 42be7c
Chris PeBenito 9916c6
## Allow system to run with NIS
Chris PeBenito 34c8fa
gen_tunable(allow_ypbind,false)
Chris PeBenito 34c8fa
Chris PeBenito 9916c6
## Allow system cron jobs to relabel filesystem
Chris PeBenito 9916c6
## for restoring file contexts.
Chris PeBenito 34c8fa
gen_tunable(cron_can_relabel,false)
Chris PeBenito 34c8fa
Chris PeBenito 9916c6
## Enable extra rules in the cron domain
Chris PeBenito 9916c6
## to support fcron.
Chris PeBenito 31908b
gen_tunable(fcron_crond,false)
Chris PeBenito 763c44
Chris PeBenito a5ec7c
## Allow ftp to read and write files in the user home directories
Chris PeBenito a5ec7c
gen_tunable(ftp_home_dir,false)
Chris PeBenito a5ec7c
Chris PeBenito a5ec7c
## Allow ftpd to run directly without inetd
Chris PeBenito a5ec7c
gen_tunable(ftpd_is_daemon,false)
Chris PeBenito a5ec7c
Chris PeBenito a996bd
## Allow httpd to use built in scripting (usually php)
Chris PeBenito a996bd
gen_tunable(httpd_builtin_scripting,false)
Chris PeBenito a996bd
Chris PeBenito a996bd
## Allow http daemon to tcp connect 
Chris PeBenito a996bd
gen_tunable(httpd_can_network_connect,false)
Chris PeBenito a996bd
Chris PeBenito a996bd
## Allow httpd cgi support
Chris PeBenito a996bd
gen_tunable(httpd_enable_cgi,false)
Chris PeBenito a996bd
Chris PeBenito a996bd
## Allow httpd to read home directories
Chris PeBenito a996bd
gen_tunable(httpd_enable_homedirs,false)
Chris PeBenito a996bd
Chris PeBenito a996bd
## Run SSI execs in system CGI script domain.
Chris PeBenito a996bd
gen_tunable(httpd_ssi_exec,false)
Chris PeBenito a996bd
Chris PeBenito a996bd
## Allow http daemon to communicate with the TTY
Chris PeBenito a996bd
gen_tunable(httpd_tty_comm,false)
Chris PeBenito a996bd
Chris PeBenito a996bd
## Run CGI in the main httpd domain
Chris PeBenito a996bd
gen_tunable(httpd_unified,false)
Chris PeBenito a996bd
Chris PeBenito d83fda
## Allow BIND to write the master zone files.
Chris PeBenito d83fda
## Generally this is used for dynamic DNS.
Chris PeBenito d83fda
gen_tunable(named_write_master_zones,false)
Chris PeBenito d83fda
Chris PeBenito 9916c6
## Allow reading of default_t files.
Chris PeBenito 34c8fa
gen_tunable(read_default_t,false)
Chris PeBenito 34c8fa
Chris PeBenito a1fcff
## Allow applications to read untrusted content
Chris PeBenito a1fcff
## If this is disallowed, Internet content has
Chris PeBenito a1fcff
## to be manually relabeled for read access to be granted
Chris PeBenito a1fcff
gen_tunable(read_untrusted_content,false)
Chris PeBenito a1fcff
Chris PeBenito 452399
## Allow ssh to run from inetd instead of as a daemon.
Chris PeBenito 452399
gen_tunable(run_ssh_inetd,false)
Chris PeBenito 452399
Chris PeBenito 9916c6
## Enabling secure mode disallows programs, such as
Chris PeBenito 9916c6
## newrole, from transitioning to administrative
Chris PeBenito 9916c6
## user domains.
Chris PeBenito 21871a
gen_bool(secure_mode,false)
Chris PeBenito 21871a
Chris PeBenito 0907bd
## Allow squid to connect to all ports, not just
Chris PeBenito 0907bd
## HTTP, FTP, and Gopher ports.
Chris PeBenito 0907bd
gen_tunable(squid_connect_any,false)
Chris PeBenito 0907bd
Chris PeBenito 452399
## Allow ssh logins as sysadm_r:sysadm_t
Chris PeBenito 452399
gen_tunable(ssh_sysadm_login,false)
Chris PeBenito 452399
Chris PeBenito 9916c6
## Allow staff_r users to search the sysadm home 
Chris PeBenito 9916c6
## dir and read files (such as ~/.bashrc)
Chris PeBenito 34c8fa
gen_tunable(staff_read_sysadm_file,false)
Chris PeBenito 34c8fa
Chris PeBenito 9916c6
## Support NFS home directories
Chris PeBenito 34c8fa
gen_tunable(use_nfs_home_dirs,false)
Chris PeBenito 34c8fa
Chris PeBenito 9916c6
## Support SAMBA home directories
Chris PeBenito 34c8fa
gen_tunable(use_samba_home_dirs,false)
Chris PeBenito 34c8fa
Chris PeBenito 9916c6
## Allow regular users direct mouse access 
Chris PeBenito 34c8fa
gen_tunable(user_direct_mouse,false)
Chris PeBenito 34c8fa
Chris PeBenito 9916c6
## Allow users to read system messages.
Chris PeBenito 34c8fa
gen_tunable(user_dmesg,false)
Chris PeBenito 34c8fa
Chris PeBenito 9916c6
## Allow users to control network interfaces
Chris PeBenito 9916c6
## (also needs USERCTL=true)
Chris PeBenito 34c8fa
gen_tunable(user_net_control,false)
Chris PeBenito 34c8fa
Chris PeBenito 9916c6
## Control users use of ping and traceroute
Chris PeBenito 3eed10
gen_tunable(user_ping,false)
Chris PeBenito 3eed10
Chris PeBenito 9916c6
## Allow user to r/w noextattrfile (FAT, CDROM, FLOPPY)
Chris PeBenito 34c8fa
gen_tunable(user_rw_noexattrfile,false)
Chris PeBenito 34c8fa
Chris PeBenito 9916c6
## Allow users to rw usb devices
Chris PeBenito 34c8fa
gen_tunable(user_rw_usb,false)
Chris PeBenito 34c8fa
Chris PeBenito 9916c6
## Allow users to run TCP servers (bind to ports and accept connection from
Chris PeBenito 9916c6
## the same domain and outside users)  disabling this forces FTP passive mode
Chris PeBenito 9916c6
## and may change other protocols.
Chris PeBenito 34c8fa
gen_tunable(user_tcp_server,false)
Chris PeBenito 34c8fa
Chris PeBenito 9916c6
## Allow w to display everyone
Chris PeBenito 34c8fa
gen_tunable(user_ttyfile_stat,false)
Chris PeBenito a1fcff
Chris PeBenito a1fcff
## Allow applications to write untrusted content
Chris PeBenito a1fcff
## If this is disallowed, no Internet content
Chris PeBenito a1fcff
## will be stored.
Chris PeBenito a1fcff
gen_tunable(write_untrusted_content,false)