]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man5/rc.conf.5
Merge bmake-20210110
[FreeBSD/FreeBSD.git] / share / man / man5 / rc.conf.5
1 .\" Copyright (c) 1995
2 .\"     Jordan K. Hubbard
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 .\" SUCH DAMAGE.
24 .\"
25 .\" $FreeBSD$
26 .\"
27 .Dd January 10, 2021
28 .Dt RC.CONF 5
29 .Os
30 .Sh NAME
31 .Nm rc.conf
32 .Nd system configuration information
33 .Sh DESCRIPTION
34 The file
35 .Nm
36 contains descriptive information about the local host name, configuration
37 details for any potential network interfaces and which services should be
38 started up at system initial boot time.
39 In new installations, the
40 .Nm
41 file is generally initialized by the system installation utility.
42 .Pp
43 The purpose of
44 .Nm
45 is not to run commands or perform system startup actions
46 directly.
47 Instead, it is included by the
48 various generic startup scripts in
49 .Pa /etc
50 which conditionalize their
51 internal actions according to the settings found there.
52 .Pp
53 The
54 .Pa /etc/rc.conf
55 file is included from the file
56 .Pa /etc/defaults/rc.conf ,
57 which specifies the default settings for all the available options.
58 Options need only be specified in
59 .Pa /etc/rc.conf
60 when the system administrator wishes to override these defaults.
61 The file
62 .Pa /etc/defaults/vendor.conf
63 allows vendors to override
64 .Fx
65 defaults.
66 The file
67 .Pa /etc/rc.conf.local
68 is used to override settings in
69 .Pa /etc/rc.conf
70 for historical reasons.
71 .Pp
72 The sysrc(8) command provides a scripting interface to modify system
73 config files.
74 .Pp
75 In addition to
76 .Pa /etc/rc.conf.local
77 you can also place smaller configuration files for each
78 .Xr rc 8
79 script in the
80 .Pa /etc/rc.conf.d
81 directory or
82 .Ao Ar dir Ac Ns Pa /rc.conf.d
83 directories specified in
84 .Va local_startup ,
85 which will be included by the
86 .Va load_rc_config
87 function.
88 For jail configurations you could use the file
89 .Pa /etc/rc.conf.d/jail
90 to store jail specific configuration options.
91 If
92 .Va local_startup
93 contains
94 .Pa /usr/local/etc/rc.d
95 and
96 .Pa /opt/conf ,
97 .Pa /usr/local/rc.conf.d/jail
98 and
99 .Pa /opt/conf/rc.conf.d/jail
100 will be loaded.
101 If
102 .Ao Ar dir Ac Ns Pa /rc.conf.d/ Ns Ao Ar name Ac
103 is a directory,
104 all of files in the directory will be loaded.
105 Also see the
106 .Va rc_conf_files
107 variable below.
108 .Pp
109 Options are set with
110 .Dq Ar name Ns Li = Ns Ar value
111 assignments that use
112 .Xr sh 1
113 syntax.
114 The following list provides a name and short description for each
115 variable that can be set in the
116 .Nm
117 file:
118 .Bl -tag -width indent-two
119 .It Va rc_debug
120 .Pq Vt bool
121 If set to
122 .Dq Li YES ,
123 enable output of debug messages from rc scripts.
124 This variable can be helpful in diagnosing mistakes when
125 editing or integrating new scripts.
126 Beware that this produces copious output to the terminal and
127 .Xr syslog 3 .
128 .It Va rc_info
129 .Pq Vt bool
130 If set to
131 .Dq Li NO ,
132 disable informational messages from the rc scripts.
133 Informational messages are displayed when
134 a condition that is not serious enough to warrant a warning or
135 an error occurs.
136 .It Va rc_startmsgs
137 .Pq Vt bool
138 If set to
139 .Dq Li YES ,
140 show
141 .Dq Starting foo:
142 when faststart is used (e.g., at boot time).
143 .It Va early_late_divider
144 .Pq Vt str
145 The name of the script that should be used as the
146 delimiter between the
147 .Dq early
148 and
149 .Dq late
150 stages of the boot process.
151 The early stage should contain all the services needed to
152 get the disks (local or remote) mounted so that the late
153 stage can include scripts contained in the directories
154 listed in the
155 .Va local_startup
156 variable (see below).
157 Thus, the two likely candidates for this value are
158 .Pa mountcritlocal
159 for the typical system, and
160 .Pa mountcritremote
161 if the system needs remote file
162 systems mounted to get access to the
163 .Va local_startup
164 directories; for example when
165 .Pa /usr/local
166 is NFS mounted.
167 For
168 .Pa rc.conf
169 within a
170 .Xr jail 8
171 .Pa NETWORKING
172 is likely to be an appropriate value.
173 Extreme care should be taken when changing this value,
174 and before changing it one should ensure that there are
175 adequate provisions to recover from a failed boot
176 (such as physical contact with the machine,
177 or reliable remote console access).
178 .It Va always_force_depends
179 .Pq Vt bool
180 Various
181 .Pa rc.d
182 scripts use the force_depend function to check whether required
183 services are already running, and to start them if necessary.
184 By default during boot time this check is bypassed if the
185 required service is enabled in
186 .Pa /etc/rc.conf[.local] .
187 Setting this option will bypass that check at boot time and
188 always test whether or not the service is actually running.
189 Enabling this option is likely to increase your boot time if
190 services are enabled that utilize the force_depend check.
191 .It Ao Ar name Ac Ns Va _chroot
192 .Pq Vt str
193 .Xr chroot 8
194 to this directory before running the service.
195 .It Ao Ar name Ac Ns Va _user
196 .Pq Vt str
197 Run the service under this user account.
198 .It Ao Ar name Ac Ns Va _group
199 .Pq Vt str
200 Run the chrooted service under this system group.
201 Unlike the _user
202 setting, this setting has no effect if the service is not chrooted.
203 .It Ao Ar name Ac Ns Va _fib
204 .Pq Vt int
205 The
206 .Xr setfib 1
207 value to run the service under.
208 .It Ao Ar name Ac Ns Va _nice
209 .Pq Vt int
210 The
211 .Xr nice 1
212 value to run the service under.
213 .It Va apm_enable
214 .Pq Vt bool
215 If set to
216 .Dq Li YES ,
217 enable support for Automatic Power Management with
218 the
219 .Xr apm 8
220 command.
221 .It Va apmd_enable
222 .Pq Vt bool
223 Run
224 .Xr apmd 8
225 to handle APM event from userland.
226 This also enables support for APM.
227 .It Va apmd_flags
228 .Pq Vt str
229 If
230 .Va apmd_enable
231 is set to
232 .Dq Li YES ,
233 these are the flags to pass to the
234 .Xr apmd 8
235 daemon.
236 .It Va devd_enable
237 .Pq Vt bool
238 Run
239 .Xr devd 8
240 to handle device added, removed or unknown events from the kernel.
241 .It Va ddb_enable
242 .Pq Vt bool
243 Run
244 .Xr ddb 8
245 to install
246 .Xr ddb 4
247 scripts at boot time.
248 .It Va ddb_config
249 .Pq Vt str
250 Configuration file for
251 .Xr ddb 8 .
252 Default
253 .Pa /etc/ddb.conf .
254 .It Va devmatch_enable
255 .Pq Vt bool
256 If set to
257 .Dq Li NO ,
258 disable auto-loading of kernel modules with
259 .Xr devmatch 8 .
260 .It Va devmatch_blacklist
261 .Pq Vt str
262 A whitespace-separated list of kernel modules to be ignored by
263 .Xr devmatch 8 .
264 .It Va kld_list
265 .Pq Vt str
266 A whitespace-separated list of kernel modules to load right after
267 the local disks are mounted, without any
268 .Pa .ko
269 extension or path.
270 Loading modules at this point in the boot process is
271 much faster than doing it via
272 .Pa /boot/loader.conf
273 for those modules not necessary for mounting local disks.
274 .It Va kldxref_enable
275 .Pq Vt bool
276 Set to
277 .Dq Li NO
278 by default.
279 Set to
280 .Dq Li YES
281 to automatically rebuild
282 .Pa linker.hints
283 files with
284 .Xr kldxref 8
285 at boot time.
286 .It Va kldxref_clobber
287 .Pq Vt bool
288 Set to
289 .Dq Li NO
290 by default.
291 If
292 .Va kldxref_enable
293 is true,
294 setting to
295 .Dq Li YES
296 will overwrite existing
297 .Pa linker.hints
298 files at boot time.
299 Otherwise,
300 only missing
301 .Pa linker.hints
302 files are generated.
303 .It Va kldxref_module_path
304 .Pq Vt str
305 Empty by default.
306 A semi-colon
307 .Pq Ql \&;
308 delimited list of paths containing
309 .Xr kld 4
310 modules.
311 If empty,
312 the contents of the
313 .Va kern.module_path
314 .Xr sysctl 8
315 are used.
316 .It Va powerd_enable
317 .Pq Vt bool
318 If set to
319 .Dq Li YES ,
320 enable the system power control facility with the
321 .Xr powerd 8
322 daemon.
323 .It Va powerd_flags
324 .Pq Vt str
325 If
326 .Va powerd_enable
327 is set to
328 .Dq Li YES ,
329 these are the flags to pass to the
330 .Xr powerd 8
331 daemon.
332 .It Va tmpmfs
333 Controls the creation of a
334 .Pa /tmp
335 memory file system.
336 Always happens if set to
337 .Dq Li YES
338 and never happens if set to
339 .Dq Li NO .
340 If set to anything else, a memory file system is created if
341 .Pa /tmp
342 is not writable.
343 .It Va tmpsize
344 Controls the size of a created
345 .Pa /tmp
346 memory file system.
347 .It Va tmpmfs_flags
348 Extra options passed to the
349 .Xr mdmfs 8
350 utility when the memory file system for
351 .Pa /tmp
352 is created.
353 The default is
354 .Dq Li "-S" ,
355 which inhibits the use of softupdates on
356 .Pa /tmp
357 so that file system space is freed without delay
358 after file truncation or deletion.
359 See
360 .Xr mdmfs 8
361 for other options you can use in
362 .Va tmpmfs_flags .
363 .It Va varmfs
364 Controls the creation of a
365 .Pa /var
366 memory file system.
367 Always happens if set to
368 .Dq Li YES
369 and never happens if set to
370 .Dq Li NO .
371 If set to anything else, a memory file system is created if
372 .Pa /var
373 is not writable.
374 .It Va varsize
375 Controls the size of a created
376 .Pa /var
377 memory file system.
378 .It Va varmfs_flags
379 Extra options passed to the
380 .Xr mdmfs 8
381 utility when the memory file system for
382 .Pa /var
383 is created.
384 The default is
385 .Dq Li "-S" ,
386 which inhibits the use of softupdates on
387 .Pa /var
388 so that file system space is freed without delay
389 after file truncation or deletion.
390 See
391 .Xr mdmfs 8
392 for other options you can use in
393 .Va varmfs_flags .
394 .It Va populate_var
395 Controls the automatic population of the
396 .Pa /var
397 file system.
398 Always happens if set to
399 .Dq Li YES
400 and never happens if set to
401 .Dq Li NO .
402 If set to anything else, a memory file system is created if
403 .Pa /var
404 is not writable.
405 Note that this process requires access to certain commands in
406 .Pa /usr
407 before
408 .Pa /usr
409 is mounted on normal systems.
410 .It Va cleanvar_enable
411 .Pq Vt bool
412 Clean the
413 .Pa /var
414 directory.
415 .It Va local_startup
416 .Pq Vt str
417 List of directories to search for startup script files.
418 .It Va script_name_sep
419 .Pq Vt str
420 The field separator to use for breaking down the list of startup script files
421 into individual filenames.
422 The default is a space.
423 It is not necessary to change this unless there are startup scripts with names
424 containing spaces.
425 .It Va hostapd_enable
426 .Pq Vt bool
427 Set to
428 .Dq Li YES
429 to start
430 .Xr hostapd 8
431 at system boot time.
432 .It Va hostname
433 .Pq Vt str
434 The fully qualified domain name (FQDN) of this host on the network.
435 This should almost certainly be set to something meaningful, even if
436 there is no network connection.
437 If
438 .Xr dhclient 8
439 is used to set the hostname via DHCP,
440 this variable should be set to an empty string.
441 Within a
442 .Xr jail 8
443 the hostname is generally already set and this variable may be absent.
444 If this value remains unset when the system is done booting
445 your console login will display the default hostname of
446 .Dq Amnesiac .
447 .It Va nisdomainname
448 .Pq Vt str
449 The NIS domain name of this host, or
450 .Dq Li NO
451 if NIS is not used.
452 .It Va dhclient_program
453 .Pq Vt str
454 Path to the DHCP client program
455 .Pa ( /sbin/dhclient ,
456 the
457 .Ox
458 DHCP client,
459 is the default).
460 .It Va dhclient_flags
461 .Pq Vt str
462 Additional flags to pass to the DHCP client program.
463 For the
464 .Ox
465 DHCP client, see the
466 .Xr dhclient 8
467 manpage for a description of the command line options available.
468 .It Va dhclient_flags_ Ns Aq Ar iface
469 Additional flags to pass to the DHCP client program running on
470 .Ar iface
471 only.
472 When specified, this variable overrides
473 .Va dhclient_flags .
474 .It Va background_dhclient
475 .Pq Vt bool
476 Set to
477 .Dq Li YES
478 to start the DHCP client in background.
479 This can cause trouble with applications depending on
480 a working network, but it will provide a faster startup
481 in many cases.
482 .It Va background_dhclient_ Ns Aq Ar iface
483 When specified, this variable overrides the
484 .Va background_dhclient
485 variable for interface
486 .Ar iface
487 only.
488 .It Va synchronous_dhclient
489 .Pq Vt bool
490 Set to
491 .Dq Li YES
492 to start
493 .Xr dhclient 8
494 synchronously at startup.
495 This behavior can be overridden on a per-interface basis by replacing
496 the
497 .Dq Li DHCP
498 keyword in the
499 .Va ifconfig_ Ns Aq Ar interface
500 variable with
501 .Dq Li SYNCDHCP
502 or
503 .Dq Li NOSYNCDHCP .
504 .It Va defaultroute_delay
505 .Pq Vt int
506 When set to a positive value, wait up to this long after configuring
507 DHCP interfaces at startup to give the interfaces time to receive a lease.
508 .It Va firewall_enable
509 .Pq Vt bool
510 Set to
511 .Dq Li YES
512 to load firewall rules at startup.
513 If the kernel was not built with
514 .Cd "options IPFIREWALL" ,
515 the
516 .Pa ipfw.ko
517 kernel module will be loaded.
518 See also
519 .Va ipfilter_enable .
520 .It Va firewall_script
521 .Pq Vt str
522 This variable specifies the full path to the firewall script to run.
523 The default is
524 .Pa /etc/rc.firewall .
525 .It Va firewall_type
526 .Pq Vt str
527 Names the firewall type from the selection in
528 .Pa /etc/rc.firewall ,
529 or the file which contains the local firewall ruleset.
530 Valid selections from
531 .Pa /etc/rc.firewall
532 are:
533 .Pp
534 .Bl -tag -width ".Li simple" -compact
535 .It Li open
536 unrestricted IP access
537 .It Li closed
538 all IP services disabled, except via
539 .Dq Li lo0
540 .It Li client
541 basic protection for a workstation
542 .It Li simple
543 basic protection for a LAN.
544 .El
545 .Pp
546 If a filename is specified, the full path
547 must be given.
548 .It Va firewall_quiet
549 .Pq Vt bool
550 Set to
551 .Dq Li YES
552 to disable the display of firewall rules on the console during boot.
553 .It Va firewall_logging
554 .Pq Vt bool
555 Set to
556 .Dq Li YES
557 to enable firewall event logging.
558 This is equivalent to the
559 .Dv IPFIREWALL_VERBOSE
560 kernel option.
561 .It Va firewall_logif
562 .Pq Vt bool
563 Set to
564 .Dq Li YES
565 to create pseudo interface
566 .Li ipfw0
567 for logging.
568 For more details, see
569 .Xr ipfw 8
570 manual page.
571 .It Va firewall_flags
572 .Pq Vt str
573 Flags passed to
574 .Xr ipfw 8
575 if
576 .Va firewall_type
577 specifies a filename.
578 .It Va firewall_coscripts
579 .Pq Vt str
580 List of executables and/or rc scripts to run after firewall starts/stops.
581 Default is empty.
582 .\" ----- firewall_nat_enable setting --------------------------------
583 .It Va firewall_nat_enable
584 .Pq Vt bool
585 The
586 .Xr ipfw 8
587 equivalent of
588 .Va natd_enable .
589 Setting this to
590 .Dq Li YES
591 will automatically load the
592 .Xr ipfw 8
593 NAT kernel module if
594 .Va firewall_enable
595 is also set to
596 .Dq Li YES .
597 .It Va firewall_nat_interface
598 .Pq Vt str
599 The
600 .Xr ipfw 8
601 equivalent of
602 .Va natd_interface .
603 This is the name of the public interface or IP address on which
604 kernel NAT should run.
605 .It Va firewall_nat_flags
606 .Pq Vt str
607 Additional configuration parameters for kernel NAT should be placed here.
608 .It Va firewall_nat64_enable
609 .Pq Vt bool
610 Setting this to
611 .Dq Li YES
612 will automatically load the
613 .Xr ipfw 8
614 NAT64 kernel module if
615 .Va firewall_enable
616 is also set to
617 .Dq Li YES .
618 .It Va firewall_nptv6_enable
619 .Pq Vt bool
620 Setting this to
621 .Dq Li YES
622 will automatically load the
623 .Xr ipfw 8
624 NPTv6 kernel module if
625 .Va firewall_enable
626 is also set to
627 .Dq Li YES .
628 .It Va firewall_pmod_enable
629 .Pq Vt bool
630 Setting this to
631 .Dq Li YES
632 will automatically load the
633 .Xr ipfw 8
634 pmod kernel module if
635 .Va firewall_enable
636 is also set to
637 .Dq Li YES .
638 .It Va dummynet_enable
639 .Pq Vt bool
640 Setting this to
641 .Dq Li YES
642 will automatically load the
643 .Xr dummynet 4
644 module if
645 .Va firewall_enable
646 is also set to
647 .Dq Li YES .
648 .\" -------------------------------------------------------------------
649 .It Va ipfw_netflow_enable
650 .Pq Vt bool
651 Setting this to
652 .Dq Li YES
653 will enable netflow logging via
654 .Xr ng_netflow 4
655 .Pp
656 By default a ipfw rule is inserted and all packets are duplicated with
657 the ngtee command and netflow packets are sent to 127.0.0.1 on the netflow
658 port using protocol version 5.
659 .It Va ipfw_netflow_hook
660 .Pq Vt int
661 netflow hook name, must be numerical
662 (default
663 .Pa 9995 ) .
664 .It Va ipfw_netflow_rule
665 .Pq Vt int
666 ipfw rule number
667 (default
668 .Pa 1000 ) .
669 .It Va ipfw_netflow_ip
670 .Pq Vt str
671 Destination server ip for receiving netflow data
672 (default
673 .Pa 127.0.0.1 ) .
674 .It Va ipfw_netflow_port
675 .Pq Vt int
676 Destination server port for receiving netflow data
677 (default
678 .Pa 9995 ) .
679 .It Va ipfw_netflow_version
680 .Pq Vt int
681 Do not set for using version 5 of the netflow protocol, set it to 9 for using version 9.
682 .It Va ipfw_netflow_fib
683 .Pq Vt int
684 Only match packet in FIB
685 .Pa ipfw_netflow_fib
686 (default is undefined meaning all FIBs).
687 .It Va natd_program
688 .Pq Vt str
689 Path to
690 .Xr natd 8 .
691 .It Va natd_enable
692 .Pq Vt bool
693 Set to
694 .Dq Li YES
695 to enable
696 .Xr natd 8 .
697 .Va firewall_enable
698 must also be set to
699 .Dq Li YES ,
700 and
701 .Xr divert 4
702 sockets must be enabled in the kernel.
703 If the kernel was not built with
704 .Cd "options IPDIVERT" ,
705 the
706 .Pa ipdivert.ko
707 kernel module will be loaded.
708 .It Va natd_interface
709 .Pq Vt str
710 This is the name of the public interface on which
711 .Xr natd 8
712 should run.
713 The interface may be given as an interface name or as an IP address.
714 .It Va natd_flags
715 .Pq Vt str
716 Additional
717 .Xr natd 8
718 flags should be placed here.
719 The
720 .Fl n
721 or
722 .Fl a
723 flag is automatically added with the above
724 .Va natd_interface
725 as an argument.
726 .\" ----- ipfilter_enable setting --------------------------------
727 .It Va ipfilter_enable
728 .Pq Vt bool
729 Set to
730 .Dq Li NO
731 by default.
732 Setting this to
733 .Dq Li YES
734 enables
735 .Xr ipf 8
736 packet filtering.
737 .Pp
738 Typical usage will require putting
739 .Bd -literal
740 ipfilter_enable="YES"
741 ipnat_enable="YES"
742 ipmon_enable="YES"
743 ipfs_enable="YES"
744 .Ed
745 .Pp
746 into
747 .Pa /etc/rc.conf
748 and editing
749 .Pa /etc/ipf.rules
750 and
751 .Pa /etc/ipnat.rules
752 appropriately.
753 .Pp
754 Note that
755 .Va ipfilter_enable
756 and
757 .Va ipnat_enable
758 can be enabled independently.
759 .Va ipmon_enable
760 and
761 .Va ipfs_enable
762 both require at least one of
763 .Va ipfilter_enable
764 and
765 .Va ipnat_enable
766 to be enabled.
767 .Pp
768 Having
769 .Bd -literal
770 options IPFILTER
771 options IPFILTER_LOG
772 options IPFILTER_DEFAULT_BLOCK
773 .Ed
774 .Pp
775 in the kernel configuration file is a good idea, too.
776 .\" ----- ipfilter_program setting ------------------------------
777 .It Va ipfilter_program
778 .Pq Vt str
779 Path to
780 .Xr ipf 8
781 (default
782 .Pa /sbin/ipf ) .
783 .\" ----- ipfilter_rules setting --------------------------------
784 .It Va ipfilter_rules
785 .Pq Vt str
786 Set to
787 .Pa /etc/ipf.rules
788 by default.
789 This variable contains the name of the filter rule definition file.
790 The file is expected to be readable for the
791 .Xr ipf 8
792 command to execute.
793 .\" ----- ipv6_ipfilter_rules setting ---------------------------
794 .It Va ipv6_ipfilter_rules
795 .Pq Vt str
796 Set to
797 .Pa /etc/ipf6.rules
798 by default.
799 This variable contains the IPv6 filter rule definition file.
800 The file is expected to be readable for the
801 .Xr ipf 8
802 command to execute.
803 .\" ----- ipfilter_flags setting --------------------------------
804 .It Va ipfilter_flags
805 .Pq Vt str
806 Empty by default.
807 This variable contains flags passed to the
808 .Xr ipf 8
809 program.
810 .\" ----- ipnat_enable setting ----------------------------------
811 .It Va ipnat_enable
812 .Pq Vt bool
813 Set to
814 .Dq Li NO
815 by default.
816 Set it to
817 .Dq Li YES
818 to enable
819 .Xr ipnat 8
820 network address translation.
821 See
822 .Va ipfilter_enable
823 for a detailed discussion.
824 .\" ----- ipnat_program setting ---------------------------------
825 .It Va ipnat_program
826 .Pq Vt str
827 Path to
828 .Xr ipnat 8
829 (default
830 .Pa /sbin/ipnat ) .
831 .\" ----- ipnat_rules setting -----------------------------------
832 .It Va ipnat_rules
833 .Pq Vt str
834 Set to
835 .Pa /etc/ipnat.rules
836 by default.
837 This variable contains the name of the file
838 holding the network address translation definition.
839 This file is expected to be readable for the
840 .Xr ipnat 8
841 command to execute.
842 .\" ----- ipnat_flags setting -----------------------------------
843 .It Va ipnat_flags
844 .Pq Vt str
845 Empty by default.
846 This variable contains flags passed to the
847 .Xr ipnat 8
848 program.
849 .\" ----- ipmon_enable setting ----------------------------------
850 .It Va ipmon_enable
851 .Pq Vt bool
852 Set to
853 .Dq Li NO
854 by default.
855 Set it to
856 .Dq Li YES
857 to enable
858 .Xr ipmon 8
859 monitoring (logging
860 .Xr ipf 8
861 and
862 .Xr ipnat 8
863 events).
864 Setting this variable needs setting
865 .Va ipfilter_enable
866 or
867 .Va ipnat_enable
868 too.
869 See
870 .Va ipfilter_enable
871 for a detailed discussion.
872 .\" ----- ipmon_program setting ---------------------------------
873 .It Va ipmon_program
874 .Pq Vt str
875 Path to
876 .Xr ipmon 8
877 (default
878 .Pa /sbin/ipmon ) .
879 .\" ----- ipmon_flags setting -----------------------------------
880 .It Va ipmon_flags
881 .Pq Vt str
882 Set to
883 .Dq Li -Ds
884 by default.
885 This variable contains flags passed to the
886 .Xr ipmon 8
887 program.
888 Another typical example would be
889 .Dq Fl D Pa /var/log/ipflog
890 to have
891 .Xr ipmon 8
892 log directly to a file bypassing
893 .Xr syslogd 8 .
894 Make sure to adjust
895 .Pa /etc/newsyslog.conf
896 in such case like this:
897 .Bd -literal
898 /var/log/ipflog  640  10  100  *  Z  /var/run/ipmon.pid
899 .Ed
900 .\" ----- ipfs_enable setting -----------------------------------
901 .It Va ipfs_enable
902 .Pq Vt bool
903 Set to
904 .Dq Li NO
905 by default.
906 Set it to
907 .Dq Li YES
908 to enable
909 .Xr ipfs 8
910 saving the filter and NAT state tables during shutdown
911 and reloading them during startup again.
912 Setting this variable needs setting
913 .Va ipfilter_enable
914 or
915 .Va ipnat_enable
916 to
917 .Dq Li YES
918 too.
919 See
920 .Va ipfilter_enable
921 for a detailed discussion.
922 Note that if
923 .Va kern_securelevel
924 is set to 3,
925 .Va ipfs_enable
926 cannot be used
927 because the raised securelevel will prevent
928 .Xr ipfs 8
929 from saving the state tables at shutdown time.
930 .\" ----- ipfs_program setting ----------------------------------
931 .It Va ipfs_program
932 .Pq Vt str
933 Path to
934 .Xr ipfs 8
935 (default
936 .Pa /sbin/ipfs ) .
937 .\" ----- ipfs_flags setting ------------------------------------
938 .It Va ipfs_flags
939 .Pq Vt str
940 Empty by default.
941 This variable contains flags passed to the
942 .Xr ipfs 8
943 program.
944 .\" ----- end of added ipf hook ---------------------------------
945 .It Va pf_enable
946 .Pq Vt bool
947 Set to
948 .Dq Li NO
949 by default.
950 Setting this to
951 .Dq Li YES
952 enables
953 .Xr pf 4
954 packet filtering.
955 .Pp
956 Typical usage will require putting
957 .Pp
958 .Dl pf_enable="YES"
959 .Pp
960 into
961 .Pa /etc/rc.conf
962 and editing
963 .Pa /etc/pf.conf
964 appropriately.
965 Adding
966 .Pp
967 .Dl "device pf"
968 .Pp
969 builds support for
970 .Xr pf 4
971 into the kernel, otherwise the
972 kernel module will be loaded.
973 .It Va pf_rules
974 .Pq Vt str
975 Path to
976 .Xr pf 4
977 ruleset configuration file
978 (default
979 .Pa /etc/pf.conf ) .
980 .It Va pf_program
981 .Pq Vt str
982 Path to
983 .Xr pfctl 8
984 (default
985 .Pa /sbin/pfctl ) .
986 .It Va pf_flags
987 .Pq Vt str
988 If
989 .Va pf_enable
990 is set to
991 .Dq Li YES ,
992 these flags are passed to the
993 .Xr pfctl 8
994 program when loading the ruleset.
995 .It Va pflog_enable
996 .Pq Vt bool
997 Set to
998 .Dq Li NO
999 by default.
1000 Setting this to
1001 .Dq Li YES
1002 enables
1003 .Xr pflogd 8
1004 which logs packets from the
1005 .Xr pf 4
1006 packet filter.
1007 .It Va pflog_logfile
1008 .Pq Vt str
1009 If
1010 .Va pflog_enable
1011 is set to
1012 .Dq Li YES
1013 this controls where
1014 .Xr pflogd 8
1015 stores the logfile
1016 (default
1017 .Pa /var/log/pflog ) .
1018 Check
1019 .Pa /etc/newsyslog.conf
1020 to adjust logfile rotation for this.
1021 .It Va pflog_program
1022 .Pq Vt str
1023 Path to
1024 .Xr pflogd 8
1025 (default
1026 .Pa /sbin/pflogd ) .
1027 .It Va pflog_flags
1028 .Pq Vt str
1029 Empty by default.
1030 This variable contains additional flags passed to the
1031 .Xr pflogd 8
1032 program.
1033 .It Va pflog_instances
1034 .Pq Vt str
1035 If logging to more than one
1036 .Xr pflog 4
1037 interface is desired,
1038 .Va pflog_instances
1039 is set to the list of
1040 .Xr pflogd 8
1041 instances that should be started at system boot time.
1042 If
1043 .Va pflog_instances
1044 is set, for each whitespace-separated
1045 .Ar element
1046 in the list,
1047 .Ao Ar element Ac Ns Va _dev
1048 and
1049 .Ao Ar element Ac Ns Va _logfile
1050 elements are assumed to exist.
1051 .Ao Ar element Ac Ns Va _dev
1052 must contain the
1053 .Xr pflog 4
1054 interface to be watched by the named
1055 .Xr pflogd 8
1056 instance.
1057 .Ao Ar element Ac Ns Va _logfile
1058 must contain the name of the logfile that will be used by the
1059 .Xr pflogd 8
1060 instance.
1061 .It Va ftpproxy_enable
1062 .Pq Vt bool
1063 Set to
1064 .Dq Li NO
1065 by default.
1066 Setting this to
1067 .Dq Li YES
1068 enables
1069 .Xr ftp-proxy 8
1070 which supports the
1071 .Xr pf 4
1072 packet filter in translating ftp connections.
1073 .It Va ftpproxy_flags
1074 .Pq Vt str
1075 Empty by default.
1076 This variable contains additional flags passed to the
1077 .Xr ftp-proxy 8
1078 program.
1079 .It Va ftpproxy_instances
1080 .Pq Vt str
1081 Empty by default.
1082 If multiple instances of
1083 .Xr ftp-proxy 8
1084 are desired at boot time,
1085 .Va ftpproxy_instances
1086 should contain a whitespace-separated list of instance names.
1087 For each
1088 .Ar element
1089 in the list, a variable named
1090 .Ao Ar element Ac Ns Va _flags
1091 should be defined, containing the command-line flags to be passed to the
1092 .Xr ftp-proxy 8
1093 instance.
1094 .It Va pfsync_enable
1095 .Pq Vt bool
1096 Set to
1097 .Dq Li NO
1098 by default.
1099 Setting this to
1100 .Dq Li YES
1101 enables exposing
1102 .Xr pf 4
1103 state changes to other hosts over the network by means of
1104 .Xr pfsync 4 .
1105 The
1106 .Va pfsync_syncdev
1107 variable
1108 must also be set then.
1109 .It Va pfsync_syncdev
1110 .Pq Vt str
1111 Empty by default.
1112 This variable specifies the name of the network interface
1113 .Xr pfsync 4
1114 should operate through.
1115 It must be set accordingly if
1116 .Va pfsync_enable
1117 is set to
1118 .Dq Li YES .
1119 .It Va pfsync_syncpeer
1120 .Pq Vt str
1121 Empty by default.
1122 This variable is optional.
1123 By default, state change messages are sent out on the synchronisation
1124 interface using IP multicast packets.
1125 The protocol is IP protocol 240, PFSYNC, and the multicast group used is
1126 224.0.0.240.
1127 When a peer address is specified using the
1128 .Va pfsync_syncpeer
1129 option, the peer address is used as a destination for the pfsync
1130 traffic, and the traffic can then be protected using
1131 .Xr ipsec 4 .
1132 See the
1133 .Xr pfsync 4
1134 manpage for more details about using
1135 .Xr ipsec 4
1136 with
1137 .Xr pfsync 4
1138 interfaces.
1139 .It Va pfsync_ifconfig
1140 .Pq Vt str
1141 Empty by default.
1142 This variable can contain additional options to be passed to the
1143 .Xr ifconfig 8
1144 command used to set up
1145 .Xr pfsync 4 .
1146 .It Va tcp_extensions
1147 .Pq Vt bool
1148 Set to
1149 .Dq Li YES
1150 by default.
1151 Setting this to
1152 .Dq Li NO
1153 disables certain TCP options as described by
1154 .Rs
1155 .%T "RFC 1323"
1156 .Re
1157 Setting this to
1158 .Dq Li NO
1159 might help remedy such problems with connections as randomly hanging
1160 or other weird behavior.
1161 Some network devices are known
1162 to be broken with respect to these options.
1163 .It Va log_in_vain
1164 .Pq Vt int
1165 Set to 0 by default.
1166 The
1167 .Xr sysctl 8
1168 variables,
1169 .Va net.inet.tcp.log_in_vain
1170 and
1171 .Va net.inet.udp.log_in_vain ,
1172 as described in
1173 .Xr tcp 4
1174 and
1175 .Xr udp 4 ,
1176 are set to the given value.
1177 .It Va tcp_keepalive
1178 .Pq Vt bool
1179 Set to
1180 .Dq Li YES
1181 by default.
1182 Setting to
1183 .Dq Li NO
1184 will disable probing idle TCP connections to verify that the
1185 peer is still up and reachable.
1186 .It Va tcp_drop_synfin
1187 .Pq Vt bool
1188 Set to
1189 .Dq Li NO
1190 by default.
1191 Setting to
1192 .Dq Li YES
1193 will cause the kernel to ignore TCP frames that have both
1194 the SYN and FIN flags set.
1195 This prevents OS fingerprinting, but may
1196 break some legitimate applications.
1197 .It Va icmp_drop_redirect
1198 .Pq Vt bool
1199 Set to
1200 .Dq Li AUTO
1201 by default.
1202 This setting will be identical to
1203 .Dq Li YES ,
1204 if a dynamicrouting daemon is enabled, because redirect processing may
1205 cause performance issues for large routing tables.
1206 If no such service is enabled, this setting behaves like a
1207 .Dq Li NO .
1208 Setting to
1209 .Dq Li YES
1210 will cause the kernel to ignore ICMP REDIRECT packets.
1211 Setting to
1212 .Dq Li NO
1213 will cause the kernel to process ICMP REDIRECT packets.
1214 Refer to
1215 .Xr icmp 4
1216 for more information.
1217 .It Va icmp_log_redirect
1218 .Pq Vt bool
1219 Set to
1220 .Dq Li NO
1221 by default.
1222 Setting to
1223 .Dq Li YES
1224 will cause the kernel to log ICMP REDIRECT packets.
1225 Note that
1226 the log messages are not rate-limited, so this option should only be used
1227 for troubleshooting networks.
1228 Refer to
1229 .Xr icmp 4
1230 for more information.
1231 .It Va icmp_bmcastecho
1232 .Pq Vt bool
1233 Set to
1234 .Dq Li YES
1235 to respond to broadcast or multicast ICMP ping packets.
1236 Refer to
1237 .Xr icmp 4
1238 for more information.
1239 .It Va ip_portrange_first
1240 .Pq Vt int
1241 If not set to
1242 .Dq Li NO ,
1243 this is the first port in the default portrange.
1244 Refer to
1245 .Xr ip 4
1246 for more information.
1247 .It Va ip_portrange_last
1248 .Pq Vt int
1249 If not set to
1250 .Dq Li NO ,
1251 this is the last port in the default portrange.
1252 Refer to
1253 .Xr ip 4
1254 for more information.
1255 .It Va network_interfaces
1256 .Pq Vt str
1257 Set to the list of network interfaces to configure on this host or
1258 .Dq Li AUTO
1259 (the default) for all current interfaces.
1260 Setting the
1261 .Va network_interfaces
1262 variable to anything other than the default is deprecated.
1263 Interfaces that the administrator wishes to store configuration for,
1264 but not start at boot should be configured with the
1265 .Dq Li NOAUTO
1266 keyword in their
1267 .Va ifconfig_ Ns Aq Ar interface
1268 variables as described below.
1269 .Pp
1270 An
1271 .Va ifconfig_ Ns Aq Ar interface
1272 variable is also assumed to exist for each value of
1273 .Ar interface .
1274 When an interface name contains any of the characters
1275 .Dq Li .-/+
1276 they are translated to
1277 .Dq Li _
1278 before lookup.
1279 The variable can contain arguments to
1280 .Xr ifconfig 8 ,
1281 as well as special case-insensitive keywords described below.
1282 Such keywords are removed before passing the value to
1283 .Xr ifconfig 8
1284 while the order of the other arguments is preserved.
1285 .Pp
1286 It is possible to add IP alias entries using
1287 .Xr ifconfig 8
1288 syntax with the address family keyword such as
1289 .Li inet .
1290 Assuming that the interface in question was
1291 .Li em0 ,
1292 it might look something like this:
1293 .Bd -literal
1294 ifconfig_em0_alias0="inet 127.0.0.253 netmask 0xffffffff"
1295 ifconfig_em0_alias1="inet 127.0.0.254 netmask 0xffffffff"
1296 .Ed
1297 .Pp
1298 It also possible to configure multiple IP addresses in Classless
1299 Inter-Domain Routing
1300 .Pq CIDR
1301 address notation,
1302 whose each address component can be a range like
1303 .Li inet 192.0.2.5-23/24
1304 or
1305 .Li inet6 2001:db8:1-f::1/64 .
1306 This notation allows address and prefix length part only,
1307 not the other address modifiers.
1308 Note that the maximum number of the generated addresses from a range
1309 specification is limited to an integer value specified in
1310 .Va netif_ipexpand_max
1311 in
1312 .Nm
1313 because a small typo can unexpectedly generate a large number of addresses.
1314 The default value is
1315 .Li 2048 .
1316 It can be increased by adding the following line into
1317 .Nm :
1318 .Bd -literal
1319 netif_ipexpand_max="4096"
1320 .Ed
1321 .Pp
1322 In the case of
1323 .Li 192.0.2.5-23/24 ,
1324 the address 192.0.2.5 will be configured with the
1325 netmask /24 and the addresses 192.0.2.6 to 192.0.2.23 with
1326 the non-conflicting netmask /32 as explained in the
1327 .Xr ifconfig 8
1328 alias section.
1329 Note that this special netmask handling is only for
1330 .Li inet ,
1331 not for the other address families such as
1332 .Li inet6 .
1333 .Pp
1334 With the interface in question being
1335 .Li em0 ,
1336 an example could look like:
1337 .Bd -literal
1338 ifconfig_em0_alias2="inet 192.0.2.129/27"
1339 ifconfig_em0_alias3="inet 192.0.2.1-5/28"
1340 .Ed
1341 .Pp
1342 and so on.
1343 .Pp
1344 Note that deprecated
1345 .Va ipv4_addrs_ Ns Aq Ar interface
1346 variable was supported for IPv4 CIDR address notation.
1347 The
1348 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1349 variable replaces it, though
1350 .Va ipv4_addrs_ Ns Aq Ar interface
1351 is still supported for backward compatibility.
1352 .Pp
1353 For each
1354 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1355 entry with an address family keyword,
1356 its contents are passed to
1357 .Xr ifconfig 8 .
1358 Execution stops at the first unsuccessful access, so if
1359 something like this is present:
1360 .Bd -literal
1361 ifconfig_em0_alias0="inet 127.0.0.251 netmask 0xffffffff"
1362 ifconfig_em0_alias1="inet 127.0.0.252 netmask 0xffffffff"
1363 ifconfig_em0_alias2="inet 127.0.0.253 netmask 0xffffffff"
1364 ifconfig_em0_alias4="inet 127.0.0.254 netmask 0xffffffff"
1365 .Ed
1366 .Pp
1367 Then note that alias4 would
1368 .Em not
1369 be added since the search would
1370 stop with the missing
1371 .Dq Li alias3
1372 entry.
1373 Because of this difficult to manage behavior,
1374 there is
1375 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _aliases
1376 variable, which has the same functionality as
1377 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1378 and can have all of entries in a variable like the following:
1379 .Bd -literal
1380 ifconfig_em0_aliases="\\
1381         inet 127.0.0.251 netmask 0xffffffff \\
1382         inet 127.0.0.252 netmask 0xffffffff \\
1383         inet 127.0.0.253 netmask 0xffffffff \\
1384         inet 127.0.0.254 netmask 0xffffffff"
1385 .Ed
1386 .Pp
1387 It also supports CIDR notation.
1388 .Pp
1389 If the
1390 .Pa /etc/start_if. Ns Aq Ar interface
1391 file is present, it is read and executed by the
1392 .Xr sh 1
1393 interpreter
1394 before configuring the interface as specified in the
1395 .Va ifconfig_ Ns Aq Ar interface
1396 and
1397 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1398 variables.
1399 .Pp
1400 If a
1401 .Va vlans_ Ns Aq Ar interface
1402 variable is set,
1403 a
1404 .Xr vlan 4
1405 interface will be created for each item in the list with the
1406 .Ar vlandev
1407 argument set to
1408 .Ar interface .
1409 If a vlan interface's name is a number,
1410 then that number is used as the vlan tag and the new vlan interface is
1411 named
1412 .Ar interface . Ns Ar tag .
1413 Otherwise,
1414 the vlan tag must be specified via a
1415 .Va vlan
1416 parameter in the
1417 .Va create_args_ Ns Aq Ar interface
1418 variable.
1419 .Pp
1420 To create a vlan device named
1421 .Li em0.101
1422 on
1423 .Li em0
1424 with the vlan tag 101 and the optional the IPv4 address 192.0.2.1/24:
1425 .Bd -literal
1426 vlans_em0="101"
1427 ifconfig_em0_101="inet 192.0.2.1/24"
1428 .Ed
1429 .Pp
1430 To create a vlan device named
1431 .Li myvlan
1432 on
1433 .Li em0
1434 with the vlan tag 102:
1435 .Bd -literal
1436 vlans_em0="myvlan"
1437 create_args_myvlan="vlan 102"
1438 .Ed
1439 .Pp
1440 If a
1441 .Va wlans_ Ns Aq Ar interface
1442 variable is set,
1443 an
1444 .Xr wlan 4
1445 interface will be created for each item in the list with the
1446 .Ar wlandev
1447 argument set to
1448 .Ar interface .
1449 Further wlan cloning arguments may be passed to the
1450 .Xr ifconfig 8
1451 .Cm create
1452 command by setting the
1453 .Va create_args_ Ns Aq Ar interface
1454 variable.
1455 One or more
1456 .Xr wlan 4
1457 devices must be created for each wireless devices as of
1458 .Fx 8.0 .
1459 Debugging flags for
1460 .Xr wlan 4
1461 devices as set by
1462 .Xr wlandebug 8
1463 may be specified with an
1464 .Va wlandebug_ Ns Aq Ar interface
1465 variable.
1466 The contents of this variable will be passed directly to
1467 .Xr wlandebug 8 .
1468 .Pp
1469 If the
1470 .Va ifconfig_ Ns Aq Ar interface
1471 contains the keyword
1472 .Dq Li NOAUTO
1473 then the interface will not be configured
1474 at boot or by
1475 .Pa /etc/pccard_ether
1476 when
1477 .Va network_interfaces
1478 is set to
1479 .Dq Li AUTO .
1480 .Pp
1481 It is possible to bring up an interface with DHCP by adding
1482 .Dq Li DHCP
1483 to the
1484 .Va ifconfig_ Ns Aq Ar interface
1485 variable.
1486 For instance, to initialize the
1487 .Li em0
1488 device via DHCP,
1489 it is possible to use something like:
1490 .Bd -literal
1491 ifconfig_em0="DHCP"
1492 .Ed
1493 .Pp
1494 If you want to configure your wireless interface with
1495 .Xr wpa_supplicant 8
1496 for use with WPA, EAP/LEAP or WEP, you need to add
1497 .Dq Li WPA
1498 to the
1499 .Va ifconfig_ Ns Aq Ar interface
1500 variable.
1501 .Pp
1502 On the other hand, if you want to configure your wireless interface with
1503 .Xr hostapd 8 ,
1504 you need to add
1505 .Dq Li HOSTAP
1506 to the
1507 .Va ifconfig_ Ns Aq Ar interface
1508 variable.
1509 .Xr hostapd 8
1510 will use the settings from
1511 .Pa /etc/hostapd- Ns Ao Ar interface Ac Ns .conf
1512 .Pp
1513 Finally, you can add
1514 .Xr ifconfig 8
1515 options in this variable, in addition to the
1516 .Pa /etc/start_if. Ns Aq Ar interface
1517 file.
1518 For instance, to configure an
1519 .Xr ath 4
1520 wireless device in station mode with an address obtained
1521 via DHCP, using WPA authentication and 802.11b mode, it is
1522 possible to use something like:
1523 .Bd -literal
1524 wlans_ath0="wlan0"
1525 ifconfig_wlan0="DHCP WPA mode 11b"
1526 .Ed
1527 .Pp
1528 In addition to the
1529 .Va ifconfig_ Ns Aq Ar interface
1530 form, a fallback variable
1531 .Va ifconfig_DEFAULT
1532 may be configured.
1533 It will be used for all interfaces with no
1534 .Va ifconfig_ Ns Aq Ar interface
1535 variable.
1536 This is intended to replace the no longer supported
1537 .Va pccard_ifconfig
1538 variable.
1539 .Pp
1540 It is also possible to rename an interface by doing:
1541 .Bd -literal
1542 ifconfig_em0_name="net0"
1543 ifconfig_net0="inet 192.0.2.1 netmask 0xffffff00"
1544 .Ed
1545 .It Va ipv6_enable
1546 .Pq Vt bool
1547 This variable is deprecated.
1548 Use
1549 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1550 and
1551 .Va ipv6_activate_all_interfaces
1552 if necessary.
1553 .Pp
1554 If the variable is
1555 .Dq Li YES ,
1556 .Dq Li inet6 accept_rtadv
1557 is added to all of
1558 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1559 and the
1560 .Va ipv6_activate_all_interfaces
1561 is defined as
1562 .Dq Li YES .
1563 .It Va ipv6_prefer
1564 .Pq Vt bool
1565 This variable is deprecated.
1566 Use
1567 .Va ip6addrctl_policy
1568 instead.
1569 .Pp
1570 If the variable is
1571 .Dq Li YES ,
1572 the default address selection policy table set by
1573 .Xr ip6addrctl 8
1574 will be IPv6-preferred.
1575 .Pp
1576 If the variable is
1577 .Dq Li NO ,
1578 the default address selection policy table set by
1579 .Xr ip6addrctl 8
1580 will be IPv4-preferred.
1581 .It Va ipv6_activate_all_interfaces
1582 .Pq Vt bool
1583 This controls initial configuration on IPv6-capable
1584 interfaces with no corresponding
1585 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1586 variable.
1587 Note that it is not always necessary to set this variable to
1588 .Dq YES
1589 to use IPv6 functionality on
1590 .Fx .
1591 In most cases, just configuring
1592 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1593 variables works.
1594 .Pp
1595 If the variable is
1596 .Dq Li NO ,
1597 all interfaces which do not have a corresponding
1598 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1599 variable will be marked as
1600 .Dq Li IFDISABLED
1601 at creation.
1602 This means that all of IPv6 functionality on that interface
1603 is completely disabled to enforce a security policy.
1604 If the variable is set to
1605 .Dq YES ,
1606 the flag will be cleared on all of the interfaces.
1607 .Pp
1608 In most cases, just defining an
1609 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1610 for an IPv6-capable interface should be sufficient.
1611 However, if an interface is added dynamically
1612 .Pq by some tunneling protocols such as PPP, for example ,
1613 it is often difficult to define the variable in advance.
1614 In such a case, configuring the
1615 .Dq Li IFDISABLED
1616 flag can be disabled by setting this variable to
1617 .Dq YES .
1618 .Pp
1619 For more details of the
1620 .Dq Li IFDISABLED
1621 flag and keywords
1622 .Dq Li inet6 ifdisabled ,
1623 see
1624 .Xr ifconfig 8 .
1625 .Pp
1626 Default is
1627 .Dq Li NO .
1628 .It Va ipv6_privacy
1629 .Pq Vt bool
1630 If the variable is
1631 .Dq Li YES
1632 privacy addresses will be generated for each IPv6
1633 interface as described in RFC 4941.
1634 .It Va ipv6_network_interfaces
1635 .Pq Vt str
1636 This is the IPv6 equivalent of
1637 .Va network_interfaces .
1638 Normally manual configuration of this variable is not needed.
1639 .It Va ipv6_cpe_wanif
1640 .Pq Vt str
1641 If the variable is set to an interface name,
1642 the
1643 .Xr ifconfig 8
1644 options
1645 .Dq inet6 -no_radr accept_rtadv
1646 will be added to the specified interface automatically before evaluating
1647 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 ,
1648 and two
1649 .Xr sysctl 8
1650 variables
1651 .Va net.inet6.ip6.rfc6204w3
1652 and
1653 .Va net.inet6.ip6.no_radr
1654 will be set to 1.
1655 .Pp
1656 This means the specified interface will accept ICMPv6 Router
1657 Advertisement messages on that link and add the discovered
1658 routers into the Default Router List.
1659 While the other interfaces can still accept RA messages if the
1660 .Dq inet6 accept_rtadv
1661 option is specified, adding
1662 routes into the Default Router List will be disabled by
1663 .Dq inet6 no_radr
1664 option by default.
1665 See
1666 .Xr ifconfig 8
1667 for more details.
1668 .Pp
1669 Note that ICMPv6 Router Advertisement messages will be
1670 accepted even when
1671 .Va net.inet6.ip6.forwarding
1672 is 1
1673 .Pq packet forwarding is enabled
1674 when
1675 .Va net.inet6.ip6.rfc6204w3
1676 is set to 1.
1677 .Pp
1678 Default is
1679 .Dq Li NO .
1680 .It Va ifconfig_ Ns Ao Ar interface Ac Ns _descr
1681 .Pq Vt str
1682 This assigns arbitrary description to an interface.
1683 The
1684 .Xr sysctl 8
1685 variable
1686 .Va net.ifdescr_maxlen
1687 limits its length.
1688 This static setting may be overridden by commands
1689 started with dynamic interface configuration utilities
1690 like
1691 .Xr dhclient 8
1692 hooks.
1693 The description can be seen with
1694 .Xr ifconfig 8
1695 command and it may be exported with
1696 .Xr bsnmpd 1
1697 daemon using its MIB-2 module.
1698 .It Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1699 .Pq Vt str
1700 IPv6 functionality on an interface should be configured by
1701 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 ,
1702 instead of setting ifconfig parameters in
1703 .Va ifconfig_ Ns Aq Ar interface .
1704 If this variable is empty, all of IPv6 configurations on the
1705 specified interface by other variables such as
1706 .Va ipv6_prefix_ Ns Ao Ar interface Ac
1707 will be ignored.
1708 .Pp
1709 Aliases should be set by
1710 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1711 with
1712 .Dq Li inet6
1713 keyword.
1714 For example:
1715 .Bd -literal
1716 ifconfig_em0_ipv6="inet6 2001:db8:1::1 prefixlen 64"
1717 ifconfig_em0_alias0="inet6 2001:db8:2::1 prefixlen 64"
1718 .Ed
1719 .Pp
1720 Interfaces that have an
1721 .Dq Li inet6 accept_rtadv
1722 keyword in
1723 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1724 setting will be automatically configured by SLAAC
1725 .Pq StateLess Address AutoConfiguration
1726 described in
1727 .Rs
1728 .%T "RFC 4862"
1729 .Re
1730 .Pp
1731 Note that a link-local address will be automatically configured in
1732 addition to the configured global-scope addresses because the IPv6
1733 specifications require it on each link.
1734 The address is calculated from the MAC address by using an algorithm
1735 defined in
1736 .Rs
1737 .%T "RFC 4862"
1738 .%O "Section 5.3"
1739 .Re
1740 .Pp
1741 If only a link-local address is needed on the interface,
1742 the following configuration can be used:
1743 .Bd -literal
1744 ifconfig_em0_ipv6="inet6 auto_linklocal"
1745 .Ed
1746 .Pp
1747 A link-local address can also be configured manually.
1748 This is useful for the default router address of an IPv6 router
1749 so that it does not change when the network interface
1750 card is replaced.
1751 For example:
1752 .Bd -literal
1753 ifconfig_em0_ipv6="inet6 fe80::1 prefixlen 64"
1754 .Ed
1755 .It Va ipv6_prefix_ Ns Aq Ar interface
1756 .Pq Vt str
1757 If one or more prefixes are defined in
1758 .Va ipv6_prefix_ Ns Aq Ar interface
1759 addresses based on each prefix and the EUI-64 interface index will be
1760 configured on that interface.
1761 Note that this variable will be ignored when
1762 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1763 is empty.
1764 .Pp
1765 For example, the following configuration
1766 .Bd -literal
1767 ipv6_prefix_em0="2001:db8:1:0 2001:db8:2:0"
1768 .Ed
1769 .Pp
1770 is equivalent to the following:
1771 .Bd -literal
1772 ifconfig_em0_alias0="inet6 2001:db8:1:: eui64 prefixlen 64"
1773 ifconfig_em0_alias1="inet6 2001:db8:1:: prefixlen 64 anycast"
1774 ifconfig_em0_alias2="inet6 2001:db8:2:: eui64 prefixlen 64"
1775 ifconfig_em0_alias3="inet6 2001:db8:2:: prefixlen 64 anycast"
1776 .Ed
1777 .Pp
1778 These Subnet-Router anycast addresses will be added only when
1779 .Va ipv6_gateway_enable
1780 is YES.
1781 .It Va ipv6_default_interface
1782 .Pq Vt str
1783 If not set to
1784 .Dq Li NO ,
1785 this is the default output interface for scoped addresses.
1786 This works only with ipv6_gateway_enable="NO".
1787 .It Va ip6addrctl_enable
1788 .Pq Vt bool
1789 This variable is to enable configuring default address selection policy table
1790 .Pq RFC 3484 .
1791 The table can be specified in another variable
1792 .Va ip6addrctl_policy .
1793 For
1794 .Va ip6addrctl_policy
1795 the following keywords can be specified:
1796 .Dq Li ipv4_prefer ,
1797 .Dq Li ipv6_prefer ,
1798 or
1799 .Dq Li AUTO .
1800 .Pp
1801 If
1802 .Dq Li ipv4_prefer
1803 or
1804 .Dq Li ipv6_prefer
1805 is specified,
1806 .Xr ip6addrctl 8
1807 installs a pre-defined policy table described in Section 10.3
1808 .Pq IPv4-preferred
1809 or 2.1
1810 .Pq IPv6-preferred
1811 of RFC 3484.
1812 .Pp
1813 If
1814 .Dq Li AUTO
1815 is specified, it attempts to read a file
1816 .Pa /etc/ip6addrctl.conf
1817 first.
1818 If this file is found,
1819 .Xr ip6addrctl 8
1820 reads and installs it.
1821 If not found, a policy is automatically set
1822 according to
1823 .Va ipv6_activate_all_interfaces
1824 variable; if the variable is set to
1825 .Dq Li YES
1826 the IPv6-preferred one is used.
1827 Otherwise IPv4-preferred.
1828 .Pp
1829 The default value of
1830 .Va ip6addrctl_enable
1831 and
1832 .Va ip6addrctl_policy
1833 are
1834 .Dq Li YES
1835 and
1836 .Dq Li AUTO ,
1837 respectively.
1838 .It Va cloned_interfaces
1839 .Pq Vt str
1840 Set to the list of clonable network interfaces to create on this host.
1841 Further cloning arguments may be passed to the
1842 .Xr ifconfig 8
1843 .Cm create
1844 command for each interface by setting the
1845 .Va create_args_ Ns Aq Ar interface
1846 variable.
1847 If an interface name is specified with
1848 .Dq :sticky
1849 keyword,
1850 the interface will not be destroyed even when
1851 .Pa rc.d/netif
1852 script is invoked with
1853 .Dq stop
1854 argument.
1855 This is useful when reconfiguring the interface without destroying it.
1856 Entries in
1857 .Va cloned_interfaces
1858 are automatically appended to
1859 .Va network_interfaces
1860 for configuration.
1861 .It Va cloned_interfaces_sticky
1862 .Pq Vt bool
1863 This variable is to globally enable functionality of
1864 .Dq :sticky
1865 keyword in
1866 .Va cloned_interfaces
1867 for all interfaces.
1868 The default value is
1869 .Dq NO .
1870 Even if this variable is specified to
1871 .Dq YES ,
1872 .Dq :nosticky
1873 keyword can be used to override it on per interface basis.
1874 .It Va gif_interfaces
1875 Set to the list of
1876 .Xr gif 4
1877 tunnel interfaces to configure on this host.
1878 A
1879 .Va gifconfig_ Ns Aq Ar interface
1880 variable is assumed to exist for each value of
1881 .Ar interface .
1882 The value of this variable is used to configure the link layer of the
1883 tunnel using the
1884 .Cm tunnel
1885 option to
1886 .Xr ifconfig .
1887 Additionally, this option ensures that each listed interface is created
1888 via the
1889 .Cm create
1890 option to
1891 .Xr ifconfig
1892 before attempting to configure it.
1893 .Pp
1894 For example, configure two
1895 .Xr gif
1896 interfaces with:
1897 .Bd -literal
1898 gif_interfaces="gif0 gif1"
1899 gifconfig_gif0="100.64.0.1 100.64.0.2"
1900 ifconfig_gif0="inet 10.0.0.1 10.0.0.2 netmask 255.255.255.252"
1901 gifconfig_gif1="inet6 2a00::1 2a01::1"
1902 ifconfig_gif1="inet 10.1.0.1 10.1.0.2 netmask 255.255.255.252"
1903 .Ed
1904 .It Va sppp_interfaces
1905 .Pq Vt str
1906 Set to the list of
1907 .Xr sppp 4
1908 interfaces to configure on this host.
1909 A
1910 .Va spppconfig_ Ns Aq Ar interface
1911 variable is assumed to exist for each value of
1912 .Ar interface .
1913 Each interface should also be configured by a general
1914 .Va ifconfig_ Ns Aq Ar interface
1915 setting.
1916 Refer to
1917 .Xr spppcontrol 8
1918 for more information about available options.
1919 .It Va ppp_enable
1920 .Pq Vt bool
1921 If set to
1922 .Dq Li YES ,
1923 run the
1924 .Xr ppp 8
1925 daemon.
1926 .It Va ppp_profile
1927 .Pq Vt str
1928 The name of the profile to use from
1929 .Pa /etc/ppp/ppp.conf .
1930 Also used for per-profile overrides of
1931 .Va ppp_mode
1932 and
1933 .Va ppp_nat ,
1934 and
1935 .Va ppp_ Ns Ao Ar profile Ac Ns _unit .
1936 When the profile name contains any of the characters
1937 .Dq Li .-/+
1938 they are translated to
1939 .Dq Li _
1940 for the proposes of the override variable names.
1941 .It Va ppp_mode
1942 .Pq Vt str
1943 Mode in which to run the
1944 .Xr ppp 8
1945 daemon.
1946 .It Va ppp_ Ns Ao Ar profile Ac Ns _mode
1947 .Pq Vt str
1948 Overrides the global
1949 .Va ppp_mode
1950 for
1951 .Ar profile .
1952 Accepted modes are
1953 .Dq Li auto ,
1954 .Dq Li ddial ,
1955 .Dq Li direct
1956 and
1957 .Dq Li dedicated .
1958 See the manual for a full description.
1959 .It Va ppp_nat
1960 .Pq Vt bool
1961 If set to
1962 .Dq Li YES ,
1963 enables network address translation.
1964 Used in conjunction with
1965 .Va gateway_enable
1966 allows hosts on private network addresses access to the Internet using
1967 this host as a network address translating router.
1968 Default is
1969 .Dq Li YES .
1970 .It Va ppp_ Ns Ao Ar profile Ac Ns _nat
1971 .Pq Vt str
1972 Overrides the global
1973 .Va ppp_nat
1974 for
1975 .Ar profile .
1976 .It Va ppp_ Ns Ao Ar profile Ac Ns _unit
1977 .Pq Vt int
1978 Set the unit number to be used for this profile.
1979 See the manual description of
1980 .Fl unit Ns Ar N
1981 for details.
1982 .It Va ppp_user
1983 .Pq Vt str
1984 The name of the user under which
1985 .Xr ppp 8
1986 should be started.
1987 By
1988 default,
1989 .Xr ppp 8
1990 is started as
1991 .Dq Li root .
1992 .It Va rc_conf_files
1993 .Pq Vt str
1994 This option is used to specify a list of files that will override
1995 the settings in
1996 .Pa /etc/defaults/rc.conf .
1997 The files will be read in the order in which they are specified and should
1998 include the full path to the file.
1999 By default, the files specified are
2000 .Pa /etc/rc.conf
2001 and
2002 .Pa /etc/rc.conf.local
2003 .It Va zfs_enable
2004 .Pq Vt bool
2005 If set to
2006 .Dq Li YES ,
2007 .Pa /etc/rc.d/zfs
2008 will attempt to automatically mount ZFS file systems and initialize ZFS volumes
2009 (ZVOLs).
2010 .It Va gptboot_enable
2011 .Pq Vt bool
2012 If set to
2013 .Dq Li YES ,
2014 .Pa /etc/rc.d/gptboot
2015 will log if the system successfully (or not) booted from a GPT partition,
2016 which had the
2017 .Ar bootonce
2018 attribute set using
2019 .Xr gpart 8
2020 utility.
2021 .It Va gbde_autoattach_all
2022 .Pq Vt bool
2023 If set to
2024 .Dq Li YES ,
2025 .Pa /etc/rc.d/gbde
2026 will attempt to automatically initialize your .bde devices in
2027 .Pa /etc/fstab .
2028 .It Va gbde_devices
2029 .Pq Vt str
2030 List the devices that the script should try to attach,
2031 or
2032 .Dq Li AUTO .
2033 .It Va gbde_lockdir
2034 .Pq Vt str
2035 The directory where the
2036 .Xr gbde 4
2037 lockfiles are located.
2038 The default lockfile directory is
2039 .Pa /etc .
2040 .Pp
2041 The lockfile for each individual
2042 .Xr gbde 4
2043 device can be overridden by setting the variable
2044 .Va gbde_lock_ Ns Aq Ar device ,
2045 where
2046 .Ar device
2047 is the encrypted device without the
2048 .Dq Pa /dev/
2049 and
2050 .Dq Pa .bde
2051 parts.
2052 .It Va gbde_attach_attempts
2053 .Pq Vt int
2054 Number of times to attempt attaching to a
2055 .Xr gbde 4
2056 device, i.e., how many times the user is asked for the pass-phrase.
2057 Default is 3.
2058 .It Va geli_devices
2059 .Pq Vt str
2060 List of devices to automatically attach on boot.
2061 Note that .eli devices from
2062 .Pa /etc/fstab
2063 are automatically appended to this list.
2064 .It Va geli_groups
2065 .Pq Vt str
2066 List of groups containing devices to automatically attach on boot with the same
2067 keyfiles and passphrase.
2068 This must be accompanied with a corresponding
2069 .Va geli_ Ns Ao Ar group Ac Ns Va _devices
2070 variable.
2071 .It Va geli_tries
2072 .Pq Vt int
2073 Number of times user is asked for the pass-phrase.
2074 If empty, it will be taken from
2075 .Va kern.geom.eli.tries
2076 sysctl variable.
2077 .It Va geli_default_flags
2078 .Pq Vt str
2079 Default flags to use by
2080 .Xr geli 8
2081 when configuring disk encryption.
2082 Flags can be configured for every device separately by defining the
2083 .Va geli_ Ns Ao Ar device Ac Ns Va _flags
2084 variable, and for every group separately by defining the
2085 .Va geli_ Ns Ao Ar group Ac Ns Va _flags
2086 variable.
2087 .It Va geli_autodetach
2088 .Pq Vt str
2089 Specifies if GELI devices should be marked for detach on last close after
2090 file systems are mounted.
2091 Default is
2092 .Dq Li YES .
2093 This can be changed for every device separately by defining the
2094 .Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
2095 variable.
2096 .It Va root_rw_mount
2097 .Pq Vt bool
2098 Set to
2099 .Dq Li YES
2100 by default.
2101 After the file systems are checked at boot time, the root file system
2102 is remounted as read-write if this is set to
2103 .Dq Li YES .
2104 Diskless systems that mount their root file system from a read-only remote
2105 NFS share should set this to
2106 .Dq Li NO
2107 in their
2108 .Pa rc.conf .
2109 .It Va fsck_y_enable
2110 .Pq Vt bool
2111 If set to
2112 .Dq Li YES ,
2113 .Xr fsck 8
2114 will be run with the
2115 .Fl y
2116 flag if the initial preen
2117 of the file systems fails.
2118 .It Va background_fsck
2119 .Pq Vt bool
2120 If set to
2121 .Dq Li NO ,
2122 the system will not attempt to run
2123 .Xr fsck 8
2124 in the background where possible.
2125 .It Va background_fsck_delay
2126 .Pq Vt int
2127 The amount of time in seconds to sleep before starting a background
2128 .Xr fsck 8 .
2129 It defaults to sixty seconds to allow large applications such as
2130 the X server to start before disk I/O bandwidth is monopolized by
2131 .Xr fsck 8 .
2132 If set to a negative number, the background file system check will be
2133 delayed indefinitely to allow the administrator to run it at a more
2134 convenient time.
2135 For example it may be run from
2136 .Xr cron 8
2137 by adding a line like
2138 .Pp
2139 .Dl "0 4 * * * root /etc/rc.d/bgfsck forcestart"
2140 .Pp
2141 to
2142 .Pa /etc/crontab .
2143 .It Va netfs_types
2144 .Pq Vt str
2145 List of file system types that are network-based.
2146 This list should generally not be modified by end users.
2147 Use
2148 .Va extra_netfs_types
2149 instead.
2150 .It Va extra_netfs_types
2151 .Pq Vt str
2152 If set to something other than
2153 .Dq Li NO
2154 (the default),
2155 this variable extends the list of file system types
2156 for which automatic mounting at startup by
2157 .Xr rc 8
2158 should be delayed until the network is initialized.
2159 It should contain
2160 a whitespace-separated list of network file system descriptor pairs,
2161 each consisting of a file system type as passed to
2162 .Xr mount 8
2163 and a human-readable, one-word description,
2164 joined with a colon
2165 .Pq Ql \&: .
2166 Extending the default list in this way is only necessary
2167 when third party file system types are used.
2168 .It Va syslogd_enable
2169 .Pq Vt bool
2170 If set to
2171 .Dq Li YES ,
2172 run the
2173 .Xr syslogd 8
2174 daemon.
2175 .It Va syslogd_program
2176 .Pq Vt str
2177 Path to
2178 .Xr syslogd 8
2179 (default
2180 .Pa /usr/sbin/syslogd ) .
2181 .It Va syslogd_flags
2182 .Pq Vt str
2183 If
2184 .Va syslogd_enable
2185 is set to
2186 .Dq Li YES ,
2187 these are the flags to pass to
2188 .Xr syslogd 8 .
2189 .It Va inetd_enable
2190 .Pq Vt bool
2191 If set to
2192 .Dq Li YES ,
2193 run the
2194 .Xr inetd 8
2195 daemon.
2196 .It Va inetd_program
2197 .Pq Vt str
2198 Path to
2199 .Xr inetd 8
2200 (default
2201 .Pa /usr/sbin/inetd ) .
2202 .It Va inetd_flags
2203 .Pq Vt str
2204 If
2205 .Va inetd_enable
2206 is set to
2207 .Dq Li YES ,
2208 these are the flags to pass to
2209 .Xr inetd 8 .
2210 .It Va hastd_enable
2211 .Pq Vt bool
2212 If set to
2213 .Dq Li YES ,
2214 run the
2215 .Xr hastd 8
2216 daemon.
2217 .It Va hastd_program
2218 .Pq Vt str
2219 Path to
2220 .Xr hastd 8
2221 (default
2222 .Pa /sbin/hastd ) .
2223 .It Va hastd_flags
2224 .Pq Vt str
2225 If
2226 .Va hastd_enable
2227 is set to
2228 .Dq Li YES ,
2229 these are the flags to pass to
2230 .Xr hastd 8 .
2231 .It Va local_unbound_enable
2232 .Pq Vt bool
2233 If set to
2234 .Dq Li YES ,
2235 run the
2236 .Xr unbound 8
2237 daemon as a local caching resolver.
2238 .It Va kdc_enable
2239 .Pq Vt bool
2240 Set to
2241 .Dq Li YES
2242 to start a Kerberos 5 authentication server
2243 at boot time.
2244 .It Va kdc_program
2245 .Pq Vt str
2246 If
2247 .Va kdc_enable
2248 is set to
2249 .Dq Li YES
2250 this is the path to Kerberos 5 Authentication Server.
2251 .It Va kdc_flags
2252 .Pq Vt str
2253 Empty by default.
2254 This variable contains additional flags to be passed to the Kerberos 5
2255 authentication server.
2256 .It Va kadmind_enable
2257 .Pq Vt bool
2258 Set to
2259 .Dq Li YES
2260 to start
2261 .Xr kadmind 8 ,
2262 the Kerberos 5 Administration Daemon; set to
2263 .Dq Li NO
2264 on a slave server.
2265 .It Va kadmind_program
2266 .Pq Vt str
2267 If
2268 .Va kadmind_enable
2269 is set to
2270 .Dq Li YES
2271 this is the path to Kerberos 5 Administration Daemon.
2272 .It Va kpasswdd_enable
2273 .Pq Vt bool
2274 Set to
2275 .Dq Li YES
2276 to start
2277 .Xr kpasswdd 8 ,
2278 the Kerberos 5 Password-Changing Daemon; set to
2279 .Dq Li NO
2280 on a slave server.
2281 .It Va kpasswdd_program
2282 .Pq Vt str
2283 If
2284 .Va kpasswdd_enable
2285 is set to
2286 .Dq Li YES
2287 this is the path to Kerberos 5 Password-Changing Daemon.
2288 .It Va kfd_enable
2289 .Pq Vt bool
2290 Set to
2291 .Dq Li YES
2292 to start
2293 .Xr kfd 8 ,
2294 the Kerberos 5 ticket forwarding daemon, at the boot time.
2295 .It Va kfd_program
2296 .Pq Vt str
2297 Path to
2298 .Xr kfd 8
2299 (default
2300 .Pa /usr/libexec/kfd ) .
2301 .It Va rwhod_enable
2302 .Pq Vt bool
2303 If set to
2304 .Dq Li YES ,
2305 run the
2306 .Xr rwhod 8
2307 daemon at boot time.
2308 .It Va rwhod_flags
2309 .Pq Vt str
2310 If
2311 .Va rwhod_enable
2312 is set to
2313 .Dq Li YES ,
2314 these are the flags to pass to it.
2315 .It Va amd_enable
2316 .Pq Vt bool
2317 If set to
2318 .Dq Li YES ,
2319 run the
2320 .Xr amd 8
2321 daemon at boot time.
2322 .It Va amd_flags
2323 .Pq Vt str
2324 If
2325 .Va amd_enable
2326 is set to
2327 .Dq Li YES ,
2328 these are the flags to pass to it.
2329 See the
2330 .Xr amd 8
2331 manpage for more information.
2332 .It Va amd_map_program
2333 .Pq Vt str
2334 If set,
2335 the specified program is run to get the list of
2336 .Xr amd 8
2337 maps.
2338 For example, if the
2339 .Xr amd 8
2340 maps are stored in NIS, one can set this to
2341 run
2342 .Xr ypcat 1
2343 to get a list of
2344 .Xr amd 8
2345 maps from the
2346 .Pa amd.master
2347 NIS map.
2348 .It Va update_motd
2349 .Pq Vt bool
2350 If set to
2351 .Dq Li YES ,
2352 .Pa /etc/motd
2353 will be updated at boot time to reflect the kernel release
2354 being run.
2355 If set to
2356 .Dq Li NO ,
2357 .Pa /etc/motd
2358 will not be updated.
2359 .It Va nfs_client_enable
2360 .Pq Vt bool
2361 If set to
2362 .Dq Li YES ,
2363 run the NFS client daemons at boot time.
2364 .It Va nfs_access_cache
2365 .Pq Vt int
2366 If
2367 .Va nfs_client_enable
2368 is set to
2369 .Dq Li YES ,
2370 this can be set to
2371 .Dq Li 0
2372 to disable NFS ACCESS RPC caching, or to the number of seconds for which
2373 NFS ACCESS
2374 results should be cached.
2375 A value of 2-10 seconds will substantially reduce network
2376 traffic for many NFS operations.
2377 .It Va nfs_server_enable
2378 .Pq Vt bool
2379 If set to
2380 .Dq Li YES ,
2381 run the NFS server daemons at boot time.
2382 .It Va nfs_server_flags
2383 .Pq Vt str
2384 If
2385 .Va nfs_server_enable
2386 is set to
2387 .Dq Li YES ,
2388 these are the flags to pass to the
2389 .Xr nfsd 8
2390 daemon.
2391 .It Va nfsv4_server_enable
2392 .Pq Vt bool
2393 If
2394 .Va nfs_server_enable
2395 is set to
2396 .Dq Li YES
2397 and
2398 .Va nfsv4_server_enable
2399 are set to
2400 .Dq Li YES ,
2401 enable the server for NFSv4 as well as NFSv2 and NFSv3.
2402 .It Va nfsuserd_enable
2403 .Pq Vt bool
2404 If
2405 .Va nfsuserd_enable
2406 is set to
2407 .Dq Li YES ,
2408 run the nfsuserd daemon, which is needed for NFSv4 in order
2409 to map between user/group names vs uid/gid numbers.
2410 If
2411 .Va nfsv4_server_enable
2412 is set to
2413 .Dq Li YES ,
2414 this will be forced enabled.
2415 .It Va nfsuserd_flags
2416 .Pq Vt str
2417 If
2418 .Va nfsuserd_enable
2419 is set to
2420 .Dq Li YES ,
2421 these are the flags to pass to the
2422 .Xr nfsuserd 8
2423 daemon.
2424 .It Va nfscbd_enable
2425 .Pq Vt bool
2426 If
2427 .Va nfscbd_enable
2428 is set to
2429 .Dq Li YES ,
2430 run the nfscbd daemon, which enables callbacks/delegations for the NFSv4 client.
2431 .It Va nfscbd_flags
2432 .Pq Vt str
2433 If
2434 .Va nfscbd_enable
2435 is set to
2436 .Dq Li YES ,
2437 these are the flags to pass to the
2438 .Xr nfscbd 8
2439 daemon.
2440 .It Va mountd_enable
2441 .Pq Vt bool
2442 If set to
2443 .Dq Li YES ,
2444 and no
2445 .Va nfs_server_enable
2446 is set, start
2447 .Xr mountd 8 ,
2448 but not
2449 .Xr nfsd 8
2450 daemon.
2451 It is commonly needed to run CFS without real NFS used.
2452 .It Va mountd_flags
2453 .Pq Vt str
2454 If
2455 .Va mountd_enable
2456 is set to
2457 .Dq Li YES ,
2458 these are the flags to pass to the
2459 .Xr mountd 8
2460 daemon.
2461 .It Va weak_mountd_authentication
2462 .Pq Vt bool
2463 If set to
2464 .Dq Li YES ,
2465 allow services like PCNFSD to make non-privileged mount
2466 requests.
2467 .It Va nfs_reserved_port_only
2468 .Pq Vt bool
2469 If set to
2470 .Dq Li YES ,
2471 provide NFS services only on a secure port.
2472 .It Va nfs_bufpackets
2473 .Pq Vt int
2474 If set to a number, indicates the number of packets worth of
2475 socket buffer space to reserve on an NFS client.
2476 The kernel default is typically 4.
2477 Using a higher number may be
2478 useful on gigabit networks to improve performance.
2479 The minimum value is
2480 2 and the maximum is 64.
2481 .It Va rpc_lockd_enable
2482 .Pq Vt bool
2483 If set to
2484 .Dq Li YES
2485 and also an NFS server or client, run
2486 .Xr rpc.lockd 8
2487 at boot time.
2488 .It Va rpc_lockd_flags
2489 .Pq Vt str
2490 If
2491 .Va rpc_lockd_enable
2492 is set to
2493 .Dq Li YES ,
2494 these are the flags to pass to the
2495 .Xr rpc.lockd 8
2496 daemon.
2497 .It Va rpc_statd_enable
2498 .Pq Vt bool
2499 If set to
2500 .Dq Li YES
2501 and also an NFS server or client, run
2502 .Xr rpc.statd 8
2503 at boot time.
2504 .It Va rpc_statd_flags
2505 .Pq Vt str
2506 If
2507 .Va rpc_statd_enable
2508 is set to
2509 .Dq Li YES ,
2510 these are the flags to pass to the
2511 .Xr rpc.statd 8
2512 daemon.
2513 .It Va rpcbind_program
2514 .Pq Vt str
2515 Path to
2516 .Xr rpcbind 8
2517 (default
2518 .Pa /usr/sbin/rpcbind ) .
2519 .It Va rpcbind_enable
2520 .Pq Vt bool
2521 If set to
2522 .Dq Li YES ,
2523 run the
2524 .Xr rpcbind 8
2525 service at boot time.
2526 .It Va rpcbind_flags
2527 .Pq Vt str
2528 If
2529 .Va rpcbind_enable
2530 is set to
2531 .Dq Li YES ,
2532 these are the flags to pass to the
2533 .Xr rpcbind 8
2534 daemon.
2535 .It Va keyserv_enable
2536 .Pq Vt bool
2537 If set to
2538 .Dq Li YES ,
2539 run the
2540 .Xr keyserv 8
2541 daemon on boot for running Secure RPC.
2542 .It Va keyserv_flags
2543 .Pq Vt str
2544 If
2545 .Va keyserv_enable
2546 is set to
2547 .Dq Li YES ,
2548 these are the flags to pass to
2549 .Xr keyserv 8
2550 daemon.
2551 .It Va pppoed_enable
2552 .Pq Vt bool
2553 If set to
2554 .Dq Li YES ,
2555 run the
2556 .Xr pppoed 8
2557 daemon at boot time to provide PPP over Ethernet services.
2558 .It Va pppoed_ Ns Aq Ar provider
2559 .Pq Vt str
2560 .Xr pppoed 8
2561 listens to requests to this
2562 .Ar provider
2563 and ultimately runs
2564 .Xr ppp 8
2565 with a
2566 .Ar system
2567 argument of the same name.
2568 .It Va pppoed_flags
2569 .Pq Vt str
2570 Additional flags to pass to
2571 .Xr pppoed 8 .
2572 .It Va pppoed_interface
2573 .Pq Vt str
2574 The network interface to run
2575 .Xr pppoed 8
2576 on.
2577 This is mandatory when
2578 .Va pppoed_enable
2579 is set to
2580 .Dq Li YES .
2581 .It Va timed_enable
2582 .Pq Vt bool
2583 If set to
2584 .Dq Li YES ,
2585 run the
2586 .Xr timed 8
2587 service at boot time.
2588 This command is intended for networks of
2589 machines where a consistent
2590 .Dq "network time"
2591 for all hosts must be established.
2592 This is often useful in large NFS
2593 environments where time stamps on files are expected to be consistent
2594 network-wide.
2595 .It Va timed_flags
2596 .Pq Vt str
2597 If
2598 .Va timed_enable
2599 is set to
2600 .Dq Li YES ,
2601 these are the flags to pass to the
2602 .Xr timed 8
2603 service.
2604 .It Va ntpdate_enable
2605 .Pq Vt bool
2606 If set to
2607 .Dq Li YES ,
2608 run
2609 .Xr ntpdate 8
2610 at system startup.
2611 This command is intended to
2612 synchronize the system clock only
2613 .Em once
2614 from some standard reference.
2615 .Pp
2616 Note that the use of the
2617 .Va ntpd_sync_on_start
2618 variable is a preferred alternative to the
2619 .Xr ntpdate 8
2620 utility as
2621 .Xr ntpdate 8
2622 is to be retired from the NTP distribution.
2623 .It Va ntpdate_config
2624 .Pq Vt str
2625 Configuration file for
2626 .Xr ntpdate 8 .
2627 Default
2628 .Pa /etc/ntp.conf .
2629 .It Va ntpdate_hosts
2630 .Pq Vt str
2631 A whitespace-separated list of NTP servers to synchronize with at startup.
2632 The default is to use the servers listed in
2633 .Va ntpdate_config ,
2634 if that file exists.
2635 .It Va ntpdate_program
2636 .Pq Vt str
2637 Path to
2638 .Xr ntpdate 8
2639 (default
2640 .Pa /usr/sbin/ntpdate ) .
2641 .It Va ntpdate_flags
2642 .Pq Vt str
2643 If
2644 .Va ntpdate_enable
2645 is set to
2646 .Dq Li YES ,
2647 these are the flags to pass to the
2648 .Xr ntpdate 8
2649 command (typically a hostname).
2650 .It Va ntpd_enable
2651 .Pq Vt bool
2652 If set to
2653 .Dq Li YES ,
2654 run the
2655 .Xr ntpd 8
2656 command at boot time.
2657 .It Va ntpd_program
2658 .Pq Vt str
2659 Path to
2660 .Xr ntpd 8
2661 (default
2662 .Pa /usr/sbin/ntpd ) .
2663 .It Va ntpd_config
2664 .Pq Vt str
2665 Path to
2666 .Xr ntpd 8
2667 configuration file.
2668 Default
2669 .Pa /etc/ntp.conf .
2670 .It Va ntpd_flags
2671 .Pq Vt str
2672 If
2673 .Va ntpd_enable
2674 is set to
2675 .Dq Li YES ,
2676 these are the flags to pass to the
2677 .Xr ntpd 8
2678 daemon.
2679 .It Va ntpd_sync_on_start
2680 .Pq Vt bool
2681 If set to
2682 .Dq Li YES ,
2683 .Xr ntpd 8
2684 is run with the
2685 .Fl g
2686 flag, which syncs the system's clock on startup.
2687 See
2688 .Xr ntpd 8
2689 for more information regarding the
2690 .Fl g
2691 option.
2692 This is a preferred alternative to using
2693 .Xr ntpdate 8
2694 or specifying the
2695 .Va ntpdate_enable
2696 variable.
2697 .It Va nis_client_enable
2698 .Pq Vt bool
2699 If set to
2700 .Dq Li YES ,
2701 run the
2702 .Xr ypbind 8
2703 service at system boot time.
2704 .It Va nis_client_flags
2705 .Pq Vt str
2706 If
2707 .Va nis_client_enable
2708 is set to
2709 .Dq Li YES ,
2710 these are the flags to pass to the
2711 .Xr ypbind 8
2712 service.
2713 .It Va nis_ypldap_enable
2714 .Pq Vt bool
2715 If set to
2716 .Dq Li YES ,
2717 run the
2718 .Xr ypldap 8
2719 daemon at system boot time.
2720 .It Va nis_ypldap_flags
2721 .Pq Vt str
2722 If
2723 .Va nis.ypldap_enable
2724 is set to
2725 .Dq Li YES ,
2726 these are the flags to pass to the
2727 .Xr ypldap 8
2728 daemon.
2729 .It Va nis_ypset_enable
2730 .Pq Vt bool
2731 If set to
2732 .Dq Li YES ,
2733 run the
2734 .Xr ypset 8
2735 daemon at system boot time.
2736 .It Va nis_ypset_flags
2737 .Pq Vt str
2738 If
2739 .Va nis_ypset_enable
2740 is set to
2741 .Dq Li YES ,
2742 these are the flags to pass to the
2743 .Xr ypset 8
2744 daemon.
2745 .It Va nis_server_enable
2746 .Pq Vt bool
2747 If set to
2748 .Dq Li YES ,
2749 run the
2750 .Xr ypserv 8
2751 daemon at system boot time.
2752 .It Va nis_server_flags
2753 .Pq Vt str
2754 If
2755 .Va nis_server_enable
2756 is set to
2757 .Dq Li YES ,
2758 these are the flags to pass to the
2759 .Xr ypserv 8
2760 daemon.
2761 .It Va nis_ypxfrd_enable
2762 .Pq Vt bool
2763 If set to
2764 .Dq Li YES ,
2765 run the
2766 .Xr rpc.ypxfrd 8
2767 daemon at system boot time.
2768 .It Va nis_ypxfrd_flags
2769 .Pq Vt str
2770 If
2771 .Va nis_ypxfrd_enable
2772 is set to
2773 .Dq Li YES ,
2774 these are the flags to pass to the
2775 .Xr rpc.ypxfrd 8
2776 daemon.
2777 .It Va nis_yppasswdd_enable
2778 .Pq Vt bool
2779 If set to
2780 .Dq Li YES ,
2781 run the
2782 .Xr rpc.yppasswdd 8
2783 daemon at system boot time.
2784 .It Va nis_yppasswdd_flags
2785 .Pq Vt str
2786 If
2787 .Va nis_yppasswdd_enable
2788 is set to
2789 .Dq Li YES ,
2790 these are the flags to pass to the
2791 .Xr rpc.yppasswdd 8
2792 daemon.
2793 .It Va rpc_ypupdated_enable
2794 .Pq Vt bool
2795 If set to
2796 .Dq Li YES ,
2797 run the
2798 .Nm rpc.ypupdated
2799 daemon at system boot time.
2800 .It Va bsnmpd_enable
2801 .Pq Vt bool
2802 If set to
2803 .Dq Li YES ,
2804 run the
2805 .Xr bsnmpd 1
2806 daemon at system boot time.
2807 Be sure to understand the security implications of running SNMP daemon
2808 on your host.
2809 .It Va bsnmpd_flags
2810 .Pq Vt str
2811 If
2812 .Va bsnmpd_enable
2813 is set to
2814 .Dq Li YES ,
2815 these are the flags to pass to the
2816 .Xr bsnmpd 1
2817 daemon.
2818 .It Va defaultrouter
2819 .Pq Vt str
2820 If not set to
2821 .Dq Li NO ,
2822 create a default route to this host name or IP address
2823 (use an IP address if this router is also required to get to the
2824 name server!).
2825 .It Va ipv6_defaultrouter
2826 .Pq Vt str
2827 The IPv6 equivalent of
2828 .Va defaultrouter .
2829 .It Va static_arp_pairs
2830 .Pq Vt str
2831 Set to the list of static ARP pairs that are to be added at system
2832 boot time.
2833 For each whitespace separated
2834 .Ar element
2835 in the value, a
2836 .Va static_arp_ Ns Aq Ar element
2837 variable is assumed to exist whose contents will later be passed to a
2838 .Dq Nm arp Cm -S
2839 operation.
2840 For example
2841 .Bd -literal
2842 static_arp_pairs="gw"
2843 static_arp_gw="192.168.1.1 00:01:02:03:04:05"
2844 .Ed
2845 .It Va static_ndp_pairs
2846 .Pq Vt str
2847 Set to the list of static NDP pairs that are to be added at system
2848 boot time.
2849 For each whitespace separated
2850 .Ar element
2851 in the value, a
2852 .Va static_ndp_ Ns Aq Ar element
2853 variable is assumed to exist whose contents will later be passed to a
2854 .Dq Nm ndp Cm -s
2855 operation.
2856 For example
2857 .Bd -literal
2858 static_ndp_pairs="gw"
2859 static_ndp_gw="2001:db8:3::1 00:01:02:03:04:05"
2860 .Ed
2861 .It Va static_routes
2862 .Pq Vt str
2863 Set to the list of static routes that are to be added at system
2864 boot time.
2865 If not set to
2866 .Dq Li NO
2867 then for each whitespace separated
2868 .Ar element
2869 in the value, a
2870 .Va route_ Ns Aq Ar element
2871 variable is assumed to exist
2872 whose contents will later be passed to a
2873 .Dq Nm route Cm add
2874 operation.
2875 For example:
2876 .Bd -literal
2877 static_routes="ext mcast:gif0 gif0local:gif0"
2878 route_ext="-net 10.0.0.0/24 -gateway 192.168.0.1"
2879 route_mcast="-net 224.0.0.0/4 -iface gif0"
2880 route_gif0local="-host 169.254.1.1 -iface lo0"
2881 .Ed
2882 .Pp
2883 When an
2884 .Ar element
2885 is in the form of
2886 .Li name:ifname ,
2887 the route is specific to the interface
2888 .Li ifname .
2889 .It Va ipv6_static_routes
2890 .Pq Vt str
2891 The IPv6 equivalent of
2892 .Va static_routes .
2893 If not set to
2894 .Dq Li NO
2895 then for each whitespace separated
2896 .Ar element
2897 in the value, a
2898 .Va ipv6_route_ Ns Aq Ar element
2899 variable is assumed to exist
2900 whose contents will later be passed to a
2901 .Dq Nm route Cm add Fl inet6
2902 operation.
2903 .It Va gateway_enable
2904 .Pq Vt bool
2905 If set to
2906 .Dq Li YES ,
2907 configure host to act as an IP router, e.g.\& to forward packets
2908 between interfaces.
2909 .It Va ipv6_gateway_enable
2910 .Pq Vt bool
2911 The IPv6 equivalent of
2912 .Va gateway_enable .
2913 .It Va routed_enable
2914 .Pq Vt bool
2915 If set to
2916 .Dq Li YES ,
2917 run a routing daemon of some sort, based on the
2918 settings of
2919 .Va routed_program
2920 and
2921 .Va routed_flags .
2922 .It Va route6d_enable
2923 .Pq Vt bool
2924 The IPv6 equivalent of
2925 .Va routed_enable .
2926 If set to
2927 .Dq Li YES ,
2928 run a routing daemon of some sort, based on the
2929 settings of
2930 .Va route6d_program
2931 and
2932 .Va route6d_flags .
2933 .It Va routed_program
2934 .Pq Vt str
2935 If
2936 .Va routed_enable
2937 is set to
2938 .Dq Li YES ,
2939 this is the name of the routing daemon to use.
2940 .It Va route6d_program
2941 .Pq Vt str
2942 The IPv6 equivalent of
2943 .Va routed_program .
2944 .It Va routed_flags
2945 .Pq Vt str
2946 If
2947 .Va routed_enable
2948 is set to
2949 .Dq Li YES ,
2950 these are the flags to pass to the routing daemon.
2951 .It Va route6d_flags
2952 .Pq Vt str
2953 The IPv6 equivalent of
2954 .Va routed_flags .
2955 .It Va rtadvd_enable
2956 .Pq Vt bool
2957 If set to
2958 .Dq Li YES ,
2959 run the
2960 .Xr rtadvd 8
2961 daemon at boot time.
2962 The
2963 .Xr rtadvd 8
2964 utility sends ICMPv6 Router Advertisement messages to
2965 the interfaces specified in
2966 .Va rtadvd_interfaces .
2967 This should only be enabled with great care.
2968 You may want to fine-tune
2969 .Xr rtadvd.conf 5 .
2970 .It Va rtadvd_interfaces
2971 .Pq Vt str
2972 If
2973 .Va rtadvd_enable
2974 is set to
2975 .Dq Li YES
2976 this is the list of interfaces to use.
2977 .It Va arpproxy_all
2978 .Pq Vt bool
2979 If set to
2980 .Dq Li YES ,
2981 enable global proxy ARP.
2982 .It Va forward_sourceroute
2983 .Pq Vt bool
2984 If set to
2985 .Dq Li YES
2986 and
2987 .Va gateway_enable
2988 is also set to
2989 .Dq Li YES ,
2990 source-routed packets are forwarded.
2991 .It Va accept_sourceroute
2992 .Pq Vt bool
2993 If set to
2994 .Dq Li YES ,
2995 the system will accept source-routed packets directed at it.
2996 .It Va rarpd_enable
2997 .Pq Vt bool
2998 If set to
2999 .Dq Li YES ,
3000 run the
3001 .Xr rarpd 8
3002 daemon at system boot time.
3003 .It Va rarpd_flags
3004 .Pq Vt str
3005 If
3006 .Va rarpd_enable
3007 is set to
3008 .Dq Li YES ,
3009 these are the flags to pass to the
3010 .Xr rarpd 8
3011 daemon.
3012 .It Va bootparamd_enable
3013 .Pq Vt bool
3014 If set to
3015 .Dq Li YES ,
3016 run the
3017 .Xr bootparamd 8
3018 daemon at system boot time.
3019 .It Va bootparamd_flags
3020 .Pq Vt str
3021 If
3022 .Va bootparamd_enable
3023 is set to
3024 .Dq Li YES ,
3025 these are the flags to pass to the
3026 .Xr bootparamd 8
3027 daemon.
3028 .It Va stf_interface_ipv4addr
3029 .Pq Vt str
3030 If not set to
3031 .Dq Li NO ,
3032 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
3033 interface).
3034 Specify this entry to enable the 6to4 interface.
3035 .It Va stf_interface_ipv4plen
3036 .Pq Vt int
3037 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
3038 An effective value is 0-31.
3039 .It Va stf_interface_ipv6_ifid
3040 .Pq Vt str
3041 IPv6 interface ID for
3042 .Xr stf 4 .
3043 This can be set to
3044 .Dq Li AUTO .
3045 .It Va stf_interface_ipv6_slaid
3046 .Pq Vt str
3047 IPv6 Site Level Aggregator for
3048 .Xr stf 4 .
3049 .It Va ipv6_ipv4mapping
3050 .Pq Vt bool
3051 If set to
3052 .Dq Li YES
3053 this enables IPv4 mapped IPv6 address communication (like
3054 .Li ::ffff:a.b.c.d ) .
3055 .It Va rtsold_enable
3056 .Pq Vt bool
3057 Set to
3058 .Dq Li YES
3059 to enable the
3060 .Xr rtsold 8
3061 daemon to send ICMPv6 Router Solicitation messages.
3062 .It Va rtsold_flags
3063 .Pq Vt str
3064 If
3065 .Va rtsold_enable
3066 is set to
3067 .Dq Li YES ,
3068 these are the flags to pass to
3069 .Xr rtsold 8 .
3070 .It Va rtsol_flags
3071 .Pq Vt str
3072 For interfaces configured with the
3073 .Dq Li inet6 accept_rtadv
3074 keyword, these are the flags to pass to
3075 .Xr rtsol 8 .
3076 .Pp
3077 Note that
3078 .Va rtsold_enable
3079 is mutually exclusive to
3080 .Va rtsol_flags ;
3081 .Va rtsold_enable
3082 takes precedence.
3083 .It Va keybell
3084 .Pq Vt str
3085 The keyboard bell sound.
3086 Set to
3087 .Dq Li normal ,
3088 .Dq Li visual ,
3089 .Dq Li off ,
3090 or
3091 .Dq Li NO
3092 if the default behavior is desired.
3093 For details, refer to the
3094 .Xr kbdcontrol 1
3095 manpage.
3096 .It Va keyboard
3097 .Pq Vt str
3098 If set to a non-null string, the virtual console's keyboard input is
3099 set to this device.
3100 .It Va keymap
3101 .Pq Vt str
3102 If set to
3103 .Dq Li NO ,
3104 no keymap is installed, otherwise the value is used to install
3105 the keymap file found in
3106 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd
3107 (if using
3108 .Xr syscons 4 ) or
3109 .Pa /usr/share/vt/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd
3110 (if using
3111 .Xr vt 4 ) .
3112 .It Va keyrate
3113 .Pq Vt str
3114 The keyboard repeat speed.
3115 Set to
3116 .Dq Li slow ,
3117 .Dq Li normal ,
3118 .Dq Li fast ,
3119 or
3120 .Dq Li NO
3121 if the default behavior is desired.
3122 .It Va keychange
3123 .Pq Vt str
3124 If not set to
3125 .Dq Li NO ,
3126 attempt to program the function keys with the value.
3127 The value should
3128 be a single string of the form:
3129 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
3130 .It Va cursor
3131 .Pq Vt str
3132 Can be set to the value of
3133 .Dq Li normal ,
3134 .Dq Li blink ,
3135 .Dq Li destructive ,
3136 or
3137 .Dq Li NO
3138 to set the cursor behavior explicitly or choose the default behavior.
3139 .It Va scrnmap
3140 .Pq Vt str
3141 If set to
3142 .Dq Li NO ,
3143 no screen map is installed, otherwise the value is used to install
3144 the screen map file in
3145 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
3146 This parameter is ignored when using
3147 .Xr vt 4
3148 as the console driver.
3149 .It Va font8x16
3150 .Pq Vt str
3151 If set to
3152 .Dq Li NO ,
3153 the default 8x16 font value is used for screen size requests, otherwise
3154 the value in
3155 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3156 or
3157 .Pa /usr/share/vt/fonts/ Ns Aq Ar value
3158 is used (depending on the console driver being used).
3159 .It Va font8x14
3160 .Pq Vt str
3161 If set to
3162 .Dq Li NO ,
3163 the default 8x14 font value is used for screen size requests, otherwise
3164 the value in
3165 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3166 or
3167 .Pa /usr/share/vt/fonts/ Ns Aq Ar value
3168 is used (depending on the console driver being used).
3169 .It Va font8x8
3170 .Pq Vt str
3171 If set to
3172 .Dq Li NO ,
3173 the default 8x8 font value is used for screen size requests, otherwise
3174 the value in
3175 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3176 or
3177 .Pa /usr/share/vt/fonts/ Ns Aq Ar value
3178 is used (depending on the console driver being used).
3179 .It Va blanktime
3180 .Pq Vt int
3181 If set to
3182 .Dq Li NO ,
3183 the default screen blanking interval is used, otherwise it is set
3184 to
3185 .Ar value
3186 seconds.
3187 .It Va saver
3188 .Pq Vt str
3189 If not set to
3190 .Dq Li NO ,
3191 this is the actual screen saver to use
3192 .Li ( blank , snake , daemon ,
3193 etc).
3194 .It Va moused_nondefault_enable
3195 .Pq Vt str
3196 If set to
3197 .Dq Li NO ,
3198 the mouse device specified on
3199 the command line is not automatically treated as enabled by the
3200 .Pa /etc/rc.d/moused
3201 script.
3202 Having this variable set to
3203 .Dq Li YES
3204 allows a
3205 .Xr usb 4
3206 mouse,
3207 for example,
3208 to be enabled as soon as it is plugged in.
3209 .It Va moused_enable
3210 .Pq Vt str
3211 If set to
3212 .Dq Li YES ,
3213 the
3214 .Xr moused 8
3215 daemon is started for doing cut/paste selection on the console.
3216 .It Va moused_type
3217 .Pq Vt str
3218 This is the protocol type of the mouse connected to this host.
3219 This variable must be set if
3220 .Va moused_enable
3221 is set to
3222 .Dq Li YES .
3223 The
3224 .Xr moused 8
3225 daemon
3226 is able to detect the appropriate mouse type automatically in many cases.
3227 Set this variable to
3228 .Dq Li auto
3229 to let the daemon detect it, or
3230 select one from the following list if the automatic detection fails.
3231 .Pp
3232 If the mouse is attached to the PS/2 mouse port, choose
3233 .Dq Li auto
3234 or
3235 .Dq Li ps/2 ,
3236 regardless of the brand and model of the mouse.
3237 Likewise, if the
3238 mouse is attached to the bus mouse port, choose
3239 .Dq Li auto
3240 or
3241 .Dq Li busmouse .
3242 All other protocols are for serial mice and will not work with
3243 the PS/2 and bus mice.
3244 If this is a USB mouse,
3245 .Dq Li auto
3246 is the only protocol type which will work.
3247 .Pp
3248 .Bl -tag -width ".Li x10mouseremote" -compact
3249 .It Li microsoft
3250 Microsoft mouse (serial)
3251 .It Li intellimouse
3252 Microsoft IntelliMouse (serial)
3253 .It Li mousesystems
3254 Mouse systems Corp.\& mouse (serial)
3255 .It Li mmseries
3256 MM Series mouse (serial)
3257 .It Li logitech
3258 Logitech mouse (serial)
3259 .It Li busmouse
3260 A bus mouse
3261 .It Li mouseman
3262 Logitech MouseMan and TrackMan (serial)
3263 .It Li glidepoint
3264 ALPS GlidePoint (serial)
3265 .It Li thinkingmouse
3266 Kensington ThinkingMouse (serial)
3267 .It Li ps/2
3268 PS/2 mouse
3269 .It Li mmhittab
3270 MM HitTablet (serial)
3271 .It Li x10mouseremote
3272 X10 MouseRemote (serial)
3273 .It Li versapad
3274 Interlink VersaPad (serial)
3275 .El
3276 .Pp
3277 Even if the mouse is not in the above list, it may be compatible
3278 with one in the list.
3279 Refer to the manual page for
3280 .Xr moused 8
3281 for compatibility information.
3282 .Pp
3283 It should also be noted that while this is enabled, any
3284 other client of the mouse (such as an X server) should access
3285 the mouse through the virtual mouse device,
3286 .Pa /dev/sysmouse ,
3287 and configure it as a
3288 .Dq Li sysmouse
3289 type mouse, since all
3290 mouse data is converted to this single canonical format when
3291 using
3292 .Xr moused 8 .
3293 If the client program does not support the
3294 .Dq Li sysmouse
3295 type,
3296 specify the
3297 .Dq Li mousesystems
3298 type.
3299 It is the second preferred type.
3300 .It Va moused_port
3301 .Pq Vt str
3302 If
3303 .Va moused_enable
3304 is set to
3305 .Dq Li YES ,
3306 this is the actual port the mouse is on.
3307 It might be
3308 .Pa /dev/cuau0
3309 for a COM1 serial mouse, or
3310 .Pa /dev/psm0
3311 for a PS/2 mouse, for example.
3312 .It Va moused_flags
3313 .Pq Vt str
3314 If
3315 .Va moused_flags
3316 is set, its value is used as an additional set of flags to pass to the
3317 .Xr moused 8
3318 daemon.
3319 .It Va "moused_" Ns Ar XXX Ns Va "_flags"
3320 When
3321 .Va moused_nondefault_enable
3322 is enabled, and a
3323 .Xr moused 8
3324 daemon is started for a non-default port, the
3325 .Va "moused_" Ns Ar XXX Ns Va "_flags"
3326 set of options has precedence over and replaces the default
3327 .Va moused_flags
3328 (where
3329 .Ar XXX
3330 is the name of the non-default port, i.e.,\&
3331 .Ar ums0 ) .
3332 By setting
3333 .Va "moused_" Ns Ar XXX Ns Va "_flags"
3334 it is possible to set up a different set of default flags for each
3335 .Xr moused 8
3336 instance.
3337 For example, you can use
3338 .Dq Li "-3"
3339 for the default
3340 .Va moused_flags
3341 to make your laptop's touchpad more comfortable to use,
3342 but an empty set of options for
3343 .Va moused_ums0_flags
3344 when your
3345 .Xr usb 4
3346 mouse has three or more buttons.
3347 .It Va mousechar_start
3348 .Pq Vt int
3349 If set to
3350 .Dq Li NO ,
3351 the default mouse cursor character range
3352 .Li 0xd0 Ns - Ns Li 0xd3
3353 is used,
3354 otherwise the range start is set
3355 to
3356 .Ar value
3357 character, see
3358 .Xr vidcontrol 1 .
3359 Use if the default range is occupied in the language code table.
3360 .It Va allscreens_flags
3361 .Pq Vt str
3362 If set,
3363 .Xr vidcontrol 1
3364 is run with these options for each of the virtual terminals
3365 .Pq Pa /dev/ttyv* .
3366 For example,
3367 .Dq Fl m Cm on
3368 will enable the mouse pointer on all virtual terminals
3369 if
3370 .Va moused_enable
3371 is set to
3372 .Dq Li YES .
3373 .It Va allscreens_kbdflags
3374 .Pq Vt str
3375 If set,
3376 .Xr kbdcontrol 1
3377 is run with these options for each of the virtual terminals
3378 .Pq Pa /dev/ttyv* .
3379 For example,
3380 .Dq Fl h Li 200
3381 will set the
3382 .Xr syscons 4
3383 or
3384 .Xr vt 4
3385 scrollback (history) buffer to 200 lines.
3386 .It Va cron_enable
3387 .Pq Vt bool
3388 If set to
3389 .Dq Li YES ,
3390 run the
3391 .Xr cron 8
3392 daemon at system boot time.
3393 .It Va cron_program
3394 .Pq Vt str
3395 Path to
3396 .Xr cron 8
3397 (default
3398 .Pa /usr/sbin/cron ) .
3399 .It Va cron_flags
3400 .Pq Vt str
3401 If
3402 .Va cron_enable
3403 is set to
3404 .Dq Li YES ,
3405 these are the flags to pass to
3406 .Xr cron 8 .
3407 .It Va cron_dst
3408 .Pq Vt bool
3409 If set to
3410 .Dq Li YES ,
3411 enable the special handling of transitions to and from the
3412 Daylight Saving Time in
3413 .Xr cron 8
3414 (equivalent to using the flag
3415 .Fl s ) .
3416 .It Va lpd_program
3417 .Pq Vt str
3418 Path to
3419 .Xr lpd 8
3420 (default
3421 .Pa /usr/sbin/lpd ) .
3422 .It Va lpd_enable
3423 .Pq Vt bool
3424 If set to
3425 .Dq Li YES ,
3426 run the
3427 .Xr lpd 8
3428 daemon at system boot time.
3429 .It Va lpd_flags
3430 .Pq Vt str
3431 If
3432 .Va lpd_enable
3433 is set to
3434 .Dq Li YES ,
3435 these are the flags to pass to the
3436 .Xr lpd 8
3437 daemon.
3438 .It Va chkprintcap_enable
3439 .Pq Vt bool
3440 If set to
3441 .Dq Li YES ,
3442 run the
3443 .Xr chkprintcap 8
3444 command before starting the
3445 .Xr lpd 8
3446 daemon.
3447 .It Va chkprintcap_flags
3448 .Pq Vt str
3449 If
3450 .Va lpd_enable
3451 and
3452 .Va chkprintcap_enable
3453 are set to
3454 .Dq Li YES ,
3455 these are the flags to pass to the
3456 .Xr chkprintcap 8
3457 program.
3458 The default is
3459 .Dq Li -d ,
3460 which causes missing directories to be created.
3461 .It Va mta_start_script
3462 .Pq Vt str
3463 This variable specifies the full path to the script to run to start
3464 a mail transfer agent.
3465 The default is
3466 .Pa /etc/rc.sendmail .
3467 The
3468 .Va sendmail_*
3469 variables which
3470 .Pa /etc/rc.sendmail
3471 uses are documented in the
3472 .Xr rc.sendmail 8
3473 manual page.
3474 .It Va dumpdev
3475 .Pq Vt str
3476 Indicates the device (usually a swap partition) to which a crash dump
3477 should be written in the event of a system crash.
3478 If the value of this variable is
3479 .Dq Li AUTO ,
3480 the first suitable swap device listed in
3481 .Pa /etc/fstab
3482 will be used as dump device.
3483 Otherwise, the value of this variable is passed as the argument to
3484 .Xr dumpon 8
3485 and
3486 .Xr savecore 8 .
3487 To disable crash dumps, set this variable to
3488 .Dq Li NO .
3489 .It Va dumpon_flags
3490 .Pq Vt str
3491 Flags to pass to
3492 .Xr dumpon 8
3493 when configuring
3494 .Va dumpdev
3495 as the system dump device.
3496 .It Va dumpdir
3497 .Pq Vt str
3498 When the system reboots after a crash and a crash dump is found on the
3499 device specified by the
3500 .Va dumpdev
3501 variable,
3502 .Xr savecore 8
3503 will save that crash dump and a copy of the kernel to the directory
3504 specified by the
3505 .Va dumpdir
3506 variable.
3507 The default value is
3508 .Pa /var/crash .
3509 Set to
3510 .Dq Li NO
3511 to not run
3512 .Xr savecore 8
3513 at boot time when
3514 .Va dumpdir
3515 is set.
3516 .It Va savecore_enable
3517 .Pq Vt bool
3518 If set to
3519 .Dq Li NO ,
3520 disable automatic extraction of the crash dump from the
3521 .Va dumpdev .
3522 .It Va savecore_flags
3523 .Pq Vt str
3524 If crash dumps are enabled, these are the flags to pass to the
3525 .Xr savecore 8
3526 utility.
3527 .It Va quota_enable
3528 .Pq Vt bool
3529 Set to
3530 .Dq Li YES
3531 to turn on user and group disk quotas on system startup via the
3532 .Xr quotaon 8
3533 command for all file systems marked as having quotas enabled in
3534 .Pa /etc/fstab .
3535 The kernel must be built with
3536 .Cd "options QUOTA"
3537 for disk quotas to function.
3538 .It Va check_quotas
3539 .Pq Vt bool
3540 Set to
3541 .Dq Li YES
3542 to enable user and group disk quota checking via the
3543 .Xr quotacheck 8
3544 command.
3545 .It Va quotacheck_flags
3546 .Pq Vt str
3547 If
3548 .Va quota_enable
3549 is set to
3550 .Dq Li YES ,
3551 and
3552 .Va check_quotas
3553 is set to
3554 .Dq Li YES ,
3555 these are the flags to pass to the
3556 .Xr quotacheck 8
3557 utility.
3558 The default is
3559 .Dq Li "-a" ,
3560 which checks quotas for all file systems with quotas enabled in
3561 .Pa /etc/fstab .
3562 .It Va quotaon_flags
3563 .Pq Vt str
3564 If
3565 .Va quota_enable
3566 is set to
3567 .Dq Li YES ,
3568 these are the flags to pass to the
3569 .Xr quotaon 8
3570 utility.
3571 The default is
3572 .Dq Li "-a" ,
3573 which enables quotas for all file systems with quotas enabled in
3574 .Pa /etc/fstab .
3575 .It Va quotaoff_flags
3576 .Pq Vt str
3577 If
3578 .Va quota_enable
3579 is set to
3580 .Dq Li YES ,
3581 these are the flags to pass to the
3582 .Xr quotaoff 8
3583 utility when shutting down the quota system.
3584 The default is
3585 .Dq Li "-a" ,
3586 which disables quotas for all file systems with quotas enabled in
3587 .Pa /etc/fstab .
3588 .It Va accounting_enable
3589 .Pq Vt bool
3590 Set to
3591 .Dq Li YES
3592 to enable system accounting through the
3593 .Xr accton 8
3594 facility.
3595 .It Va firstboot_sentinel
3596 .Pq Vt str
3597 This variable specifies the full path to a
3598 .Dq first boot
3599 sentinel file.
3600 If a file exists with this path,
3601 .Pa rc.d
3602 scripts with the
3603 .Dq firstboot
3604 keyword will be run on startup and the sentinel file will be deleted
3605 after the boot process completes.
3606 The sentinel file must be located on a writable file system which is
3607 mounted no later than
3608 .Va early_late_divider
3609 to function properly.
3610 The default is
3611 .Pa /firstboot .
3612 .It Va linux_enable
3613 .Pq Vt bool
3614 Set to
3615 .Dq Li YES
3616 to enable Linux/ELF binary emulation at system initial
3617 boot time.
3618 .It Va sysvipc_enable
3619 .Pq Vt bool
3620 If set to
3621 .Dq Li YES ,
3622 load System V IPC primitives at boot time.
3623 .It Va clear_tmp_enable
3624 .Pq Vt bool
3625 Set to
3626 .Dq Li YES
3627 to have
3628 .Pa /tmp
3629 cleaned at startup.
3630 .It Va clear_tmp_X
3631 .Pq Vt bool
3632 Set to
3633 .Dq Li NO
3634 to disable removing of X11 lock files,
3635 and the removal and (secure) recreation
3636 of the various socket directories for X11
3637 related programs.
3638 .It Va ldconfig_paths
3639 .Pq Vt str
3640 Set to the list of shared library paths to use with
3641 .Xr ldconfig 8 .
3642 NOTE:
3643 .Pa /lib
3644 and
3645 .Pa /usr/lib
3646 will always be added first, so they need not appear in this list.
3647 .It Va ldconfig32_paths
3648 .Pq Vt str
3649 Set to the list of 32-bit compatibility shared library paths to
3650 use with
3651 .Xr ldconfig 8 .
3652 .It Va ldconfig_insecure
3653 .Pq Vt bool
3654 The
3655 .Xr ldconfig 8
3656 utility normally refuses to use directories
3657 which are writable by anyone except root.
3658 Set this variable to
3659 .Dq Li YES
3660 to disable that security check during system startup.
3661 .It Va ldconfig_local_dirs
3662 .Pq Vt str
3663 Set to the list of local
3664 .Xr ldconfig 8
3665 directories.
3666 The names of all files in the directories listed will be
3667 passed as arguments to
3668 .Xr ldconfig 8 .
3669 .It Va ldconfig_local32_dirs
3670 .Pq Vt str
3671 Set to the list of local 32-bit compatibility
3672 .Xr ldconfig 8
3673 directories.
3674 The names of all files in the directories listed will be
3675 passed as arguments to
3676 .Dq Nm ldconfig Fl 32 .
3677 .It Va kern_securelevel_enable
3678 .Pq Vt bool
3679 Set to
3680 .Dq Li YES
3681 to set the kernel security level at system startup.
3682 .It Va kern_securelevel
3683 .Pq Vt int
3684 The kernel security level to set at startup.
3685 The allowed range of
3686 .Ar value
3687 ranges from \-1 (the compile time default) to 3 (the
3688 most secure).
3689 See
3690 .Xr security 7
3691 for the list of possible security levels and their effect
3692 on system operation.
3693 .It Va sshd_program
3694 .Pq Vt str
3695 Path to the SSH server program
3696 .Pa ( /usr/sbin/sshd
3697 is the default).
3698 .It Va sshd_enable
3699 .Pq Vt bool
3700 Set to
3701 .Dq Li YES
3702 to start
3703 .Xr sshd 8
3704 at system boot time.
3705 .It Va sshd_flags
3706 .Pq Vt str
3707 If
3708 .Va sshd_enable
3709 is set to
3710 .Dq Li YES ,
3711 these are the flags to pass to the
3712 .Xr sshd 8
3713 daemon.
3714 .It Va ftpd_program
3715 .Pq Vt str
3716 Path to the FTP server program
3717 .Pa ( /usr/libexec/ftpd
3718 is the default).
3719 .It Va ftpd_enable
3720 .Pq Vt bool
3721 Set to
3722 .Dq Li YES
3723 to start
3724 .Xr ftpd 8
3725 as a stand-alone daemon at system boot time.
3726 .It Va ftpd_flags
3727 .Pq Vt str
3728 If
3729 .Va ftpd_enable
3730 is set to
3731 .Dq Li YES ,
3732 these are the additional flags to pass to the
3733 .Xr ftpd 8
3734 daemon.
3735 .It Va watchdogd_enable
3736 .Pq Vt bool
3737 If set to
3738 .Dq Li YES ,
3739 start the
3740 .Xr watchdogd 8
3741 daemon at boot time.
3742 This requires that the kernel have been compiled with a
3743 .Xr watchdog 4
3744 compatible device.
3745 .It Va watchdogd_flags
3746 .Pq Vt str
3747 If
3748 .Va watchdogd_enable
3749 is set to
3750 .Dq Li YES ,
3751 these are the flags passed to the
3752 .Xr watchdogd 8
3753 daemon.
3754 .It Va watchdogd_timeout
3755 .Pq Vt int
3756 If
3757 .Va watchdogd_enable
3758 is set to
3759 .Dq Li YES ,
3760 this is a timeout that will be used by the
3761 .Xr watchdogd 8
3762 daemon.
3763 If this option is set, it overrides
3764 .Fl t
3765 in
3766 .Va watchdogd_flags .
3767 .It Va watchdogd_shutdown_timeout
3768 .Pq Vt int
3769 If
3770 .Va watchdogd_enable
3771 is set to
3772 .Dq Li YES ,
3773 this is a timeout that will be set by the
3774 .Xr watchdogd 8
3775 daemon when it exits during the system shutdown.
3776 This timeout will not be set when returning to the single-user mode
3777 or when the watchdogd service is stopped individually using the
3778 .Xr service 8
3779 command or the rc.d script.
3780 Note that the timeout will be applied if
3781 .Xr watchdogd 8
3782 is stopped outside of
3783 .Xr rc 8
3784 framework.
3785 If this option is set, it overrides
3786 .Fl x
3787 in
3788 .Va watchdogd_flags .
3789 .It Va devfs_rulesets
3790 .Pq Vt str
3791 List of files containing sets of rules for
3792 .Xr devfs 8 .
3793 .It Va devfs_system_ruleset
3794 .Pq Vt str
3795 Rule name(s) to apply to the system
3796 .Pa /dev
3797 itself.
3798 .It Va devfs_set_rulesets
3799 .Pq Vt str
3800 Pairs of already-mounted
3801 .Pa dev
3802 directories and rulesets that should be applied to them.
3803 For example: /mount/dev=ruleset_name
3804 .It Va devfs_load_rulesets
3805 .Pq Vt bool
3806 If set, always load the default rulesets listed in
3807 .Va devfs_rulesets .
3808 .It Va performance_cx_lowest
3809 .Pq Vt str
3810 CPU idle state to use while on AC power.
3811 The string
3812 .Dq Li LOW
3813 indicates that
3814 .Xr acpi 4
3815 should use the lowest power state available while
3816 .Dq Li HIGH
3817 indicates that the lowest latency state (less power savings) should be used.
3818 .It Va performance_cpu_freq
3819 .Pq Vt str
3820 CPU clock frequency to use while on AC power.
3821 The string
3822 .Dq Li LOW
3823 indicates that
3824 .Xr cpufreq 4
3825 should use the lowest frequency available while
3826 .Dq Li HIGH
3827 indicates that the highest frequency (less power savings) should be used.
3828 .It Va economy_cx_lowest
3829 .Pq Vt str
3830 CPU idle state to use when off AC power.
3831 The string
3832 .Dq Li LOW
3833 indicates that
3834 .Xr acpi 4
3835 should use the lowest power state available while
3836 .Dq Li HIGH
3837 indicates that the lowest latency state (less power savings) should be used.
3838 .It Va economy_cpu_freq
3839 .Pq Vt str
3840 CPU clock frequency to use when off AC power.
3841 The string
3842 .Dq Li LOW
3843 indicates that
3844 .Xr cpufreq 4
3845 should use the lowest frequency available while
3846 .Dq Li HIGH
3847 indicates that the highest frequency (less power savings) should be used.
3848 .It Va jail_enable
3849 .Pq Vt bool
3850 If set to
3851 .Dq Li NO ,
3852 any configured jails will not be started.
3853 .It Va jail_conf
3854 .Pq Vt str
3855 The configuration filename used by
3856 .Xr jail 8
3857 utility.
3858 The default value is
3859 .Pa /etc/jail.conf .
3860 .It Va jail_parallel_start
3861 .Pq Vt bool
3862 If set to
3863 .Dq Li YES ,
3864 all configured jails will be started in the background (in parallel).
3865 .It Va jail_flags
3866 .Pq Vt str
3867 Unset by default.
3868 When set, use as default value for
3869 .Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3870 for every jail in
3871 .Va jail_list .
3872 .It Va jail_list
3873 .Pq Vt str
3874 A space-delimited list of jail names.
3875 When left empty, all of the
3876 .Xr jail 8
3877 instances defined in the configuration file are started.
3878 The names specified in this list control the jail startup order.
3879 .Xr jail 8
3880 instances missing from
3881 .Va jail_list
3882 must be started manually.
3883 Note that a jail's
3884 .Va depend
3885 parameter in the configuration file may override this list.
3886 .It Va jail_reverse_stop
3887 .Pq Vt bool
3888 When set to
3889 .Dq Li YES ,
3890 all configured jails in
3891 .Va jail_list
3892 are stopped in reverse order.
3893 .It Va jail_ Ns * variables
3894 Note that older releases supported per-jail configuration via
3895 .Nm
3896 variables.
3897 For example,
3898 hostname of a jail named
3899 .Li vjail
3900 was able to be set by
3901 .Li jail_vjail_hostname .
3902 These per-jail configuration variables are now obsolete in favor of
3903 .Xr jail 8
3904 configuration file.
3905 For backward compatibility,
3906 when per-jail configuration variables are defined,
3907 .Xr jail 8
3908 configuration files are created as
3909 .Pa /var/run/jail. Ns Ao Ar jname Ac Ns Pa .conf
3910 and used.
3911 .Pp
3912 The following per-jail parameters are handled by
3913 .Pa rc.d/jail
3914 script out of their corresponding
3915 .Nm
3916 variables.
3917 In addition to them, parameters in
3918 .Va jail_ Ns Ao Ar jname Ac Ns Va _parameters
3919 will be added to the configuration file.
3920 They must be a semi-colon
3921 .Pq Ql \&;
3922 delimited list of
3923 .Dq key=value .
3924 For more details,
3925 see
3926 .Xr jail 8
3927 manual page.
3928 .Bl  -tag -width "host.hostname" -offset indent
3929 .It Li path
3930 set from
3931 .Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
3932 .It Li host.hostname
3933 set from
3934 .Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
3935 .It Li exec.consolelog
3936 set from
3937 .Va jail_ Ns Ao Ar jname Ac Ns Va _consolelog .
3938 The default value is
3939 .Pa /var/log/jail_ Ao Ar jname Ac Pa _console.log .
3940 .It Li interface
3941 set from
3942 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface .
3943 .It Li vnet.interface
3944 set from
3945 .Va jail_ Ns Ao Ar jname Ac Ns Va _vnet_interface .
3946 This implies
3947 .Li vnet
3948 parameter will be enabled and cannot be specified with
3949 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface ,
3950 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3951 and/or
3952 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
3953 at the same time.
3954 .It Li fstab
3955 set from
3956 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3957 .It Li mount
3958 set from
3959 .Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable .
3960 .It Li exec.fib
3961 set from
3962 .Va jail_ Ns Ao Ar jname Ac Ns Va _fib
3963 .It Li exec.start
3964 set from
3965 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start .
3966 The parameter name was
3967 .Li command
3968 in some older releases.
3969 .It Li exec.prestart
3970 set from
3971 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestart
3972 .It Li exec.poststart
3973 set from
3974 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststart
3975 .It Li exec.stop
3976 set from
3977 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3978 .It Li exec.prestop
3979 set from
3980 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestop
3981 .It Li exec.poststop
3982 set from
3983 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststop
3984 .It Li ip4.addr
3985 set if
3986 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3987 or
3988 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
3989 contain IPv4 addresses
3990 .It Li ip6.addr
3991 set if
3992 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3993 or
3994 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
3995 contain IPv6 addresses
3996 .It Li allow.mount
3997 set from
3998 .Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3999 .It Li mount.devfs
4000 set from
4001 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
4002 .It Li devfs_ruleset
4003 set from
4004 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset .
4005 This must be an integer,
4006 not a string.
4007 .It Li mount.fdescfs
4008 set from
4009 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
4010 .It Li allow.set_hostname
4011 set from
4012 .Va jail_ Ns Ao Ar jname Ac Ns Va _set_hostname_allow
4013 .It Li allow.rawsocket
4014 set from
4015 .Va jail_ Ns Ao Ar jname Ac Ns Va _socket_unixiproute_only
4016 .It Li allow.sysvipc
4017 set from
4018 .Va jail_ Ns Ao Ar jname Ac Ns Va _sysvipc_allow
4019 .El
4020 .\" -----------------------------------------------------
4021 .It Va harvest_mask
4022 .Pq Vt int
4023 Set to a bit-mask
4024 representing the entropy sources
4025 you wish to harvest.
4026 Refer to
4027 .Xr random 4
4028 for more information.
4029 .It Va entropy_dir
4030 .Pq Vt str
4031 Set to
4032 .Dq Li NO
4033 to disable caching entropy via
4034 .Xr cron 8 .
4035 Otherwise set to the directory
4036 in which the entropy files are stored.
4037 To be useful,
4038 there must be
4039 a system cron job
4040 that regularly writes and rotates
4041 files here.
4042 All files found
4043 will be used at boot time.
4044 The default is
4045 .Pa /var/db/entropy .
4046 .It Va entropy_file
4047 .Pq Vt str
4048 Set to
4049 .Dq Li NO
4050 to disable caching entropy through reboots.
4051 Otherwise set to the name
4052 of a file used to store cached entropy.
4053 This file should be located
4054 on a file system that is readable
4055 before all the volumes specified in
4056 .Xr fstab 5
4057 are mounted.
4058 By default,
4059 .Pa /entropy
4060 is used,
4061 but if
4062 .Pa /var/db/entropy-file
4063 is found it will also be used.
4064 This will be of some use to
4065 .Xr bsdinstall 8 .
4066 .It Va entropy_boot_file
4067 .Pq Vt str
4068 Set to
4069 .Dq Li NO
4070 to disable
4071 very early caching entropy
4072 through reboots.
4073 Otherwise set to the filename
4074 used to read
4075 very early reboot cached entropy.
4076 This file should be located where
4077 .Xr loader 8
4078 can read it.
4079 See also
4080 .Xr loader.conf 5 .
4081 The default location is
4082 .Pa /boot/entropy .
4083 .It Va entropy_save_sz
4084 .Pq Vt int
4085 Size of the entropy cache files saved by
4086 .Nm save-entropy
4087 periodically.
4088 .It Va entropy_save_num
4089 .Pq Vt int
4090 Number of entropy cache files to save by
4091 .Nm save-entropy
4092 periodically.
4093 .It Va ipsec_enable
4094 .Pq Vt bool
4095 Set to
4096 .Dq Li YES
4097 to run
4098 .Xr setkey 8
4099 on
4100 .Va ipsec_file
4101 at boot time.
4102 .It Va ipsec_file
4103 .Pq Vt str
4104 Configuration file for
4105 .Xr setkey 8 .
4106 .It Va dmesg_enable
4107 .Pq Vt bool
4108 Set to
4109 .Dq Li YES
4110 to save
4111 .Xr dmesg 8
4112 to
4113 .Pa /var/run/dmesg.boot
4114 on boot.
4115 .It Va rcshutdown_timeout
4116 .Pq Vt int
4117 If set, start a watchdog timer in the background which will terminate
4118 .Pa rc.shutdown
4119 if
4120 .Xr shutdown 8
4121 has not completed within the specified time (in seconds).
4122 Notice that in addition to this soft timeout,
4123 .Xr init 8
4124 also applies a hard timeout for the execution of
4125 .Pa rc.shutdown .
4126 This is configured via
4127 .Xr sysctl 8
4128 variable
4129 .Va kern.init_shutdown_timeout
4130 and defaults to 120 seconds.
4131 Setting the value of
4132 .Va rcshutdown_timeout
4133 to more than 120 seconds will have no effect until the
4134 .Xr sysctl 8
4135 variable
4136 .Va kern.init_shutdown_timeout
4137 is also increased.
4138 .It Va virecover_enable
4139 .Pq Vt bool
4140 Set to
4141 .Dq Li NO
4142 to prevent the system from trying to
4143 recover pre-maturely terminated
4144 .Xr vi 1
4145 sessions.
4146 .It Va ugidfw_enable
4147 .Pq Vt bool
4148 Set to
4149 .Dq Li YES
4150 to load the
4151 .Xr mac_bsdextended 4
4152 module upon system initialization and load a default
4153 ruleset file.
4154 .It Va bsdextended_script
4155 .Pq Vt str
4156 The default
4157 .Xr mac_bsdextended 4
4158 ruleset file to load.
4159 The default value of this variable is
4160 .Pa /etc/rc.bsdextended .
4161 .It Va newsyslog_enable
4162 .Pq Vt bool
4163 If set to
4164 .Dq Li YES ,
4165 run
4166 .Xr newsyslog 8
4167 command at startup.
4168 .It Va newsyslog_flags
4169 .Pq Vt str
4170 If
4171 .Va newsyslog_enable
4172 is set to
4173 .Dq Li YES ,
4174 these are the flags to pass to the
4175 .Xr newsyslog 8
4176 program.
4177 The default is
4178 .Dq Li -CN ,
4179 which causes log files flagged with a
4180 .Cm C
4181 to be created.
4182 .It Va mdconfig_md Ns Aq Ar X
4183 .Pq Vt str
4184 Arguments to
4185 .Xr mdconfig 8
4186 for
4187 .Xr md 4
4188 device
4189 .Ar X .
4190 At minimum a
4191 .Fl t Ar type
4192 must be specified and either a
4193 .Fl s Ar size
4194 for malloc or swap backed
4195 .Xr md 4
4196 devices or a
4197 .Fl f Ar file
4198 for vnode backed
4199 .Xr md 4
4200 devices.
4201 Note that
4202 .Va mdconfig_md Ns Aq Ar X
4203 variables are evaluated until one variable is unset or null.
4204 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs
4205 .Pq Vt str
4206 Optional arguments passed to
4207 .Xr newfs 8
4208 to initialize
4209 .Xr md 4
4210 device
4211 .Ar X .
4212 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner
4213 .Pq Vt str
4214 An ownership specification passed to
4215 .Xr chown 8
4216 after the specified
4217 .Xr md 4
4218 device
4219 .Ar X
4220 has been mounted.
4221 Both the
4222 .Xr md 4
4223 device and the mount point will be changed.
4224 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms
4225 .Pq Vt str
4226 A mode string passed to
4227 .Xr chmod 1
4228 after the specified
4229 .Xr md 4
4230 device
4231 .Ar X
4232 has been mounted.
4233 Both the
4234 .Xr md 4
4235 device and the mount point will be changed.
4236 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files
4237 .Pq Vt str
4238 Files to be copied to the mount point of the
4239 .Xr md 4
4240 device
4241 .Ar X
4242 after it has been mounted.
4243 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd
4244 .Pq Vt str
4245 Command to execute after the specified
4246 .Xr md 4
4247 device
4248 .Ar X
4249 has been mounted.
4250 Note that the command is passed to
4251 .Ic eval
4252 and that both
4253 .Va _dev
4254 and
4255 .Va _mp
4256 variables can be used to reference respectively the
4257 .Xr md 4
4258 device and the mount point.
4259 Assuming that the
4260 .Xr md 4
4261 device is
4262 .Li md0 ,
4263 one could set the following:
4264 .Bd -literal
4265 mdconfig_md0_cmd="tar xfzC /var/file.tgz \e${_mp}"
4266 .Ed
4267 .It Va autobridge_interfaces
4268 .Pq Vt str
4269 Set to the list of bridge interfaces that will have newly arriving interfaces
4270 checked against to be automatically added.
4271 If not set to
4272 .Dq Li NO
4273 then for each whitespace separated
4274 .Ar element
4275 in the value, a
4276 .Va autobridge_ Ns Aq Ar element
4277 variable is assumed to exist which has a whitespace separated list of interface
4278 names to match, these names can use wildcards.
4279 For example:
4280 .Bd -literal
4281 autobridge_interfaces="bridge0"
4282 autobridge_bridge0="tap* dc0 vlan[345]"
4283 .Ed
4284 .It Va mixer_enable
4285 .Pq Vt bool
4286 If set to
4287 .Dq Li YES ,
4288 enable support for sound mixer.
4289 .It Va hcsecd_enable
4290 .Pq Vt bool
4291 If set to
4292 .Dq Li YES ,
4293 enable Bluetooth security daemon.
4294 .It Va hcsecd_config
4295 .Pq Vt str
4296 Configuration file for
4297 .Xr hcsecd 8 .
4298 Default
4299 .Pa /etc/bluetooth/hcsecd.conf .
4300 .It Va sdpd_enable
4301 .Pq Vt bool
4302 If set to
4303 .Dq Li YES ,
4304 enable Bluetooth Service Discovery Protocol daemon.
4305 .It Va sdpd_control
4306 .Pq Vt str
4307 Path to
4308 .Xr sdpd 8
4309 control socket.
4310 Default
4311 .Pa /var/run/sdp .
4312 .It Va sdpd_groupname
4313 .Pq Vt str
4314 Sets
4315 .Xr sdpd 8
4316 group to run as after it initializes.
4317 Default
4318 .Dq Li nobody .
4319 .It Va sdpd_username
4320 .Pq Vt str
4321 Sets
4322 .Xr sdpd 8
4323 user to run as after it initializes.
4324 Default
4325 .Dq Li nobody .
4326 .It Va bthidd_enable
4327 .Pq Vt bool
4328 If set to
4329 .Dq Li YES ,
4330 enable Bluetooth Human Interface Device daemon.
4331 .It Va bthidd_config
4332 .Pq Vt str
4333 Configuration file for
4334 .Xr bthidd 8 .
4335 Default
4336 .Pa /etc/bluetooth/bthidd.conf .
4337 .It Va bthidd_hids
4338 .Pq Vt str
4339 Path to a file, where
4340 .Xr bthidd 8
4341 will store information about known HID devices.
4342 Default
4343 .Pa /var/db/bthidd.hids .
4344 .It Va rfcomm_pppd_server_enable
4345 .Pq Vt bool
4346 If set to
4347 .Dq Li YES ,
4348 enable Bluetooth RFCOMM PPP wrapper daemon.
4349 .It Va rfcomm_pppd_server_profile
4350 .Pq Vt str
4351 The name of the profile to use from
4352 .Pa /etc/ppp/ppp.conf .
4353 Multiple profiles can be specified here.
4354 Also used to specify per-profile overrides.
4355 When the profile name contains any of the characters
4356 .Dq Li .-/+
4357 they are translated to
4358 .Dq Li _
4359 for the proposes of the override variable names.
4360 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _bdaddr
4361 .Pq Vt str
4362 Overrides local address to listen on.
4363 By default
4364 .Xr rfcomm_pppd 8
4365 will listen on
4366 .Dq Li ANY
4367 address.
4368 The address can be specified as BD_ADDR or name.
4369 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _channel
4370 .Pq Vt str
4371 Overrides local RFCOMM channel to listen on.
4372 By default
4373 .Xr rfcomm_pppd 8
4374 will listen on RFCOMM channel 1.
4375 Must set properly if multiple profiles used in the same time.
4376 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_sp
4377 .Pq Vt bool
4378 Tells
4379 .Xr rfcomm_pppd 8
4380 if it should register Serial Port service on the specified RFCOMM channel.
4381 Default
4382 .Dq Li NO .
4383 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_dun
4384 .Pq Vt bool
4385 Tells
4386 .Xr rfcomm_pppd 8
4387 if it should register Dial-Up Networking service on the specified
4388 RFCOMM channel.
4389 Default
4390 .Dq Li NO .
4391 .It Va ubthidhci_enable
4392 .Pq Vt bool
4393 If set to
4394 .Dq Li YES ,
4395 change the USB Bluetooth controller from HID mode to HCI mode.
4396 You also need to specify the location of USB Bluetooth controller with the
4397 .Va ubthidhci_busnum
4398 and
4399 .Va ubthidhci_addr
4400 variables.
4401 .It Va ubthidhci_busnum
4402 Bus number where the USB Bluetooth controller is located.
4403 Check the output of
4404 .Xr usbconfig 8
4405 on your system to find this information.
4406 .It Va ubthidhci_addr
4407 Bus address of the USB Bluetooth controller.
4408 Check the output of
4409 .Xr usbconfig 8
4410 on your system to find this information.
4411 .It Va netwait_enable
4412 .Pq Vt bool
4413 If set to
4414 .Dq Li YES ,
4415 delays the start of network-reliant services until
4416 .Va netwait_if
4417 is up and ICMP packets to a destination defined in
4418 .Va netwait_ip
4419 are flowing.
4420 Link state is examined first, followed by
4421 .Dq Li pinging
4422 an IP address to verify network usability.
4423 If no destination can be reached or timeouts are exceeded,
4424 network services are started anyway with no guarantee that
4425 the network is usable.
4426 Use of this variable requires both
4427 .Va netwait_ip
4428 and
4429 .Va netwait_if
4430 to be set.
4431 .It Va netwait_ip
4432 .Pq Vt str
4433 Empty by default.
4434 This variable contains a space-delimited list of IP addresses to
4435 .Xr ping 8 .
4436 DNS hostnames should not be used as resolution is not guaranteed
4437 to be functional at this point.
4438 If multiple IP addresses are specified,
4439 each will be tried until one is successful or the list is exhausted.
4440 .It Va netwait_timeout
4441 .Pq Vt int
4442 Indicates the total number of seconds to perform a
4443 .Dq Li ping
4444 against each IP address in
4445 .Va netwait_ip ,
4446 at a rate of one ping per second.
4447 If any of the pings are successful,
4448 full network connectivity is considered reliable.
4449 The default is 60.
4450 .It Va netwait_if
4451 .Pq Vt str
4452 Empty by default.
4453 Defines the name of the network interface on which watch for link.
4454 .Xr ifconfig 8
4455 is used to monitor the interface, looking for
4456 .Dq Li status: no carrier .
4457 Once gone, the link is considered up.
4458 This can be a
4459 .Xr vlan 4
4460 interface if desired.
4461 .It Va netwait_if_timeout
4462 .Pq Vt int
4463 Defines the total number of seconds to wait for link to become usable,
4464 polled at a 1-second interval.
4465 The default is 30.
4466 .It Va rctl_enable
4467 .Pq Vt bool
4468 If set to
4469 .Dq Li YES ,
4470 load
4471 .Xr rctl 8
4472 rules from the defined ruleset.
4473 The kernel must be built with
4474 .Cd "options RACCT"
4475 and
4476 .Cd "options RCTL" .
4477 .It Va rctl_rules
4478 .Pq Vt str
4479 Set to
4480 .Pa /etc/rctl.conf
4481 by default.
4482 This variables contains the
4483 .Xr rctl.conf 5
4484 ruleset to load for
4485 .Xr rctl 8 .
4486 .It Va iovctl_files
4487 .Pq Vt str
4488 A space-separated list of configuration files used by
4489 .Xr iovctl 8 .
4490 The default value is an empty string.
4491 .It Va autofs_enable
4492 .Pq Vt bool
4493 If set to
4494 .Dq Li YES ,
4495 start the
4496 .Xr automount 8
4497 utility and the
4498 .Xr automountd 8
4499 and
4500 .Xr autounmountd 8
4501 daemons at boot time.
4502 .It Va automount_flags
4503 .Pq Vt str
4504 If
4505 .Va autofs_enable
4506 is set to
4507 .Dq Li YES ,
4508 these are the flags to pass to the
4509 .Xr automount 8
4510 program.
4511 By default no flags are passed.
4512 .It Va automountd_flags
4513 .Pq Vt str
4514 If
4515 .Va autofs_enable
4516 is set to
4517 .Dq Li YES ,
4518 these are the flags to pass to the
4519 .Xr automountd 8
4520 daemon.
4521 By default no flags are passed.
4522 .It Va autounmountd_flags
4523 .Pq Vt str
4524 If
4525 .Va autofs_enable
4526 is set to
4527 .Dq Li YES ,
4528 these are the flags to pass to the
4529 .Xr autounmountd 8
4530 daemon.
4531 By default no flags are passed.
4532 .It Va ctld_enable
4533 .Pq Vt bool
4534 If set to
4535 .Dq Li YES ,
4536 start the
4537 .Xr ctld 8
4538 daemon at boot time.
4539 .It Va iscsid_enable
4540 .Pq Vt bool
4541 If set to
4542 .Dq Li YES ,
4543 start the
4544 .Xr iscsid 8
4545 daemon at boot time.
4546 .It Va iscsictl_enable
4547 .Pq Vt bool
4548 If set to
4549 .Dq Li YES ,
4550 start the
4551 .Xr iscsictl 8
4552 utility at boot time.
4553 .It Va iscsictl_flags
4554 .Pq Vt str
4555 If
4556 .Va iscsictl_enable
4557 is set to
4558 .Dq Li YES ,
4559 these are the flags to pass to the
4560 .Xr iscsictl 8
4561 program.
4562 The default is
4563 .Dq Li -Aa ,
4564 which configures sessions based on the
4565 .Pa /etc/iscsi.conf
4566 configuration file.
4567 .It Va cfumass_enable
4568 .Pq Vt bool
4569 If set to
4570 .Dq Li YES ,
4571 create and export an USB LUN using
4572 .Xr cfumass 4
4573 at boot time.
4574 .It Va cfumass_dir
4575 .Pq Vt str
4576 The directory where the files exported by USB LUN are located.
4577 The default directory is
4578 .Pa /var/cfumass .
4579 .It Va service_delete_empty
4580 .Pq Vt bool
4581 If set to
4582 .Dq Li YES ,
4583 .Ql Li service delete
4584 removes empty
4585 .Dq Li rc.conf.d
4586 files.
4587 .It Va zfs_bootonce_activate
4588 .Pq Vt bool
4589 If set to
4590 .Dq Li YES ,
4591 and a boot environment marked bootonce is successfully booted,
4592 it will be made permanently active.
4593 .El
4594 .Sh FILES
4595 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
4596 .It Pa /etc/defaults/rc.conf
4597 .It Pa /etc/defaults/vendor.conf
4598 .It Pa /etc/rc.conf
4599 .It Pa /etc/rc.conf.local
4600 .El
4601 .Sh SEE ALSO
4602 .Xr chmod 1 ,
4603 .Xr gdb 1 ,
4604 .Xr info 1 ,
4605 .Xr kbdcontrol 1 ,
4606 .Xr makewhatis 1 ,
4607 .Xr sh 1 ,
4608 .Xr vi 1 ,
4609 .Xr vidcontrol 1 ,
4610 .Xr bridge 4 ,
4611 .Xr dummynet 4 ,
4612 .Xr ip 4 ,
4613 .Xr ipf 4 ,
4614 .Xr ipfw 4 ,
4615 .Xr ipnat 4 ,
4616 .Xr kld 4 ,
4617 .Xr pf 4 ,
4618 .Xr pflog 4 ,
4619 .Xr pfsync 4 ,
4620 .Xr tcp 4 ,
4621 .Xr udp 4 ,
4622 .Xr exports 5 ,
4623 .Xr fstab 5 ,
4624 .Xr ipf 5 ,
4625 .Xr ipnat 5 ,
4626 .Xr jail.conf 5 ,
4627 .Xr loader.conf 5 ,
4628 .Xr motd 5 ,
4629 .Xr newsyslog.conf 5 ,
4630 .Xr pf.conf 5 ,
4631 .Xr security 7 ,
4632 .Xr accton 8 ,
4633 .Xr amd 8 ,
4634 .Xr apm 8 ,
4635 .Xr bsdinstall 8 ,
4636 .Xr bthidd 8 ,
4637 .Xr chkprintcap 8 ,
4638 .Xr chown 8 ,
4639 .Xr cron 8 ,
4640 .Xr devfs 8 ,
4641 .Xr dhclient 8 ,
4642 .Xr ftpd 8 ,
4643 .Xr geli 8 ,
4644 .Xr hcsecd 8 ,
4645 .Xr ifconfig 8 ,
4646 .Xr inetd 8 ,
4647 .Xr iovctl 8 ,
4648 .Xr ipf 8 ,
4649 .Xr ipfw 8 ,
4650 .Xr ipnat 8 ,
4651 .Xr jail 8 ,
4652 .Xr kldxref 8 ,
4653 .Xr loader 8 ,
4654 .Xr lpd 8 ,
4655 .Xr mdconfig 8 ,
4656 .Xr mdmfs 8 ,
4657 .Xr mixer 8 ,
4658 .Xr mountd 8 ,
4659 .Xr moused 8 ,
4660 .Xr newfs 8 ,
4661 .Xr newsyslog 8 ,
4662 .Xr nfsd 8 ,
4663 .Xr ntpd 8 ,
4664 .Xr ntpdate 8 ,
4665 .Xr pfctl 8 ,
4666 .Xr pflogd 8 ,
4667 .Xr ping 8 ,
4668 .Xr powerd 8 ,
4669 .Xr quotacheck 8 ,
4670 .Xr quotaon 8 ,
4671 .Xr rc 8 ,
4672 .Xr rc.sendmail 8 ,
4673 .Xr rfcomm_pppd 8 ,
4674 .Xr route 8 ,
4675 .Xr routed 8 ,
4676 .Xr rpc.lockd 8 ,
4677 .Xr rpc.statd 8 ,
4678 .Xr rpcbind 8 ,
4679 .Xr rwhod 8 ,
4680 .Xr savecore 8 ,
4681 .Xr sdpd 8 ,
4682 .Xr service 8 ,
4683 .Xr sshd 8 ,
4684 .Xr swapon 8 ,
4685 .Xr sysctl 8 ,
4686 .Xr syslogd 8 ,
4687 .Xr sysrc 8 ,
4688 .Xr timed 8 ,
4689 .Xr unbound 8 ,
4690 .Xr usbconfig 8 ,
4691 .Xr wlandebug 8 ,
4692 .Xr yp 8 ,
4693 .Xr ypbind 8 ,
4694 .Xr ypserv 8 ,
4695 .Xr ypset 8
4696 .Sh HISTORY
4697 The
4698 .Nm
4699 file appeared in
4700 .Fx 2.2.2 .
4701 .Sh AUTHORS
4702 .An Jordan K. Hubbard .