# Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. ## -- /etc/rc.conf ------------------------------------- ## ## defaultrouter="192.168.0.1" ## hostname="host.domain.com" ## ifconfig_fxp0="inet 192.168.0.3 netmask 255.255.255.0" ## sshd_enable="YES" ## ------------------------------------------------------ ## kernel secure ## #kern_securelevel="2" ## default `-1' kern_securelevel_enable="NO" ## quota ## enable_quotas="NO" ## turn on quotas on startup (or NO). check_quotas="NO" ## Check quotas on startup (or NO). ## basic ## fsck_y_enable="YES" ## required start_vinum="YES" ## vinum start sshd_enable="YES" ## required, override usbd_enable="NO" update_motd="NO" cron_enable="YES" ## Run the periodic job daemon. syslogd_enable="YES" ## Run syslog daemon (or NO). ## NTP server setup ## ntpdate_enable="YES" ntpdate_flags="-b time.nuri.net" #xntpd_enable="YES" ## no daemon, san2@2005.12.26 ## inetd ## inetd_enable="YES" ## Run the network daemon dispatcher (YES/NO). #inetd_flags="-wW" ## TCP wrapping external(w) and internal(W) #inetd_flags="-wW -s 1000 -c 200 -C 200 -R 1000" ## for mail server, see `man inetd' inetd_flags="-wW -C 60" ## rc.conf default value. ## "max-connections-per-ip-per-minute" parameter. ## but, no -C flag to no limit. ## ftpd without inetd ## ## -- /etc/rc.local ---------------------------------------------------- ## . /etc/rc.conf ## . /etc/rc.conf.local ## ## run ftpd without inetd ## ## ## if [ X"${ftpd_without_inetd_enable}" = "XYES" ] ; then ## /usr/libexec/ftpd ${ftpd_without_inetd_args} ## fi ## --------------------------------------------------------------------- #ftpd_without_inetd_enable="YES" ## Run the ftpd without inetd #ftpd_without_inetd_args="-D -4" ## Flags to ftpd (without inetd) ## sendmail ## sendmail_enable="NONE" ## YES | NO | NONE(don't start any sendmail processes) sendmail_submit_enable="YES" ## postfix ## we use postfix instead of sendmail ## from pkg-message of postfix-current ## #sendmail_enable="YES" #sendmail_flags="-bd" #sendmail_outbound_enable="NO" #sendmail_submit_enable="NO" #sendmail_msp_queue_enable="NO" ## amavis/clamav ## #amavisd_enable="YES" #clamav_clamd_enable="YES" #clamav_freshclam_enable="YES" ## firewall ## Packet Filtering Functionality setup ## #firewall_enable="YES" ## Set to YES to enable firewall functionality #firewall_type="/etc/ipfw.conf" ## Firewall type (see /etc/rc.firewall) #firewall_flags="-p cpp" ## preprocessing via cpp #tcp_drop_synfin="YES" ## Set to YES to drop TCP packets with SYN+FIN # ## NOTE: this violates the TCP specification #tcp_extensions="YES" #icmp_drop_redirect="YES" ## Set to YES to ignore ICMP REDIRECT packets #icmp_log_redirect="YES" ## Set to YES to log ICMP REDIRECT packets ## NFS client ## portmap_enable="YES" nfs_client_enable="YES" nfs_client_flags="-n 4" rpc_statd_enable="YES" ## NFS server ## #portmap_enable="YES" #nfs_server_enable="YES" #rpc_lockd_enable="YES" #nfs_reserved_port_only="NO" ## NIS server ## http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nis.html ## http://freebsd.peon.net/tutorials/8/ ## #portmap_enable="YES" #nis_server_enable="YES" #nis_ypxfrd_enable="YES" #nis_yppasswdd_enable="YES" #nisdomainname="wdb" ## example ## NIS client ## http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nis.html ## http://freebsd.peon.net/tutorials/8/ ## #portmap_enable="YES" #nis_client_enable="YES" #nis_ypset_enable="NO" ## this `NO' #nisdomainname="wdb" ## example ## snmpd ## #snmpd_enable="YES" ## for X-window ## #moused_enable="YES" #moused_flags="" #moused_port="/dev/psm0" #moused_type="auto" ## local services ## apache_enable="YES" #lighttpd_enable="YES" #rsyncd_enable="YES" #proftpd_enable="YES" ## see with/whithout inetd ftpd