xref: /freebsd/share/man/man5/rc.conf.5 (revision 872686b17e70636f031436b458262eb7dacc5832)
1c58afa56SJordan K. Hubbard.\" Copyright (c) 1995
2c58afa56SJordan K. Hubbard.\"	Jordan K. Hubbard
3c58afa56SJordan K. Hubbard.\"
4c58afa56SJordan K. Hubbard.\" Redistribution and use in source and binary forms, with or without
5c58afa56SJordan K. Hubbard.\" modification, are permitted provided that the following conditions
6c58afa56SJordan K. Hubbard.\" are met:
7c58afa56SJordan K. Hubbard.\" 1. Redistributions of source code must retain the above copyright
8c58afa56SJordan K. Hubbard.\"    notice, this list of conditions and the following disclaimer.
9c58afa56SJordan K. Hubbard.\" 2. Redistributions in binary form must reproduce the above copyright
10c58afa56SJordan K. Hubbard.\"    notice, this list of conditions and the following disclaimer in the
11c58afa56SJordan K. Hubbard.\"    documentation and/or other materials provided with the distribution.
12c58afa56SJordan K. Hubbard.\"
13c58afa56SJordan K. Hubbard.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
14c58afa56SJordan K. Hubbard.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15c58afa56SJordan K. Hubbard.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16c58afa56SJordan K. Hubbard.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
17c58afa56SJordan K. Hubbard.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18c58afa56SJordan K. Hubbard.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19c58afa56SJordan K. Hubbard.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20c58afa56SJordan K. Hubbard.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21c58afa56SJordan K. Hubbard.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22c58afa56SJordan K. Hubbard.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23c58afa56SJordan K. Hubbard.\" SUCH DAMAGE.
24c58afa56SJordan K. Hubbard.\"
25*872686b1SMark Johnston.Dd January 6, 2025
26c58afa56SJordan K. Hubbard.Dt RC.CONF 5
278ca01badSSheldon Hearn.Os
28c58afa56SJordan K. Hubbard.Sh NAME
29c58afa56SJordan K. Hubbard.Nm rc.conf
30eb083802SRuslan Ermilov.Nd system configuration information
31c58afa56SJordan K. Hubbard.Sh DESCRIPTION
32c58afa56SJordan K. HubbardThe file
338ca01badSSheldon Hearn.Nm
34c58afa56SJordan K. Hubbardcontains descriptive information about the local host name, configuration
35c58afa56SJordan K. Hubbarddetails for any potential network interfaces and which services should be
36b615e3aaSRuslan Ermilovstarted up at system initial boot time.
37b615e3aaSRuslan ErmilovIn new installations, the
388ca01badSSheldon Hearn.Nm
390b94c3f7SEitan Adlerfile is generally initialized by the system installation utility.
40c58afa56SJordan K. Hubbard.Pp
41c58afa56SJordan K. HubbardThe purpose of
428ca01badSSheldon Hearn.Nm
43c58afa56SJordan K. Hubbardis not to run commands or perform system startup actions
44b615e3aaSRuslan Ermilovdirectly.
45b615e3aaSRuslan ErmilovInstead, it is included by the
46c58afa56SJordan K. Hubbardvarious generic startup scripts in
47c58afa56SJordan K. Hubbard.Pa /etc
48c58afa56SJordan K. Hubbardwhich conditionalize their
49c58afa56SJordan K. Hubbardinternal actions according to the settings found there.
50c58afa56SJordan K. Hubbard.Pp
51bd17e46eSJordan K. HubbardThe
52bd17e46eSJordan K. Hubbard.Pa /etc/rc.conf
53bd17e46eSJordan K. Hubbardfile is included from the file
54bd17e46eSJordan K. Hubbard.Pa /etc/defaults/rc.conf ,
551111b49cSSheldon Hearnwhich specifies the default settings for all the available options.
56b615e3aaSRuslan ErmilovOptions need only be specified in
57bd17e46eSJordan K. Hubbard.Pa /etc/rc.conf
581111b49cSSheldon Hearnwhen the system administrator wishes to override these defaults.
591111b49cSSheldon HearnThe file
608fe3c393SBenedict Reuschling.Pa /etc/defaults/vendor.conf
618fe3c393SBenedict Reuschlingallows vendors to override
628fe3c393SBenedict Reuschling.Fx
638fe3c393SBenedict Reuschlingdefaults.
648fe3c393SBenedict ReuschlingThe file
65bd17e46eSJordan K. Hubbard.Pa /etc/rc.conf.local
66bd17e46eSJordan K. Hubbardis used to override settings in
67bd17e46eSJordan K. Hubbard.Pa /etc/rc.conf
681111b49cSSheldon Hearnfor historical reasons.
698eac8076SHiroki Sato.Pp
7009fdf1f8SStefan EßerThe sysrc(8) command provides a scripting interface to modify system
7109fdf1f8SStefan Eßerconfig files.
7209fdf1f8SStefan Eßer.Pp
73c10697f2SGlen BarberIn addition to
74c10697f2SGlen Barber.Pa /etc/rc.conf.local
75c10697f2SGlen Barberyou can also place smaller configuration files for each
76be9c09bfSGlen Barber.Xr rc 8
77c10697f2SGlen Barberscript in the
78c10697f2SGlen Barber.Pa /etc/rc.conf.d
798eac8076SHiroki Satodirectory or
808eac8076SHiroki Sato.Ao Ar dir Ac Ns Pa /rc.conf.d
819e0d41c8SJamie Landeg-Jonesdirectories (where
829e0d41c8SJamie Landeg-Jones.Ao Ar dir Ac
839e0d41c8SJamie Landeg-Jonesis each entry specified in
848eac8076SHiroki Sato.Va local_startup ,
859e0d41c8SJamie Landeg-Jonesbut with any trailing
869e0d41c8SJamie Landeg-Jones.Pa /rc.d
879e0d41c8SJamie Landeg-Jonesstripped),
888eac8076SHiroki Satowhich will be included by the
89c10697f2SGlen Barber.Va load_rc_config
90c10697f2SGlen Barberfunction.
91c10697f2SGlen BarberFor jail configurations you could use the file
92c10697f2SGlen Barber.Pa /etc/rc.conf.d/jail
93454adf0fSMateusz Piotrowskito store jail-specific configuration options.
948eac8076SHiroki SatoIf
958eac8076SHiroki Sato.Va local_startup
968eac8076SHiroki Satocontains
978eac8076SHiroki Sato.Pa /usr/local/etc/rc.d
988eac8076SHiroki Satoand
998eac8076SHiroki Sato.Pa /opt/conf ,
100454adf0fSMateusz Piotrowski.Pa /usr/local/etc/rc.conf.d/jail
1018eac8076SHiroki Satoand
1028eac8076SHiroki Sato.Pa /opt/conf/rc.conf.d/jail
1038eac8076SHiroki Satowill be loaded.
1048eac8076SHiroki SatoIf
1058eac8076SHiroki Sato.Ao Ar dir Ac Ns Pa /rc.conf.d/ Ns Ao Ar name Ac
1064851376dSMateusz Piotrowskiis a directory then all of the files in the directory will be loaded.
107d80d7a8eSAndrew StevensonSee also the
108b615e3aaSRuslan Ermilov.Va rc_conf_files
109b615e3aaSRuslan Ermilovvariable below.
110bd17e46eSJordan K. Hubbard.Pp
1113d425b66SJoseph KoshyOptions are set with
11281ae4b8dSRuslan Ermilov.Dq Ar name Ns Li = Ns Ar value
1133d425b66SJoseph Koshyassignments that use
1143d425b66SJoseph Koshy.Xr sh 1
1153d425b66SJoseph Koshysyntax.
116c58afa56SJordan K. HubbardThe following list provides a name and short description for each
117bed6a377SDima Dorfmanvariable that can be set in the
118c58afa56SJordan K. Hubbard.Nm
119c58afa56SJordan K. Hubbardfile:
120b615e3aaSRuslan Ermilov.Bl -tag -width indent-two
12169808e53SMike Makonnen.It Va rc_debug
12269808e53SMike Makonnen.Pq Vt bool
12369808e53SMike MakonnenIf set to
12469808e53SMike Makonnen.Dq Li YES ,
12569808e53SMike Makonnenenable output of debug messages from rc scripts.
12669808e53SMike MakonnenThis variable can be helpful in diagnosing mistakes when
12769808e53SMike Makonnenediting or integrating new scripts.
12869808e53SMike MakonnenBeware that this produces copious output to the terminal and
12969808e53SMike Makonnen.Xr syslog 3 .
13069808e53SMike Makonnen.It Va rc_info
13169808e53SMike Makonnen.Pq Vt bool
13269808e53SMike MakonnenIf set to
13369808e53SMike Makonnen.Dq Li NO ,
13469808e53SMike Makonnendisable informational messages from the rc scripts.
13569808e53SMike MakonnenInformational messages are displayed when
13669808e53SMike Makonnena condition that is not serious enough to warrant a warning or
13769808e53SMike Makonnenan error occurs.
138f414327cSDoug Barton.It Va rc_startmsgs
139f414327cSDoug Barton.Pq Vt bool
140f414327cSDoug BartonIf set to
141f414327cSDoug Barton.Dq Li YES ,
142f414327cSDoug Bartonshow
143f414327cSDoug Barton.Dq Starting foo:
144f414327cSDoug Bartonwhen faststart is used (e.g., at boot time).
14557e561c0SDoug Barton.It Va early_late_divider
14657e561c0SDoug Barton.Pq Vt str
14757e561c0SDoug BartonThe name of the script that should be used as the
14857e561c0SDoug Bartondelimiter between the
14957e561c0SDoug Barton.Dq early
15057e561c0SDoug Bartonand
15157e561c0SDoug Barton.Dq late
15257e561c0SDoug Bartonstages of the boot process.
15357e561c0SDoug BartonThe early stage should contain all the services needed to
15457e561c0SDoug Bartonget the disks (local or remote) mounted so that the late
15557e561c0SDoug Bartonstage can include scripts contained in the directories
15657e561c0SDoug Bartonlisted in the
15757e561c0SDoug Barton.Va local_startup
15857e561c0SDoug Bartonvariable (see below).
15957e561c0SDoug BartonThus, the two likely candidates for this value are
16081ae4b8dSRuslan Ermilov.Pa mountcritlocal
16181ae4b8dSRuslan Ermilovfor the typical system, and
16281ae4b8dSRuslan Ermilov.Pa mountcritremote
16381ae4b8dSRuslan Ermilovif the system needs remote file
16457e561c0SDoug Bartonsystems mounted to get access to the
16557e561c0SDoug Barton.Va local_startup
16657e561c0SDoug Bartondirectories; for example when
16757e561c0SDoug Barton.Pa /usr/local
16857e561c0SDoug Bartonis NFS mounted.
169b0c77a9eSDoug BartonFor
170b0c77a9eSDoug Barton.Pa rc.conf
171b0c77a9eSDoug Bartonwithin a
172b0c77a9eSDoug Barton.Xr jail 8
17381ae4b8dSRuslan Ermilov.Pa NETWORKING
17481ae4b8dSRuslan Ermilovis likely to be an appropriate value.
17557e561c0SDoug BartonExtreme care should be taken when changing this value,
17657e561c0SDoug Bartonand before changing it one should ensure that there are
17757e561c0SDoug Bartonadequate provisions to recover from a failed boot
17857e561c0SDoug Barton(such as physical contact with the machine,
17957e561c0SDoug Bartonor reliable remote console access).
18020ceedfbSDoug Barton.It Va always_force_depends
18120ceedfbSDoug Barton.Pq Vt bool
18220ceedfbSDoug BartonVarious
18320ceedfbSDoug Barton.Pa rc.d
18420ceedfbSDoug Bartonscripts use the force_depend function to check whether required
18520ceedfbSDoug Bartonservices are already running, and to start them if necessary.
18620ceedfbSDoug BartonBy default during boot time this check is bypassed if the
18720ceedfbSDoug Bartonrequired service is enabled in
18820ceedfbSDoug Barton.Pa /etc/rc.conf[.local] .
18920ceedfbSDoug BartonSetting this option will bypass that check at boot time and
19020ceedfbSDoug Bartonalways test whether or not the service is actually running.
19120ceedfbSDoug BartonEnabling this option is likely to increase your boot time if
19220ceedfbSDoug Bartonservices are enabled that utilize the force_depend check.
19309c024e1SJoel Dahl.It Ao Ar name Ac Ns Va _chroot
194ab013dbbSIvan Voras.Pq Vt str
195b6db9b84SEnji Cooper.Xr chroot 8
196ab013dbbSIvan Vorasto this directory before running the service.
197620b5bfaSCeri Davies.It Ao Ar name Ac Ns Va _cpuset
198620b5bfaSCeri Davies.Pq Vt str
199620b5bfaSCeri DaviesA list of CPUs to run the service on.
200620b5bfaSCeri DaviesPassed to
201620b5bfaSCeri Davies.Xr cpuset 1
202620b5bfaSCeri Daviesusing the
203620b5bfaSCeri Davies.Fl l
204620b5bfaSCeri Daviesflag.
205c58c2dc7SHiroki Sato.It Ao Ar name Ac Ns Va _fib
206c58c2dc7SHiroki Sato.Pq Vt int
207c58c2dc7SHiroki SatoThe
208c58c2dc7SHiroki Sato.Xr setfib 1
209c58c2dc7SHiroki Satovalue to run the service under.
210bd6dce97SDaniel Ebdrup Jensen.It Ao Ar name Ac Ns Va _group
211bd6dce97SDaniel Ebdrup Jensen.Pq Vt str
212bd6dce97SDaniel Ebdrup JensenRun the chrooted service under this system group.
213bd6dce97SDaniel Ebdrup JensenUnlike the
214bd6dce97SDaniel Ebdrup Jensen.Ao Ar name Ac Ns Va _user
215bd6dce97SDaniel Ebdrup Jensensetting, this setting has no effect if the service is not chrooted.
216bd6dce97SDaniel Ebdrup Jensen.It Ao Ar name Ac Ns Va _limits
217bd6dce97SDaniel Ebdrup Jensen.Pq Vt str
218bd6dce97SDaniel Ebdrup JensenResource limits to apply to the service using
219bd6dce97SDaniel Ebdrup Jensen.Xr limits 1 .
220bd6dce97SDaniel Ebdrup JensenBy default, resource limits are based on the login class defined in
221bd6dce97SDaniel Ebdrup Jensen.Ao Ar name Ac Ns Va _login_class .
222bd6dce97SDaniel Ebdrup Jensen.It Ao Ar name Ac Ns Va _login_class
223bd6dce97SDaniel Ebdrup Jensen.Pq Vt str
224bd6dce97SDaniel Ebdrup JensenLogin class to be used with
225bd6dce97SDaniel Ebdrup Jensen.Ao Ar name Ac Ns Va _limits .
226bd6dce97SDaniel Ebdrup JensenDefaults to
227bd6dce97SDaniel Ebdrup Jensen.Dq Li daemon .
22809c024e1SJoel Dahl.It Ao Ar name Ac Ns Va _nice
229ab013dbbSIvan Voras.Pq Vt int
230ab013dbbSIvan VorasThe
231ab013dbbSIvan Voras.Xr nice 1
232ab013dbbSIvan Vorasvalue to run the service under.
233bd6dce97SDaniel Ebdrup Jensen.It Ao Ar name Ac Ns Va _oomprotect
234df1817a8SMateusz Piotrowski.Pq Vt str
235bd6dce97SDaniel Ebdrup JensenUse
236bd6dce97SDaniel Ebdrup Jensen.Xr protect 1
237bd6dce97SDaniel Ebdrup Jensento prevent the service from being killed when swap space
238bd6dce97SDaniel Ebdrup Jensenis exhausted.
239bd6dce97SDaniel Ebdrup JensenUse
240bd6dce97SDaniel Ebdrup Jensen.Dq Li YES
241bd6dce97SDaniel Ebdrup Jensento protect only the service itself, and
242bd6dce97SDaniel Ebdrup Jensen.Dq Li ALL
243df1817a8SMateusz Piotrowskito protect the service and all its child processes.
244bd6dce97SDaniel Ebdrup Jensen.Pp
245df1817a8SMateusz PiotrowskiPlease note that rc scripts which redefine
246df1817a8SMateusz Piotrowski.Dl ${argument}_cmd
247df1817a8SMateusz Piotrowski.Pq see Xr rc.subr 8
248479ea5cfSMateusz Piotrowskisuch as PostgreSQL will not inherit the OOM killer protection.
249df1817a8SMateusz Piotrowski.Pp
250df1817a8SMateusz PiotrowskiThis variable has no effect on services running within a
251df1817a8SMateusz Piotrowski.Xr jail 8 .
2525e3a8a4aSMateusz Piotrowski.It Ao Ar name Ac Ns Va _setup
2535e3a8a4aSMateusz Piotrowski.Pq Vt str
2545e3a8a4aSMateusz PiotrowskiRun the specified setup script right before starting the actual service
2555e3a8a4aSMateusz Piotrowskicommand.
2565e3a8a4aSMateusz PiotrowskiUseful for automatic configuration file generation.
257160a2f2cSEugene Grosbein.It Ao Ar name Ac Ns Va _umask
258160a2f2cSEugene Grosbein.Pq Vt int
259160a2f2cSEugene GrosbeinRun the service using this
260160a2f2cSEugene Grosbein.Xr umask 1
261160a2f2cSEugene Grosbeinvalue.
262bd6dce97SDaniel Ebdrup Jensen.It Ao Ar name Ac Ns Va _user
263bd6dce97SDaniel Ebdrup Jensen.Pq Vt str
264bd6dce97SDaniel Ebdrup JensenRun the service under this user account.
2652efbd480SAlexander Leidinger.It Ao Ar name Ac Ns Va _svcj
2662efbd480SAlexander Leidinger.Pq Vt bool
2672efbd480SAlexander LeidingerIf set to
2682efbd480SAlexander Leidinger.Dq Li YES ,
2692efbd480SAlexander Leidingerauto-jail the service with inherited filesystem and other
2702efbd480SAlexander Leidingerjail properties depending on
2712efbd480SAlexander Leidinger.Ao Ar name Ac Ns Va _svcj_options .
2722efbd480SAlexander Leidinger.It Ao Ar name Ac Ns Va _svcj_options
2732efbd480SAlexander Leidinger.Pq Vt str
2742efbd480SAlexander LeidingerA list of jail properties for the service.
2752efbd480SAlexander LeidingerSee
2762efbd480SAlexander Leidinger.Sx SERVICE JAILS
2772efbd480SAlexander Leidingerfor a list of valid properties.
27834455342SDima Dorfman.It Va apm_enable
27934455342SDima Dorfman.Pq Vt bool
28034455342SDima DorfmanIf set to
281b615e3aaSRuslan Ermilov.Dq Li YES ,
282c58afa56SJordan K. Hubbardenable support for Automatic Power Management with
283c58afa56SJordan K. Hubbardthe
284c58afa56SJordan K. Hubbard.Xr apm 8
285c58afa56SJordan K. Hubbardcommand.
28634455342SDima Dorfman.It Va apmd_enable
28734455342SDima Dorfman.Pq Vt bool
28834455342SDima DorfmanRun
289be2a6b0bSMitsuru IWASAKI.Xr apmd 8
290be2a6b0bSMitsuru IWASAKIto handle APM event from userland.
291b615e3aaSRuslan ErmilovThis also enables support for APM.
29234455342SDima Dorfman.It Va apmd_flags
29334455342SDima Dorfman.Pq Vt str
29434455342SDima DorfmanIf
29534455342SDima Dorfman.Va apmd_enable
296be2a6b0bSMitsuru IWASAKIis set to
297b615e3aaSRuslan Ermilov.Dq Li YES ,
298be2a6b0bSMitsuru IWASAKIthese are the flags to pass to the
299be2a6b0bSMitsuru IWASAKI.Xr apmd 8
300be2a6b0bSMitsuru IWASAKIdaemon.
301e8ef497cSWarner Losh.It Va devd_enable
302e8ef497cSWarner Losh.Pq Vt bool
303e8ef497cSWarner LoshRun
304e8ef497cSWarner Losh.Xr devd 8
305e8ef497cSWarner Loshto handle device added, removed or unknown events from the kernel.
306ae2edb2aSBrooks Davis.It Va ddb_enable
307ae2edb2aSBrooks Davis.Pq Vt bool
308ae2edb2aSBrooks DavisRun
309ae2edb2aSBrooks Davis.Xr ddb 8
310ae2edb2aSBrooks Davisto install
311ae2edb2aSBrooks Davis.Xr ddb 4
312ae2edb2aSBrooks Davisscripts at boot time.
313ae2edb2aSBrooks Davis.It Va ddb_config
314ae2edb2aSBrooks Davis.Pq Vt str
315ae2edb2aSBrooks DavisConfiguration file for
316ae2edb2aSBrooks Davis.Xr ddb 8 .
317ae2edb2aSBrooks DavisDefault
318ae2edb2aSBrooks Davis.Pa /etc/ddb.conf .
319ef757da4SMitchell Horne.It Va devmatch_enable
320ef757da4SMitchell Horne.Pq Vt bool
321ef757da4SMitchell HorneIf set to
322ef757da4SMitchell Horne.Dq Li NO ,
323ef757da4SMitchell Hornedisable auto-loading of kernel modules with
324ef757da4SMitchell Horne.Xr devmatch 8 .
325c43b0081SCeri Davies.It Va devmatch_blocklist
326c43b0081SCeri Davies.Pq Vt str
327c43b0081SCeri DaviesA whitespace-separated list of kernel modules to be ignored by
328c43b0081SCeri Davies.Xr devmatch 8 .
329a8935083SWarner LoshIn addition, the
330a8935083SWarner Losh.Xr kenv 1
331a8935083SWarner Losh.Va devmatch_blocklist
332a8935083SWarner Loshis appended to this variable to allow disabling of
333a8935083SWarner Losh.Xr devmatch 8
334a8935083SWarner Loshloaded modules from the boot loader.
335ef757da4SMitchell Horne.It Va devmatch_blacklist
336ef757da4SMitchell Horne.Pq Vt str
337c43b0081SCeri DaviesThis variable is deprecated.
338c43b0081SCeri DaviesUse
339c43b0081SCeri Davies.Va devmatch_blocklist
340c43b0081SCeri Daviesinstead.
341ef757da4SMitchell HorneA whitespace-separated list of kernel modules to be ignored by
342ef757da4SMitchell Horne.Xr devmatch 8 .
343aff92fcbSDoug Barton.It Va kld_list
344aff92fcbSDoug Barton.Pq Vt str
345261e62dbSChris ReesA whitespace-separated list of kernel modules to load right after
346b11974c2SChris Reesthe local disks are mounted, without any
347b11974c2SChris Rees.Pa .ko
348b11974c2SChris Reesextension or path.
3495d75ba3dSCrist J. Clark.It Va kldxref_enable
3505d75ba3dSCrist J. Clark.Pq Vt bool
3515d75ba3dSCrist J. ClarkSet to
3525d75ba3dSCrist J. Clark.Dq Li NO
3535d75ba3dSCrist J. Clarkby default.
3545d75ba3dSCrist J. ClarkSet to
3555d75ba3dSCrist J. Clark.Dq Li YES
3565d75ba3dSCrist J. Clarkto automatically rebuild
3575d75ba3dSCrist J. Clark.Pa linker.hints
3585d75ba3dSCrist J. Clarkfiles with
3595d75ba3dSCrist J. Clark.Xr kldxref 8
3605d75ba3dSCrist J. Clarkat boot time.
3615d75ba3dSCrist J. Clark.It Va kldxref_clobber
3625d75ba3dSCrist J. Clark.Pq Vt bool
3635d75ba3dSCrist J. ClarkSet to
3645d75ba3dSCrist J. Clark.Dq Li NO
3655d75ba3dSCrist J. Clarkby default.
3665d75ba3dSCrist J. ClarkIf
3675d75ba3dSCrist J. Clark.Va kldxref_enable
3685d75ba3dSCrist J. Clarkis true,
3695d75ba3dSCrist J. Clarksetting to
3705d75ba3dSCrist J. Clark.Dq Li YES
3715d75ba3dSCrist J. Clarkwill overwrite existing
3725d75ba3dSCrist J. Clark.Pa linker.hints
3735d75ba3dSCrist J. Clarkfiles at boot time.
3745d75ba3dSCrist J. ClarkOtherwise,
3755d75ba3dSCrist J. Clarkonly missing
3765d75ba3dSCrist J. Clark.Pa linker.hints
3775d75ba3dSCrist J. Clarkfiles are generated.
3785d75ba3dSCrist J. Clark.It Va kldxref_module_path
3795d75ba3dSCrist J. Clark.Pq Vt str
3805d75ba3dSCrist J. ClarkEmpty by default.
3815d75ba3dSCrist J. ClarkA semi-colon
382c8185672SRuslan Ermilov.Pq Ql \&;
3835d75ba3dSCrist J. Clarkdelimited list of paths containing
3845d75ba3dSCrist J. Clark.Xr kld 4
3855d75ba3dSCrist J. Clarkmodules.
3865d75ba3dSCrist J. ClarkIf empty,
3875d75ba3dSCrist J. Clarkthe contents of the
388c8185672SRuslan Ermilov.Va kern.module_path
3895d75ba3dSCrist J. Clark.Xr sysctl 8
3905d75ba3dSCrist J. Clarkare used.
391ffa6cde4SNate Lawson.It Va powerd_enable
392ffa6cde4SNate Lawson.Pq Vt bool
393ffa6cde4SNate LawsonIf set to
394ffa6cde4SNate Lawson.Dq Li YES ,
395ffa6cde4SNate Lawsonenable the system power control facility with the
396ffa6cde4SNate Lawson.Xr powerd 8
397ffa6cde4SNate Lawsondaemon.
398540fac89SAlexander Leidinger.It Va powerd_flags
399540fac89SAlexander Leidinger.Pq Vt str
400540fac89SAlexander LeidingerIf
401540fac89SAlexander Leidinger.Va powerd_enable
402540fac89SAlexander Leidingeris set to
403540fac89SAlexander Leidinger.Dq Li YES ,
404540fac89SAlexander Leidingerthese are the flags to pass to the
405540fac89SAlexander Leidinger.Xr powerd 8
406540fac89SAlexander Leidingerdaemon.
4072efbd480SAlexander Leidinger.It Va svcj_all_enable
4082efbd480SAlexander LeidingerEnable auto-jailing of all services which are not explicitly
4092efbd480SAlexander Leidingerexcluded.
4102efbd480SAlexander LeidingerSee
4112efbd480SAlexander Leidinger.Sx SERVICE JAILS
4122efbd480SAlexander Leidingerfor more info.
4133e091039SBrooks Davis.It Va tmpmfs
414bf7f20c2SRuslan ErmilovControls the creation of a
4153e091039SBrooks Davis.Pa /tmp
416bf7f20c2SRuslan Ermilovmemory file system.
4173e091039SBrooks DavisAlways happens if set to
4183e091039SBrooks Davis.Dq Li YES
4193e091039SBrooks Davisand never happens if set to
4203e091039SBrooks Davis.Dq Li NO .
421bf7f20c2SRuslan ErmilovIf set to anything else, a memory file system is created if
4223e091039SBrooks Davis.Pa /tmp
4233e091039SBrooks Davisis not writable.
4243e091039SBrooks Davis.It Va tmpsize
425bf7f20c2SRuslan ErmilovControls the size of a created
426bf7f20c2SRuslan Ermilov.Pa /tmp
427bf7f20c2SRuslan Ermilovmemory file system.
4288cfaa2f1SGiorgos Keramidas.It Va tmpmfs_flags
4298cfaa2f1SGiorgos KeramidasExtra options passed to the
4308cfaa2f1SGiorgos Keramidas.Xr mdmfs 8
4318cfaa2f1SGiorgos Keramidasutility when the memory file system for
4328cfaa2f1SGiorgos Keramidas.Pa /tmp
4338cfaa2f1SGiorgos Keramidasis created.
4348cfaa2f1SGiorgos KeramidasThe default is
43515240ba8SYaroslav Tykhiy.Dq Li "-S" ,
4368cfaa2f1SGiorgos Keramidaswhich inhibits the use of softupdates on
4378cfaa2f1SGiorgos Keramidas.Pa /tmp
43815240ba8SYaroslav Tykhiyso that file system space is freed without delay
43915240ba8SYaroslav Tykhiyafter file truncation or deletion.
4408cfaa2f1SGiorgos KeramidasSee
4418cfaa2f1SGiorgos Keramidas.Xr mdmfs 8
4428cfaa2f1SGiorgos Keramidasfor other options you can use in
443c0854fb7SRuslan Ermilov.Va tmpmfs_flags .
4443e091039SBrooks Davis.It Va varmfs
445bf7f20c2SRuslan ErmilovControls the creation of a
4463e091039SBrooks Davis.Pa /var
447bf7f20c2SRuslan Ermilovmemory file system.
4483e091039SBrooks DavisAlways happens if set to
4493e091039SBrooks Davis.Dq Li YES
4503e091039SBrooks Davisand never happens if set to
4513e091039SBrooks Davis.Dq Li NO .
452bf7f20c2SRuslan ErmilovIf set to anything else, a memory file system is created if
4533e091039SBrooks Davis.Pa /var
4543e091039SBrooks Davisis not writable.
4553e091039SBrooks Davis.It Va varsize
456bf7f20c2SRuslan ErmilovControls the size of a created
457bf7f20c2SRuslan Ermilov.Pa /var
458bf7f20c2SRuslan Ermilovmemory file system.
4598cfaa2f1SGiorgos Keramidas.It Va varmfs_flags
4608cfaa2f1SGiorgos KeramidasExtra options passed to the
4618cfaa2f1SGiorgos Keramidas.Xr mdmfs 8
4628cfaa2f1SGiorgos Keramidasutility when the memory file system for
4638cfaa2f1SGiorgos Keramidas.Pa /var
4648cfaa2f1SGiorgos Keramidasis created.
4658cfaa2f1SGiorgos KeramidasThe default is
46615240ba8SYaroslav Tykhiy.Dq Li "-S" ,
4678cfaa2f1SGiorgos Keramidaswhich inhibits the use of softupdates on
4688cfaa2f1SGiorgos Keramidas.Pa /var
46915240ba8SYaroslav Tykhiyso that file system space is freed without delay
47015240ba8SYaroslav Tykhiyafter file truncation or deletion.
4718cfaa2f1SGiorgos KeramidasSee
4728cfaa2f1SGiorgos Keramidas.Xr mdmfs 8
4738cfaa2f1SGiorgos Keramidasfor other options you can use in
474c0854fb7SRuslan Ermilov.Va varmfs_flags .
4753e091039SBrooks Davis.It Va populate_var
4763e091039SBrooks DavisControls the automatic population of the
4773e091039SBrooks Davis.Pa /var
4783e091039SBrooks Davisfile system.
4793e091039SBrooks DavisAlways happens if set to
4803e091039SBrooks Davis.Dq Li YES
4813e091039SBrooks Davisand never happens if set to
4823e091039SBrooks Davis.Dq Li NO .
483bf7f20c2SRuslan ErmilovIf set to anything else, a memory file system is created if
484ae4d5e29SGiorgos Keramidas.Pa /var
485bf7f20c2SRuslan Ermilovis not writable.
4863e091039SBrooks DavisNote that this process requires access to certain commands in
4873e091039SBrooks Davis.Pa /usr
4883e091039SBrooks Davisbefore
4893e091039SBrooks Davis.Pa /usr
4903e091039SBrooks Davisis mounted on normal systems.
491ea871df0SDoug Barton.It Va cleanvar_enable
492ea871df0SDoug Barton.Pq Vt bool
493ea871df0SDoug BartonClean the
494ea871df0SDoug Barton.Pa /var
495ea871df0SDoug Bartondirectory.
49627b9777cSCy Schubert.It Va var_run_enable
49727b9777cSCy Schubert.Pq Vt bool
49827b9777cSCy SchubertSet to "YES" to enable saving of the
49927b9777cSCy Schubert.Pa /var/run
500654b1e38SCeri Daviesdirectory structure into an mtree file at shutdown and the reload of the
50127b9777cSCy Schubert.Pa /var/run
50227b9777cSCy Schubertdirectory structure at boot.
50327b9777cSCy Schubert.It Va var_run_autosave
50427b9777cSCy Schubert.Pq Vt bool
50527b9777cSCy SchubertIn some cases it may be undesirable to save
50627b9777cSCy Schubert.Pa /var/run
50727b9777cSCy Schubertat shutdown.
50827b9777cSCy SchubertWhen set to "NO"
50927b9777cSCy Schubert.Pa /var/run
510ce95864fSWarner Loshis loaded at reboot but not saved at shutdown.
511ce95864fSWarner LoshTypically in this scenario
512654b1e38SCeri Davies.Ql service var_run save
51327b9777cSCy Schubertwould be performed to save a copy of the
51427b9777cSCy Schubert.Pa /var/run
515654b1e38SCeri Daviesdirectory structure once, to be reloaded during all subsequent reboots.
51627b9777cSCy Schubert.It Va var_run_mtree
51727b9777cSCy Schubert.Pq Vt str
51827b9777cSCy SchubertWhere to save the
51927b9777cSCy Schubert.Pa /var/run
520ce95864fSWarner Loshmtree.
521ce95864fSWarner LoshThe default location is
52227b9777cSCy Schubert.Pa /var/db/mtree/BSD.var-run.mtree .
52334455342SDima Dorfman.It Va local_startup
52434455342SDima Dorfman.Pq Vt str
52534455342SDima DorfmanList of directories to search for startup script files.
5261d17292cSPeter Pentchev.It Va script_name_sep
5271d17292cSPeter Pentchev.Pq Vt str
5281d17292cSPeter PentchevThe field separator to use for breaking down the list of startup script files
5291d17292cSPeter Pentchevinto individual filenames.
5301d17292cSPeter PentchevThe default is a space.
531980939b1SDima DorfmanIt is not necessary to change this unless there are startup scripts with names
5321d17292cSPeter Pentchevcontaining spaces.
533b03bfd35SFlorent Thoumie.It Va hostapd_enable
534b03bfd35SFlorent Thoumie.Pq Vt bool
535b03bfd35SFlorent ThoumieSet to
536b03bfd35SFlorent Thoumie.Dq Li YES
537b03bfd35SFlorent Thoumieto start
538b03bfd35SFlorent Thoumie.Xr hostapd 8
539b03bfd35SFlorent Thoumieat system boot time.
54034455342SDima Dorfman.It Va hostname
54134455342SDima Dorfman.Pq Vt str
542b615e3aaSRuslan ErmilovThe fully qualified domain name (FQDN) of this host on the network.
543c58afa56SJordan K. HubbardThis should almost certainly be set to something meaningful, even if
544bed6a377SDima Dorfmanthere is no network connection.
545bed6a377SDima DorfmanIf
5466a37402eSDavid E. O'Brien.Xr dhclient 8
547bed6a377SDima Dorfmanis used to set the hostname via DHCP,
548bed6a377SDima Dorfmanthis variable should be set to an empty string.
549d0aee33dSJamie GrittonWithin a
550d0aee33dSJamie Gritton.Xr jail 8
551676ff51eSMateusz Piotrowskithe hostname is generally already set and this variable may be absent.
552b31787aeSDoug BartonIf this value remains unset when the system is done booting
553127de774SDoug Bartonyour console login will display the default hostname of
554b31787aeSDoug Barton.Dq Amnesiac .
55534455342SDima Dorfman.It Va nisdomainname
55634455342SDima Dorfman.Pq Vt str
557980939b1SDima DorfmanThe NIS domain name of this host, or
558b615e3aaSRuslan Ermilov.Dq Li NO
559bed6a377SDima Dorfmanif NIS is not used.
5605b3f1098SCeri Davies.It Va hostid_enable
5615b3f1098SCeri Davies.Pq Vt bool
5625b3f1098SCeri DaviesIf set to
5635b3f1098SCeri Davies.Dq Li NO ,
5645b3f1098SCeri Daviesdisable the generation or saving of the
5655b3f1098SCeri Davies.Pa hostid
5665b3f1098SCeri Daviesand
5675b3f1098SCeri Davies.Pa machine-id
5685b3f1098SCeri Daviesfiles at system boot and shutdown.
5695b3f1098SCeri Davies.It Va hostid_file
5705b3f1098SCeri Davies.Pq Vt str
5715b3f1098SCeri DaviesPath to the
5725b3f1098SCeri Davies.Pa hostid
5735b3f1098SCeri Daviesfile, default
5745b3f1098SCeri Davies.Pa /etc/hostid .
5755b3f1098SCeri Davies.It Va hostid_uuidgen_flags
5765b3f1098SCeri Davies.Pq Vt str
5775b3f1098SCeri DaviesFlags passed to
5785b3f1098SCeri Davies.Xr uuidgen 1
5795b3f1098SCeri Davieswhen generating a software host UUID.
5805b3f1098SCeri DaviesThis is used only if the system cannot determine a hardware UUID.
5815b3f1098SCeri DaviesSet to
5825b3f1098SCeri Davies.Dq Li -r
5835b3f1098SCeri Daviesby default.
5845b3f1098SCeri Davies.It Va machine_id_file
5855b3f1098SCeri Davies.Pq Vt str
5865b3f1098SCeri DaviesPath to the
5875b3f1098SCeri Davies.Pa machine-id
5885b3f1098SCeri Daviesfile, default
5895b3f1098SCeri Davies.Pa /etc/machine-id .
590d679c130SMike Makonnen.It Va dhclient_program
59134455342SDima Dorfman.Pq Vt str
592effb0535SCeri DaviesPath to the DHCP client program, defaulting to
593effb0535SCeri Davies.Pa /sbin/dhclient .
594d679c130SMike Makonnen.It Va dhclient_flags
59534455342SDima Dorfman.Pq Vt str
59634455342SDima DorfmanAdditional flags to pass to the DHCP client program.
597effb0535SCeri DaviesSee the
598b0359e5dSJeroen Ruigrok van der Werven.Xr dhclient 8
599b615e3aaSRuslan Ermilovmanpage for a description of the command line options available.
60081ae4b8dSRuslan Ermilov.It Va dhclient_flags_ Ns Aq Ar iface
6019341e8ddSBrian SomersAdditional flags to pass to the DHCP client program running on
60281ae4b8dSRuslan Ermilov.Ar iface
6039341e8ddSBrian Somersonly.
6049341e8ddSBrian SomersWhen specified, this variable overrides
6059341e8ddSBrian Somers.Va dhclient_flags .
6062b23ce1cSMartin Blapp.It Va background_dhclient
6072b23ce1cSMartin Blapp.Pq Vt bool
6082b23ce1cSMartin BlappSet to
6092b23ce1cSMartin Blapp.Dq Li YES
61026cd969fSJens Schweikhardtto start the DHCP client in background.
611d5c7aa4aSMartin BlappThis can cause trouble with applications depending on
612d5c7aa4aSMartin Blappa working network, but it will provide a faster startup
613d5c7aa4aSMartin Blappin many cases.
61481ae4b8dSRuslan Ermilov.It Va background_dhclient_ Ns Aq Ar iface
6159341e8ddSBrian SomersWhen specified, this variable overrides the
6169341e8ddSBrian Somers.Va background_dhclient
6179341e8ddSBrian Somersvariable for interface
61881ae4b8dSRuslan Ermilov.Ar iface
6199341e8ddSBrian Somersonly.
620e4482bfdSIsaac Cilia Attard.It Va dhclient_arpwait
621e4482bfdSIsaac Cilia Attard.Pq Vt bool
622e4482bfdSIsaac Cilia AttardSet to
623e4482bfdSIsaac Cilia Attard.Dq Li NO
624e4482bfdSIsaac Cilia Attardto stop
625e4482bfdSIsaac Cilia Attard.Xr dhclient 8
626e4482bfdSIsaac Cilia Attardfrom waiting for ARP resolution, to make the system boot faster.
627e4482bfdSIsaac Cilia AttardThis may be done on networks where the DHCP server is certain to
628e4482bfdSIsaac Cilia Attardknow whether an address is available.
629c1ba2105SBrooks Davis.It Va synchronous_dhclient
63066981e7fSRuslan Ermilov.Pq Vt bool
631c4af136dSBrooks DavisSet to
632ace19032SBrooks Davis.Dq Li YES
633c4af136dSBrooks Davisto start
634c4af136dSBrooks Davis.Xr dhclient 8
635ace19032SBrooks Davissynchronously at startup.
636c4af136dSBrooks DavisThis behavior can be overridden on a per-interface basis by replacing
637c4af136dSBrooks Davisthe
638c4af136dSBrooks Davis.Dq Li DHCP
639c4af136dSBrooks Daviskeyword in the
640c4af136dSBrooks Davis.Va ifconfig_ Ns Aq Ar interface
641c4af136dSBrooks Davisvariable with
642c4af136dSBrooks Davis.Dq Li SYNCDHCP
643c4af136dSBrooks Davisor
644c4af136dSBrooks Davis.Dq Li NOSYNCDHCP .
645553bf6a4SMike Makonnen.It Va defaultroute_delay
646ace19032SBrooks Davis.Pq Vt int
647ace19032SBrooks DavisWhen set to a positive value, wait up to this long after configuring
648ace19032SBrooks DavisDHCP interfaces at startup to give the interfaces time to receive a lease.
64934455342SDima Dorfman.It Va firewall_enable
65034455342SDima Dorfman.Pq Vt bool
65134455342SDima DorfmanSet to
652b615e3aaSRuslan Ermilov.Dq Li YES
653bed6a377SDima Dorfmanto load firewall rules at startup.
654bed6a377SDima DorfmanIf the kernel was not built with
655b615e3aaSRuslan Ermilov.Cd "options IPFIREWALL" ,
656b615e3aaSRuslan Ermilovthe
657b615e3aaSRuslan Ermilov.Pa ipfw.ko
6585cf07307SDaniel O'Callaghankernel module will be loaded.
6597a76642fSDarren ReedSee also
66034455342SDima Dorfman.Va ipfilter_enable .
66134455342SDima Dorfman.It Va firewall_script
66234455342SDima Dorfman.Pq Vt str
663bed6a377SDima DorfmanThis variable specifies the full path to the firewall script to run.
664bed6a377SDima DorfmanThe default is
665bed6a377SDima Dorfman.Pa /etc/rc.firewall .
66634455342SDima Dorfman.It Va firewall_type
66734455342SDima Dorfman.Pq Vt str
66834455342SDima DorfmanNames the firewall type from the selection in
669c58afa56SJordan K. Hubbard.Pa /etc/rc.firewall ,
670b615e3aaSRuslan Ermilovor the file which contains the local firewall ruleset.
671b615e3aaSRuslan ErmilovValid selections from
672b615e3aaSRuslan Ermilov.Pa /etc/rc.firewall
673b615e3aaSRuslan Ermilovare:
674b615e3aaSRuslan Ermilov.Pp
675c39dda81STobias Rehbein.Bl -tag -width ".Li workstation" -compact
676b615e3aaSRuslan Ermilov.It Li open
677b615e3aaSRuslan Ermilovunrestricted IP access
678b615e3aaSRuslan Ermilov.It Li closed
679b615e3aaSRuslan Ermilovall IP services disabled, except via
680b615e3aaSRuslan Ermilov.Dq Li lo0
681b615e3aaSRuslan Ermilov.It Li client
682b615e3aaSRuslan Ermilovbasic protection for a workstation
683c39dda81STobias Rehbein.It Li workstation
684c39dda81STobias Rehbeinbasic protection for a workstation using stateful firewalling
685b615e3aaSRuslan Ermilov.It Li simple
686b615e3aaSRuslan Ermilovbasic protection for a LAN.
687b615e3aaSRuslan Ermilov.El
688b615e3aaSRuslan Ermilov.Pp
689b615e3aaSRuslan ErmilovIf a filename is specified, the full path
690ee4619f2SBrian S. Deanmust be given.
691c39dda81STobias Rehbein.Pp
692c39dda81STobias RehbeinMost of the predefined rulesets define additional configuration variables.
693c39dda81STobias RehbeinThese are documented in
694c39dda81STobias Rehbein.Pa /etc/rc.firewall .
69534455342SDima Dorfman.It Va firewall_quiet
69634455342SDima Dorfman.Pq Vt bool
69734455342SDima DorfmanSet to
698b615e3aaSRuslan Ermilov.Dq Li YES
699b615e3aaSRuslan Ermilovto disable the display of firewall rules on the console during boot.
70034455342SDima Dorfman.It Va firewall_logging
70134455342SDima Dorfman.Pq Vt bool
70234455342SDima DorfmanSet to
703b615e3aaSRuslan Ermilov.Dq Li YES
704b615e3aaSRuslan Ermilovto enable firewall event logging.
70572888a7dSDima DorfmanThis is equivalent to the
70672888a7dSDima Dorfman.Dv IPFIREWALL_VERBOSE
70772888a7dSDima Dorfmankernel option.
7088efbd296SHiroki Sato.It Va firewall_logif
7098efbd296SHiroki Sato.Pq Vt bool
7108efbd296SHiroki SatoSet to
7118efbd296SHiroki Sato.Dq Li YES
7128efbd296SHiroki Satoto create pseudo interface
7138efbd296SHiroki Sato.Li ipfw0
7148efbd296SHiroki Satofor logging.
7158efbd296SHiroki SatoFor more details, see
7168efbd296SHiroki Sato.Xr ipfw 8
7178efbd296SHiroki Satomanual page.
71805c1a268SDima Dorfman.It Va firewall_flags
71905c1a268SDima Dorfman.Pq Vt str
72005c1a268SDima DorfmanFlags passed to
72105c1a268SDima Dorfman.Xr ipfw 8
72205c1a268SDima Dorfmanif
72305c1a268SDima Dorfman.Va firewall_type
72405c1a268SDima Dorfmanspecifies a filename.
725fafa9c3cSMaksim Yevmenkin.It Va firewall_coscripts
726fafa9c3cSMaksim Yevmenkin.Pq Vt str
727fafa9c3cSMaksim YevmenkinList of executables and/or rc scripts to run after firewall starts/stops.
728fafa9c3cSMaksim YevmenkinDefault is empty.
72973e9aa89SChin-San Huang.\" ----- firewall_nat_enable setting --------------------------------
73073e9aa89SChin-San Huang.It Va firewall_nat_enable
73173e9aa89SChin-San Huang.Pq Vt bool
73273e9aa89SChin-San HuangThe
73373e9aa89SChin-San Huang.Xr ipfw 8
73473e9aa89SChin-San Huangequivalent of
73573e9aa89SChin-San Huang.Va natd_enable .
73673e9aa89SChin-San HuangSetting this to
73773e9aa89SChin-San Huang.Dq Li YES
7380bd4858eSAndrey V. Elsukovwill automatically load the
7390bd4858eSAndrey V. Elsukov.Xr ipfw 8
7400bd4858eSAndrey V. ElsukovNAT kernel module if
74173e9aa89SChin-San Huang.Va firewall_enable
7420bd4858eSAndrey V. Elsukovis also set to
74373e9aa89SChin-San Huang.Dq Li YES .
74473e9aa89SChin-San Huang.It Va firewall_nat_interface
74573e9aa89SChin-San Huang.Pq Vt str
74673e9aa89SChin-San HuangThe
74773e9aa89SChin-San Huang.Xr ipfw 8
74873e9aa89SChin-San Huangequivalent of
74973e9aa89SChin-San Huang.Va natd_interface .
75073e9aa89SChin-San HuangThis is the name of the public interface or IP address on which
75173e9aa89SChin-San Huangkernel NAT should run.
75273e9aa89SChin-San Huang.It Va firewall_nat_flags
75373e9aa89SChin-San Huang.Pq Vt str
75473e9aa89SChin-San HuangAdditional configuration parameters for kernel NAT should be placed here.
7550bd4858eSAndrey V. Elsukov.It Va firewall_nat64_enable
7560bd4858eSAndrey V. Elsukov.Pq Vt bool
7570bd4858eSAndrey V. ElsukovSetting this to
7580bd4858eSAndrey V. Elsukov.Dq Li YES
7590bd4858eSAndrey V. Elsukovwill automatically load the
7600bd4858eSAndrey V. Elsukov.Xr ipfw 8
7610bd4858eSAndrey V. ElsukovNAT64 kernel module if
7620bd4858eSAndrey V. Elsukov.Va firewall_enable
7630bd4858eSAndrey V. Elsukovis also set to
7640bd4858eSAndrey V. Elsukov.Dq Li YES .
7650bd4858eSAndrey V. Elsukov.It Va firewall_nptv6_enable
7660bd4858eSAndrey V. Elsukov.Pq Vt bool
7670bd4858eSAndrey V. ElsukovSetting this to
7680bd4858eSAndrey V. Elsukov.Dq Li YES
7690bd4858eSAndrey V. Elsukovwill automatically load the
7700bd4858eSAndrey V. Elsukov.Xr ipfw 8
7710bd4858eSAndrey V. ElsukovNPTv6 kernel module if
7720bd4858eSAndrey V. Elsukov.Va firewall_enable
7730bd4858eSAndrey V. Elsukovis also set to
7740bd4858eSAndrey V. Elsukov.Dq Li YES .
7750bd4858eSAndrey V. Elsukov.It Va firewall_pmod_enable
7760bd4858eSAndrey V. Elsukov.Pq Vt bool
7770bd4858eSAndrey V. ElsukovSetting this to
7780bd4858eSAndrey V. Elsukov.Dq Li YES
7790bd4858eSAndrey V. Elsukovwill automatically load the
7800bd4858eSAndrey V. Elsukov.Xr ipfw 8
7810bd4858eSAndrey V. Elsukovpmod kernel module if
7820bd4858eSAndrey V. Elsukov.Va firewall_enable
7830bd4858eSAndrey V. Elsukovis also set to
7840bd4858eSAndrey V. Elsukov.Dq Li YES .
78582e9dc59SMike Makonnen.It Va dummynet_enable
78682e9dc59SMike Makonnen.Pq Vt bool
78782e9dc59SMike MakonnenSetting this to
78882e9dc59SMike Makonnen.Dq Li YES
78982e9dc59SMike Makonnenwill automatically load the
79082e9dc59SMike Makonnen.Xr dummynet 4
79182e9dc59SMike Makonnenmodule if
79282e9dc59SMike Makonnen.Va firewall_enable
79382e9dc59SMike Makonnenis also set to
79482e9dc59SMike Makonnen.Dq Li YES .
79573e9aa89SChin-San Huang.\" -------------------------------------------------------------------
796fd75b64dSEmmanuel Vadot.It Va ipfw_netflow_enable
797fd75b64dSEmmanuel Vadot.Pq Vt bool
798fd75b64dSEmmanuel VadotSetting this to
799fd75b64dSEmmanuel Vadot.Dq Li YES
800fd75b64dSEmmanuel Vadotwill enable netflow logging via
801654b1e38SCeri Davies.Xr ng_netflow 4 .
802fd75b64dSEmmanuel Vadot.Pp
803fd75b64dSEmmanuel VadotBy default a ipfw rule is inserted and all packets are duplicated with
804fd75b64dSEmmanuel Vadotthe ngtee command and netflow packets are sent to 127.0.0.1 on the netflow
805fd75b64dSEmmanuel Vadotport using protocol version 5.
806fd75b64dSEmmanuel Vadot.It Va ipfw_netflow_hook
8072a4727a4SEmmanuel Vadot.Pq Vt int
808fd75b64dSEmmanuel Vadotnetflow hook name, must be numerical
809fd75b64dSEmmanuel Vadot(default
810fd75b64dSEmmanuel Vadot.Pa 9995 ) .
811fd75b64dSEmmanuel Vadot.It Va ipfw_netflow_rule
8122a4727a4SEmmanuel Vadot.Pq Vt int
813fd75b64dSEmmanuel Vadotipfw rule number
814fd75b64dSEmmanuel Vadot(default
815fd75b64dSEmmanuel Vadot.Pa 1000 ) .
816fd75b64dSEmmanuel Vadot.It Va ipfw_netflow_ip
817fd75b64dSEmmanuel Vadot.Pq Vt str
818fd75b64dSEmmanuel VadotDestination server ip for receiving netflow data
819fd75b64dSEmmanuel Vadot(default
820fd75b64dSEmmanuel Vadot.Pa 127.0.0.1 ) .
821fd75b64dSEmmanuel Vadot.It Va ipfw_netflow_port
8222a4727a4SEmmanuel Vadot.Pq Vt int
823fd75b64dSEmmanuel VadotDestination server port for receiving netflow data
824fd75b64dSEmmanuel Vadot(default
825fd75b64dSEmmanuel Vadot.Pa 9995 ) .
826fd75b64dSEmmanuel Vadot.It Va ipfw_netflow_version
8272a4727a4SEmmanuel Vadot.Pq Vt int
828ce95864fSWarner LoshDo not set for using version 5 of the netflow protocol, set it to 9 for using
829ce95864fSWarner Loshversion 9.
8302a4727a4SEmmanuel Vadot.It Va ipfw_netflow_fib
8312a4727a4SEmmanuel Vadot.Pq Vt int
8322a4727a4SEmmanuel VadotOnly match packet in FIB
8332a4727a4SEmmanuel Vadot.Pa ipfw_netflow_fib
8342a4727a4SEmmanuel Vadot(default is undefined meaning all FIBs).
83534455342SDima Dorfman.It Va natd_program
83634455342SDima Dorfman.Pq Vt str
8376016261aSDima DorfmanPath to
838685e0fcbSBrian Somers.Xr natd 8 .
83934455342SDima Dorfman.It Va natd_enable
84034455342SDima Dorfman.Pq Vt bool
84134455342SDima DorfmanSet to
842b615e3aaSRuslan Ermilov.Dq Li YES
843b615e3aaSRuslan Ermilovto enable
844b615e3aaSRuslan Ermilov.Xr natd 8 .
84534455342SDima Dorfman.Va firewall_enable
846252ba33dSBrian Somersmust also be set to
847b615e3aaSRuslan Ermilov.Dq Li YES ,
848252ba33dSBrian Somersand
849252ba33dSBrian Somers.Xr divert 4
850bed6a377SDima Dorfmansockets must be enabled in the kernel.
851e3030ee4SAndre OppermannIf the kernel was not built with
852e3030ee4SAndre Oppermann.Cd "options IPDIVERT" ,
853e3030ee4SAndre Oppermannthe
854e3030ee4SAndre Oppermann.Pa ipdivert.ko
855e3030ee4SAndre Oppermannkernel module will be loaded.
85634455342SDima Dorfman.It Va natd_interface
857ccec65a5SDima Dorfman.Pq Vt str
858b615e3aaSRuslan ErmilovThis is the name of the public interface on which
859b615e3aaSRuslan Ermilov.Xr natd 8
860b615e3aaSRuslan Ermilovshould run.
8618ffc4345SJacques VidrineThe interface may be given as an interface name or as an IP address.
86234455342SDima Dorfman.It Va natd_flags
863ccec65a5SDima Dorfman.Pq Vt str
864b615e3aaSRuslan ErmilovAdditional
865b615e3aaSRuslan Ermilov.Xr natd 8
866b615e3aaSRuslan Ermilovflags should be placed here.
867b615e3aaSRuslan ErmilovThe
868252ba33dSBrian Somers.Fl n
8698ffc4345SJacques Vidrineor
8708ffc4345SJacques Vidrine.Fl a
871252ba33dSBrian Somersflag is automatically added with the above
87234455342SDima Dorfman.Va natd_interface
873252ba33dSBrian Somersas an argument.
8742129325cSDarren Reed.\" ----- ipfilter_enable setting --------------------------------
87534455342SDima Dorfman.It Va ipfilter_enable
87634455342SDima Dorfman.Pq Vt bool
87734455342SDima DorfmanSet to
878b615e3aaSRuslan Ermilov.Dq Li NO
8797a76642fSDarren Reedby default.
8807a76642fSDarren ReedSetting this to
881b615e3aaSRuslan Ermilov.Dq Li YES
8827a76642fSDarren Reedenables
8837a76642fSDarren Reed.Xr ipf 8
8847a76642fSDarren Reedpacket filtering.
8857a76642fSDarren Reed.Pp
8867a76642fSDarren ReedTypical usage will require putting
8877a76642fSDarren Reed.Bd -literal
8887a76642fSDarren Reedipfilter_enable="YES"
8897a76642fSDarren Reedipnat_enable="YES"
8907a76642fSDarren Reedipmon_enable="YES"
8912129325cSDarren Reedipfs_enable="YES"
8927a76642fSDarren Reed.Ed
89372888a7dSDima Dorfman.Pp
8947a76642fSDarren Reedinto
8953e5ea285SRuslan Ermilov.Pa /etc/rc.conf
8963e5ea285SRuslan Ermilovand editing
8977a76642fSDarren Reed.Pa /etc/ipf.rules
8987a76642fSDarren Reedand
8997a76642fSDarren Reed.Pa /etc/ipnat.rules
9007a76642fSDarren Reedappropriately.
9012129325cSDarren Reed.Pp
9022129325cSDarren ReedNote that
9032129325cSDarren Reed.Va ipfilter_enable
9042129325cSDarren Reedand
9052129325cSDarren Reed.Va ipnat_enable
9062129325cSDarren Reedcan be enabled independently.
9072129325cSDarren Reed.Va ipmon_enable
9082129325cSDarren Reedand
9092129325cSDarren Reed.Va ipfs_enable
9102129325cSDarren Reedboth require at least one of
9112129325cSDarren Reed.Va ipfilter_enable
9122129325cSDarren Reedand
9132129325cSDarren Reed.Va ipnat_enable
9142129325cSDarren Reedto be enabled.
9152129325cSDarren Reed.Pp
9167a76642fSDarren ReedHaving
9177a76642fSDarren Reed.Bd -literal
9187a76642fSDarren Reedoptions IPFILTER
9197a76642fSDarren Reedoptions IPFILTER_LOG
9207a76642fSDarren Reedoptions IPFILTER_DEFAULT_BLOCK
9217a76642fSDarren Reed.Ed
92272888a7dSDima Dorfman.Pp
9237a76642fSDarren Reedin the kernel configuration file is a good idea, too.
9247a76642fSDarren Reed.\" ----- ipfilter_program setting ------------------------------
92534455342SDima Dorfman.It Va ipfilter_program
92634455342SDima Dorfman.Pq Vt str
9272129325cSDarren ReedPath to
9282129325cSDarren Reed.Xr ipf 8
9292129325cSDarren Reed(default
9302129325cSDarren Reed.Pa /sbin/ipf ) .
9317a76642fSDarren Reed.\" ----- ipfilter_rules setting --------------------------------
93234455342SDima Dorfman.It Va ipfilter_rules
93334455342SDima Dorfman.Pq Vt str
93434455342SDima DorfmanSet to
935b615e3aaSRuslan Ermilov.Pa /etc/ipf.rules
9367a76642fSDarren Reedby default.
9377a76642fSDarren ReedThis variable contains the name of the filter rule definition file.
9382129325cSDarren ReedThe file is expected to be readable for the
9392129325cSDarren Reed.Xr ipf 8
9402129325cSDarren Reedcommand to execute.
9417a76642fSDarren Reed.\" ----- ipfilter_flags setting --------------------------------
94234455342SDima Dorfman.It Va ipfilter_flags
94334455342SDima Dorfman.Pq Vt str
9442129325cSDarren ReedEmpty by default.
9452129325cSDarren ReedThis variable contains flags passed to the
9462129325cSDarren Reed.Xr ipf 8
9472129325cSDarren Reedprogram.
9487a76642fSDarren Reed.\" ----- ipnat_enable setting ----------------------------------
94934455342SDima Dorfman.It Va ipnat_enable
95034455342SDima Dorfman.Pq Vt bool
95134455342SDima DorfmanSet to
952b615e3aaSRuslan Ermilov.Dq Li NO
9537a76642fSDarren Reedby default.
9547a76642fSDarren ReedSet it to
955b615e3aaSRuslan Ermilov.Dq Li YES
9567a76642fSDarren Reedto enable
957bd81a3a5SChristian Brueffer.Xr ipnat 8
9587a76642fSDarren Reednetwork address translation.
9597a76642fSDarren ReedSee
96034455342SDima Dorfman.Va ipfilter_enable
96162ec3f2fSGiorgos Keramidasfor a detailed discussion.
9627a76642fSDarren Reed.\" ----- ipnat_program setting ---------------------------------
96334455342SDima Dorfman.It Va ipnat_program
96434455342SDima Dorfman.Pq Vt str
9652129325cSDarren ReedPath to
966bd81a3a5SChristian Brueffer.Xr ipnat 8
9672129325cSDarren Reed(default
9682129325cSDarren Reed.Pa /sbin/ipnat ) .
9697a76642fSDarren Reed.\" ----- ipnat_rules setting -----------------------------------
97034455342SDima Dorfman.It Va ipnat_rules
97134455342SDima Dorfman.Pq Vt str
97234455342SDima DorfmanSet to
973b615e3aaSRuslan Ermilov.Pa /etc/ipnat.rules
9747a76642fSDarren Reedby default.
9757a76642fSDarren ReedThis variable contains the name of the file
9767a76642fSDarren Reedholding the network address translation definition.
9772129325cSDarren ReedThis file is expected to be readable for the
978bd81a3a5SChristian Brueffer.Xr ipnat 8
9792129325cSDarren Reedcommand to execute.
9807a76642fSDarren Reed.\" ----- ipnat_flags setting -----------------------------------
98134455342SDima Dorfman.It Va ipnat_flags
98234455342SDima Dorfman.Pq Vt str
98334455342SDima DorfmanEmpty by default.
9842129325cSDarren ReedThis variable contains flags passed to the
985bd81a3a5SChristian Brueffer.Xr ipnat 8
9862129325cSDarren Reedprogram.
9877a76642fSDarren Reed.\" ----- ipmon_enable setting ----------------------------------
98834455342SDima Dorfman.It Va ipmon_enable
98934455342SDima Dorfman.Pq Vt bool
99034455342SDima DorfmanSet to
991b615e3aaSRuslan Ermilov.Dq Li NO
9927a76642fSDarren Reedby default.
9937a76642fSDarren ReedSet it to
994b615e3aaSRuslan Ermilov.Dq Li YES
9957a76642fSDarren Reedto enable
9967a76642fSDarren Reed.Xr ipmon 8
9977a76642fSDarren Reedmonitoring (logging
9987a76642fSDarren Reed.Xr ipf 8
9997a76642fSDarren Reedand
1000bd81a3a5SChristian Brueffer.Xr ipnat 8
10017a76642fSDarren Reedevents).
10027a76642fSDarren ReedSetting this variable needs setting
10032129325cSDarren Reed.Va ipfilter_enable
10042129325cSDarren Reedor
10052129325cSDarren Reed.Va ipnat_enable
10067a76642fSDarren Reedtoo.
10077a76642fSDarren ReedSee
100834455342SDima Dorfman.Va ipfilter_enable
100962ec3f2fSGiorgos Keramidasfor a detailed discussion.
10107a76642fSDarren Reed.\" ----- ipmon_program setting ---------------------------------
101134455342SDima Dorfman.It Va ipmon_program
101234455342SDima Dorfman.Pq Vt str
10132129325cSDarren ReedPath to
10147a76642fSDarren Reed.Xr ipmon 8
10152129325cSDarren Reed(default
10162129325cSDarren Reed.Pa /sbin/ipmon ) .
10177a76642fSDarren Reed.\" ----- ipmon_flags setting -----------------------------------
101834455342SDima Dorfman.It Va ipmon_flags
101934455342SDima Dorfman.Pq Vt str
102034455342SDima DorfmanSet to
1021b615e3aaSRuslan Ermilov.Dq Li -Ds
10227a76642fSDarren Reedby default.
10237a76642fSDarren ReedThis variable contains flags passed to the
10247a76642fSDarren Reed.Xr ipmon 8
10257a76642fSDarren Reedprogram.
10267a76642fSDarren ReedAnother typical example would be
1027b615e3aaSRuslan Ermilov.Dq Fl D Pa /var/log/ipflog
10287a76642fSDarren Reedto have
10297a76642fSDarren Reed.Xr ipmon 8
10307a76642fSDarren Reedlog directly to a file bypassing
10317a76642fSDarren Reed.Xr syslogd 8 .
10327a76642fSDarren ReedMake sure to adjust
10337a76642fSDarren Reed.Pa /etc/newsyslog.conf
10347a76642fSDarren Reedin such case like this:
10357a76642fSDarren Reed.Bd -literal
10367a76642fSDarren Reed/var/log/ipflog  640  10  100  *  Z  /var/run/ipmon.pid
10377a76642fSDarren Reed.Ed
10382129325cSDarren Reed.\" ----- ipfs_enable setting -----------------------------------
10392129325cSDarren Reed.It Va ipfs_enable
10402129325cSDarren Reed.Pq Vt bool
10412129325cSDarren ReedSet to
1042b615e3aaSRuslan Ermilov.Dq Li NO
10432129325cSDarren Reedby default.
10442129325cSDarren ReedSet it to
1045b615e3aaSRuslan Ermilov.Dq Li YES
10462129325cSDarren Reedto enable
10472129325cSDarren Reed.Xr ipfs 8
10482129325cSDarren Reedsaving the filter and NAT state tables during shutdown
10492129325cSDarren Reedand reloading them during startup again.
10502129325cSDarren ReedSetting this variable needs setting
10512129325cSDarren Reed.Va ipfilter_enable
10522129325cSDarren Reedor
10532129325cSDarren Reed.Va ipnat_enable
10542129325cSDarren Reedto
1055b615e3aaSRuslan Ermilov.Dq Li YES
10562129325cSDarren Reedtoo.
10577a76642fSDarren ReedSee
105834455342SDima Dorfman.Va ipfilter_enable
105962ec3f2fSGiorgos Keramidasfor a detailed discussion.
10603e5ea285SRuslan ErmilovNote that if
10612129325cSDarren Reed.Va kern_securelevel
10623e5ea285SRuslan Ermilovis set to 3,
10632129325cSDarren Reed.Va ipfs_enable
10643e5ea285SRuslan Ermilovcannot be used
10652129325cSDarren Reedbecause the raised securelevel will prevent
10662129325cSDarren Reed.Xr ipfs 8
10672129325cSDarren Reedfrom saving the state tables at shutdown time.
10682129325cSDarren Reed.\" ----- ipfs_program setting ----------------------------------
10692129325cSDarren Reed.It Va ipfs_program
10702129325cSDarren Reed.Pq Vt str
10712129325cSDarren ReedPath to
10722129325cSDarren Reed.Xr ipfs 8
10732129325cSDarren Reed(default
10742129325cSDarren Reed.Pa /sbin/ipfs ) .
10752129325cSDarren Reed.\" ----- ipfs_flags setting ------------------------------------
10762129325cSDarren Reed.It Va ipfs_flags
10772129325cSDarren Reed.Pq Vt str
10782129325cSDarren ReedEmpty by default.
10792129325cSDarren ReedThis variable contains flags passed to the
10802129325cSDarren Reed.Xr ipfs 8
10812129325cSDarren Reedprogram.
10827a76642fSDarren Reed.\" ----- end of added ipf hook ---------------------------------
10831f4408f3SMax Laier.It Va pf_enable
10841f4408f3SMax Laier.Pq Vt bool
10851f4408f3SMax LaierSet to
10861f4408f3SMax Laier.Dq Li NO
10871f4408f3SMax Laierby default.
10881f4408f3SMax LaierSetting this to
10891f4408f3SMax Laier.Dq Li YES
10901f4408f3SMax Laierenables
10911f4408f3SMax Laier.Xr pf 4
10921f4408f3SMax Laierpacket filtering.
10931f4408f3SMax Laier.Pp
10941f4408f3SMax LaierTypical usage will require putting
1095bf7f20c2SRuslan Ermilov.Pp
1096bf7f20c2SRuslan Ermilov.Dl pf_enable="YES"
10971f4408f3SMax Laier.Pp
10981f4408f3SMax Laierinto
10991f4408f3SMax Laier.Pa /etc/rc.conf
11001f4408f3SMax Laierand editing
11011f4408f3SMax Laier.Pa /etc/pf.conf
11021f4408f3SMax Laierappropriately.
110328166017STom RhodesAdding
11041f4408f3SMax Laier.Pp
1105bf7f20c2SRuslan Ermilov.Dl "device pf"
11061f4408f3SMax Laier.Pp
110728166017STom Rhodesbuilds support for
1108c0854fb7SRuslan Ermilov.Xr pf 4
110928166017STom Rhodesinto the kernel, otherwise the
111028166017STom Rhodeskernel module will be loaded.
11111f4408f3SMax Laier.It Va pf_rules
11121f4408f3SMax Laier.Pq Vt str
1113bf7f20c2SRuslan ErmilovPath to
1114bf7f20c2SRuslan Ermilov.Xr pf 4
1115bf7f20c2SRuslan Ermilovruleset configuration file
11161f4408f3SMax Laier(default
11171f4408f3SMax Laier.Pa /etc/pf.conf ) .
11181f4408f3SMax Laier.It Va pf_program
11191f4408f3SMax Laier.Pq Vt str
11201f4408f3SMax LaierPath to
11211f4408f3SMax Laier.Xr pfctl 8
11221f4408f3SMax Laier(default
11231f4408f3SMax Laier.Pa /sbin/pfctl ) .
11241f4408f3SMax Laier.It Va pf_flags
11251f4408f3SMax Laier.Pq Vt str
11261f4408f3SMax LaierIf
11271f4408f3SMax Laier.Va pf_enable
11281f4408f3SMax Laieris set to
11291f4408f3SMax Laier.Dq Li YES ,
11301f4408f3SMax Laierthese flags are passed to the
11311f4408f3SMax Laier.Xr pfctl 8
11321f4408f3SMax Laierprogram when loading the ruleset.
113328f47a19SThomas Steen Rasmussen.It Va pf_fallback_rules_enable
113428f47a19SThomas Steen Rasmussen.Pq Vt bool
113528f47a19SThomas Steen RasmussenSet to
113628f47a19SThomas Steen Rasmussen.Dq Li NO
113728f47a19SThomas Steen Rasmussenby default.
113828f47a19SThomas Steen RasmussenSetting this to
113928f47a19SThomas Steen Rasmussen.Dq Li YES
114028f47a19SThomas Steen Rasmussenenables loading
114128f47a19SThomas Steen Rasmussen.Va pf_fallback_rules_file
114228f47a19SThomas Steen Rasmussenor
114328f47a19SThomas Steen Rasmussen.Va pf_fallback_rules
114428f47a19SThomas Steen Rasmussenin case of a problem when loading the ruleset in
114528f47a19SThomas Steen Rasmussen.Va pf_rules .
114628f47a19SThomas Steen Rasmussen.It Va pf_fallback_rules_file
114728f47a19SThomas Steen Rasmussen.Pq Vt str
114828f47a19SThomas Steen RasmussenPath to a pf ruleset to load in case of failure when loading the
114928f47a19SThomas Steen Rasmussenruleset in
115028f47a19SThomas Steen Rasmussen.Va pf_rules
115128f47a19SThomas Steen Rasmussen(default
115228f47a19SThomas Steen Rasmussen.Pa /etc/pf-fallback.conf ) .
115328f47a19SThomas Steen Rasmussen.It Va pf_fallback_rules
115428f47a19SThomas Steen Rasmussen.Pq Vt str
115528f47a19SThomas Steen RasmussenA pf ruleset to load in case of failure when loading the ruleset in
115628f47a19SThomas Steen Rasmussen.Va pf_rules
115728f47a19SThomas Steen Rasmussenand
115828f47a19SThomas Steen Rasmussen.Va pf_fallback_rules_file
115928f47a19SThomas Steen Rasmussenis not found.
116028f47a19SThomas Steen RasmussenMultiple rules can be set as follows:
116128f47a19SThomas Steen Rasmussen.Bd -literal
116228f47a19SThomas Steen Rasmussenpf_fallback_rules="\\
116328f47a19SThomas Steen Rasmussen	block drop log all\\
116428f47a19SThomas Steen Rasmussen	pass in quick on em0"
116528f47a19SThomas Steen Rasmussen.Pp
116628f47a19SThomas Steen Rasmussen.Ed
116728f47a19SThomas Steen RasmussenThe default fallback rule is
116828f47a19SThomas Steen Rasmussen.Dq block drop log all
11696cd9ebedSMax Laier.It Va pflog_enable
11706cd9ebedSMax Laier.Pq Vt bool
11716cd9ebedSMax LaierSet to
11726cd9ebedSMax Laier.Dq Li NO
11736cd9ebedSMax Laierby default.
11746cd9ebedSMax LaierSetting this to
11756cd9ebedSMax Laier.Dq Li YES
11766cd9ebedSMax Laierenables
11776cd9ebedSMax Laier.Xr pflogd 8
11781b301a7fSMax Laierwhich logs packets from the
11796cd9ebedSMax Laier.Xr pf 4
11806cd9ebedSMax Laierpacket filter.
11816cd9ebedSMax Laier.It Va pflog_logfile
11826cd9ebedSMax Laier.Pq Vt str
11836cd9ebedSMax LaierIf
11846cd9ebedSMax Laier.Va pflog_enable
11856cd9ebedSMax Laieris set to
11866cd9ebedSMax Laier.Dq Li YES
11876cd9ebedSMax Laierthis controls where
11886cd9ebedSMax Laier.Xr pflogd 8
1189bf7f20c2SRuslan Ermilovstores the logfile
11906cd9ebedSMax Laier(default
11916cd9ebedSMax Laier.Pa /var/log/pflog ) .
11926cd9ebedSMax LaierCheck
11936cd9ebedSMax Laier.Pa /etc/newsyslog.conf
1194042d501cSMax Laierto adjust logfile rotation for this.
11956cd9ebedSMax Laier.It Va pflog_program
11966cd9ebedSMax Laier.Pq Vt str
11976cd9ebedSMax LaierPath to
11986cd9ebedSMax Laier.Xr pflogd 8
11996cd9ebedSMax Laier(default
12006cd9ebedSMax Laier.Pa /sbin/pflogd ) .
12016cd9ebedSMax Laier.It Va pflog_flags
12026cd9ebedSMax Laier.Pq Vt str
12036cd9ebedSMax LaierEmpty by default.
12046cd9ebedSMax LaierThis variable contains additional flags passed to the
12056cd9ebedSMax Laier.Xr pflogd 8
12066cd9ebedSMax Laierprogram.
1207e2838b31SJosh Paetzel.It Va pflog_instances
1208e2838b31SJosh Paetzel.Pq Vt str
1209e2838b31SJosh PaetzelIf logging to more than one
1210e2838b31SJosh Paetzel.Xr pflog 4
1211e2838b31SJosh Paetzelinterface is desired,
1212e2838b31SJosh Paetzel.Va pflog_instances
1213e2838b31SJosh Paetzelis set to the list of
1214e2838b31SJosh Paetzel.Xr pflogd 8
1215eb49a6d3SEdward Tomasz Napieralainstances that should be started at system boot time.
1216eb49a6d3SEdward Tomasz NapieralaIf
1217e2838b31SJosh Paetzel.Va pflog_instances
12186b35d82cSEitan Adleris set, for each whitespace-separated
1219e2838b31SJosh Paetzel.Ar element
1220e2838b31SJosh Paetzelin the list,
1221e2838b31SJosh Paetzel.Ao Ar element Ac Ns Va _dev
1222e2838b31SJosh Paetzeland
1223e2838b31SJosh Paetzel.Ao Ar element Ac Ns Va _logfile
1224e2838b31SJosh Paetzelelements are assumed to exist.
1225e2838b31SJosh Paetzel.Ao Ar element Ac Ns Va _dev
1226e2838b31SJosh Paetzelmust contain the
1227e2838b31SJosh Paetzel.Xr pflog 4
1228e2838b31SJosh Paetzelinterface to be watched by the named
1229e2838b31SJosh Paetzel.Xr pflogd 8
1230e2838b31SJosh Paetzelinstance.
1231e2838b31SJosh Paetzel.Ao Ar element Ac Ns Va _logfile
1232e2838b31SJosh Paetzelmust contain the name of the logfile that will be used by the
1233e2838b31SJosh Paetzel.Xr pflogd 8
1234e2838b31SJosh Paetzelinstance.
1235cb3ab5e3SMax Laier.It Va ftpproxy_enable
1236cb3ab5e3SMax Laier.Pq Vt bool
1237cb3ab5e3SMax LaierSet to
1238cb3ab5e3SMax Laier.Dq Li NO
1239cb3ab5e3SMax Laierby default.
1240cb3ab5e3SMax LaierSetting this to
1241cb3ab5e3SMax Laier.Dq Li YES
1242cb3ab5e3SMax Laierenables
1243cb3ab5e3SMax Laier.Xr ftp-proxy 8
1244cb3ab5e3SMax Laierwhich supports the
1245cb3ab5e3SMax Laier.Xr pf 4
1246cb3ab5e3SMax Laierpacket filter in translating ftp connections.
1247cb3ab5e3SMax Laier.It Va ftpproxy_flags
1248cb3ab5e3SMax Laier.Pq Vt str
1249cb3ab5e3SMax LaierEmpty by default.
1250cb3ab5e3SMax LaierThis variable contains additional flags passed to the
1251cb3ab5e3SMax Laier.Xr ftp-proxy 8
1252cb3ab5e3SMax Laierprogram.
1253e2838b31SJosh Paetzel.It Va ftpproxy_instances
1254e2838b31SJosh Paetzel.Pq Vt str
1255eb49a6d3SEdward Tomasz NapieralaEmpty by default.
1256eb49a6d3SEdward Tomasz NapieralaIf multiple instances of
1257e2838b31SJosh Paetzel.Xr ftp-proxy 8
1258e2838b31SJosh Paetzelare desired at boot time,
1259e2838b31SJosh Paetzel.Va ftpproxy_instances
12606b35d82cSEitan Adlershould contain a whitespace-separated list of instance names.
1261eb49a6d3SEdward Tomasz NapieralaFor each
1262e2838b31SJosh Paetzel.Ar element
1263e2838b31SJosh Paetzelin the list, a variable named
1264e2838b31SJosh Paetzel.Ao Ar element Ac Ns Va _flags
1265e2838b31SJosh Paetzelshould be defined, containing the command-line flags to be passed to the
1266e2838b31SJosh Paetzel.Xr ftp-proxy 8
1267e2838b31SJosh Paetzelinstance.
1268c8a0dfabSYaroslav Tykhiy.It Va pfsync_enable
1269c8a0dfabSYaroslav Tykhiy.Pq Vt bool
1270c8a0dfabSYaroslav TykhiySet to
1271c8a0dfabSYaroslav Tykhiy.Dq Li NO
1272c8a0dfabSYaroslav Tykhiyby default.
1273c8a0dfabSYaroslav TykhiySetting this to
1274c8a0dfabSYaroslav Tykhiy.Dq Li YES
1275c8a0dfabSYaroslav Tykhiyenables exposing
1276c8a0dfabSYaroslav Tykhiy.Xr pf 4
1277c8a0dfabSYaroslav Tykhiystate changes to other hosts over the network by means of
1278c8a0dfabSYaroslav Tykhiy.Xr pfsync 4 .
1279c8a0dfabSYaroslav TykhiyThe
1280c8a0dfabSYaroslav Tykhiy.Va pfsync_syncdev
1281c8a0dfabSYaroslav Tykhiyvariable
1282c8a0dfabSYaroslav Tykhiymust also be set then.
1283c8a0dfabSYaroslav Tykhiy.It Va pfsync_syncdev
1284c8a0dfabSYaroslav Tykhiy.Pq Vt str
1285c8a0dfabSYaroslav TykhiyEmpty by default.
1286c8a0dfabSYaroslav TykhiyThis variable specifies the name of the network interface
1287c8a0dfabSYaroslav Tykhiy.Xr pfsync 4
1288c8a0dfabSYaroslav Tykhiyshould operate through.
1289c8a0dfabSYaroslav TykhiyIt must be set accordingly if
1290c8a0dfabSYaroslav Tykhiy.Va pfsync_enable
1291c8a0dfabSYaroslav Tykhiyis set to
1292c8a0dfabSYaroslav Tykhiy.Dq Li YES .
1293671901e9SGiorgos Keramidas.It Va pfsync_syncpeer
1294671901e9SGiorgos Keramidas.Pq Vt str
1295671901e9SGiorgos KeramidasEmpty by default.
1296671901e9SGiorgos KeramidasThis variable is optional.
1297671901e9SGiorgos KeramidasBy default, state change messages are sent out on the synchronisation
1298671901e9SGiorgos Keramidasinterface using IP multicast packets.
1299671901e9SGiorgos KeramidasThe protocol is IP protocol 240, PFSYNC, and the multicast group used is
1300671901e9SGiorgos Keramidas224.0.0.240.
1301671901e9SGiorgos KeramidasWhen a peer address is specified using the
1302671901e9SGiorgos Keramidas.Va pfsync_syncpeer
1303671901e9SGiorgos Keramidasoption, the peer address is used as a destination for the pfsync
1304671901e9SGiorgos Keramidastraffic, and the traffic can then be protected using
1305671901e9SGiorgos Keramidas.Xr ipsec 4 .
1306671901e9SGiorgos KeramidasSee the
1307671901e9SGiorgos Keramidas.Xr pfsync 4
1308671901e9SGiorgos Keramidasmanpage for more details about using
1309671901e9SGiorgos Keramidas.Xr ipsec 4
1310671901e9SGiorgos Keramidaswith
1311671901e9SGiorgos Keramidas.Xr pfsync 4
1312671901e9SGiorgos Keramidasinterfaces.
1313c8a0dfabSYaroslav Tykhiy.It Va pfsync_ifconfig
1314c8a0dfabSYaroslav Tykhiy.Pq Vt str
1315c8a0dfabSYaroslav TykhiyEmpty by default.
1316c8a0dfabSYaroslav TykhiyThis variable can contain additional options to be passed to the
1317c8a0dfabSYaroslav Tykhiy.Xr ifconfig 8
1318c8a0dfabSYaroslav Tykhiycommand used to set up
1319c8a0dfabSYaroslav Tykhiy.Xr pfsync 4 .
132034455342SDima Dorfman.It Va tcp_extensions
132134455342SDima Dorfman.Pq Vt bool
132234455342SDima DorfmanSet to
1323b615e3aaSRuslan Ermilov.Dq Li YES
13241111b49cSSheldon Hearnby default.
1325b615e3aaSRuslan ErmilovSetting this to
1326b615e3aaSRuslan Ermilov.Dq Li NO
1327b615e3aaSRuslan Ermilovdisables certain TCP options as described by
1328d69fea87SAlexey Zelkin.Rs
1329b615e3aaSRuslan Ermilov.%T "RFC 1323"
1330d69fea87SAlexey Zelkin.Re
1331bed6a377SDima DorfmanSetting this to
1332b615e3aaSRuslan Ermilov.Dq Li NO
1333bed6a377SDima Dorfmanmight help remedy such problems with connections as randomly hanging
1334bed6a377SDima Dorfmanor other weird behavior.
1335980939b1SDima DorfmanSome network devices are known
1336c58afa56SJordan K. Hubbardto be broken with respect to these options.
133734455342SDima Dorfman.It Va log_in_vain
1338f44609feSCrist J. Clark.Pq Vt int
1339f44609feSCrist J. ClarkSet to 0 by default.
1340f44609feSCrist J. ClarkThe
1341f44609feSCrist J. Clark.Xr sysctl 8
1342f44609feSCrist J. Clarkvariables,
1343b615e3aaSRuslan Ermilov.Va net.inet.tcp.log_in_vain
1344f44609feSCrist J. Clarkand
1345b615e3aaSRuslan Ermilov.Va net.inet.udp.log_in_vain ,
1346f44609feSCrist J. Clarkas described in
1347f44609feSCrist J. Clark.Xr tcp 4
1348f44609feSCrist J. Clarkand
1349f44609feSCrist J. Clark.Xr udp 4 ,
1350f44609feSCrist J. Clarkare set to the given value.
135134455342SDima Dorfman.It Va tcp_keepalive
135234455342SDima Dorfman.Pq Vt bool
135334455342SDima DorfmanSet to
1354b615e3aaSRuslan Ermilov.Dq Li YES
1355c7ed8409SDag-Erling Smørgravby default.
1356b615e3aaSRuslan ErmilovSetting to
1357b615e3aaSRuslan Ermilov.Dq Li NO
1358b615e3aaSRuslan Ermilovwill disable probing idle TCP connections to verify that the
1359c7ed8409SDag-Erling Smørgravpeer is still up and reachable.
136034455342SDima Dorfman.It Va tcp_drop_synfin
136134455342SDima Dorfman.Pq Vt bool
136234455342SDima DorfmanSet to
1363b615e3aaSRuslan Ermilov.Dq Li NO
1364c7ed8409SDag-Erling Smørgravby default.
1365b615e3aaSRuslan ErmilovSetting to
1366b615e3aaSRuslan Ermilov.Dq Li YES
1367b615e3aaSRuslan Ermilovwill cause the kernel to ignore TCP frames that have both
13681111b49cSSheldon Hearnthe SYN and FIN flags set.
13691111b49cSSheldon HearnThis prevents OS fingerprinting, but may
13701111b49cSSheldon Hearnbreak some legitimate applications.
137134455342SDima Dorfman.It Va icmp_drop_redirect
137234455342SDima Dorfman.Pq Vt bool
137334455342SDima DorfmanSet to
13747119cdc2SAlexander V. Chernikov.Dq Li AUTO
137569b77fc0SMateusz Piotrowskiby default.
137669b77fc0SMateusz PiotrowskiThis setting will be identical to
13777119cdc2SAlexander V. Chernikov.Dq Li YES ,
13787119cdc2SAlexander V. Chernikovif a dynamic routing daemon is enabled, because redirect processing may
13798fe3c393SBenedict Reuschlingcause performance issues for large routing tables.
138069b77fc0SMateusz PiotrowskiIf no such service is enabled, this setting behaves like a
13817119cdc2SAlexander V. Chernikov.Dq Li NO .
1382b615e3aaSRuslan ErmilovSetting to
1383b615e3aaSRuslan Ermilov.Dq Li YES
1384b615e3aaSRuslan Ermilovwill cause the kernel to ignore ICMP REDIRECT packets.
13857119cdc2SAlexander V. ChernikovSetting to
13867119cdc2SAlexander V. Chernikov.Dq Li NO
13877119cdc2SAlexander V. Chernikovwill cause the kernel to process ICMP REDIRECT packets.
1388c1e3a71eSTom RhodesRefer to
1389c1e3a71eSTom Rhodes.Xr icmp 4
1390c1e3a71eSTom Rhodesfor more information.
139134455342SDima Dorfman.It Va icmp_log_redirect
139234455342SDima Dorfman.Pq Vt bool
139334455342SDima DorfmanSet to
1394b615e3aaSRuslan Ermilov.Dq Li NO
1395c7ed8409SDag-Erling Smørgravby default.
1396b615e3aaSRuslan ErmilovSetting to
1397b615e3aaSRuslan Ermilov.Dq Li YES
1398b615e3aaSRuslan Ermilovwill cause the kernel to log ICMP REDIRECT packets.
13991111b49cSSheldon HearnNote that
1400c7ed8409SDag-Erling Smørgravthe log messages are not rate-limited, so this option should only be used
1401bed6a377SDima Dorfmanfor troubleshooting networks.
1402c1e3a71eSTom RhodesRefer to
1403c1e3a71eSTom Rhodes.Xr icmp 4
1404c1e3a71eSTom Rhodesfor more information.
1405c1e3a71eSTom Rhodes.It Va icmp_bmcastecho
1406c1e3a71eSTom Rhodes.Pq Vt bool
1407c1e3a71eSTom RhodesSet to
1408c1e3a71eSTom Rhodes.Dq Li YES
1409c1e3a71eSTom Rhodesto respond to broadcast or multicast ICMP ping packets.
1410c1e3a71eSTom RhodesRefer to
1411c1e3a71eSTom Rhodes.Xr icmp 4
1412c1e3a71eSTom Rhodesfor more information.
1413c1e3a71eSTom Rhodes.It Va ip_portrange_first
1414c1e3a71eSTom Rhodes.Pq Vt int
1415c1e3a71eSTom RhodesIf not set to
1416c8185672SRuslan Ermilov.Dq Li NO ,
1417c1e3a71eSTom Rhodesthis is the first port in the default portrange.
1418c1e3a71eSTom RhodesRefer to
1419c1e3a71eSTom Rhodes.Xr ip 4
1420c1e3a71eSTom Rhodesfor more information.
1421c1e3a71eSTom Rhodes.It Va ip_portrange_last
1422c1e3a71eSTom Rhodes.Pq Vt int
1423c1e3a71eSTom RhodesIf not set to
1424c8185672SRuslan Ermilov.Dq Li NO ,
1425c1e3a71eSTom Rhodesthis is the last port in the default portrange.
1426c1e3a71eSTom RhodesRefer to
1427c1e3a71eSTom Rhodes.Xr ip 4
1428c1e3a71eSTom Rhodesfor more information.
142934455342SDima Dorfman.It Va network_interfaces
143034455342SDima Dorfman.Pq Vt str
1431fe6f40ddSBrooks DavisSet to the list of network interfaces to configure on this host or
143278ad5421SRuslan Ermilov.Dq Li AUTO
1433fe6f40ddSBrooks Davis(the default) for all current interfaces.
1434c4af136dSBrooks DavisSetting the
1435c4af136dSBrooks Davis.Va network_interfaces
1436c4af136dSBrooks Davisvariable to anything other than the default is deprecated.
143795e8481bSMike PritchardInterfaces that the administrator wishes to store configuration for,
1438c4af136dSBrooks Davisbut not start at boot should be configured with the
1439c4af136dSBrooks Davis.Dq Li NOAUTO
1440c4af136dSBrooks Daviskeyword in their
1441c4af136dSBrooks Davis.Va ifconfig_ Ns Aq Ar interface
1442c4af136dSBrooks Davisvariables as described below.
1443f0fdbb10SYaroslav Tykhiy.Pp
1444bed6a377SDima DorfmanAn
1445217baf9cSRuslan Ermilov.Va ifconfig_ Ns Aq Ar interface
1446cb808de4SLexi Wintervariable is assumed to exist for each value of
1447217baf9cSRuslan Ermilov.Ar interface .
1448c4af136dSBrooks DavisWhen an interface name contains any of the characters
1449c4af136dSBrooks Davis.Dq Li .-/+
1450c4af136dSBrooks Davisthey are translated to
1451c4af136dSBrooks Davis.Dq Li _
1452c4af136dSBrooks Davisbefore lookup.
1453cb808de4SLexi WinterFor example, the interface
1454cb808de4SLexi Winter.Va em0.102
1455cb808de4SLexi Winterwould be configured using the variable
1456cb808de4SLexi Winter.Va ifconfig_em0_102 .
1457cb808de4SLexi Winter.Pp
1458f0fdbb10SYaroslav TykhiyThe variable can contain arguments to
1459f0fdbb10SYaroslav Tykhiy.Xr ifconfig 8 ,
1460f0fdbb10SYaroslav Tykhiyas well as special case-insensitive keywords described below.
1461f0fdbb10SYaroslav TykhiySuch keywords are removed before passing the value to
1462f0fdbb10SYaroslav Tykhiy.Xr ifconfig 8
1463f0fdbb10SYaroslav Tykhiywhile the order of the other arguments is preserved.
1464f0fdbb10SYaroslav Tykhiy.Pp
1465cb808de4SLexi WinterFor example, to assign the IPv4 address 192.0.2.1/24 to the interface em0:
1466cb808de4SLexi Winter.Bd -literal
1467cb808de4SLexi Winterifconfig_em0="inet 192.0.2.1/24 up"
1468cb808de4SLexi Winter.Ed
1469cb808de4SLexi Winter.Pp
1470cb808de4SLexi WinterIf the variable
1471cb808de4SLexi Winter.Va ifconfig_ Ns Ao Ar interface Ac Ns Pa _ipv6
1472cb808de4SLexi Winteris set, then
1473cb808de4SLexi Winter.Va ifconfig_ Ns Aq Ar interface
1474cb808de4SLexi Winterdoes not need to be set unless an IPv4 address should also be assigned to
1475cb808de4SLexi Winterthe interface.
1476cb808de4SLexi Winter.Pp
1477740b7139SHiroki SatoIt is possible to add IP alias entries using
147878ad5421SRuslan Ermilov.Xr ifconfig 8
1479740b7139SHiroki Satosyntax with the address family keyword such as
1480740b7139SHiroki Sato.Li inet .
1481b615e3aaSRuslan ErmilovAssuming that the interface in question was
1482ffda6790SBrooks Davis.Li em0 ,
1483740b7139SHiroki Satoit might look something like this:
1484c58afa56SJordan K. Hubbard.Bd -literal
1485cb808de4SLexi Winterifconfig_em0_alias0="inet 127.0.0.253/32"
1486cb808de4SLexi Winterifconfig_em0_alias1="inet 127.0.0.254/32"
1487c58afa56SJordan K. Hubbard.Ed
148872888a7dSDima Dorfman.Pp
1489740b7139SHiroki SatoIt also possible to configure multiple IP addresses in Classless
1490740b7139SHiroki SatoInter-Domain Routing
1491740b7139SHiroki Sato.Pq CIDR
1492740b7139SHiroki Satoaddress notation,
1493740b7139SHiroki Satowhose each address component can be a range like
1494740b7139SHiroki Sato.Li inet 192.0.2.5-23/24
1495740b7139SHiroki Satoor
1496740b7139SHiroki Sato.Li inet6 2001:db8:1-f::1/64 .
1497740b7139SHiroki SatoThis notation allows address and prefix length part only,
1498740b7139SHiroki Satonot the other address modifiers.
149915c7266aSHiroki SatoNote that the maximum number of the generated addresses from a range
150015c7266aSHiroki Satospecification is limited to an integer value specified in
150115c7266aSHiroki Sato.Va netif_ipexpand_max
150215c7266aSHiroki Satoin
150316e36754SEdward Tomasz Napierala.Nm
150415c7266aSHiroki Satobecause a small typo can unexpectedly generate a large number of addresses.
150515c7266aSHiroki SatoThe default value is
150615c7266aSHiroki Sato.Li 2048 .
150715c7266aSHiroki SatoIt can be increased by adding the following line into
150816e36754SEdward Tomasz Napierala.Nm :
150915c7266aSHiroki Sato.Bd -literal
151015c7266aSHiroki Satonetif_ipexpand_max="4096"
151115c7266aSHiroki Sato.Ed
1512740b7139SHiroki Sato.Pp
1513740b7139SHiroki SatoIn the case of
1514740b7139SHiroki Sato.Li 192.0.2.5-23/24 ,
1515cb808de4SLexi Winterthe address 192.0.2.5 will be configured with the prefix length /24 and the
1516cb808de4SLexi Winteraddresses 192.0.2.6 to 192.0.2.23 with the non-conflicting prefix length /32 as
1517cb808de4SLexi Winterexplained in the
1518740b7139SHiroki Sato.Xr ifconfig 8
1519740b7139SHiroki Satoalias section.
1520cb808de4SLexi WinterNote that this special CIDR handling is only for
1521740b7139SHiroki Sato.Li inet ,
1522740b7139SHiroki Satonot for the other address families such as
1523740b7139SHiroki Sato.Li inet6 .
1524740b7139SHiroki Sato.Pp
1525740b7139SHiroki SatoWith the interface in question being
1526ffda6790SBrooks Davis.Li em0 ,
1527740b7139SHiroki Satoan example could look like:
1528740b7139SHiroki Sato.Bd -literal
1529ffda6790SBrooks Davisifconfig_em0_alias2="inet 192.0.2.129/27"
1530ffda6790SBrooks Davisifconfig_em0_alias3="inet 192.0.2.1-5/28"
1531740b7139SHiroki Sato.Ed
1532740b7139SHiroki Sato.Pp
1533740b7139SHiroki Satoand so on.
1534740b7139SHiroki Sato.Pp
1535ac12771cSWarner LoshNote that deprecated
1536740b7139SHiroki Sato.Va ipv4_addrs_ Ns Aq Ar interface
1537740b7139SHiroki Satovariable was supported for IPv4 CIDR address notation.
1538ac12771cSWarner LoshThe
1539740b7139SHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1540ac12771cSWarner Loshvariable replaces it, though
1541740b7139SHiroki Sato.Va ipv4_addrs_ Ns Aq Ar interface
1542740b7139SHiroki Satois still supported for backward compatibility.
1543740b7139SHiroki Sato.Pp
1544bfa032deSDima DorfmanFor each
1545bfa032deSDima Dorfman.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1546740b7139SHiroki Satoentry with an address family keyword,
1547bfa032deSDima Dorfmanits contents are passed to
1548c58afa56SJordan K. Hubbard.Xr ifconfig 8 .
1549bed6a377SDima DorfmanExecution stops at the first unsuccessful access, so if
1550bed6a377SDima Dorfmansomething like this is present:
1551c58afa56SJordan K. Hubbard.Bd -literal
1552cb808de4SLexi Winterifconfig_em0_alias0="inet 127.0.0.251/32"
1553cb808de4SLexi Winterifconfig_em0_alias1="inet 127.0.0.252/32"
1554cb808de4SLexi Winterifconfig_em0_alias2="inet 127.0.0.253/32"
1555cb808de4SLexi Winterifconfig_em0_alias4="inet 127.0.0.254/32"
1556c58afa56SJordan K. Hubbard.Ed
155772888a7dSDima Dorfman.Pp
155862285547SJeroen Ruigrok van der WervenThen note that alias4 would
155962285547SJeroen Ruigrok van der Werven.Em not
156062285547SJeroen Ruigrok van der Wervenbe added since the search would
1561f0fdbb10SYaroslav Tykhiystop with the missing
1562f0fdbb10SYaroslav Tykhiy.Dq Li alias3
1563f0fdbb10SYaroslav Tykhiyentry.
15644e62a144SHiroki SatoBecause of this difficult to manage behavior,
15654e62a144SHiroki Satothere is
1566740b7139SHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _aliases
1567740b7139SHiroki Satovariable, which has the same functionality as
1568740b7139SHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1569654b1e38SCeri Daviesand can have all of the entries in a variable like the following:
1570740b7139SHiroki Sato.Bd -literal
1571ffda6790SBrooks Davisifconfig_em0_aliases="\\
1572cb808de4SLexi Winter	inet 127.0.0.251/32 \\
1573cb808de4SLexi Winter	inet 127.0.0.252/32 \\
1574cb808de4SLexi Winter	inet 127.0.0.253/32 \\
1575cb808de4SLexi Winter	inet 127.0.0.254/32"
1576740b7139SHiroki Sato.Ed
1577740b7139SHiroki Sato.Pp
1578cb808de4SLexi WinterIt also supports netmask notation for backward compatibility.
1579dbc56df4SJeroen Ruigrok van der Werven.Pp
1580ac304f2dSHiroki SatoIf the
1581e245c21eSHiroki Sato.Pa /etc/start_if . Ns Aq Ar interface
1582ac304f2dSHiroki Satofile is present, it is read and executed by the
1583ac304f2dSHiroki Sato.Xr sh 1
1584ac304f2dSHiroki Satointerpreter
1585ac304f2dSHiroki Satobefore configuring the interface as specified in the
1586ac304f2dSHiroki Sato.Va ifconfig_ Ns Aq Ar interface
1587ac304f2dSHiroki Satoand
1588ac304f2dSHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1589ac304f2dSHiroki Satovariables.
1590e245c21eSHiroki Sato.Pp
159189b5b33dSBrooks DavisIf a
15929557a450SJohn Baldwin.Va vlans_ Ns Aq Ar interface
15939557a450SJohn Baldwinvariable is set,
15949557a450SJohn Baldwina
15959557a450SJohn Baldwin.Xr vlan 4
15969557a450SJohn Baldwininterface will be created for each item in the list with the
15979557a450SJohn Baldwin.Ar vlandev
15989557a450SJohn Baldwinargument set to
15999557a450SJohn Baldwin.Ar interface .
16009557a450SJohn BaldwinIf a vlan interface's name is a number,
16019557a450SJohn Baldwinthen that number is used as the vlan tag and the new vlan interface is
16029557a450SJohn Baldwinnamed
16039557a450SJohn Baldwin.Ar interface . Ns Ar tag .
16049557a450SJohn BaldwinOtherwise,
16059557a450SJohn Baldwinthe vlan tag must be specified via a
16069557a450SJohn Baldwin.Va vlan
16079557a450SJohn Baldwinparameter in the
16089557a450SJohn Baldwin.Va create_args_ Ns Aq Ar interface
16099557a450SJohn Baldwinvariable.
16109557a450SJohn Baldwin.Pp
16119557a450SJohn BaldwinTo create a vlan device named
16129557a450SJohn Baldwin.Li em0.101
16139557a450SJohn Baldwinon
16149557a450SJohn Baldwin.Li em0
1615654b1e38SCeri Davieswith the vlan tag 101 and the optional IPv4 address 192.0.2.1/24:
16169557a450SJohn Baldwin.Bd -literal
16179557a450SJohn Baldwinvlans_em0="101"
16189a44104fSEitan Adlerifconfig_em0_101="inet 192.0.2.1/24"
16199557a450SJohn Baldwin.Ed
16209557a450SJohn Baldwin.Pp
16219557a450SJohn BaldwinTo create a vlan device named
16229557a450SJohn Baldwin.Li myvlan
16239557a450SJohn Baldwinon
16249557a450SJohn Baldwin.Li em0
16259557a450SJohn Baldwinwith the vlan tag 102:
16269557a450SJohn Baldwin.Bd -literal
16279557a450SJohn Baldwinvlans_em0="myvlan"
16289557a450SJohn Baldwincreate_args_myvlan="vlan 102"
16299557a450SJohn Baldwin.Ed
16309557a450SJohn Baldwin.Pp
16319557a450SJohn BaldwinIf a
163289b5b33dSBrooks Davis.Va wlans_ Ns Aq Ar interface
163389b5b33dSBrooks Davisvariable is set,
163489b5b33dSBrooks Davisan
163589b5b33dSBrooks Davis.Xr wlan 4
163689b5b33dSBrooks Davisinterface will be created for each item in the list with the
163789b5b33dSBrooks Davis.Ar wlandev
163889b5b33dSBrooks Davisargument set to
163989b5b33dSBrooks Davis.Ar interface .
164089b5b33dSBrooks DavisFurther wlan cloning arguments may be passed to the
164189b5b33dSBrooks Davis.Xr ifconfig 8
164289b5b33dSBrooks Davis.Cm create
164389b5b33dSBrooks Daviscommand by setting the
164489b5b33dSBrooks Davis.Va create_args_ Ns Aq Ar interface
164589b5b33dSBrooks Davisvariable.
164689b5b33dSBrooks DavisOne or more
164789b5b33dSBrooks Davis.Xr wlan 4
1648654b1e38SCeri Daviesdevices must be created for each wireless device as of
164989b5b33dSBrooks Davis.Fx 8.0 .
16503e5f41cfSBrooks DavisDebugging flags for
16513e5f41cfSBrooks Davis.Xr wlan 4
16523e5f41cfSBrooks Davisdevices as set by
16533e5f41cfSBrooks Davis.Xr wlandebug 8
16543e5f41cfSBrooks Davismay be specified with an
16553e5f41cfSBrooks Davis.Va wlandebug_ Ns Aq Ar interface
16563e5f41cfSBrooks Davisvariable.
16573e5f41cfSBrooks DavisThe contents of this variable will be passed directly to
16583e5f41cfSBrooks Davis.Xr wlandebug 8 .
165989b5b33dSBrooks Davis.Pp
1660f0fdbb10SYaroslav TykhiyIf the
1661f0fdbb10SYaroslav Tykhiy.Va ifconfig_ Ns Aq Ar interface
1662f0fdbb10SYaroslav Tykhiycontains the keyword
166378ad5421SRuslan Ermilov.Dq Li NOAUTO
1664f0fdbb10SYaroslav Tykhiythen the interface will not be configured
1665f0fdbb10SYaroslav Tykhiyat boot or by
1666f0fdbb10SYaroslav Tykhiy.Pa /etc/pccard_ether
1667f0fdbb10SYaroslav Tykhiywhen
1668f0fdbb10SYaroslav Tykhiy.Va network_interfaces
1669f0fdbb10SYaroslav Tykhiyis set to
167078ad5421SRuslan Ermilov.Dq Li AUTO .
1671f0fdbb10SYaroslav Tykhiy.Pp
16727bc4ff02SBrooks DavisIt is possible to bring up an interface with DHCP by adding
16737bc4ff02SBrooks Davis.Dq Li DHCP
16747bc4ff02SBrooks Davisto the
1675217baf9cSRuslan Ermilov.Va ifconfig_ Ns Aq Ar interface
16767bc4ff02SBrooks Davisvariable.
1677b615e3aaSRuslan ErmilovFor instance, to initialize the
1678ffda6790SBrooks Davis.Li em0
1679b615e3aaSRuslan Ermilovdevice via DHCP,
1680bed6a377SDima Dorfmanit is possible to use something like:
1681dbc56df4SJeroen Ruigrok van der Werven.Bd -literal
1682ffda6790SBrooks Davisifconfig_em0="DHCP"
1683dbc56df4SJeroen Ruigrok van der Werven.Ed
16841f8197cfSPawel Jakub Dawidek.Pp
168547ccafd2SRui PauloIf you want to configure your wireless interface with
1686ecfb21ffSMartin Wilke.Xr wpa_supplicant 8
1687ecfb21ffSMartin Wilkefor use with WPA, EAP/LEAP or WEP, you need to add
16887bc4ff02SBrooks Davis.Dq Li WPA
16897bc4ff02SBrooks Davisto the
16907bc4ff02SBrooks Davis.Va ifconfig_ Ns Aq Ar interface
16917bc4ff02SBrooks Davisvariable.
16927bc4ff02SBrooks Davis.Pp
169347ccafd2SRui PauloOn the other hand, if you want to configure your wireless interface with
169447ccafd2SRui Paulo.Xr hostapd 8 ,
169547ccafd2SRui Pauloyou need to add
169647ccafd2SRui Paulo.Dq Li HOSTAP
169747ccafd2SRui Pauloto the
169847ccafd2SRui Paulo.Va ifconfig_ Ns Aq Ar interface
169947ccafd2SRui Paulovariable.
170047ccafd2SRui Paulo.Xr hostapd 8
170147ccafd2SRui Paulowill use the settings from
170247ccafd2SRui Paulo.Pa /etc/hostapd- Ns Ao Ar interface Ac Ns .conf
170347ccafd2SRui Paulo.Pp
17047bc4ff02SBrooks DavisFinally, you can add
17057bc4ff02SBrooks Davis.Xr ifconfig 8
17067bc4ff02SBrooks Davisoptions in this variable, in addition to the
17077bc4ff02SBrooks Davis.Pa /etc/start_if . Ns Aq Ar interface
17087bc4ff02SBrooks Davisfile.
17099557a450SJohn BaldwinFor instance, to configure an
171089b5b33dSBrooks Davis.Xr ath 4
171189b5b33dSBrooks Daviswireless device in station mode with an address obtained
171289b5b33dSBrooks Davisvia DHCP, using WPA authentication and 802.11b mode, it is
17137bc4ff02SBrooks Davispossible to use something like:
17147bc4ff02SBrooks Davis.Bd -literal
171589b5b33dSBrooks Daviswlans_ath0="wlan0"
171689b5b33dSBrooks Davisifconfig_wlan0="DHCP WPA mode 11b"
171703550c9cSRuslan Ermilov.Ed
17187bc4ff02SBrooks Davis.Pp
1719fe6f40ddSBrooks DavisIn addition to the
1720fe6f40ddSBrooks Davis.Va ifconfig_ Ns Aq Ar interface
1721fe6f40ddSBrooks Davisform, a fallback variable
1722fe6f40ddSBrooks Davis.Va ifconfig_DEFAULT
1723fe6f40ddSBrooks Davismay be configured.
1724f0fdbb10SYaroslav TykhiyIt will be used for all interfaces with no
1725fe6f40ddSBrooks Davis.Va ifconfig_ Ns Aq Ar interface
1726fe6f40ddSBrooks Davisvariable.
1727fe6f40ddSBrooks Davis.Pp
17289557a450SJohn BaldwinIt is also possible to rename an interface by doing:
17291f8197cfSPawel Jakub Dawidek.Bd -literal
1730ffda6790SBrooks Davisifconfig_em0_name="net0"
1731cb808de4SLexi Winterifconfig_net0="inet 192.0.2.1/24"
17321f8197cfSPawel Jakub Dawidek.Ed
17332e77c5abSHiroki Sato.It Va ipv6_enable
17347b1d17a1SGlen Barber.Pq Vt bool
1735e71abe65SHiroki SatoThis variable is deprecated.
1736e71abe65SHiroki SatoUse
1737e71abe65SHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1738e71abe65SHiroki Satoand
1739e71abe65SHiroki Sato.Va ipv6_activate_all_interfaces
1740e71abe65SHiroki Satoif necessary.
1741e71abe65SHiroki Sato.Pp
17428aa4c579SDoug BartonIf the variable is
1743c5ad71afSHiroki Sato.Dq Li YES ,
1744c5ad71afSHiroki Sato.Dq Li inet6 accept_rtadv
1745c5ad71afSHiroki Satois added to all of
1746c5ad71afSHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1747c5ad71afSHiroki Satoand the
1748d3a8a8b9SHiroki Sato.Va ipv6_activate_all_interfaces
1749c5ad71afSHiroki Satois defined as
1750c5ad71afSHiroki Sato.Dq Li YES .
17512e77c5abSHiroki Sato.It Va ipv6_prefer
17527b1d17a1SGlen Barber.Pq Vt bool
1753e71abe65SHiroki SatoThis variable is deprecated.
1754e71abe65SHiroki SatoUse
1755e71abe65SHiroki Sato.Va ip6addrctl_policy
1756e71abe65SHiroki Satoinstead.
1757e71abe65SHiroki Sato.Pp
17582e77c5abSHiroki SatoIf the variable is
17592e77c5abSHiroki Sato.Dq Li YES ,
1760d3a8a8b9SHiroki Satothe default address selection policy table set by
17612e77c5abSHiroki Sato.Xr ip6addrctl 8
17622e77c5abSHiroki Satowill be IPv6-preferred.
17632e77c5abSHiroki Sato.Pp
17642e77c5abSHiroki SatoIf the variable is
17652e77c5abSHiroki Sato.Dq Li NO ,
1766d3a8a8b9SHiroki Satothe default address selection policy table set by
17672e77c5abSHiroki Sato.Xr ip6addrctl 8
1768d3a8a8b9SHiroki Satowill be IPv4-preferred.
1769d3a8a8b9SHiroki Sato.It Va ipv6_activate_all_interfaces
1770e71abe65SHiroki Sato.Pq Vt bool
1771e71abe65SHiroki SatoThis controls initial configuration on IPv6-capable
1772e71abe65SHiroki Satointerfaces with no corresponding
1773e71abe65SHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1774e71abe65SHiroki Satovariable.
1775e71abe65SHiroki SatoNote that it is not always necessary to set this variable to
1776e71abe65SHiroki Sato.Dq YES
1777e71abe65SHiroki Satoto use IPv6 functionality on
1778e71abe65SHiroki Sato.Fx .
1779e71abe65SHiroki SatoIn most cases, just configuring
1780e71abe65SHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1781e71abe65SHiroki Satovariables works.
1782e71abe65SHiroki Sato.Pp
1783d3a8a8b9SHiroki SatoIf the variable is
1784d3a8a8b9SHiroki Sato.Dq Li NO ,
1785e71abe65SHiroki Satoall interfaces which do not have a corresponding
1786c5ad71afSHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1787c5ad71afSHiroki Satovariable will be marked as
1788d3a8a8b9SHiroki Sato.Dq Li IFDISABLED
1789e71abe65SHiroki Satoat creation.
1790654b1e38SCeri DaviesThis means that all IPv6 functionality on that interface
1791e71abe65SHiroki Satois completely disabled to enforce a security policy.
1792e71abe65SHiroki SatoIf the variable is set to
1793e71abe65SHiroki Sato.Dq YES ,
1794e71abe65SHiroki Satothe flag will be cleared on all of the interfaces.
1795e71abe65SHiroki Sato.Pp
1796e71abe65SHiroki SatoIn most cases, just defining an
1797e71abe65SHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1798e71abe65SHiroki Satofor an IPv6-capable interface should be sufficient.
1799e71abe65SHiroki SatoHowever, if an interface is added dynamically
1800e71abe65SHiroki Sato.Pq by some tunneling protocols such as PPP, for example ,
1801e71abe65SHiroki Satoit is often difficult to define the variable in advance.
1802e71abe65SHiroki SatoIn such a case, configuring the
1803e71abe65SHiroki Sato.Dq Li IFDISABLED
1804e71abe65SHiroki Satoflag can be disabled by setting this variable to
1805e71abe65SHiroki Sato.Dq YES .
1806e71abe65SHiroki Sato.Pp
1807e71abe65SHiroki SatoFor more details of the
1808c5ad71afSHiroki Sato.Dq Li IFDISABLED
1809c5ad71afSHiroki Satoflag and keywords
1810c5ad71afSHiroki Sato.Dq Li inet6 ifdisabled ,
1811c5ad71afSHiroki Satosee
1812c5ad71afSHiroki Sato.Xr ifconfig 8 .
18132e77c5abSHiroki Sato.Pp
1814d3a8a8b9SHiroki SatoDefault is
1815d3a8a8b9SHiroki Sato.Dq Li NO .
1816abe3ac57SHiroki Sato.It Va ipv6_privacy
1817abe3ac57SHiroki Sato.Pq Vt bool
1818abe3ac57SHiroki SatoIf the variable is
1819abe3ac57SHiroki Sato.Dq Li YES
1820abe3ac57SHiroki Satoprivacy addresses will be generated for each IPv6
1821073d4813SDoug Bartoninterface as described in RFC 4941.
1822c5ad71afSHiroki Sato.It Va ipv6_network_interfaces
1823c5ad71afSHiroki Sato.Pq Vt str
1824c5ad71afSHiroki SatoThis is the IPv6 equivalent of
1825c5ad71afSHiroki Sato.Va network_interfaces .
1826c5ad71afSHiroki SatoNormally manual configuration of this variable is not needed.
1827e71abe65SHiroki Sato.It Va ipv6_cpe_wanif
1828e71abe65SHiroki Sato.Pq Vt str
1829e71abe65SHiroki SatoIf the variable is set to an interface name,
1830e71abe65SHiroki Satothe
1831e71abe65SHiroki Sato.Xr ifconfig 8
1832e71abe65SHiroki Satooptions
1833e71abe65SHiroki Sato.Dq inet6 -no_radr accept_rtadv
1834e71abe65SHiroki Satowill be added to the specified interface automatically before evaluating
1835e71abe65SHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 ,
1836e71abe65SHiroki Satoand two
1837e71abe65SHiroki Sato.Xr sysctl 8
1838e71abe65SHiroki Satovariables
1839e71abe65SHiroki Sato.Va net.inet6.ip6.rfc6204w3
1840e71abe65SHiroki Satoand
1841e71abe65SHiroki Sato.Va net.inet6.ip6.no_radr
1842e71abe65SHiroki Satowill be set to 1.
1843e71abe65SHiroki Sato.Pp
1844e71abe65SHiroki SatoThis means the specified interface will accept ICMPv6 Router
1845e71abe65SHiroki SatoAdvertisement messages on that link and add the discovered
1846e71abe65SHiroki Satorouters into the Default Router List.
1847e71abe65SHiroki SatoWhile the other interfaces can still accept RA messages if the
1848e71abe65SHiroki Sato.Dq inet6 accept_rtadv
1849e71abe65SHiroki Satooption is specified, adding
1850e71abe65SHiroki Satoroutes into the Default Router List will be disabled by
1851e71abe65SHiroki Sato.Dq inet6 no_radr
1852e71abe65SHiroki Satooption by default.
1853e71abe65SHiroki SatoSee
1854e71abe65SHiroki Sato.Xr ifconfig 8
1855e71abe65SHiroki Satofor more details.
1856e71abe65SHiroki Sato.Pp
1857e71abe65SHiroki SatoNote that ICMPv6 Router Advertisement messages will be
1858e71abe65SHiroki Satoaccepted even when
1859e71abe65SHiroki Sato.Va net.inet6.ip6.forwarding
1860e71abe65SHiroki Satois 1
18613102cfe2SGlen Barber.Pq packet forwarding is enabled
1862e71abe65SHiroki Satowhen
1863e71abe65SHiroki Sato.Va net.inet6.ip6.rfc6204w3
1864e71abe65SHiroki Satois set to 1.
1865e71abe65SHiroki Sato.Pp
1866e71abe65SHiroki SatoDefault is
1867e71abe65SHiroki Sato.Dq Li NO .
1868cedc7c58SEugene Grosbein.It Va ifconfig_ Ns Ao Ar interface Ac Ns _descr
1869cedc7c58SEugene Grosbein.Pq Vt str
1870cedc7c58SEugene GrosbeinThis assigns arbitrary description to an interface.
1871cedc7c58SEugene GrosbeinThe
1872cedc7c58SEugene Grosbein.Xr sysctl 8
1873cedc7c58SEugene Grosbeinvariable
1874cedc7c58SEugene Grosbein.Va net.ifdescr_maxlen
1875cedc7c58SEugene Grosbeinlimits its length.
1876cedc7c58SEugene GrosbeinThis static setting may be overridden by commands
1877cedc7c58SEugene Grosbeinstarted with dynamic interface configuration utilities
1878cedc7c58SEugene Grosbeinlike
1879cedc7c58SEugene Grosbein.Xr dhclient 8
188069b77fc0SMateusz Piotrowskihooks.
188169b77fc0SMateusz PiotrowskiThe description can be seen with
1882cedc7c58SEugene Grosbein.Xr ifconfig 8
1883cedc7c58SEugene Grosbeincommand and it may be exported with
1884cedc7c58SEugene Grosbein.Xr bsnmpd 1
1885cedc7c58SEugene Grosbeindaemon using its MIB-2 module.
1886d3a8a8b9SHiroki Sato.It Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1887d3a8a8b9SHiroki Sato.Pq Vt str
1888c5ad71afSHiroki SatoIPv6 functionality on an interface should be configured by
1889c5ad71afSHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 ,
1890c5ad71afSHiroki Satoinstead of setting ifconfig parameters in
1891c5ad71afSHiroki Sato.Va ifconfig_ Ns Aq Ar interface .
1892654b1e38SCeri DaviesIf this variable is empty, all IPv6 configurations on the
189374ea0500SHiroki Satospecified interface by other variables such as
189474ea0500SHiroki Sato.Va ipv6_prefix_ Ns Ao Ar interface Ac
189574ea0500SHiroki Satowill be ignored.
189674ea0500SHiroki Sato.Pp
1897c5ad71afSHiroki SatoAliases should be set by
1898c5ad71afSHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1899c5ad71afSHiroki Satowith
1900c5ad71afSHiroki Sato.Dq Li inet6
19019d496f5aSGlen Barberkeyword.
19029d496f5aSGlen BarberFor example:
1903c5ad71afSHiroki Sato.Bd -literal
1904ffda6790SBrooks Davisifconfig_em0_ipv6="inet6 2001:db8:1::1 prefixlen 64"
1905ffda6790SBrooks Davisifconfig_em0_alias0="inet6 2001:db8:2::1 prefixlen 64"
1906c5ad71afSHiroki Sato.Ed
1907c5ad71afSHiroki Sato.Pp
190874ea0500SHiroki SatoInterfaces that have an
190974ea0500SHiroki Sato.Dq Li inet6 accept_rtadv
191074ea0500SHiroki Satokeyword in
191174ea0500SHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
191274ea0500SHiroki Satosetting will be automatically configured by SLAAC
191374ea0500SHiroki Sato.Pq StateLess Address AutoConfiguration
191474ea0500SHiroki Satodescribed in
191574ea0500SHiroki Sato.Rs
191674ea0500SHiroki Sato.%T "RFC 4862"
191774ea0500SHiroki Sato.Re
191874ea0500SHiroki Sato.Pp
1919e71abe65SHiroki SatoNote that a link-local address will be automatically configured in
1920e71abe65SHiroki Satoaddition to the configured global-scope addresses because the IPv6
1921e71abe65SHiroki Satospecifications require it on each link.
1922e71abe65SHiroki SatoThe address is calculated from the MAC address by using an algorithm
1923e71abe65SHiroki Satodefined in
1924e71abe65SHiroki Sato.Rs
1925e71abe65SHiroki Sato.%T "RFC 4862"
1926e71abe65SHiroki Sato.%O "Section 5.3"
1927e71abe65SHiroki Sato.Re
1928e71abe65SHiroki Sato.Pp
1929e71abe65SHiroki SatoIf only a link-local address is needed on the interface,
1930e71abe65SHiroki Satothe following configuration can be used:
1931e71abe65SHiroki Sato.Bd -literal
1932ffda6790SBrooks Davisifconfig_em0_ipv6="inet6 auto_linklocal"
1933e71abe65SHiroki Sato.Ed
1934e71abe65SHiroki Sato.Pp
1935e71abe65SHiroki SatoA link-local address can also be configured manually.
1936e71abe65SHiroki SatoThis is useful for the default router address of an IPv6 router
1937e71abe65SHiroki Satoso that it does not change when the network interface
1938e71abe65SHiroki Satocard is replaced.
1939e71abe65SHiroki SatoFor example:
1940e71abe65SHiroki Sato.Bd -literal
1941ffda6790SBrooks Davisifconfig_em0_ipv6="inet6 fe80::1 prefixlen 64"
1942e71abe65SHiroki Sato.Ed
19432e77c5abSHiroki Sato.It Va ipv6_prefix_ Ns Aq Ar interface
19442e77c5abSHiroki Sato.Pq Vt str
19452e77c5abSHiroki SatoIf one or more prefixes are defined in
19462e77c5abSHiroki Sato.Va ipv6_prefix_ Ns Aq Ar interface
19472e77c5abSHiroki Satoaddresses based on each prefix and the EUI-64 interface index will be
19482e77c5abSHiroki Satoconfigured on that interface.
194974ea0500SHiroki SatoNote that this variable will be ignored when
195074ea0500SHiroki Sato.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
195174ea0500SHiroki Satois empty.
195274ea0500SHiroki Sato.Pp
195374ea0500SHiroki SatoFor example, the following configuration
195474ea0500SHiroki Sato.Bd -literal
1955ffda6790SBrooks Davisipv6_prefix_em0="2001:db8:1:0 2001:db8:2:0"
195674ea0500SHiroki Sato.Ed
195774ea0500SHiroki Sato.Pp
195874ea0500SHiroki Satois equivalent to the following:
195974ea0500SHiroki Sato.Bd -literal
1960ffda6790SBrooks Davisifconfig_em0_alias0="inet6 2001:db8:1:: eui64 prefixlen 64"
1961ffda6790SBrooks Davisifconfig_em0_alias1="inet6 2001:db8:1:: prefixlen 64 anycast"
1962ffda6790SBrooks Davisifconfig_em0_alias2="inet6 2001:db8:2:: eui64 prefixlen 64"
1963ffda6790SBrooks Davisifconfig_em0_alias3="inet6 2001:db8:2:: prefixlen 64 anycast"
196474ea0500SHiroki Sato.Ed
196574ea0500SHiroki Sato.Pp
196674ea0500SHiroki SatoThese Subnet-Router anycast addresses will be added only when
196774ea0500SHiroki Sato.Va ipv6_gateway_enable
196874ea0500SHiroki Satois YES.
1969c1e3a71eSTom Rhodes.It Va ipv6_default_interface
1970c1e3a71eSTom Rhodes.Pq Vt str
1971c1e3a71eSTom RhodesIf not set to
1972c8185672SRuslan Ermilov.Dq Li NO ,
1973c1e3a71eSTom Rhodesthis is the default output interface for scoped addresses.
1974b13cc627SHajimu UMEMOTOThis works only with ipv6_gateway_enable="NO".
197500303aecSHiroki Sato.It Va ip6addrctl_enable
197600303aecSHiroki Sato.Pq Vt bool
1977d3a8a8b9SHiroki SatoThis variable is to enable configuring default address selection policy table
197800303aecSHiroki Sato.Pq RFC 3484 .
1979d3a8a8b9SHiroki SatoThe table can be specified in another variable
1980d3a8a8b9SHiroki Sato.Va ip6addrctl_policy .
1981d3a8a8b9SHiroki SatoFor
1982d3a8a8b9SHiroki Sato.Va ip6addrctl_policy
1983d3a8a8b9SHiroki Satothe following keywords can be specified:
1984d3a8a8b9SHiroki Sato.Dq Li ipv4_prefer ,
1985d3a8a8b9SHiroki Sato.Dq Li ipv6_prefer ,
1986d3a8a8b9SHiroki Satoor
1987d3a8a8b9SHiroki Sato.Dq Li AUTO .
1988d3a8a8b9SHiroki Sato.Pp
1989d3a8a8b9SHiroki SatoIf
1990d3a8a8b9SHiroki Sato.Dq Li ipv4_prefer
1991d3a8a8b9SHiroki Satoor
1992d3a8a8b9SHiroki Sato.Dq Li ipv6_prefer
1993d3a8a8b9SHiroki Satois specified,
199400303aecSHiroki Sato.Xr ip6addrctl 8
199558a11be1SChris Reesinstalls a pre-defined policy table described in Section 10.3
1996d3a8a8b9SHiroki Sato.Pq IPv4-preferred
199758a11be1SChris Reesor 2.1
199858a11be1SChris Rees.Pq IPv6-preferred
1999d3a8a8b9SHiroki Satoof RFC 3484.
2000d3a8a8b9SHiroki Sato.Pp
2001d3a8a8b9SHiroki SatoIf
2002d3a8a8b9SHiroki Sato.Dq Li AUTO
2003d3a8a8b9SHiroki Satois specified, it attempts to read a file
2004d3a8a8b9SHiroki Sato.Pa /etc/ip6addrctl.conf
20059d496f5aSGlen Barberfirst.
20069d496f5aSGlen BarberIf this file is found,
2007d3a8a8b9SHiroki Sato.Xr ip6addrctl 8
20089d496f5aSGlen Barberreads and installs it.
20099d496f5aSGlen BarberIf not found, a policy is automatically set
2010d3a8a8b9SHiroki Satoaccording to
2011d3a8a8b9SHiroki Sato.Va ipv6_activate_all_interfaces
2012d3a8a8b9SHiroki Satovariable; if the variable is set to
201300303aecSHiroki Sato.Dq Li YES
20149d496f5aSGlen Barberthe IPv6-preferred one is used.
20159d496f5aSGlen BarberOtherwise IPv4-preferred.
2016d3a8a8b9SHiroki Sato.Pp
2017d3a8a8b9SHiroki SatoThe default value of
2018d3a8a8b9SHiroki Sato.Va ip6addrctl_enable
2019d3a8a8b9SHiroki Satoand
2020d3a8a8b9SHiroki Sato.Va ip6addrctl_policy
2021d3a8a8b9SHiroki Satoare
2022d3a8a8b9SHiroki Sato.Dq Li YES
2023d3a8a8b9SHiroki Satoand
2024d3a8a8b9SHiroki Sato.Dq Li AUTO ,
2025d3a8a8b9SHiroki Satorespectively.
202640995998SBrooks Davis.It Va cloned_interfaces
202740995998SBrooks Davis.Pq Vt str
202840995998SBrooks DavisSet to the list of clonable network interfaces to create on this host.
20299557a450SJohn BaldwinFurther cloning arguments may be passed to the
20309557a450SJohn Baldwin.Xr ifconfig 8
20319557a450SJohn Baldwin.Cm create
20329557a450SJohn Baldwincommand for each interface by setting the
20339557a450SJohn Baldwin.Va create_args_ Ns Aq Ar interface
20349557a450SJohn Baldwinvariable.
20357dce7544SHiroki SatoIf an interface name is specified with
20367dce7544SHiroki Sato.Dq :sticky
20377dce7544SHiroki Satokeyword,
20387dce7544SHiroki Satothe interface will not be destroyed even when
20397dce7544SHiroki Sato.Pa rc.d/netif
20407dce7544SHiroki Satoscript is invoked with
20417dce7544SHiroki Sato.Dq stop
20427dce7544SHiroki Satoargument.
20437dce7544SHiroki SatoThis is useful when reconfiguring the interface without destroying it.
204440995998SBrooks DavisEntries in
204540995998SBrooks Davis.Va cloned_interfaces
204661d788b6SRuslan Ermilovare automatically appended to
204740995998SBrooks Davis.Va network_interfaces
204840995998SBrooks Davisfor configuration.
20497dce7544SHiroki Sato.It Va cloned_interfaces_sticky
20507dce7544SHiroki Sato.Pq Vt bool
20517dce7544SHiroki SatoThis variable is to globally enable functionality of
20527dce7544SHiroki Sato.Dq :sticky
20537dce7544SHiroki Satokeyword in
20547dce7544SHiroki Sato.Va cloned_interfaces
20557dce7544SHiroki Satofor all interfaces.
20567dce7544SHiroki SatoThe default value is
20577dce7544SHiroki Sato.Dq NO .
20587dce7544SHiroki SatoEven if this variable is specified to
20597dce7544SHiroki Sato.Dq YES ,
20607dce7544SHiroki Sato.Dq :nosticky
20617dce7544SHiroki Satokeyword can be used to override it on per interface basis.
2062601404ecSBrooks Davis.It Va gif_interfaces
2063601404ecSBrooks DavisSet to the list of
2064601404ecSBrooks Davis.Xr gif 4
2065601404ecSBrooks Davistunnel interfaces to configure on this host.
20668e47856bSEugene GrosbeinA
20678e47856bSEugene Grosbein.Va gifconfig_ Ns Aq Ar interface
20688e47856bSEugene Grosbeinvariable is assumed to exist for each value of
20698e47856bSEugene Grosbein.Ar interface .
2070601404ecSBrooks DavisThe value of this variable is used to configure the link layer of the
2071294dfb25SMike Karelstunnel using the
2072601404ecSBrooks Davis.Cm tunnel
2073601404ecSBrooks Davisoption to
20742ce58512SCeri Davies.Xr ifconfig 8 .
20758edd27f1SMike PritchardAdditionally, this option ensures that each listed interface is created
2076601404ecSBrooks Davisvia the
2077601404ecSBrooks Davis.Cm create
2078601404ecSBrooks Davisoption to
20792ce58512SCeri Davies.Xr ifconfig 8
20808e47856bSEugene Grosbeinbefore attempting to configure it.
20818e47856bSEugene Grosbein.Pp
20828e47856bSEugene GrosbeinFor example, configure two
20832ce58512SCeri Davies.Xr gif 4
20848e47856bSEugene Grosbeininterfaces with:
20858e47856bSEugene Grosbein.Bd -literal
20868e47856bSEugene Grosbeingif_interfaces="gif0 gif1"
20878e47856bSEugene Grosbeingifconfig_gif0="100.64.0.1 100.64.0.2"
20884fc5f321SWarner Loshifconfig_gif0="inet 10.0.0.1/30 10.0.0.2"
20898e47856bSEugene Grosbeingifconfig_gif1="inet6 2a00::1 2a01::1"
20904fc5f321SWarner Loshifconfig_gif1="inet 10.1.0.1/30 10.1.0.2"
20918e47856bSEugene Grosbein.Ed
209234455342SDima Dorfman.It Va ppp_enable
209334455342SDima Dorfman.Pq Vt bool
209434455342SDima DorfmanIf set to
2095b615e3aaSRuslan Ermilov.Dq Li YES ,
209651f80ae1SBrian Somersrun the
209751f80ae1SBrian Somers.Xr ppp 8
209851f80ae1SBrian Somersdaemon.
20996ea3dc37SBrooks Davis.It Va ppp_profile
21006ea3dc37SBrooks Davis.Pq Vt str
21016ea3dc37SBrooks DavisThe name of the profile to use from
21026ea3dc37SBrooks Davis.Pa /etc/ppp/ppp.conf .
21036ea3dc37SBrooks DavisAlso used for per-profile overrides of
21046ea3dc37SBrooks Davis.Va ppp_mode
21056ea3dc37SBrooks Davisand
210614b0729bSBrooks Davis.Va ppp_nat ,
210714b0729bSBrooks Davisand
210814b0729bSBrooks Davis.Va ppp_ Ns Ao Ar profile Ac Ns _unit .
21096ea3dc37SBrooks DavisWhen the profile name contains any of the characters
21106ea3dc37SBrooks Davis.Dq Li .-/+
21116ea3dc37SBrooks Davisthey are translated to
21126ea3dc37SBrooks Davis.Dq Li _
21136ea3dc37SBrooks Davisfor the proposes of the override variable names.
211434455342SDima Dorfman.It Va ppp_mode
211534455342SDima Dorfman.Pq Vt str
211634455342SDima DorfmanMode in which to run the
211751f80ae1SBrian Somers.Xr ppp 8
2118b615e3aaSRuslan Ermilovdaemon.
21196ea3dc37SBrooks Davis.It Va ppp_ Ns Ao Ar profile Ac Ns _mode
21206ea3dc37SBrooks Davis.Pq Vt str
21216ea3dc37SBrooks DavisOverrides the global
21226ea3dc37SBrooks Davis.Va ppp_mode
21236ea3dc37SBrooks Davisfor
21246ea3dc37SBrooks Davis.Ar profile .
2125b615e3aaSRuslan ErmilovAccepted modes are
2126b615e3aaSRuslan Ermilov.Dq Li auto ,
2127b615e3aaSRuslan Ermilov.Dq Li ddial ,
2128b615e3aaSRuslan Ermilov.Dq Li direct
212951f80ae1SBrian Somersand
2130b615e3aaSRuslan Ermilov.Dq Li dedicated .
213151f80ae1SBrian SomersSee the manual for a full description.
213234455342SDima Dorfman.It Va ppp_nat
213334455342SDima Dorfman.Pq Vt bool
213434455342SDima DorfmanIf set to
2135b615e3aaSRuslan Ermilov.Dq Li YES ,
2136b615e3aaSRuslan Ermilovenables network address translation.
21371111b49cSSheldon HearnUsed in conjunction with
213834455342SDima Dorfman.Va gateway_enable
213951f80ae1SBrian Somersallows hosts on private network addresses access to the Internet using
214051f80ae1SBrian Somersthis host as a network address translating router.
2141d36485a5SAllan JudeDefault is
2142d36485a5SAllan Jude.Dq Li YES .
21436ea3dc37SBrooks Davis.It Va ppp_ Ns Ao Ar profile Ac Ns _nat
214434455342SDima Dorfman.Pq Vt str
21456ea3dc37SBrooks DavisOverrides the global
21466ea3dc37SBrooks Davis.Va ppp_nat
21476ea3dc37SBrooks Davisfor
21486ea3dc37SBrooks Davis.Ar profile .
214914b0729bSBrooks Davis.It Va ppp_ Ns Ao Ar profile Ac Ns _unit
215014b0729bSBrooks Davis.Pq Vt int
215114b0729bSBrooks DavisSet the unit number to be used for this profile.
215214b0729bSBrooks DavisSee the manual description of
215314b0729bSBrooks Davis.Fl unit Ns Ar N
215414b0729bSBrooks Davisfor details.
215534455342SDima Dorfman.It Va ppp_user
215634455342SDima Dorfman.Pq Vt str
2157b615e3aaSRuslan ErmilovThe name of the user under which
2158b615e3aaSRuslan Ermilov.Xr ppp 8
2159b615e3aaSRuslan Ermilovshould be started.
2160a0247c8aSRuslan ErmilovBy
2161b615e3aaSRuslan Ermilovdefault,
2162b615e3aaSRuslan Ermilov.Xr ppp 8
2163b615e3aaSRuslan Ermilovis started as
2164b615e3aaSRuslan Ermilov.Dq Li root .
216534455342SDima Dorfman.It Va rc_conf_files
216634455342SDima Dorfman.Pq Vt str
216734455342SDima DorfmanThis option is used to specify a list of files that will override
2168bd17e46eSJordan K. Hubbardthe settings in
2169bd17e46eSJordan K. Hubbard.Pa /etc/defaults/rc.conf .
2170bd17e46eSJordan K. HubbardThe files will be read in the order in which they are specified and should
21711111b49cSSheldon Hearninclude the full path to the file.
21721111b49cSSheldon HearnBy default, the files specified are
2173bd17e46eSJordan K. Hubbard.Pa /etc/rc.conf
2174bd17e46eSJordan K. Hubbardand
2175654b1e38SCeri Davies.Pa /etc/rc.conf.local .
217670cb12f2SPawel Jakub Dawidek.It Va zfs_enable
217770cb12f2SPawel Jakub Dawidek.Pq Vt bool
217870cb12f2SPawel Jakub DawidekIf set to
217970cb12f2SPawel Jakub Dawidek.Dq Li YES ,
218070cb12f2SPawel Jakub Dawidek.Pa /etc/rc.d/zfs
218170cb12f2SPawel Jakub Dawidekwill attempt to automatically mount ZFS file systems and initialize ZFS volumes
218270cb12f2SPawel Jakub Dawidek(ZVOLs).
2183227caaccSMark Johnston.It Va zpool_reguid
2184227caaccSMark Johnston.Pq Vt str
2185227caaccSMark JohnstonA space-separated list of ZFS pool names for which new pool GUIDs should be
2186227caaccSMark Johnstonassigned upon first boot.
2187227caaccSMark JohnstonThis is useful when using a ZFS pool copied from a template, such as a virtual
2188227caaccSMark Johnstonmachine image.
218972a1cb05SLi-Wen Hsu.It Va zpool_upgrade
219072a1cb05SLi-Wen Hsu.Pq Vt str
2191654b1e38SCeri DaviesA space-separated list of ZFS pool names for which the version should be
2192654b1e38SCeri Daviesupgraded upon first boot.
219361273a28SLi-Wen HsuThis is useful when using a ZFS pool generated by the
219472a1cb05SLi-Wen Hsu.Xr makefs 8
219572a1cb05SLi-Wen Hsuutility.
219624b7ca34SPawel Jakub Dawidek.It Va gptboot_enable
219724b7ca34SPawel Jakub Dawidek.Pq Vt bool
219824b7ca34SPawel Jakub DawidekIf set to
219924b7ca34SPawel Jakub Dawidek.Dq Li YES ,
220024b7ca34SPawel Jakub Dawidek.Pa /etc/rc.d/gptboot
220124b7ca34SPawel Jakub Dawidekwill log if the system successfully (or not) booted from a GPT partition,
220224b7ca34SPawel Jakub Dawidekwhich had the
220324b7ca34SPawel Jakub Dawidek.Ar bootonce
220424b7ca34SPawel Jakub Dawidekattribute set using
220524b7ca34SPawel Jakub Dawidek.Xr gpart 8
220624b7ca34SPawel Jakub Dawidekutility.
2207b12cfed2SPawel Jakub Dawidek.It Va geli_devices
2208b12cfed2SPawel Jakub Dawidek.Pq Vt str
2209b12cfed2SPawel Jakub DawidekList of devices to automatically attach on boot.
2210b12cfed2SPawel Jakub DawidekNote that .eli devices from
2211b12cfed2SPawel Jakub Dawidek.Pa /etc/fstab
2212b12cfed2SPawel Jakub Dawidekare automatically appended to this list.
2213217df2daSBen Woods.It Va geli_groups
2214217df2daSBen Woods.Pq Vt str
2215217df2daSBen WoodsList of groups containing devices to automatically attach on boot with the same
2216217df2daSBen Woodskeyfiles and passphrase.
2217217df2daSBen WoodsThis must be accompanied with a corresponding
2218217df2daSBen Woods.Va geli_ Ns Ao Ar group Ac Ns Va _devices
2219217df2daSBen Woodsvariable.
2220b12cfed2SPawel Jakub Dawidek.It Va geli_tries
2221b12cfed2SPawel Jakub Dawidek.Pq Vt int
2222b12cfed2SPawel Jakub DawidekNumber of times user is asked for the pass-phrase.
2223b12cfed2SPawel Jakub DawidekIf empty, it will be taken from
2224b12cfed2SPawel Jakub Dawidek.Va kern.geom.eli.tries
2225b12cfed2SPawel Jakub Dawideksysctl variable.
2226b12cfed2SPawel Jakub Dawidek.It Va geli_default_flags
2227b12cfed2SPawel Jakub Dawidek.Pq Vt str
2228b12cfed2SPawel Jakub DawidekDefault flags to use by
2229b12cfed2SPawel Jakub Dawidek.Xr geli 8
2230b12cfed2SPawel Jakub Dawidekwhen configuring disk encryption.
2231217df2daSBen WoodsFlags can be configured for every device separately by defining the
223278ad5421SRuslan Ermilov.Va geli_ Ns Ao Ar device Ac Ns Va _flags
2233217df2daSBen Woodsvariable, and for every group separately by defining the
2234217df2daSBen Woods.Va geli_ Ns Ao Ar group Ac Ns Va _flags
2235b12cfed2SPawel Jakub Dawidekvariable.
2236b12cfed2SPawel Jakub Dawidek.It Va geli_autodetach
2237b12cfed2SPawel Jakub Dawidek.Pq Vt str
2238b12cfed2SPawel Jakub DawidekSpecifies if GELI devices should be marked for detach on last close after
2239b12cfed2SPawel Jakub Dawidekfile systems are mounted.
2240b12cfed2SPawel Jakub DawidekDefault is
2241b12cfed2SPawel Jakub Dawidek.Dq Li YES .
2242217df2daSBen WoodsThis can be changed for every device separately by defining the
224378ad5421SRuslan Ermilov.Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
2244b12cfed2SPawel Jakub Dawidekvariable.
22456e1b2264SGiorgos Keramidas.It Va root_rw_mount
22466e1b2264SGiorgos Keramidas.Pq Vt bool
22476e1b2264SGiorgos KeramidasSet to
22486e1b2264SGiorgos Keramidas.Dq Li YES
22496e1b2264SGiorgos Keramidasby default.
22506e1b2264SGiorgos KeramidasAfter the file systems are checked at boot time, the root file system
22516e1b2264SGiorgos Keramidasis remounted as read-write if this is set to
22526e1b2264SGiorgos Keramidas.Dq Li YES .
22538e8b3100SGiorgos KeramidasDiskless systems that mount their root file system from a read-only remote
22546e1b2264SGiorgos KeramidasNFS share should set this to
22556e1b2264SGiorgos Keramidas.Dq Li NO
22566e1b2264SGiorgos Keramidasin their
22576e1b2264SGiorgos Keramidas.Pa rc.conf .
225834455342SDima Dorfman.It Va fsck_y_enable
225934455342SDima Dorfman.Pq Vt bool
22606016261aSDima DorfmanIf set to
2261b615e3aaSRuslan Ermilov.Dq Li YES ,
2262385a585aSDoug Barton.Xr fsck 8
2263b615e3aaSRuslan Ermilovwill be run with the
2264b615e3aaSRuslan Ermilov.Fl y
2265b615e3aaSRuslan Ermilovflag if the initial preen
2266385a585aSDoug Bartonof the file systems fails.
2267692bb1c3SDima Dorfman.It Va background_fsck
2268692bb1c3SDima Dorfman.Pq Vt bool
22696016261aSDima DorfmanIf set to
22706f4a4761SConrad Meyer.Dq Li NO ,
22716f4a4761SConrad Meyerthe system will not attempt to run
2272692bb1c3SDima Dorfman.Xr fsck 8
2273692bb1c3SDima Dorfmanin the background where possible.
2274123a5dffSKirk McKusick.It Va background_fsck_delay
2275123a5dffSKirk McKusick.Pq Vt int
22760f918c97SRuslan ErmilovThe amount of time in seconds to sleep before starting a background
22770f918c97SRuslan Ermilov.Xr fsck 8 .
2278123a5dffSKirk McKusickIt defaults to sixty seconds to allow large applications such as
22790f918c97SRuslan Ermilovthe X server to start before disk I/O bandwidth is monopolized by
22800f918c97SRuslan Ermilov.Xr fsck 8 .
22810b45d130SBrooks DavisIf set to a negative number, the background file system check will be
22820b45d130SBrooks Davisdelayed indefinitely to allow the administrator to run it at a more
22830b45d130SBrooks Davisconvenient time.
2284ce475c41SBrooks DavisFor example it may be run from
22858165fa21SBrooks Davis.Xr cron 8
2286ce475c41SBrooks Davisby adding a line like
22870b45d130SBrooks Davis.Pp
2288ce475c41SBrooks Davis.Dl "0 4 * * * root /etc/rc.d/bgfsck forcestart"
22890b45d130SBrooks Davis.Pp
22900b45d130SBrooks Davisto
22910b45d130SBrooks Davis.Pa /etc/crontab .
2292c94887beSGordon Tetlow.It Va netfs_types
2293c94887beSGordon Tetlow.Pq Vt str
229409f84dd1SRuslan ErmilovList of file system types that are network-based.
229509f84dd1SRuslan ErmilovThis list should generally not be modified by end users.
229609f84dd1SRuslan ErmilovUse
2297c94887beSGordon Tetlow.Va extra_netfs_types
2298c94887beSGordon Tetlowinstead.
22994a8eeedbSSheldon Hearn.It Va extra_netfs_types
2300d7fb353aSSheldon Hearn.Pq Vt str
23014a8eeedbSSheldon HearnIf set to something other than
2302b615e3aaSRuslan Ermilov.Dq Li NO
23034a8eeedbSSheldon Hearn(the default),
23044a8eeedbSSheldon Hearnthis variable extends the list of file system types
23054a8eeedbSSheldon Hearnfor which automatic mounting at startup by
23064a8eeedbSSheldon Hearn.Xr rc 8
23074a8eeedbSSheldon Hearnshould be delayed until the network is initialized.
23084a8eeedbSSheldon HearnIt should contain
23094a8eeedbSSheldon Hearna whitespace-separated list of network file system descriptor pairs,
2310d7fb353aSSheldon Hearneach consisting of a file system type as passed to
2311d7fb353aSSheldon Hearn.Xr mount 8
2312d7fb353aSSheldon Hearnand a human-readable, one-word description,
2313d7fb353aSSheldon Hearnjoined with a colon
2314217baf9cSRuslan Ermilov.Pq Ql \&: .
23154a8eeedbSSheldon HearnExtending the default list in this way is only necessary
23164a8eeedbSSheldon Hearnwhen third party file system types are used.
231734455342SDima Dorfman.It Va syslogd_enable
231834455342SDima Dorfman.Pq Vt bool
231934455342SDima DorfmanIf set to
2320b615e3aaSRuslan Ermilov.Dq Li YES ,
2321c58afa56SJordan K. Hubbardrun the
2322c58afa56SJordan K. Hubbard.Xr syslogd 8
2323c58afa56SJordan K. Hubbarddaemon.
2324cb57f50eSAlexander LeidingerNote, the
2325cb57f50eSAlexander Leidinger.Va syslogd_oomprotect
2326cb57f50eSAlexander Leidingervariable is set to
2327cb57f50eSAlexander Leidinger.Dq Li YES
2328cb57f50eSAlexander Leidingerby default in
2329cb57f50eSAlexander Leidinger.Pa /etc/defaults/rc.conf .
23309b33d39fSDima Dorfman.It Va syslogd_program
23319b33d39fSDima Dorfman.Pq Vt str
23329b33d39fSDima DorfmanPath to
23339b33d39fSDima Dorfman.Xr syslogd 8
23349b33d39fSDima Dorfman(default
23359b33d39fSDima Dorfman.Pa /usr/sbin/syslogd ) .
233634455342SDima Dorfman.It Va syslogd_flags
233734455342SDima Dorfman.Pq Vt str
233872888a7dSDima DorfmanIf
233972888a7dSDima Dorfman.Va syslogd_enable
234072888a7dSDima Dorfmanis set to
2341b615e3aaSRuslan Ermilov.Dq Li YES ,
2342c58afa56SJordan K. Hubbardthese are the flags to pass to
2343c58afa56SJordan K. Hubbard.Xr syslogd 8 .
234434455342SDima Dorfman.It Va inetd_enable
234534455342SDima Dorfman.Pq Vt bool
234634455342SDima DorfmanIf set to
2347b615e3aaSRuslan Ermilov.Dq Li YES ,
2348c58afa56SJordan K. Hubbardrun the
2349c58afa56SJordan K. Hubbard.Xr inetd 8
2350c58afa56SJordan K. Hubbarddaemon.
23519b33d39fSDima Dorfman.It Va inetd_program
23529b33d39fSDima Dorfman.Pq Vt str
23539b33d39fSDima DorfmanPath to
23549b33d39fSDima Dorfman.Xr inetd 8
23559b33d39fSDima Dorfman(default
23569b33d39fSDima Dorfman.Pa /usr/sbin/inetd ) .
235734455342SDima Dorfman.It Va inetd_flags
235834455342SDima Dorfman.Pq Vt str
235972888a7dSDima DorfmanIf
236072888a7dSDima Dorfman.Va inetd_enable
236172888a7dSDima Dorfmanis set to
2362b615e3aaSRuslan Ermilov.Dq Li YES ,
2363c58afa56SJordan K. Hubbardthese are the flags to pass to
2364c58afa56SJordan K. Hubbard.Xr inetd 8 .
236532115b10SPawel Jakub Dawidek.It Va hastd_enable
236632115b10SPawel Jakub Dawidek.Pq Vt bool
236732115b10SPawel Jakub DawidekIf set to
236832115b10SPawel Jakub Dawidek.Dq Li YES ,
236932115b10SPawel Jakub Dawidekrun the
237032115b10SPawel Jakub Dawidek.Xr hastd 8
237132115b10SPawel Jakub Dawidekdaemon.
237232115b10SPawel Jakub Dawidek.It Va hastd_program
237332115b10SPawel Jakub Dawidek.Pq Vt str
237432115b10SPawel Jakub DawidekPath to
237532115b10SPawel Jakub Dawidek.Xr hastd 8
237632115b10SPawel Jakub Dawidek(default
237732115b10SPawel Jakub Dawidek.Pa /sbin/hastd ) .
237832115b10SPawel Jakub Dawidek.It Va hastd_flags
237932115b10SPawel Jakub Dawidek.Pq Vt str
238032115b10SPawel Jakub DawidekIf
238132115b10SPawel Jakub Dawidek.Va hastd_enable
238232115b10SPawel Jakub Dawidekis set to
238332115b10SPawel Jakub Dawidek.Dq Li YES ,
238432115b10SPawel Jakub Dawidekthese are the flags to pass to
238532115b10SPawel Jakub Dawidek.Xr hastd 8 .
238649cede74SDag-Erling Smørgrav.It Va local_unbound_enable
238749cede74SDag-Erling Smørgrav.Pq Vt bool
238849cede74SDag-Erling SmørgravIf set to
238949cede74SDag-Erling Smørgrav.Dq Li YES ,
239049cede74SDag-Erling Smørgravrun the
239149cede74SDag-Erling Smørgrav.Xr unbound 8
23920f994a19STom Hukinsdaemon as a local caching DNS resolver.
2393cb57f50eSAlexander LeidingerNote, the
2394cb57f50eSAlexander Leidinger.Va local_unbound_oomprotect
2395cb57f50eSAlexander Leidingervariable is set to
2396cb57f50eSAlexander Leidinger.Dq Li YES
2397cb57f50eSAlexander Leidingerby default in
2398cb57f50eSAlexander Leidinger.Pa /etc/defaults/rc.conf .
2399b8c44defSTom Hukins.It Va nscd_enable
2400b8c44defSTom Hukins.Pq Vt bool
2401b8c44defSTom HukinsSet to
2402b8c44defSTom Hukins.Dq Li YES
2403b8c44defSTom Hukinsto start the
2404b8c44defSTom Hukins.Xr nscd 8
2405b8c44defSTom Hukinscaching daemon for the
2406b8c44defSTom Hukins.Nm nsswitch
2407b8c44defSTom Hukinssubsystem.
2408b8c44defSTom Hukins.It Va nscd_flags
2409b8c44defSTom Hukins.Pq Vt str
2410b8c44defSTom HukinsIf
2411b8c44defSTom Hukins.Va nscd_enable
2412b8c44defSTom Hukinsis set to
2413b8c44defSTom Hukins.Dq Li YES ,
2414b8c44defSTom Hukinsthese flags are passed to
2415b8c44defSTom Hukins.Xr nscd 8 .
24166cf621e0SJason Helfman.It Va kdc_enable
241700805a52SDima Dorfman.Pq Vt bool
241800805a52SDima DorfmanSet to
2419b615e3aaSRuslan Ermilov.Dq Li YES
242000805a52SDima Dorfmanto start a Kerberos 5 authentication server
242100805a52SDima Dorfmanat boot time.
24226cf621e0SJason Helfman.It Va kdc_program
2423c1e3a71eSTom Rhodes.Pq Vt str
2424c1e3a71eSTom RhodesIf
24256cf621e0SJason Helfman.Va kdc_enable
2426c1e3a71eSTom Rhodesis set to
2427c1e3a71eSTom Rhodes.Dq Li YES
2428aab6741fSMark Murraythis is the path to Kerberos 5 Authentication Server.
24296cf621e0SJason Helfman.It Va kdc_flags
24301a51e011SRobert Watson.Pq Vt str
24311a51e011SRobert WatsonEmpty by default.
24321a51e011SRobert WatsonThis variable contains additional flags to be passed to the Kerberos 5
24331a51e011SRobert Watsonauthentication server.
24346cf621e0SJason Helfman.It Va kadmind_enable
243500805a52SDima Dorfman.Pq Vt bool
243600805a52SDima DorfmanSet to
2437b615e3aaSRuslan Ermilov.Dq Li YES
243800805a52SDima Dorfmanto start
2439aab6741fSMark Murray.Xr kadmind 8 ,
244000805a52SDima Dorfmanthe Kerberos 5 Administration Daemon; set to
2441b615e3aaSRuslan Ermilov.Dq Li NO
244200805a52SDima Dorfmanon a slave server.
24436cf621e0SJason Helfman.It Va kadmind_program
2444c1e3a71eSTom Rhodes.Pq Vt str
2445c1e3a71eSTom RhodesIf
24466cf621e0SJason Helfman.Va kadmind_enable
2447c1e3a71eSTom Rhodesis set to
2448c1e3a71eSTom Rhodes.Dq Li YES
2449c1e3a71eSTom Rhodesthis is the path to Kerberos 5 Administration Daemon.
24506cf621e0SJason Helfman.It Va kpasswdd_enable
2451aab6741fSMark Murray.Pq Vt bool
2452aab6741fSMark MurraySet to
2453aab6741fSMark Murray.Dq Li YES
2454aab6741fSMark Murrayto start
2455aab6741fSMark Murray.Xr kpasswdd 8 ,
2456aab6741fSMark Murraythe Kerberos 5 Password-Changing Daemon; set to
2457aab6741fSMark Murray.Dq Li NO
2458aab6741fSMark Murrayon a slave server.
24596cf621e0SJason Helfman.It Va kpasswdd_program
2460aab6741fSMark Murray.Pq Vt str
2461aab6741fSMark MurrayIf
24626cf621e0SJason Helfman.Va kpasswdd_enable
2463aab6741fSMark Murrayis set to
2464aab6741fSMark Murray.Dq Li YES
2465aab6741fSMark Murraythis is the path to Kerberos 5 Password-Changing Daemon.
24661f3c4035SStanislav Sedov.It Va kfd_enable
24671f3c4035SStanislav Sedov.Pq Vt bool
24681f3c4035SStanislav SedovSet to
24691f3c4035SStanislav Sedov.Dq Li YES
24701f3c4035SStanislav Sedovto start
24711f3c4035SStanislav Sedov.Xr kfd 8 ,
24721f3c4035SStanislav Sedovthe Kerberos 5 ticket forwarding daemon, at the boot time.
24731f3c4035SStanislav Sedov.It Va kfd_program
24741f3c4035SStanislav Sedov.Pq Vt str
24751f3c4035SStanislav SedovPath to
24761f3c4035SStanislav Sedov.Xr kfd 8
24771f3c4035SStanislav Sedov(default
24781f3c4035SStanislav Sedov.Pa /usr/libexec/kfd ) .
247934455342SDima Dorfman.It Va rwhod_enable
248034455342SDima Dorfman.Pq Vt bool
248134455342SDima DorfmanIf set to
2482b615e3aaSRuslan Ermilov.Dq Li YES ,
2483c58afa56SJordan K. Hubbardrun the
2484c58afa56SJordan K. Hubbard.Xr rwhod 8
2485c58afa56SJordan K. Hubbarddaemon at boot time.
248634455342SDima Dorfman.It Va rwhod_flags
248734455342SDima Dorfman.Pq Vt str
248834455342SDima DorfmanIf
248934455342SDima Dorfman.Va rwhod_enable
2490ed354fb9SJordan K. Hubbardis set to
2491b615e3aaSRuslan Ermilov.Dq Li YES ,
2492ed354fb9SJordan K. Hubbardthese are the flags to pass to it.
249334455342SDima Dorfman.It Va update_motd
249434455342SDima Dorfman.Pq Vt bool
249534455342SDima DorfmanIf set to
2496b615e3aaSRuslan Ermilov.Dq Li YES ,
2497654b1e38SCeri Davies.Pa /var/run/motd
2498ab327a82SMatthew Dillonwill be updated at boot time to reflect the kernel release
2499b615e3aaSRuslan Ermilovbeing run.
2500b615e3aaSRuslan ErmilovIf set to
2501b615e3aaSRuslan Ermilov.Dq Li NO ,
2502654b1e38SCeri Davies.Pa /var/run/motd
2503b615e3aaSRuslan Ermilovwill not be updated.
250434455342SDima Dorfman.It Va nfs_client_enable
250534455342SDima Dorfman.Pq Vt bool
250634455342SDima DorfmanIf set to
2507b615e3aaSRuslan Ermilov.Dq Li YES ,
2508c58afa56SJordan K. Hubbardrun the NFS client daemons at boot time.
250934455342SDima Dorfman.It Va nfs_access_cache
2510a35671c1SDima Dorfman.Pq Vt int
2511ccec65a5SDima DorfmanIf
251234455342SDima Dorfman.Va nfs_client_enable
25133acd0a4cSMike Smithis set to
2514b615e3aaSRuslan Ermilov.Dq Li YES ,
25153acd0a4cSMike Smiththis can be set to
2516b615e3aaSRuslan Ermilov.Dq Li 0
25176829f0a3SDima Dorfmanto disable NFS ACCESS RPC caching, or to the number of seconds for which
25186829f0a3SDima DorfmanNFS ACCESS
25196829f0a3SDima Dorfmanresults should be cached.
25206829f0a3SDima DorfmanA value of 2-10 seconds will substantially reduce network
25213acd0a4cSMike Smithtraffic for many NFS operations.
252234455342SDima Dorfman.It Va nfs_server_enable
252334455342SDima Dorfman.Pq Vt bool
252434455342SDima DorfmanIf set to
2525b615e3aaSRuslan Ermilov.Dq Li YES ,
2526c58afa56SJordan K. Hubbardrun the NFS server daemons at boot time.
252734455342SDima Dorfman.It Va nfs_server_flags
252834455342SDima Dorfman.Pq Vt str
252934455342SDima DorfmanIf
253034455342SDima Dorfman.Va nfs_server_enable
2531c58afa56SJordan K. Hubbardis set to
2532b615e3aaSRuslan Ermilov.Dq Li YES ,
2533c58afa56SJordan K. Hubbardthese are the flags to pass to the
2534c58afa56SJordan K. Hubbard.Xr nfsd 8
2535c58afa56SJordan K. Hubbarddaemon.
253625135859SRick Macklem.It Va nfsv4_server_enable
2537d7862bebSCeri Davies.Pq Vt bool
253825135859SRick MacklemIf
253925135859SRick Macklem.Va nfs_server_enable
254025135859SRick Macklemis set to
254125135859SRick Macklem.Dq Li YES
254225135859SRick Macklemand
254325135859SRick Macklem.Va nfsv4_server_enable
25449dae2d03SRick Macklemis set to
2545d7862bebSCeri Davies.Dq Li YES ,
254625135859SRick Macklemenable the server for NFSv4 as well as NFSv2 and NFSv3.
25479dae2d03SRick Macklem.It Va nfsv4_server_only
25489dae2d03SRick Macklem.Pq Vt bool
25499dae2d03SRick MacklemIf
25509dae2d03SRick Macklem.Va nfs_server_enable
25519dae2d03SRick Macklemis set to
25529dae2d03SRick Macklem.Dq Li YES
25539dae2d03SRick Macklemand
25549dae2d03SRick Macklem.Va nfsv4_server_only
25559dae2d03SRick Macklemis set to
25569dae2d03SRick Macklem.Dq Li YES ,
25579dae2d03SRick Macklemenable the NFS server for NFSv4 only.
25589dae2d03SRick Macklem.It Va nfs_server_maxio
25599dae2d03SRick Macklem.Pq Vt int
25609dae2d03SRick Macklemvalue to set vfs.nfsd.srvmaxio to, which is the
25619dae2d03SRick Macklemmaximum I/O size for the NFS server.
25629dae2d03SRick Macklem.It Va tlsclntd_enable
25639dae2d03SRick Macklem.Pq Vt bool
25649dae2d03SRick MacklemIf set to
25659dae2d03SRick Macklem.Dq Li YES ,
25669dae2d03SRick Macklemrun the
25679dae2d03SRick Macklem.Xr rpc.tlsclntd 8
25689dae2d03SRick Macklemdaemon, which is needed for NFS-over-TLS NFS mounts.
25699dae2d03SRick Macklem.It Va tlsservd_enable
25709dae2d03SRick Macklem.Pq Vt bool
25719dae2d03SRick MacklemIf set to
25729dae2d03SRick Macklem.Dq Li YES ,
25739dae2d03SRick Macklemrun the
25749dae2d03SRick Macklem.Xr rpc.tlsservd 8
25759dae2d03SRick Macklemdaemon, which is needed for the
25769dae2d03SRick Macklem.Xr nfsd 8
25779dae2d03SRick Macklemto support NFS-over-TLS NFS mounts.
257825135859SRick Macklem.It Va nfsuserd_enable
257925135859SRick Macklem.Pq Vt bool
258025135859SRick MacklemIf
258125135859SRick Macklem.Va nfsuserd_enable
258225135859SRick Macklemis set to
258325135859SRick Macklem.Dq Li YES ,
258425135859SRick Macklemrun the nfsuserd daemon, which is needed for NFSv4 in order
258525135859SRick Macklemto map between user/group names vs uid/gid numbers.
258625135859SRick MacklemIf
258725135859SRick Macklem.Va nfsv4_server_enable
258825135859SRick Macklemis set to
258925135859SRick Macklem.Dq Li YES ,
259025135859SRick Macklemthis will be forced enabled.
259125135859SRick Macklem.It Va nfsuserd_flags
2592d7862bebSCeri Davies.Pq Vt str
2593d7862bebSCeri DaviesIf
259425135859SRick Macklem.Va nfsuserd_enable
2595d7862bebSCeri Daviesis set to
2596d7862bebSCeri Davies.Dq Li YES ,
2597d7862bebSCeri Daviesthese are the flags to pass to the
259825135859SRick Macklem.Xr nfsuserd 8
2599d7862bebSCeri Daviesdaemon.
260025135859SRick Macklem.It Va nfscbd_enable
260125135859SRick Macklem.Pq Vt bool
260225135859SRick MacklemIf
260325135859SRick Macklem.Va nfscbd_enable
260425135859SRick Macklemis set to
260525135859SRick Macklem.Dq Li YES ,
260625135859SRick Macklemrun the nfscbd daemon, which enables callbacks/delegations for the NFSv4 client.
260725135859SRick Macklem.It Va nfscbd_flags
260825135859SRick Macklem.Pq Vt str
260925135859SRick MacklemIf
261025135859SRick Macklem.Va nfscbd_enable
261125135859SRick Macklemis set to
261225135859SRick Macklem.Dq Li YES ,
261325135859SRick Macklemthese are the flags to pass to the
261425135859SRick Macklem.Xr nfscbd 8
261525135859SRick Macklemdaemon.
2616806fb7f5SGordon Tetlow.It Va mountd_enable
261734455342SDima Dorfman.Pq Vt bool
261834455342SDima DorfmanIf set to
2619b615e3aaSRuslan Ermilov.Dq Li YES ,
2620d65bc340SAndrey A. Chernovand no
262134455342SDima Dorfman.Va nfs_server_enable
2622d65bc340SAndrey A. Chernovis set, start
2623d65bc340SAndrey A. Chernov.Xr mountd 8 ,
2624d65bc340SAndrey A. Chernovbut not
2625d65bc340SAndrey A. Chernov.Xr nfsd 8
26261111b49cSSheldon Hearndaemon.
26271111b49cSSheldon HearnIt is commonly needed to run CFS without real NFS used.
26282524b0b2SGiorgos Keramidas.It Va mountd_flags
26292524b0b2SGiorgos Keramidas.Pq Vt str
26302524b0b2SGiorgos KeramidasIf
26312524b0b2SGiorgos Keramidas.Va mountd_enable
26322524b0b2SGiorgos Keramidasis set to
26332524b0b2SGiorgos Keramidas.Dq Li YES ,
26342524b0b2SGiorgos Keramidasthese are the flags to pass to the
2635e40f1e0cSGiorgos Keramidas.Xr mountd 8
26362524b0b2SGiorgos Keramidasdaemon.
263734455342SDima Dorfman.It Va weak_mountd_authentication
263834455342SDima Dorfman.Pq Vt bool
263934455342SDima DorfmanIf set to
2640b615e3aaSRuslan Ermilov.Dq Li YES ,
264162285547SJeroen Ruigrok van der Wervenallow services like PCNFSD to make non-privileged mount
2642c58afa56SJordan K. Hubbardrequests.
2643fc30e07aSCeri Davies.It Va nfs_reserved_port_only
264434455342SDima Dorfman.Pq Vt bool
264534455342SDima DorfmanIf set to
2646b615e3aaSRuslan Ermilov.Dq Li YES ,
2647c58afa56SJordan K. Hubbardprovide NFS services only on a secure port.
264834455342SDima Dorfman.It Va nfs_bufpackets
2649a35671c1SDima Dorfman.Pq Vt int
265034455342SDima DorfmanIf set to a number, indicates the number of packets worth of
2651b615e3aaSRuslan Ermilovsocket buffer space to reserve on an NFS client.
26521e30d929SGregory Neil ShapiroThe kernel default is typically 4.
2653b615e3aaSRuslan ErmilovUsing a higher number may be
2654b615e3aaSRuslan Ermilovuseful on gigabit networks to improve performance.
2655b615e3aaSRuslan ErmilovThe minimum value is
26568d1b3828SMatthew Dillon2 and the maximum is 64.
265734455342SDima Dorfman.It Va rpc_lockd_enable
265834455342SDima Dorfman.Pq Vt bool
265934455342SDima DorfmanIf set to
2660b615e3aaSRuslan Ermilov.Dq Li YES
266181adede9SCeri Daviesand also an NFS server or client, run
2662c58afa56SJordan K. Hubbard.Xr rpc.lockd 8
2663c58afa56SJordan K. Hubbardat boot time.
2664f3636019SMatteo Riondato.It Va rpc_lockd_flags
2665f3636019SMatteo Riondato.Pq Vt str
2666f3636019SMatteo RiondatoIf
2667f3636019SMatteo Riondato.Va rpc_lockd_enable
2668f3636019SMatteo Riondatois set to
2669f3636019SMatteo Riondato.Dq Li YES ,
2670f3636019SMatteo Riondatothese are the flags to pass to the
2671f3636019SMatteo Riondato.Xr rpc.lockd 8
2672f3636019SMatteo Riondatodaemon.
267334455342SDima Dorfman.It Va rpc_statd_enable
267434455342SDima Dorfman.Pq Vt bool
267534455342SDima DorfmanIf set to
2676b615e3aaSRuslan Ermilov.Dq Li YES
267781adede9SCeri Daviesand also an NFS server or client, run
2678c58afa56SJordan K. Hubbard.Xr rpc.statd 8
2679c58afa56SJordan K. Hubbardat boot time.
2680f3636019SMatteo Riondato.It Va rpc_statd_flags
2681f3636019SMatteo Riondato.Pq Vt str
2682f3636019SMatteo RiondatoIf
2683f3636019SMatteo Riondato.Va rpc_statd_enable
2684f3636019SMatteo Riondatois set to
2685f3636019SMatteo Riondato.Dq Li YES ,
2686f3636019SMatteo Riondatothese are the flags to pass to the
2687f3636019SMatteo Riondato.Xr rpc.statd 8
2688f3636019SMatteo Riondatodaemon.
2689806fb7f5SGordon Tetlow.It Va rpcbind_program
269034455342SDima Dorfman.Pq Vt str
26916016261aSDima DorfmanPath to
26928657581bSMaxim Sobolev.Xr rpcbind 8
2693dff53a61SJames FitzGibbon(default
26948657581bSMaxim Sobolev.Pa /usr/sbin/rpcbind ) .
2695806fb7f5SGordon Tetlow.It Va rpcbind_enable
269634455342SDima Dorfman.Pq Vt bool
269734455342SDima DorfmanIf set to
2698b615e3aaSRuslan Ermilov.Dq Li YES ,
2699c58afa56SJordan K. Hubbardrun the
27008657581bSMaxim Sobolev.Xr rpcbind 8
2701c58afa56SJordan K. Hubbardservice at boot time.
2702806fb7f5SGordon Tetlow.It Va rpcbind_flags
270334455342SDima Dorfman.Pq Vt str
270434455342SDima DorfmanIf
2705806fb7f5SGordon Tetlow.Va rpcbind_enable
2706c58afa56SJordan K. Hubbardis set to
2707b615e3aaSRuslan Ermilov.Dq Li YES ,
2708c58afa56SJordan K. Hubbardthese are the flags to pass to the
27098657581bSMaxim Sobolev.Xr rpcbind 8
2710c58afa56SJordan K. Hubbarddaemon.
2711c1e3a71eSTom Rhodes.It Va keyserv_enable
2712c1e3a71eSTom Rhodes.Pq Vt bool
2713c1e3a71eSTom RhodesIf set to
2714c1e3a71eSTom Rhodes.Dq Li YES ,
2715c1e3a71eSTom Rhodesrun the
2716c1e3a71eSTom Rhodes.Xr keyserv 8
2717c1e3a71eSTom Rhodesdaemon on boot for running Secure RPC.
2718c1e3a71eSTom Rhodes.It Va keyserv_flags
2719c1e3a71eSTom Rhodes.Pq Vt str
2720c1e3a71eSTom RhodesIf
2721c1e3a71eSTom Rhodes.Va keyserv_enable
2722c1e3a71eSTom Rhodesis set to
2723c1e3a71eSTom Rhodes.Dq Li YES ,
2724c1e3a71eSTom Rhodesthese are the flags to pass to
2725c1e3a71eSTom Rhodes.Xr keyserv 8
2726c1e3a71eSTom Rhodesdaemon.
272734455342SDima Dorfman.It Va pppoed_enable
272834455342SDima Dorfman.Pq Vt bool
272934455342SDima DorfmanIf set to
2730b615e3aaSRuslan Ermilov.Dq Li YES ,
2731b615e3aaSRuslan Ermilovrun the
2732e6c5a96cSBrian Somers.Xr pppoed 8
2733e6c5a96cSBrian Somersdaemon at boot time to provide PPP over Ethernet services.
273481ae4b8dSRuslan Ermilov.It Va pppoed_ Ns Aq Ar provider
2735ccec65a5SDima Dorfman.Pq Vt str
2736e6c5a96cSBrian Somers.Xr pppoed 8
2737e6c5a96cSBrian Somerslistens to requests to this
2738e6c5a96cSBrian Somers.Ar provider
2739e6c5a96cSBrian Somersand ultimately runs
2740e6c5a96cSBrian Somers.Xr ppp 8
2741e6c5a96cSBrian Somerswith a
2742e6c5a96cSBrian Somers.Ar system
2743e6c5a96cSBrian Somersargument of the same name.
274434455342SDima Dorfman.It Va pppoed_flags
2745ccec65a5SDima Dorfman.Pq Vt str
2746e6c5a96cSBrian SomersAdditional flags to pass to
2747e6c5a96cSBrian Somers.Xr pppoed 8 .
274834455342SDima Dorfman.It Va pppoed_interface
2749ccec65a5SDima Dorfman.Pq Vt str
2750b615e3aaSRuslan ErmilovThe network interface to run
2751b615e3aaSRuslan Ermilov.Xr pppoed 8
2752b615e3aaSRuslan Ermilovon.
2753b615e3aaSRuslan ErmilovThis is mandatory when
275434455342SDima Dorfman.Va pppoed_enable
2755e6c5a96cSBrian Somersis set to
2756b615e3aaSRuslan Ermilov.Dq Li YES .
275734455342SDima Dorfman.It Va ntpdate_enable
275834455342SDima Dorfman.Pq Vt bool
275934455342SDima DorfmanIf set to
2760b615e3aaSRuslan Ermilov.Dq Li YES ,
2761b615e3aaSRuslan Ermilovrun
2762b615e3aaSRuslan Ermilov.Xr ntpdate 8
2763b615e3aaSRuslan Ermilovat system startup.
2764b615e3aaSRuslan ErmilovThis command is intended to
2765c58afa56SJordan K. Hubbardsynchronize the system clock only
2766a956b43dSRuslan Ermilov.Em once
2767b615e3aaSRuslan Ermilovfrom some standard reference.
27684d8f5c69SMateusz Piotrowski.Pp
27694d8f5c69SMateusz PiotrowskiNote that the use of the
27704d8f5c69SMateusz Piotrowski.Va ntpd_sync_on_start
27714d8f5c69SMateusz Piotrowskivariable is a preferred alternative to the
27724d8f5c69SMateusz Piotrowski.Xr ntpdate 8
27734d8f5c69SMateusz Piotrowskiutility as
27744d8f5c69SMateusz Piotrowski.Xr ntpdate 8
27754d8f5c69SMateusz Piotrowskiis to be retired from the NTP distribution.
2776ca3a4056SFlorent Thoumie.It Va ntpdate_config
277781ae4b8dSRuslan Ermilov.Pq Vt str
2778ca3a4056SFlorent ThoumieConfiguration file for
2779ca3a4056SFlorent Thoumie.Xr ntpdate 8 .
278081ae4b8dSRuslan ErmilovDefault
278181ae4b8dSRuslan Ermilov.Pa /etc/ntp.conf .
278220baa54fSDag-Erling Smørgrav.It Va ntpdate_hosts
278320baa54fSDag-Erling Smørgrav.Pq Vt str
278420baa54fSDag-Erling SmørgravA whitespace-separated list of NTP servers to synchronize with at startup.
278520baa54fSDag-Erling SmørgravThe default is to use the servers listed in
2786ca3a4056SFlorent Thoumie.Va ntpdate_config ,
278720baa54fSDag-Erling Smørgravif that file exists.
278834455342SDima Dorfman.It Va ntpdate_program
278934455342SDima Dorfman.Pq Vt str
27906016261aSDima DorfmanPath to
279186e0adfeSAndreas Klemm.Xr ntpdate 8
279286e0adfeSAndreas Klemm(default
279386e0adfeSAndreas Klemm.Pa /usr/sbin/ntpdate ) .
279434455342SDima Dorfman.It Va ntpdate_flags
279534455342SDima Dorfman.Pq Vt str
279634455342SDima DorfmanIf
279734455342SDima Dorfman.Va ntpdate_enable
2798c58afa56SJordan K. Hubbardis set to
2799b615e3aaSRuslan Ermilov.Dq Li YES ,
2800c58afa56SJordan K. Hubbardthese are the flags to pass to the
2801c58afa56SJordan K. Hubbard.Xr ntpdate 8
2802c58afa56SJordan K. Hubbardcommand (typically a hostname).
2803806fb7f5SGordon Tetlow.It Va ntpd_enable
280434455342SDima Dorfman.Pq Vt bool
280534455342SDima DorfmanIf set to
2806b615e3aaSRuslan Ermilov.Dq Li YES ,
2807b615e3aaSRuslan Ermilovrun the
2808000d5619SMaxim Sobolev.Xr ntpd 8
2809c58afa56SJordan K. Hubbardcommand at boot time.
2810806fb7f5SGordon Tetlow.It Va ntpd_program
281134455342SDima Dorfman.Pq Vt str
28126016261aSDima DorfmanPath to
2813000d5619SMaxim Sobolev.Xr ntpd 8
281486e0adfeSAndreas Klemm(default
2815000d5619SMaxim Sobolev.Pa /usr/sbin/ntpd ) .
2816455c5d38SFlorent Thoumie.It Va ntpd_config
2817455c5d38SFlorent Thoumie.Pq Vt str
2818455c5d38SFlorent ThoumiePath to
2819455c5d38SFlorent Thoumie.Xr ntpd 8
2820455c5d38SFlorent Thoumieconfiguration file.
282181ae4b8dSRuslan ErmilovDefault
282281ae4b8dSRuslan Ermilov.Pa /etc/ntp.conf .
2823806fb7f5SGordon Tetlow.It Va ntpd_flags
282434455342SDima Dorfman.Pq Vt str
282534455342SDima DorfmanIf
2826806fb7f5SGordon Tetlow.Va ntpd_enable
2827c58afa56SJordan K. Hubbardis set to
2828b615e3aaSRuslan Ermilov.Dq Li YES ,
2829c58afa56SJordan K. Hubbardthese are the flags to pass to the
2830000d5619SMaxim Sobolev.Xr ntpd 8
2831c58afa56SJordan K. Hubbarddaemon.
28329fa4bd23SSean Chittenden.It Va ntpd_sync_on_start
28339fa4bd23SSean Chittenden.Pq Vt bool
28349fa4bd23SSean ChittendenIf set to
28359fa4bd23SSean Chittenden.Dq Li YES ,
28369fa4bd23SSean Chittenden.Xr ntpd 8
28379fa4bd23SSean Chittendenis run with the
2838c0854fb7SRuslan Ermilov.Fl g
28399bad6e2cSGiorgos Keramidasflag, which syncs the system's clock on startup.
28409fa4bd23SSean ChittendenSee
28419fa4bd23SSean Chittenden.Xr ntpd 8
28429fa4bd23SSean Chittendenfor more information regarding the
2843c0854fb7SRuslan Ermilov.Fl g
28449bad6e2cSGiorgos Keramidasoption.
28459fa4bd23SSean ChittendenThis is a preferred alternative to using
28463ac17febSRuslan Ermilov.Xr ntpdate 8
28479fa4bd23SSean Chittendenor specifying the
2848c0854fb7SRuslan Ermilov.Va ntpdate_enable
2849c0854fb7SRuslan Ermilovvariable.
285034455342SDima Dorfman.It Va nis_client_enable
285134455342SDima Dorfman.Pq Vt bool
285234455342SDima DorfmanIf set to
2853b615e3aaSRuslan Ermilov.Dq Li YES ,
2854b615e3aaSRuslan Ermilovrun the
2855c58afa56SJordan K. Hubbard.Xr ypbind 8
2856c58afa56SJordan K. Hubbardservice at system boot time.
285734455342SDima Dorfman.It Va nis_client_flags
285834455342SDima Dorfman.Pq Vt str
285934455342SDima DorfmanIf
286034455342SDima Dorfman.Va nis_client_enable
2861c58afa56SJordan K. Hubbardis set to
2862b615e3aaSRuslan Ermilov.Dq Li YES ,
2863c58afa56SJordan K. Hubbardthese are the flags to pass to the
2864c58afa56SJordan K. Hubbard.Xr ypbind 8
2865c58afa56SJordan K. Hubbardservice.
28663db8326dSMarcelo Araujo.It Va nis_ypldap_enable
28673db8326dSMarcelo Araujo.Pq Vt bool
28683db8326dSMarcelo AraujoIf set to
28693db8326dSMarcelo Araujo.Dq Li YES ,
28703db8326dSMarcelo Araujorun the
28713db8326dSMarcelo Araujo.Xr ypldap 8
28723db8326dSMarcelo Araujodaemon at system boot time.
28733db8326dSMarcelo Araujo.It Va nis_ypldap_flags
28743db8326dSMarcelo Araujo.Pq Vt str
28753db8326dSMarcelo AraujoIf
28763db8326dSMarcelo Araujo.Va nis.ypldap_enable
28773db8326dSMarcelo Araujois set to
28783db8326dSMarcelo Araujo.Dq Li YES ,
28793db8326dSMarcelo Araujothese are the flags to pass to the
28803db8326dSMarcelo Araujo.Xr ypldap 8
28813db8326dSMarcelo Araujodaemon.
288234455342SDima Dorfman.It Va nis_ypset_enable
288334455342SDima Dorfman.Pq Vt bool
288434455342SDima DorfmanIf set to
2885b615e3aaSRuslan Ermilov.Dq Li YES ,
2886b615e3aaSRuslan Ermilovrun the
2887c58afa56SJordan K. Hubbard.Xr ypset 8
2888c58afa56SJordan K. Hubbarddaemon at system boot time.
288934455342SDima Dorfman.It Va nis_ypset_flags
289034455342SDima Dorfman.Pq Vt str
289134455342SDima DorfmanIf
289234455342SDima Dorfman.Va nis_ypset_enable
2893c58afa56SJordan K. Hubbardis set to
2894b615e3aaSRuslan Ermilov.Dq Li YES ,
2895c58afa56SJordan K. Hubbardthese are the flags to pass to the
2896c58afa56SJordan K. Hubbard.Xr ypset 8
2897c58afa56SJordan K. Hubbarddaemon.
289834455342SDima Dorfman.It Va nis_server_enable
289934455342SDima Dorfman.Pq Vt bool
290034455342SDima DorfmanIf set to
2901b615e3aaSRuslan Ermilov.Dq Li YES ,
2902b615e3aaSRuslan Ermilovrun the
2903c58afa56SJordan K. Hubbard.Xr ypserv 8
2904c58afa56SJordan K. Hubbarddaemon at system boot time.
290534455342SDima Dorfman.It Va nis_server_flags
290634455342SDima Dorfman.Pq Vt str
290734455342SDima DorfmanIf
290834455342SDima Dorfman.Va nis_server_enable
2909c58afa56SJordan K. Hubbardis set to
2910b615e3aaSRuslan Ermilov.Dq Li YES ,
2911c58afa56SJordan K. Hubbardthese are the flags to pass to the
2912c58afa56SJordan K. Hubbard.Xr ypserv 8
2913c58afa56SJordan K. Hubbarddaemon.
291434455342SDima Dorfman.It Va nis_ypxfrd_enable
291534455342SDima Dorfman.Pq Vt bool
291634455342SDima DorfmanIf set to
2917b615e3aaSRuslan Ermilov.Dq Li YES ,
2918b615e3aaSRuslan Ermilovrun the
291905c1a268SDima Dorfman.Xr rpc.ypxfrd 8
2920c58afa56SJordan K. Hubbarddaemon at system boot time.
292134455342SDima Dorfman.It Va nis_ypxfrd_flags
292234455342SDima Dorfman.Pq Vt str
292334455342SDima DorfmanIf
292434455342SDima Dorfman.Va nis_ypxfrd_enable
2925c58afa56SJordan K. Hubbardis set to
2926b615e3aaSRuslan Ermilov.Dq Li YES ,
2927c58afa56SJordan K. Hubbardthese are the flags to pass to the
292805c1a268SDima Dorfman.Xr rpc.ypxfrd 8
2929c58afa56SJordan K. Hubbarddaemon.
293034455342SDima Dorfman.It Va nis_yppasswdd_enable
293134455342SDima Dorfman.Pq Vt bool
293234455342SDima DorfmanIf set to
2933b615e3aaSRuslan Ermilov.Dq Li YES ,
2934b615e3aaSRuslan Ermilovrun the
293505c1a268SDima Dorfman.Xr rpc.yppasswdd 8
2936c58afa56SJordan K. Hubbarddaemon at system boot time.
293734455342SDima Dorfman.It Va nis_yppasswdd_flags
293834455342SDima Dorfman.Pq Vt str
293934455342SDima DorfmanIf
294034455342SDima Dorfman.Va nis_yppasswdd_enable
2941c58afa56SJordan K. Hubbardis set to
2942b615e3aaSRuslan Ermilov.Dq Li YES ,
2943c58afa56SJordan K. Hubbardthese are the flags to pass to the
294405c1a268SDima Dorfman.Xr rpc.yppasswdd 8
2945c58afa56SJordan K. Hubbarddaemon.
2946c1e3a71eSTom Rhodes.It Va rpc_ypupdated_enable
2947c1e3a71eSTom Rhodes.Pq Vt bool
2948c1e3a71eSTom RhodesIf set to
2949c1e3a71eSTom Rhodes.Dq Li YES ,
2950c1e3a71eSTom Rhodesrun the
2951c8185672SRuslan Ermilov.Nm rpc.ypupdated
2952c1e3a71eSTom Rhodesdaemon at system boot time.
29534f802d7eSGleb Smirnoff.It Va bsnmpd_enable
29544f802d7eSGleb Smirnoff.Pq Vt bool
29554f802d7eSGleb SmirnoffIf set to
29564f802d7eSGleb Smirnoff.Dq Li YES ,
29574f802d7eSGleb Smirnoffrun the
29584f802d7eSGleb Smirnoff.Xr bsnmpd 1
29594f802d7eSGleb Smirnoffdaemon at system boot time.
2960654b1e38SCeri DaviesBe sure to understand the security implications of running an SNMP daemon
29614f802d7eSGleb Smirnoffon your host.
29624f802d7eSGleb Smirnoff.It Va bsnmpd_flags
29634f802d7eSGleb Smirnoff.Pq Vt str
29644f802d7eSGleb SmirnoffIf
29654f802d7eSGleb Smirnoff.Va bsnmpd_enable
29664f802d7eSGleb Smirnoffis set to
29674f802d7eSGleb Smirnoff.Dq Li YES ,
29684f802d7eSGleb Smirnoffthese are the flags to pass to the
29694f802d7eSGleb Smirnoff.Xr bsnmpd 1
29704f802d7eSGleb Smirnoffdaemon.
297134455342SDima Dorfman.It Va defaultrouter
297234455342SDima Dorfman.Pq Vt str
297334455342SDima DorfmanIf not set to
2974b615e3aaSRuslan Ermilov.Dq Li NO ,
2975b615e3aaSRuslan Ermilovcreate a default route to this host name or IP address
2976bed6a377SDima Dorfman(use an IP address if this router is also required to get to the
2977bed6a377SDima Dorfmanname server!).
297830659d1dSAndrew Fengler.It Va defaultrouter_fibN
297930659d1dSAndrew Fengler.Pq Vt str
298030659d1dSAndrew FenglerIf not set to
298130659d1dSAndrew Fengler.Dq Li NO ,
298230659d1dSAndrew Fenglercreate a default route in FIB N to this host name or IP address.
2983c1e3a71eSTom Rhodes.It Va ipv6_defaultrouter
2984c1e3a71eSTom Rhodes.Pq Vt str
2985c1e3a71eSTom RhodesThe IPv6 equivalent of
2986c1e3a71eSTom Rhodes.Va defaultrouter .
298730659d1dSAndrew Fengler.It Va ipv6_defaultrouter_fibN
298830659d1dSAndrew Fengler.Pq Vt str
298930659d1dSAndrew FenglerThe IPv6 equivalent of
299030659d1dSAndrew Fengler.Va defaultrouter_fibN .
29917064977fSXin LI.It Va static_arp_pairs
29927064977fSXin LI.Pq Vt str
29937064977fSXin LISet to the list of static ARP pairs that are to be added at system
29947064977fSXin LIboot time.
29957064977fSXin LIFor each whitespace separated
29967064977fSXin LI.Ar element
29977064977fSXin LIin the value, a
29987064977fSXin LI.Va static_arp_ Ns Aq Ar element
29997064977fSXin LIvariable is assumed to exist whose contents will later be passed to a
30007064977fSXin LI.Dq Nm arp Cm -S
30017064977fSXin LIoperation.
30027064977fSXin LIFor example
30037064977fSXin LI.Bd -literal
30047064977fSXin LIstatic_arp_pairs="gw"
30057064977fSXin LIstatic_arp_gw="192.168.1.1 00:01:02:03:04:05"
30067064977fSXin LI.Ed
300772be4c6fSMartin Matuska.It Va static_ndp_pairs
300872be4c6fSMartin Matuska.Pq Vt str
300972be4c6fSMartin MatuskaSet to the list of static NDP pairs that are to be added at system
301072be4c6fSMartin Matuskaboot time.
301172be4c6fSMartin MatuskaFor each whitespace separated
301272be4c6fSMartin Matuska.Ar element
301372be4c6fSMartin Matuskain the value, a
301472be4c6fSMartin Matuska.Va static_ndp_ Ns Aq Ar element
301572be4c6fSMartin Matuskavariable is assumed to exist whose contents will later be passed to a
301672be4c6fSMartin Matuska.Dq Nm ndp Cm -s
301772be4c6fSMartin Matuskaoperation.
301872be4c6fSMartin MatuskaFor example
301972be4c6fSMartin Matuska.Bd -literal
302072be4c6fSMartin Matuskastatic_ndp_pairs="gw"
302172be4c6fSMartin Matuskastatic_ndp_gw="2001:db8:3::1 00:01:02:03:04:05"
302272be4c6fSMartin Matuska.Ed
302334455342SDima Dorfman.It Va static_routes
302434455342SDima Dorfman.Pq Vt str
3025bed6a377SDima DorfmanSet to the list of static routes that are to be added at system
3026b615e3aaSRuslan Ermilovboot time.
3027b615e3aaSRuslan ErmilovIf not set to
3028b615e3aaSRuslan Ermilov.Dq Li NO
3029f591fcd1SNik Claytonthen for each whitespace separated
3030217baf9cSRuslan Ermilov.Ar element
3031f591fcd1SNik Claytonin the value, a
3032217baf9cSRuslan Ermilov.Va route_ Ns Aq Ar element
3033f591fcd1SNik Claytonvariable is assumed to exist
30349c800c95SAlexey Zelkinwhose contents will later be passed to a
3035b615e3aaSRuslan Ermilov.Dq Nm route Cm add
30369c800c95SAlexey Zelkinoperation.
303754514724SBruce M SimpsonFor example:
303854514724SBruce M Simpson.Bd -literal
3039ed45ea12SHiroki Satostatic_routes="ext mcast:gif0 gif0local:gif0"
3040ed45ea12SHiroki Satoroute_ext="-net 10.0.0.0/24 -gateway 192.168.0.1"
304154514724SBruce M Simpsonroute_mcast="-net 224.0.0.0/4 -iface gif0"
304254514724SBruce M Simpsonroute_gif0local="-host 169.254.1.1 -iface lo0"
304354514724SBruce M Simpson.Ed
3044ed45ea12SHiroki Sato.Pp
3045ed45ea12SHiroki SatoWhen an
3046ed45ea12SHiroki Sato.Ar element
3047ed45ea12SHiroki Satois in the form of
3048ed45ea12SHiroki Sato.Li name:ifname ,
3049ed45ea12SHiroki Satothe route is specific to the interface
3050ed45ea12SHiroki Sato.Li ifname .
3051c1e3a71eSTom Rhodes.It Va ipv6_static_routes
3052c1e3a71eSTom Rhodes.Pq Vt str
3053c1e3a71eSTom RhodesThe IPv6 equivalent of
3054c1e3a71eSTom Rhodes.Va static_routes .
3055c1e3a71eSTom RhodesIf not set to
3056c1e3a71eSTom Rhodes.Dq Li NO
3057c1e3a71eSTom Rhodesthen for each whitespace separated
3058c1e3a71eSTom Rhodes.Ar element
3059c1e3a71eSTom Rhodesin the value, a
3060c1e3a71eSTom Rhodes.Va ipv6_route_ Ns Aq Ar element
3061c1e3a71eSTom Rhodesvariable is assumed to exist
3062c1e3a71eSTom Rhodeswhose contents will later be passed to a
3063c8185672SRuslan Ermilov.Dq Nm route Cm add Fl inet6
3064c1e3a71eSTom Rhodesoperation.
306534455342SDima Dorfman.It Va gateway_enable
306634455342SDima Dorfman.Pq Vt bool
306734455342SDima DorfmanIf set to
3068b615e3aaSRuslan Ermilov.Dq Li YES ,
30695203edcdSRuslan Ermilovconfigure host to act as an IP router, e.g.\& to forward packets
3070c58afa56SJordan K. Hubbardbetween interfaces.
3071c1e3a71eSTom Rhodes.It Va ipv6_gateway_enable
3072c1e3a71eSTom Rhodes.Pq Vt bool
3073c1e3a71eSTom RhodesThe IPv6 equivalent of
3074c1e3a71eSTom Rhodes.Va gateway_enable .
307500303aecSHiroki Sato.It Va routed_enable
307634455342SDima Dorfman.Pq Vt bool
307734455342SDima DorfmanIf set to
3078b615e3aaSRuslan Ermilov.Dq Li YES ,
3079b615e3aaSRuslan Ermilovrun a routing daemon of some sort, based on the
3080c58afa56SJordan K. Hubbardsettings of
308100303aecSHiroki Sato.Va routed_program
3082c58afa56SJordan K. Hubbardand
308300303aecSHiroki Sato.Va routed_flags .
308400303aecSHiroki Sato.It Va route6d_enable
3085c1e3a71eSTom Rhodes.Pq Vt bool
3086c1e3a71eSTom RhodesThe IPv6 equivalent of
308700303aecSHiroki Sato.Va routed_enable .
3088c1e3a71eSTom RhodesIf set to
3089c1e3a71eSTom Rhodes.Dq Li YES ,
3090c1e3a71eSTom Rhodesrun a routing daemon of some sort, based on the
3091c1e3a71eSTom Rhodessettings of
309200303aecSHiroki Sato.Va route6d_program
3093c1e3a71eSTom Rhodesand
309400303aecSHiroki Sato.Va route6d_flags .
309500303aecSHiroki Sato.It Va routed_program
309634455342SDima Dorfman.Pq Vt str
309734455342SDima DorfmanIf
309800303aecSHiroki Sato.Va routed_enable
3099c58afa56SJordan K. Hubbardis set to
3100b615e3aaSRuslan Ermilov.Dq Li YES ,
3101c58afa56SJordan K. Hubbardthis is the name of the routing daemon to use.
3102654b1e38SCeri DaviesThe default is
3103654b1e38SCeri Davies.Xr routed 8 .
310400303aecSHiroki Sato.It Va route6d_program
3105c1e3a71eSTom Rhodes.Pq Vt str
3106c1e3a71eSTom RhodesThe IPv6 equivalent of
310700303aecSHiroki Sato.Va routed_program .
3108654b1e38SCeri DaviesThe default is
3109654b1e38SCeri Davies.Xr route6d 8 .
311000303aecSHiroki Sato.It Va routed_flags
311134455342SDima Dorfman.Pq Vt str
311234455342SDima DorfmanIf
311300303aecSHiroki Sato.Va routed_enable
3114c58afa56SJordan K. Hubbardis set to
3115b615e3aaSRuslan Ermilov.Dq Li YES ,
3116c58afa56SJordan K. Hubbardthese are the flags to pass to the routing daemon.
311700303aecSHiroki Sato.It Va route6d_flags
3118c1e3a71eSTom Rhodes.Pq Vt str
3119c1e3a71eSTom RhodesThe IPv6 equivalent of
312000303aecSHiroki Sato.Va routed_flags .
3121c1e3a71eSTom Rhodes.It Va rtadvd_enable
3122c1e3a71eSTom Rhodes.Pq Vt bool
3123c1e3a71eSTom RhodesIf set to
3124c1e3a71eSTom Rhodes.Dq Li YES ,
3125c1e3a71eSTom Rhodesrun the
3126c1e3a71eSTom Rhodes.Xr rtadvd 8
3127c1e3a71eSTom Rhodesdaemon at boot time.
3128c1e3a71eSTom RhodesThe
3129c1e3a71eSTom Rhodes.Xr rtadvd 8
3130e71abe65SHiroki Satoutility sends ICMPv6 Router Advertisement messages to
3131e71abe65SHiroki Satothe interfaces specified in
3132e71abe65SHiroki Sato.Va rtadvd_interfaces .
3133e71abe65SHiroki SatoThis should only be enabled with great care.
3134c1e3a71eSTom RhodesYou may want to fine-tune
3135c1e3a71eSTom Rhodes.Xr rtadvd.conf 5 .
3136*872686b1SMark Johnston.It Va rtadvd_flags
3137*872686b1SMark Johnston.Pq Vt str
3138*872686b1SMark JohnstonIf
3139*872686b1SMark Johnston.Va rtadvd_enable
3140*872686b1SMark Johnstonis set to
3141*872686b1SMark Johnston.Dq Li YES ,
3142*872686b1SMark Johnstonthese are the flags to pass to
3143*872686b1SMark Johnston.Xr rtadvd 8 .
3144c1e3a71eSTom Rhodes.It Va rtadvd_interfaces
3145c1e3a71eSTom Rhodes.Pq Vt str
3146c1e3a71eSTom RhodesIf
3147c1e3a71eSTom Rhodes.Va rtadvd_enable
3148c1e3a71eSTom Rhodesis set to
3149c1e3a71eSTom Rhodes.Dq Li YES
3150c1e3a71eSTom Rhodesthis is the list of interfaces to use.
315134455342SDima Dorfman.It Va arpproxy_all
3152ccec65a5SDima Dorfman.Pq Vt bool
31536d39437fSGuido van RooijIf set to
3154b615e3aaSRuslan Ermilov.Dq Li YES ,
3155b615e3aaSRuslan Ermilovenable global proxy ARP.
315634455342SDima Dorfman.It Va forward_sourceroute
3157ccec65a5SDima Dorfman.Pq Vt bool
31586d39437fSGuido van RooijIf set to
3159b615e3aaSRuslan Ermilov.Dq Li YES
3160b615e3aaSRuslan Ermilovand
316134455342SDima Dorfman.Va gateway_enable
316276a43cd8SJordan K. Hubbardis also set to
3163b615e3aaSRuslan Ermilov.Dq Li YES ,
3164b615e3aaSRuslan Ermilovsource-routed packets are forwarded.
316534455342SDima Dorfman.It Va accept_sourceroute
3166ccec65a5SDima Dorfman.Pq Vt bool
31676d39437fSGuido van RooijIf set to
3168b615e3aaSRuslan Ermilov.Dq Li YES ,
3169b615e3aaSRuslan Ermilovthe system will accept source-routed packets directed at it.
317034455342SDima Dorfman.It Va rarpd_enable
317134455342SDima Dorfman.Pq Vt bool
317234455342SDima DorfmanIf set to
3173b615e3aaSRuslan Ermilov.Dq Li YES ,
3174b615e3aaSRuslan Ermilovrun the
317576a43cd8SJordan K. Hubbard.Xr rarpd 8
317676a43cd8SJordan K. Hubbarddaemon at system boot time.
317734455342SDima Dorfman.It Va rarpd_flags
317834455342SDima Dorfman.Pq Vt str
317934455342SDima DorfmanIf
318034455342SDima Dorfman.Va rarpd_enable
318176a43cd8SJordan K. Hubbardis set to
3182b615e3aaSRuslan Ermilov.Dq Li YES ,
318376a43cd8SJordan K. Hubbardthese are the flags to pass to the
318476a43cd8SJordan K. Hubbard.Xr rarpd 8
318576a43cd8SJordan K. Hubbarddaemon.
3186e99a17fbSGordon Tetlow.It Va bootparamd_enable
3187e99a17fbSGordon Tetlow.Pq Vt bool
3188e99a17fbSGordon TetlowIf set to
3189e99a17fbSGordon Tetlow.Dq Li YES ,
3190e99a17fbSGordon Tetlowrun the
3191e99a17fbSGordon Tetlow.Xr bootparamd 8
3192e99a17fbSGordon Tetlowdaemon at system boot time.
3193e99a17fbSGordon Tetlow.It Va bootparamd_flags
3194e99a17fbSGordon Tetlow.Pq Vt str
3195e99a17fbSGordon TetlowIf
3196e99a17fbSGordon Tetlow.Va bootparamd_enable
3197e99a17fbSGordon Tetlowis set to
3198e99a17fbSGordon Tetlow.Dq Li YES ,
3199e99a17fbSGordon Tetlowthese are the flags to pass to the
3200e99a17fbSGordon Tetlow.Xr bootparamd 8
3201e99a17fbSGordon Tetlowdaemon.
3202c1e3a71eSTom Rhodes.It Va stf_interface_ipv4addr
3203c1e3a71eSTom Rhodes.Pq Vt str
3204c1e3a71eSTom RhodesIf not set to
3205c8185672SRuslan Ermilov.Dq Li NO ,
3206c1e3a71eSTom Rhodesthis is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
3207c1e3a71eSTom Rhodesinterface).
3208c1e3a71eSTom RhodesSpecify this entry to enable the 6to4 interface.
3209c1e3a71eSTom Rhodes.It Va stf_interface_ipv4plen
3210c1e3a71eSTom Rhodes.Pq Vt int
3211c1e3a71eSTom RhodesPrefix length for 6to4 IPv4 addresses, to limit peer address range.
3212c1e3a71eSTom RhodesAn effective value is 0-31.
3213c1e3a71eSTom Rhodes.It Va stf_interface_ipv6_ifid
3214c1e3a71eSTom Rhodes.Pq Vt str
3215c8185672SRuslan ErmilovIPv6 interface ID for
3216c1e3a71eSTom Rhodes.Xr stf 4 .
3217c1e3a71eSTom RhodesThis can be set to
3218c1e3a71eSTom Rhodes.Dq Li AUTO .
3219c1e3a71eSTom Rhodes.It Va stf_interface_ipv6_slaid
3220c1e3a71eSTom Rhodes.Pq Vt str
3221c1e3a71eSTom RhodesIPv6 Site Level Aggregator for
3222c1e3a71eSTom Rhodes.Xr stf 4 .
3223c1e3a71eSTom Rhodes.It Va ipv6_ipv4mapping
3224c1e3a71eSTom Rhodes.Pq Vt bool
3225c1e3a71eSTom RhodesIf set to
3226c1e3a71eSTom Rhodes.Dq Li YES
3227c1e3a71eSTom Rhodesthis enables IPv4 mapped IPv6 address communication (like
3228c8185672SRuslan Ermilov.Li ::ffff:a.b.c.d ) .
3229f443a919SGlen Barber.It Va rtsold_enable
3230f443a919SGlen Barber.Pq Vt bool
3231f443a919SGlen BarberSet to
3232f443a919SGlen Barber.Dq Li YES
3233f443a919SGlen Barberto enable the
3234f443a919SGlen Barber.Xr rtsold 8
3235f443a919SGlen Barberdaemon to send ICMPv6 Router Solicitation messages.
3236f443a919SGlen Barber.It Va rtsold_flags
3237f443a919SGlen Barber.Pq Vt str
3238f443a919SGlen BarberIf
3239f443a919SGlen Barber.Va rtsold_enable
3240f443a919SGlen Barberis set to
3241f443a919SGlen Barber.Dq Li YES ,
3242f443a919SGlen Barberthese are the flags to pass to
3243f443a919SGlen Barber.Xr rtsold 8 .
3244f443a919SGlen Barber.It Va rtsol_flags
3245f443a919SGlen Barber.Pq Vt str
3246f443a919SGlen BarberFor interfaces configured with the
3247f443a919SGlen Barber.Dq Li inet6 accept_rtadv
3248f443a919SGlen Barberkeyword, these are the flags to pass to
3249f443a919SGlen Barber.Xr rtsol 8 .
3250f443a919SGlen Barber.Pp
3251f443a919SGlen BarberNote that
3252f443a919SGlen Barber.Va rtsold_enable
3253f443a919SGlen Barberis mutually exclusive to
3254f443a919SGlen Barber.Va rtsol_flags ;
3255f443a919SGlen Barber.Va rtsold_enable
3256f443a919SGlen Barbertakes precedence.
3257a1ceffbcSGiorgos Keramidas.It Va keybell
3258a1ceffbcSGiorgos Keramidas.Pq Vt str
3259a1ceffbcSGiorgos KeramidasThe keyboard bell sound.
3260a1ceffbcSGiorgos KeramidasSet to
3261a1ceffbcSGiorgos Keramidas.Dq Li normal ,
3262a1ceffbcSGiorgos Keramidas.Dq Li visual ,
3263a1ceffbcSGiorgos Keramidas.Dq Li off ,
3264a1ceffbcSGiorgos Keramidasor
3265a1ceffbcSGiorgos Keramidas.Dq Li NO
3266a1ceffbcSGiorgos Keramidasif the default behavior is desired.
3267a1ceffbcSGiorgos KeramidasFor details, refer to the
3268a1ceffbcSGiorgos Keramidas.Xr kbdcontrol 1
3269a1ceffbcSGiorgos Keramidasmanpage.
3270da640027SBrian Feldman.It Va keyboard
3271da640027SBrian Feldman.Pq Vt str
3272da640027SBrian FeldmanIf set to a non-null string, the virtual console's keyboard input is
3273da640027SBrian Feldmanset to this device.
327434455342SDima Dorfman.It Va keymap
327534455342SDima Dorfman.Pq Vt str
327634455342SDima DorfmanIf set to
3277b615e3aaSRuslan Ermilov.Dq Li NO ,
3278b615e3aaSRuslan Ermilovno keymap is installed, otherwise the value is used to install
3279651045d6SStefan Eßerthe keymap file found in
3280651045d6SStefan Eßer.Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd
3281651045d6SStefan Eßer(if using
3282651045d6SStefan Eßer.Xr syscons 4 ) or
3283651045d6SStefan Eßer.Pa /usr/share/vt/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd
3284651045d6SStefan Eßer(if using
3285651045d6SStefan Eßer.Xr vt 4 ) .
328634455342SDima Dorfman.It Va keyrate
328734455342SDima Dorfman.Pq Vt str
3288b615e3aaSRuslan ErmilovThe keyboard repeat speed.
3289b615e3aaSRuslan ErmilovSet to
3290b615e3aaSRuslan Ermilov.Dq Li slow ,
3291b615e3aaSRuslan Ermilov.Dq Li normal ,
3292b615e3aaSRuslan Ermilov.Dq Li fast ,
3293c58afa56SJordan K. Hubbardor
3294b615e3aaSRuslan Ermilov.Dq Li NO
3295c58afa56SJordan K. Hubbardif the default behavior is desired.
329634455342SDima Dorfman.It Va keychange
329734455342SDima Dorfman.Pq Vt str
329834455342SDima DorfmanIf not set to
3299b615e3aaSRuslan Ermilov.Dq Li NO ,
3300b615e3aaSRuslan Ermilovattempt to program the function keys with the value.
3301b615e3aaSRuslan ErmilovThe value should
3302c58afa56SJordan K. Hubbardbe a single string of the form:
3303b615e3aaSRuslan Ermilov.Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
330434455342SDima Dorfman.It Va cursor
330534455342SDima Dorfman.Pq Vt str
330634455342SDima DorfmanCan be set to the value of
3307b615e3aaSRuslan Ermilov.Dq Li normal ,
3308b615e3aaSRuslan Ermilov.Dq Li blink ,
3309b615e3aaSRuslan Ermilov.Dq Li destructive ,
3310c58afa56SJordan K. Hubbardor
3311b615e3aaSRuslan Ermilov.Dq Li NO
3312c58afa56SJordan K. Hubbardto set the cursor behavior explicitly or choose the default behavior.
331334455342SDima Dorfman.It Va scrnmap
331434455342SDima Dorfman.Pq Vt str
331534455342SDima DorfmanIf set to
3316b615e3aaSRuslan Ermilov.Dq Li NO ,
3317b615e3aaSRuslan Ermilovno screen map is installed, otherwise the value is used to install
3318c58afa56SJordan K. Hubbardthe screen map file in
3319b615e3aaSRuslan Ermilov.Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
3320651045d6SStefan EßerThis parameter is ignored when using
3321651045d6SStefan Eßer.Xr vt 4
3322651045d6SStefan Eßeras the console driver.
332334455342SDima Dorfman.It Va font8x16
332434455342SDima Dorfman.Pq Vt str
332534455342SDima DorfmanIf set to
3326b615e3aaSRuslan Ermilov.Dq Li NO ,
3327b615e3aaSRuslan Ermilovthe default 8x16 font value is used for screen size requests, otherwise
3328c58afa56SJordan K. Hubbardthe value in
3329b615e3aaSRuslan Ermilov.Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3330651045d6SStefan Eßeror
3331651045d6SStefan Eßer.Pa /usr/share/vt/fonts/ Ns Aq Ar value
3332651045d6SStefan Eßeris used (depending on the console driver being used).
333334455342SDima Dorfman.It Va font8x14
333434455342SDima Dorfman.Pq Vt str
333534455342SDima DorfmanIf set to
3336b615e3aaSRuslan Ermilov.Dq Li NO ,
3337b615e3aaSRuslan Ermilovthe default 8x14 font value is used for screen size requests, otherwise
3338c58afa56SJordan K. Hubbardthe value in
3339b615e3aaSRuslan Ermilov.Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3340651045d6SStefan Eßeror
3341651045d6SStefan Eßer.Pa /usr/share/vt/fonts/ Ns Aq Ar value
3342651045d6SStefan Eßeris used (depending on the console driver being used).
334334455342SDima Dorfman.It Va font8x8
334434455342SDima Dorfman.Pq Vt str
334534455342SDima DorfmanIf set to
3346b615e3aaSRuslan Ermilov.Dq Li NO ,
3347b615e3aaSRuslan Ermilovthe default 8x8 font value is used for screen size requests, otherwise
3348c58afa56SJordan K. Hubbardthe value in
3349b615e3aaSRuslan Ermilov.Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3350651045d6SStefan Eßeror
3351651045d6SStefan Eßer.Pa /usr/share/vt/fonts/ Ns Aq Ar value
3352651045d6SStefan Eßeris used (depending on the console driver being used).
335334455342SDima Dorfman.It Va blanktime
335434455342SDima Dorfman.Pq Vt int
335534455342SDima DorfmanIf set to
3356b615e3aaSRuslan Ermilov.Dq Li NO ,
3357b615e3aaSRuslan Ermilovthe default screen blanking interval is used, otherwise it is set
3358c58afa56SJordan K. Hubbardto
3359c58afa56SJordan K. Hubbard.Ar value
3360c58afa56SJordan K. Hubbardseconds.
336134455342SDima Dorfman.It Va saver
336234455342SDima Dorfman.Pq Vt str
336334455342SDima DorfmanIf not set to
3364b615e3aaSRuslan Ermilov.Dq Li NO ,
3365b615e3aaSRuslan Ermilovthis is the actual screen saver to use
3366b615e3aaSRuslan Ermilov.Li ( blank , snake , daemon ,
3367b615e3aaSRuslan Ermilovetc).
336886bade27SMike Makonnen.It Va moused_nondefault_enable
336986bade27SMike Makonnen.Pq Vt str
337086bade27SMike MakonnenIf set to
3371c0854fb7SRuslan Ermilov.Dq Li NO ,
337286bade27SMike Makonnenthe mouse device specified on
337386bade27SMike Makonnenthe command line is not automatically treated as enabled by the
337486bade27SMike Makonnen.Pa /etc/rc.d/moused
337586bade27SMike Makonnenscript.
337686bade27SMike MakonnenHaving this variable set to
337786bade27SMike Makonnen.Dq Li YES
337886bade27SMike Makonnenallows a
337986bade27SMike Makonnen.Xr usb 4
338086bade27SMike Makonnenmouse,
338186bade27SMike Makonnenfor example,
338286bade27SMike Makonnento be enabled as soon as it is plugged in.
338334455342SDima Dorfman.It Va moused_enable
338434455342SDima Dorfman.Pq Vt str
338534455342SDima DorfmanIf set to
3386b615e3aaSRuslan Ermilov.Dq Li YES ,
3387e8ec9207SJordan K. Hubbardthe
3388e8ec9207SJordan K. Hubbard.Xr moused 8
3389e8ec9207SJordan K. Hubbarddaemon is started for doing cut/paste selection on the console.
339034455342SDima Dorfman.It Va moused_type
339134455342SDima Dorfman.Pq Vt str
3392980939b1SDima DorfmanThis is the protocol type of the mouse connected to this host.
3393e8ec9207SJordan K. HubbardThis variable must be set if
339434455342SDima Dorfman.Va moused_enable
3395e8ec9207SJordan K. Hubbardis set to
3396654b1e38SCeri Davies.Dq Li YES ,
3397654b1e38SCeri Daviesbut defaults to
3398654b1e38SCeri Davies.Dq Li auto
3399654b1e38SCeri Daviesas the
34006293b399SJordan K. Hubbard.Xr moused 8
34016293b399SJordan K. Hubbarddaemon
34026293b399SJordan K. Hubbardis able to detect the appropriate mouse type automatically in many cases.
3403bed6a377SDima DorfmanSet this variable to
3404654b1e38SCeri Daviesone from the following list if the automatic detection fails.
3405a676a983SKazutaka YOKOTA.Pp
3406bed6a377SDima DorfmanIf the mouse is attached to the PS/2 mouse port, choose
3407b615e3aaSRuslan Ermilov.Dq Li auto
3408a676a983SKazutaka YOKOTAor
3409b615e3aaSRuslan Ermilov.Dq Li ps/2 ,
3410b615e3aaSRuslan Ermilovregardless of the brand and model of the mouse.
3411b615e3aaSRuslan ErmilovLikewise, if the
3412a676a983SKazutaka YOKOTAmouse is attached to the bus mouse port, choose
3413b615e3aaSRuslan Ermilov.Dq Li auto
3414a676a983SKazutaka YOKOTAor
3415b615e3aaSRuslan Ermilov.Dq Li busmouse .
3416a676a983SKazutaka YOKOTAAll other protocols are for serial mice and will not work with
3417a676a983SKazutaka YOKOTAthe PS/2 and bus mice.
3418bed6a377SDima DorfmanIf this is a USB mouse,
3419b615e3aaSRuslan Ermilov.Dq Li auto
3420bed6a377SDima Dorfmanis the only protocol type which will work.
3421b615e3aaSRuslan Ermilov.Pp
3422b615e3aaSRuslan Ermilov.Bl -tag -width ".Li x10mouseremote" -compact
3423b615e3aaSRuslan Ermilov.It Li microsoft
3424b615e3aaSRuslan ErmilovMicrosoft mouse (serial)
3425b615e3aaSRuslan Ermilov.It Li intellimouse
3426b615e3aaSRuslan ErmilovMicrosoft IntelliMouse (serial)
3427b615e3aaSRuslan Ermilov.It Li mousesystems
34285203edcdSRuslan ErmilovMouse systems Corp.\& mouse (serial)
3429b615e3aaSRuslan Ermilov.It Li mmseries
3430b615e3aaSRuslan ErmilovMM Series mouse (serial)
3431b615e3aaSRuslan Ermilov.It Li logitech
3432b615e3aaSRuslan ErmilovLogitech mouse (serial)
3433b615e3aaSRuslan Ermilov.It Li busmouse
3434b615e3aaSRuslan ErmilovA bus mouse
3435b615e3aaSRuslan Ermilov.It Li mouseman
3436b615e3aaSRuslan ErmilovLogitech MouseMan and TrackMan (serial)
3437b615e3aaSRuslan Ermilov.It Li glidepoint
3438b615e3aaSRuslan ErmilovALPS GlidePoint (serial)
3439b615e3aaSRuslan Ermilov.It Li thinkingmouse
3440b615e3aaSRuslan ErmilovKensington ThinkingMouse (serial)
3441b615e3aaSRuslan Ermilov.It Li ps/2
3442b615e3aaSRuslan ErmilovPS/2 mouse
3443b615e3aaSRuslan Ermilov.It Li mmhittab
3444b615e3aaSRuslan ErmilovMM HitTablet (serial)
3445b615e3aaSRuslan Ermilov.It Li x10mouseremote
3446b615e3aaSRuslan ErmilovX10 MouseRemote (serial)
3447b615e3aaSRuslan Ermilov.It Li versapad
3448b615e3aaSRuslan ErmilovInterlink VersaPad (serial)
3449b615e3aaSRuslan Ermilov.El
345072888a7dSDima Dorfman.Pp
3451bed6a377SDima DorfmanEven if the mouse is not in the above list, it may be compatible
34521111b49cSSheldon Hearnwith one in the list.
3453a1601503SHiten PandyaRefer to the manual page for
34546293b399SJordan K. Hubbard.Xr moused 8
34556293b399SJordan K. Hubbardfor compatibility information.
34566293b399SJordan K. Hubbard.Pp
3457c58afa56SJordan K. HubbardIt should also be noted that while this is enabled, any
3458c58afa56SJordan K. Hubbardother client of the mouse (such as an X server) should access
3459b615e3aaSRuslan Ermilovthe mouse through the virtual mouse device,
3460b615e3aaSRuslan Ermilov.Pa /dev/sysmouse ,
3461b615e3aaSRuslan Ermilovand configure it as a
3462b615e3aaSRuslan Ermilov.Dq Li sysmouse
3463b615e3aaSRuslan Ermilovtype mouse, since all
3464c58afa56SJordan K. Hubbardmouse data is converted to this single canonical format when
3465c58afa56SJordan K. Hubbardusing
3466c58afa56SJordan K. Hubbard.Xr moused 8 .
3467b615e3aaSRuslan ErmilovIf the client program does not support the
3468b615e3aaSRuslan Ermilov.Dq Li sysmouse
3469b615e3aaSRuslan Ermilovtype,
3470b615e3aaSRuslan Ermilovspecify the
3471b615e3aaSRuslan Ermilov.Dq Li mousesystems
3472b615e3aaSRuslan Ermilovtype.
3473dd76c703SKris KennawayIt is the second preferred type.
347434455342SDima Dorfman.It Va moused_port
347534455342SDima Dorfman.Pq Vt str
347634455342SDima DorfmanIf
347734455342SDima Dorfman.Va moused_enable
3478e8ec9207SJordan K. Hubbardis set to
3479b615e3aaSRuslan Ermilov.Dq Li YES ,
3480e8ec9207SJordan K. Hubbardthis is the actual port the mouse is on.
3481c58afa56SJordan K. HubbardIt might be
3482839f11a4SEitan Adler.Pa /dev/cuau0
3483c1cdf6a4SWarner Loshfor a COM1 serial mouse, or
3484c58afa56SJordan K. Hubbard.Pa /dev/psm0
3485c1cdf6a4SWarner Loshfor a PS/2 mouse, for example.
348634455342SDima Dorfman.It Va moused_flags
348734455342SDima Dorfman.Pq Vt str
348834455342SDima DorfmanIf
34894d7537f3SGiorgos Keramidas.Va moused_flags
34904d7537f3SGiorgos Keramidasis set, its value is used as an additional set of flags to pass to the
3491c58afa56SJordan K. Hubbard.Xr moused 8
3492c58afa56SJordan K. Hubbarddaemon.
34934d7537f3SGiorgos Keramidas.It Va "moused_" Ns Ar XXX Ns Va "_flags"
34944d7537f3SGiorgos KeramidasWhen
34954d7537f3SGiorgos Keramidas.Va moused_nondefault_enable
34964d7537f3SGiorgos Keramidasis enabled, and a
34974d7537f3SGiorgos Keramidas.Xr moused 8
34984d7537f3SGiorgos Keramidasdaemon is started for a non-default port, the
34994d7537f3SGiorgos Keramidas.Va "moused_" Ns Ar XXX Ns Va "_flags"
35004d7537f3SGiorgos Keramidasset of options has precedence over and replaces the default
35017b1d17a1SGlen Barber.Va moused_flags
35027b1d17a1SGlen Barber(where
35034d7537f3SGiorgos Keramidas.Ar XXX
35047b1d17a1SGlen Barberis the name of the non-default port, i.e.,\&
35054d7537f3SGiorgos Keramidas.Ar ums0 ) .
35064d7537f3SGiorgos KeramidasBy setting
35074d7537f3SGiorgos Keramidas.Va "moused_" Ns Ar XXX Ns Va "_flags"
35084d7537f3SGiorgos Keramidasit is possible to set up a different set of default flags for each
35094d7537f3SGiorgos Keramidas.Xr moused 8
35104d7537f3SGiorgos Keramidasinstance.
35114d7537f3SGiorgos KeramidasFor example, you can use
35124d7537f3SGiorgos Keramidas.Dq Li "-3"
35134d7537f3SGiorgos Keramidasfor the default
35144d7537f3SGiorgos Keramidas.Va moused_flags
35154d7537f3SGiorgos Keramidasto make your laptop's touchpad more comfortable to use,
35164d7537f3SGiorgos Keramidasbut an empty set of options for
35174d7537f3SGiorgos Keramidas.Va moused_ums0_flags
35184d7537f3SGiorgos Keramidaswhen your
35194d7537f3SGiorgos Keramidas.Xr usb 4
35204d7537f3SGiorgos Keramidasmouse has three or more buttons.
352134455342SDima Dorfman.It Va mousechar_start
352234455342SDima Dorfman.Pq Vt int
352334455342SDima DorfmanIf set to
3524b615e3aaSRuslan Ermilov.Dq Li NO ,
3525b615e3aaSRuslan Ermilovthe default mouse cursor character range
3526b615e3aaSRuslan Ermilov.Li 0xd0 Ns - Ns Li 0xd3
3527b615e3aaSRuslan Ermilovis used,
3528f1930dceSAndrey A. Chernovotherwise the range start is set
35295199f8b8SAndrey A. Chernovto
35305199f8b8SAndrey A. Chernov.Ar value
35315199f8b8SAndrey A. Chernovcharacter, see
35325199f8b8SAndrey A. Chernov.Xr vidcontrol 1 .
3533bed6a377SDima DorfmanUse if the default range is occupied in the language code table.
353434455342SDima Dorfman.It Va allscreens_flags
353534455342SDima Dorfman.Pq Vt str
353634455342SDima DorfmanIf set,
353734ada08bSSheldon Hearn.Xr vidcontrol 1
353834ada08bSSheldon Hearnis run with these options for each of the virtual terminals
353934ada08bSSheldon Hearn.Pq Pa /dev/ttyv* .
354034ada08bSSheldon HearnFor example,
3541b615e3aaSRuslan Ermilov.Dq Fl m Cm on
354234ada08bSSheldon Hearnwill enable the mouse pointer on all virtual terminals
354334ada08bSSheldon Hearnif
354434455342SDima Dorfman.Va moused_enable
354534ada08bSSheldon Hearnis set to
3546b615e3aaSRuslan Ermilov.Dq Li YES .
3547dad32714SDima Dorfman.It Va allscreens_kbdflags
3548dad32714SDima Dorfman.Pq Vt str
3549dad32714SDima DorfmanIf set,
3550dad32714SDima Dorfman.Xr kbdcontrol 1
3551dad32714SDima Dorfmanis run with these options for each of the virtual terminals
3552dad32714SDima Dorfman.Pq Pa /dev/ttyv* .
3553dad32714SDima DorfmanFor example,
3554b615e3aaSRuslan Ermilov.Dq Fl h Li 200
3555dad32714SDima Dorfmanwill set the
3556dad32714SDima Dorfman.Xr syscons 4
3557651045d6SStefan Eßeror
3558651045d6SStefan Eßer.Xr vt 4
3559dad32714SDima Dorfmanscrollback (history) buffer to 200 lines.
356034455342SDima Dorfman.It Va cron_enable
356134455342SDima Dorfman.Pq Vt bool
356234455342SDima DorfmanIf set to
3563b615e3aaSRuslan Ermilov.Dq Li YES ,
3564b615e3aaSRuslan Ermilovrun the
3565c58afa56SJordan K. Hubbard.Xr cron 8
3566c58afa56SJordan K. Hubbarddaemon at system boot time.
356734455342SDima Dorfman.It Va cron_program
356834455342SDima Dorfman.Pq Vt str
35696016261aSDima DorfmanPath to
3570f8c1282aSDoug Barton.Xr cron 8
3571f8c1282aSDoug Barton(default
3572f8c1282aSDoug Barton.Pa /usr/sbin/cron ) .
357334455342SDima Dorfman.It Va cron_flags
357434455342SDima Dorfman.Pq Vt str
35756016261aSDima DorfmanIf
357634455342SDima Dorfman.Va cron_enable
3577f8c1282aSDoug Bartonis set to
3578b615e3aaSRuslan Ermilov.Dq Li YES ,
3579f8c1282aSDoug Bartonthese are the flags to pass to
3580f8c1282aSDoug Barton.Xr cron 8 .
3581fb43f32bSSergey Babkin.It Va cron_dst
3582fb43f32bSSergey Babkin.Pq Vt bool
3583fb43f32bSSergey BabkinIf set to
3584fb43f32bSSergey Babkin.Dq Li YES ,
3585fb43f32bSSergey Babkinenable the special handling of transitions to and from the
3586fb43f32bSSergey BabkinDaylight Saving Time in
3587fb43f32bSSergey Babkin.Xr cron 8
3588fb43f32bSSergey Babkin(equivalent to using the flag
3589fb43f32bSSergey Babkin.Fl s ) .
359034455342SDima Dorfman.It Va lpd_program
359134455342SDima Dorfman.Pq Vt str
35926016261aSDima DorfmanPath to
3593dff53a61SJames FitzGibbon.Xr lpd 8
3594dff53a61SJames FitzGibbon(default
3595dff53a61SJames FitzGibbon.Pa /usr/sbin/lpd ) .
359634455342SDima Dorfman.It Va lpd_enable
359734455342SDima Dorfman.Pq Vt bool
359834455342SDima DorfmanIf set to
3599b615e3aaSRuslan Ermilov.Dq Li YES ,
3600b615e3aaSRuslan Ermilovrun the
3601c58afa56SJordan K. Hubbard.Xr lpd 8
3602c58afa56SJordan K. Hubbarddaemon at system boot time.
360334455342SDima Dorfman.It Va lpd_flags
360434455342SDima Dorfman.Pq Vt str
360534455342SDima DorfmanIf
360634455342SDima Dorfman.Va lpd_enable
3607c58afa56SJordan K. Hubbardis set to
3608b615e3aaSRuslan Ermilov.Dq Li YES ,
3609c58afa56SJordan K. Hubbardthese are the flags to pass to the
3610c58afa56SJordan K. Hubbard.Xr lpd 8
3611c58afa56SJordan K. Hubbarddaemon.
3612b2d18dadSBrooks Davis.It Va chkprintcap_enable
3613b2d18dadSBrooks Davis.Pq Vt bool
3614b2d18dadSBrooks DavisIf set to
3615b2d18dadSBrooks Davis.Dq Li YES ,
3616b2d18dadSBrooks Davisrun the
3617b2d18dadSBrooks Davis.Xr chkprintcap 8
3618b2d18dadSBrooks Daviscommand before starting the
3619b2d18dadSBrooks Davis.Xr lpd 8
3620b2d18dadSBrooks Davisdaemon.
3621b2d18dadSBrooks Davis.It Va chkprintcap_flags
3622b2d18dadSBrooks Davis.Pq Vt str
3623b2d18dadSBrooks DavisIf
3624b2d18dadSBrooks Davis.Va lpd_enable
3625b2d18dadSBrooks Davisand
3626b2d18dadSBrooks Davis.Va chkprintcap_enable
3627b2d18dadSBrooks Davisare set to
3628b2d18dadSBrooks Davis.Dq Li YES ,
3629b2d18dadSBrooks Davisthese are the flags to pass to the
3630b2d18dadSBrooks Davis.Xr chkprintcap 8
3631b2d18dadSBrooks Davisprogram.
3632b2d18dadSBrooks DavisThe default is
3633b2d18dadSBrooks Davis.Dq Li -d ,
3634b2d18dadSBrooks Daviswhich causes missing directories to be created.
363534455342SDima Dorfman.It Va dumpdev
363634455342SDima Dorfman.Pq Vt str
36374a7fc813SDag-Erling SmørgravIndicates the device (usually a swap partition) to which a crash dump
36384a7fc813SDag-Erling Smørgravshould be written in the event of a system crash.
3639d3797745SDag-Erling SmørgravIf the value of this variable is
3640d3797745SDag-Erling Smørgrav.Dq Li AUTO ,
3641d3797745SDag-Erling Smørgravthe first suitable swap device listed in
3642d3797745SDag-Erling Smørgrav.Pa /etc/fstab
3643d3797745SDag-Erling Smørgravwill be used as dump device.
3644d3797745SDag-Erling SmørgravOtherwise, the value of this variable is passed as the argument to
364581884a24SAlan Somers.Xr dumpon 8
364681884a24SAlan Somersand
364781884a24SAlan Somers.Xr savecore 8 .
36484a7fc813SDag-Erling SmørgravTo disable crash dumps, set this variable to
3649b615e3aaSRuslan Ermilov.Dq Li NO .
365064a16434SMark Johnston.It Va dumpon_flags
365164a16434SMark Johnston.Pq Vt str
365264a16434SMark JohnstonFlags to pass to
365364a16434SMark Johnston.Xr dumpon 8
365464a16434SMark Johnstonwhen configuring
365564a16434SMark Johnston.Va dumpdev
365664a16434SMark Johnstonas the system dump device.
36574a7fc813SDag-Erling Smørgrav.It Va dumpdir
36584a7fc813SDag-Erling Smørgrav.Pq Vt str
36594a7fc813SDag-Erling SmørgravWhen the system reboots after a crash and a crash dump is found on the
36604a7fc813SDag-Erling Smørgravdevice specified by the
36614a7fc813SDag-Erling Smørgrav.Va dumpdev
36624a7fc813SDag-Erling Smørgravvariable,
36639c6fde3cSSheldon Hearn.Xr savecore 8
36644a7fc813SDag-Erling Smørgravwill save that crash dump and a copy of the kernel to the directory
36654a7fc813SDag-Erling Smørgravspecified by the
36664a7fc813SDag-Erling Smørgrav.Va dumpdir
36674a7fc813SDag-Erling Smørgravvariable.
36684a7fc813SDag-Erling SmørgravThe default value is
3669b615e3aaSRuslan Ermilov.Pa /var/crash .
36701e1d5984SCrist J. ClarkSet to
3671b615e3aaSRuslan Ermilov.Dq Li NO
36721e1d5984SCrist J. Clarkto not run
36731e1d5984SCrist J. Clark.Xr savecore 8
36741e1d5984SCrist J. Clarkat boot time when
36751e1d5984SCrist J. Clark.Va dumpdir
36761e1d5984SCrist J. Clarkis set.
36777f5ddefeSBaptiste Daroussin.It Va savecore_enable
36787f5ddefeSBaptiste Daroussin.Pq Vt bool
36797f5ddefeSBaptiste DaroussinIf set to
36807f5ddefeSBaptiste Daroussin.Dq Li NO ,
36817f5ddefeSBaptiste Daroussindisable automatic extraction of the crash dump from the
36827f5ddefeSBaptiste Daroussin.Va dumpdev .
3683b3e9028cSGiorgos Keramidas.It Va savecore_flags
3684b3e9028cSGiorgos Keramidas.Pq Vt str
3685b3e9028cSGiorgos KeramidasIf crash dumps are enabled, these are the flags to pass to the
3686b3e9028cSGiorgos Keramidas.Xr savecore 8
3687b3e9028cSGiorgos Keramidasutility.
368844c80094SSimon L. B. Nielsen.It Va quota_enable
368905c1a268SDima Dorfman.Pq Vt bool
369005c1a268SDima DorfmanSet to
3691b615e3aaSRuslan Ermilov.Dq Li YES
3692781cf91bSMike Pritchardto turn on user and group disk quotas on system startup via the
369305c1a268SDima Dorfman.Xr quotaon 8
3694781cf91bSMike Pritchardcommand for all file systems marked as having quotas enabled in
3695781cf91bSMike Pritchard.Pa /etc/fstab .
3696781cf91bSMike PritchardThe kernel must be built with
3697781cf91bSMike Pritchard.Cd "options QUOTA"
3698781cf91bSMike Pritchardfor disk quotas to function.
369934455342SDima Dorfman.It Va check_quotas
370034455342SDima Dorfman.Pq Vt bool
370134455342SDima DorfmanSet to
3702b615e3aaSRuslan Ermilov.Dq Li YES
3703781cf91bSMike Pritchardto enable user and group disk quota checking via the
3704c58afa56SJordan K. Hubbard.Xr quotacheck 8
3705c58afa56SJordan K. Hubbardcommand.
3706781cf91bSMike Pritchard.It Va quotacheck_flags
3707781cf91bSMike Pritchard.Pq Vt str
3708781cf91bSMike PritchardIf
370944c80094SSimon L. B. Nielsen.Va quota_enable
3710781cf91bSMike Pritchardis set to
3711781cf91bSMike Pritchard.Dq Li YES ,
3712781cf91bSMike Pritchardand
3713781cf91bSMike Pritchard.Va check_quotas
3714781cf91bSMike Pritchardis set to
3715781cf91bSMike Pritchard.Dq Li YES ,
3716781cf91bSMike Pritchardthese are the flags to pass to the
3717781cf91bSMike Pritchard.Xr quotacheck 8
3718781cf91bSMike Pritchardutility.
3719781cf91bSMike PritchardThe default is
3720781cf91bSMike Pritchard.Dq Li "-a" ,
3721781cf91bSMike Pritchardwhich checks quotas for all file systems with quotas enabled in
3722781cf91bSMike Pritchard.Pa /etc/fstab .
3723781cf91bSMike Pritchard.It Va quotaon_flags
3724781cf91bSMike Pritchard.Pq Vt str
3725781cf91bSMike PritchardIf
372644c80094SSimon L. B. Nielsen.Va quota_enable
3727781cf91bSMike Pritchardis set to
3728781cf91bSMike Pritchard.Dq Li YES ,
3729781cf91bSMike Pritchardthese are the flags to pass to the
3730781cf91bSMike Pritchard.Xr quotaon 8
3731781cf91bSMike Pritchardutility.
3732781cf91bSMike PritchardThe default is
3733781cf91bSMike Pritchard.Dq Li "-a" ,
3734781cf91bSMike Pritchardwhich enables quotas for all file systems with quotas enabled in
3735781cf91bSMike Pritchard.Pa /etc/fstab .
3736781cf91bSMike Pritchard.It Va quotaoff_flags
3737781cf91bSMike Pritchard.Pq Vt str
3738781cf91bSMike PritchardIf
373944c80094SSimon L. B. Nielsen.Va quota_enable
3740781cf91bSMike Pritchardis set to
3741781cf91bSMike Pritchard.Dq Li YES ,
3742781cf91bSMike Pritchardthese are the flags to pass to the
3743781cf91bSMike Pritchard.Xr quotaoff 8
3744781cf91bSMike Pritchardutility when shutting down the quota system.
3745781cf91bSMike PritchardThe default is
3746781cf91bSMike Pritchard.Dq Li "-a" ,
3747781cf91bSMike Pritchardwhich disables quotas for all file systems with quotas enabled in
3748781cf91bSMike Pritchard.Pa /etc/fstab .
374934455342SDima Dorfman.It Va accounting_enable
375034455342SDima Dorfman.Pq Vt bool
375134455342SDima DorfmanSet to
3752b615e3aaSRuslan Ermilov.Dq Li YES
3753bed6a377SDima Dorfmanto enable system accounting through the
3754c58afa56SJordan K. Hubbard.Xr accton 8
3755c58afa56SJordan K. Hubbardfacility.
3756cabad264SColin Percival.It Va firstboot_sentinel
3757cabad264SColin Percival.Pq Vt str
3758cabad264SColin PercivalThis variable specifies the full path to a
3759cabad264SColin Percival.Dq first boot
3760cabad264SColin Percivalsentinel file.
3761cabad264SColin PercivalIf a file exists with this path,
3762cabad264SColin Percival.Pa rc.d
3763cabad264SColin Percivalscripts with the
3764cabad264SColin Percival.Dq firstboot
3765cabad264SColin Percivalkeyword will be run on startup and the sentinel file will be deleted
3766cabad264SColin Percivalafter the boot process completes.
3767cabad264SColin PercivalThe sentinel file must be located on a writable file system which is
3768cabad264SColin Percivalmounted no later than
3769cabad264SColin Percival.Va early_late_divider
3770cabad264SColin Percivalto function properly.
3771cabad264SColin PercivalThe default is
3772cabad264SColin Percival.Pa /firstboot .
377334455342SDima Dorfman.It Va linux_enable
377434455342SDima Dorfman.Pq Vt bool
377534455342SDima DorfmanSet to
3776b615e3aaSRuslan Ermilov.Dq Li YES
3777bed6a377SDima Dorfmanto enable Linux/ELF binary emulation at system initial
3778c58afa56SJordan K. Hubbardboot time.
3779c1e3a71eSTom Rhodes.It Va sysvipc_enable
3780c1e3a71eSTom Rhodes.Pq Vt bool
3781c1e3a71eSTom RhodesIf set to
3782c8185672SRuslan Ermilov.Dq Li YES ,
3783c1e3a71eSTom Rhodesload System V IPC primitives at boot time.
378434455342SDima Dorfman.It Va clear_tmp_enable
378534455342SDima Dorfman.Pq Vt bool
378634455342SDima DorfmanSet to
3787b615e3aaSRuslan Ermilov.Dq Li YES
3788bed6a377SDima Dorfmanto have
37890c96ca09SSteve Price.Pa /tmp
3790bed6a377SDima Dorfmancleaned at startup.
3791aa5affafSDoug Barton.It Va clear_tmp_X
3792aa5affafSDoug Barton.Pq Vt bool
3793aa5affafSDoug BartonSet to
3794aa5affafSDoug Barton.Dq Li NO
3795aa5affafSDoug Bartonto disable removing of X11 lock files,
3796aa5affafSDoug Bartonand the removal and (secure) recreation
3797aa5affafSDoug Bartonof the various socket directories for X11
3798aa5affafSDoug Bartonrelated programs.
379934455342SDima Dorfman.It Va ldconfig_paths
380034455342SDima Dorfman.Pq Vt str
380134455342SDima DorfmanSet to the list of shared library paths to use with
3802936b0c30SSteve Price.Xr ldconfig 8 .
3803936b0c30SSteve PriceNOTE:
38047465a290SMateusz Piotrowski.Pa /lib
38057465a290SMateusz Piotrowskiand
3806936b0c30SSteve Price.Pa /usr/lib
38077465a290SMateusz Piotrowskiwill always be added first, so they need not appear in this list.
380882d95a96SMatteo Riondato.It Va ldconfig32_paths
380982d95a96SMatteo Riondato.Pq Vt str
3810d98c0125SMatteo RiondatoSet to the list of 32-bit compatibility shared library paths to
381182d95a96SMatteo Riondatouse with
381282d95a96SMatteo Riondato.Xr ldconfig 8 .
381334455342SDima Dorfman.It Va ldconfig_insecure
381434455342SDima Dorfman.Pq Vt bool
381534455342SDima DorfmanThe
381630a77b76SJohn Polstra.Xr ldconfig 8
381730a77b76SJohn Polstrautility normally refuses to use directories
3818297bb906SJohn Polstrawhich are writable by anyone except root.
3819297bb906SJohn PolstraSet this variable to
3820b615e3aaSRuslan Ermilov.Dq Li YES
3821bed6a377SDima Dorfmanto disable that security check during system startup.
3822dfdae553SDoug Barton.It Va ldconfig_local_dirs
3823dfdae553SDoug Barton.Pq Vt str
3824dfdae553SDoug BartonSet to the list of local
3825dfdae553SDoug Barton.Xr ldconfig 8
3826dfdae553SDoug Bartondirectories.
3827dfdae553SDoug BartonThe names of all files in the directories listed will be
3828dfdae553SDoug Bartonpassed as arguments to
3829dfdae553SDoug Barton.Xr ldconfig 8 .
3830dfdae553SDoug Barton.It Va ldconfig_local32_dirs
3831dfdae553SDoug Barton.Pq Vt str
3832dfdae553SDoug BartonSet to the list of local 32-bit compatibility
3833dfdae553SDoug Barton.Xr ldconfig 8
3834dfdae553SDoug Bartondirectories.
3835dfdae553SDoug BartonThe names of all files in the directories listed will be
3836dfdae553SDoug Bartonpassed as arguments to
383781ae4b8dSRuslan Ermilov.Dq Nm ldconfig Fl 32 .
383834455342SDima Dorfman.It Va kern_securelevel_enable
383934455342SDima Dorfman.Pq Vt bool
384034455342SDima DorfmanSet to
3841b615e3aaSRuslan Ermilov.Dq Li YES
3842bed6a377SDima Dorfmanto set the kernel security level at system startup.
384334455342SDima Dorfman.It Va kern_securelevel
384434455342SDima Dorfman.Pq Vt int
384534455342SDima DorfmanThe kernel security level to set at startup.
3846606acacaSJoseph KoshyThe allowed range of
3847606acacaSJoseph Koshy.Ar value
3848b615e3aaSRuslan Ermilovranges from \-1 (the compile time default) to 3 (the
3849b615e3aaSRuslan Ermilovmost secure).
3850b615e3aaSRuslan ErmilovSee
3851cd79fc03SGiorgos Keramidas.Xr security 7
3852606acacaSJoseph Koshyfor the list of possible security levels and their effect
3853606acacaSJoseph Koshyon system operation.
385434455342SDima Dorfman.It Va sshd_program
385534455342SDima Dorfman.Pq Vt str
385634455342SDima DorfmanPath to the SSH server program
3857c4d9468eSRuslan Ermilov.Pa ( /usr/sbin/sshd
3858c4d9468eSRuslan Ermilovis the default).
385934455342SDima Dorfman.It Va sshd_enable
386034455342SDima Dorfman.Pq Vt bool
386134455342SDima DorfmanSet to
3862b615e3aaSRuslan Ermilov.Dq Li YES
3863bed6a377SDima Dorfmanto start
386483734e47SJeroen Ruigrok van der Werven.Xr sshd 8
386583734e47SJeroen Ruigrok van der Wervenat system boot time.
3866cb57f50eSAlexander LeidingerNote, the
3867cb57f50eSAlexander Leidinger.Va sshd_oomprotect
3868cb57f50eSAlexander Leidingervariable is set to
3869cb57f50eSAlexander Leidinger.Dq Li YES
3870cb57f50eSAlexander Leidingerby default in
3871cb57f50eSAlexander Leidinger.Pa /etc/defaults/rc.conf .
387234455342SDima Dorfman.It Va sshd_flags
387334455342SDima Dorfman.Pq Vt str
387434455342SDima DorfmanIf
387534455342SDima Dorfman.Va sshd_enable
387683734e47SJeroen Ruigrok van der Wervenis set to
3877b615e3aaSRuslan Ermilov.Dq Li YES ,
387883734e47SJeroen Ruigrok van der Werventhese are the flags to pass to the
387983734e47SJeroen Ruigrok van der Werven.Xr sshd 8
388083734e47SJeroen Ruigrok van der Wervendaemon.
388124c307eaSYaroslav Tykhiy.It Va ftpd_program
388224c307eaSYaroslav Tykhiy.Pq Vt str
388324c307eaSYaroslav TykhiyPath to the FTP server program
388424c307eaSYaroslav Tykhiy.Pa ( /usr/libexec/ftpd
388524c307eaSYaroslav Tykhiyis the default).
388624c307eaSYaroslav Tykhiy.It Va ftpd_enable
388724c307eaSYaroslav Tykhiy.Pq Vt bool
388824c307eaSYaroslav TykhiySet to
388924c307eaSYaroslav Tykhiy.Dq Li YES
389024c307eaSYaroslav Tykhiyto start
389124c307eaSYaroslav Tykhiy.Xr ftpd 8
389224c307eaSYaroslav Tykhiyas a stand-alone daemon at system boot time.
389324c307eaSYaroslav Tykhiy.It Va ftpd_flags
389424c307eaSYaroslav Tykhiy.Pq Vt str
389524c307eaSYaroslav TykhiyIf
389624c307eaSYaroslav Tykhiy.Va ftpd_enable
389724c307eaSYaroslav Tykhiyis set to
389824c307eaSYaroslav Tykhiy.Dq Li YES ,
389924c307eaSYaroslav Tykhiythese are the additional flags to pass to the
390024c307eaSYaroslav Tykhiy.Xr ftpd 8
390124c307eaSYaroslav Tykhiydaemon.
3902dbfaa8c5SSean Kelly.It Va watchdogd_enable
3903dbfaa8c5SSean Kelly.Pq Vt bool
3904dbfaa8c5SSean KellyIf set to
3905dbfaa8c5SSean Kelly.Dq Li YES ,
3906dbfaa8c5SSean Kellystart the
3907dbfaa8c5SSean Kelly.Xr watchdogd 8
3908dbfaa8c5SSean Kellydaemon at boot time.
3909a8abffedSSimon L. B. NielsenThis requires that the kernel have been compiled with a
3910a8abffedSSimon L. B. Nielsen.Xr watchdog 4
3911a8abffedSSimon L. B. Nielsencompatible device.
3912a8abffedSSimon L. B. Nielsen.It Va watchdogd_flags
3913a8abffedSSimon L. B. Nielsen.Pq Vt str
3914a8abffedSSimon L. B. NielsenIf
3915a8abffedSSimon L. B. Nielsen.Va watchdogd_enable
3916a8abffedSSimon L. B. Nielsenis set to
3917a8abffedSSimon L. B. Nielsen.Dq Li YES ,
3918a8abffedSSimon L. B. Nielsenthese are the flags passed to the
3919a8abffedSSimon L. B. Nielsen.Xr watchdogd 8
3920a8abffedSSimon L. B. Nielsendaemon.
39215fda0d60SAndriy Gapon.It Va watchdogd_timeout
39225fda0d60SAndriy Gapon.Pq Vt int
39235fda0d60SAndriy GaponIf
39245fda0d60SAndriy Gapon.Va watchdogd_enable
39255fda0d60SAndriy Gaponis set to
39265fda0d60SAndriy Gapon.Dq Li YES ,
39275fda0d60SAndriy Gaponthis is a timeout that will be used by the
39285fda0d60SAndriy Gapon.Xr watchdogd 8
39295fda0d60SAndriy Gapondaemon.
39305fda0d60SAndriy GaponIf this option is set, it overrides
39315fda0d60SAndriy Gapon.Fl t
39325fda0d60SAndriy Gaponin
39335fda0d60SAndriy Gapon.Va watchdogd_flags .
39345fda0d60SAndriy Gapon.It Va watchdogd_shutdown_timeout
39355fda0d60SAndriy Gapon.Pq Vt int
39365fda0d60SAndriy GaponIf
39375fda0d60SAndriy Gapon.Va watchdogd_enable
39385fda0d60SAndriy Gaponis set to
39395fda0d60SAndriy Gapon.Dq Li YES ,
39405fda0d60SAndriy Gaponthis is a timeout that will be set by the
39415fda0d60SAndriy Gapon.Xr watchdogd 8
39425fda0d60SAndriy Gapondaemon when it exits during the system shutdown.
39435fda0d60SAndriy GaponThis timeout will not be set when returning to the single-user mode
39445fda0d60SAndriy Gaponor when the watchdogd service is stopped individually using the
39455fda0d60SAndriy Gapon.Xr service 8
39465fda0d60SAndriy Gaponcommand or the rc.d script.
39475fda0d60SAndriy GaponNote that the timeout will be applied if
39485fda0d60SAndriy Gapon.Xr watchdogd 8
39495fda0d60SAndriy Gaponis stopped outside of
39505fda0d60SAndriy Gapon.Xr rc 8
39515fda0d60SAndriy Gaponframework.
39525fda0d60SAndriy GaponIf this option is set, it overrides
39535fda0d60SAndriy Gapon.Fl x
39545fda0d60SAndriy Gaponin
39555fda0d60SAndriy Gapon.Va watchdogd_flags .
395695208e20SDoug Barton.It Va devfs_rulesets
395795208e20SDoug Barton.Pq Vt str
395895208e20SDoug BartonList of files containing sets of rules for
395995208e20SDoug Barton.Xr devfs 8 .
396095208e20SDoug Barton.It Va devfs_system_ruleset
396195208e20SDoug Barton.Pq Vt str
396295208e20SDoug BartonRule name(s) to apply to the system
396395208e20SDoug Barton.Pa /dev
396495208e20SDoug Bartonitself.
396595208e20SDoug Barton.It Va devfs_set_rulesets
396695208e20SDoug Barton.Pq Vt str
396795208e20SDoug BartonPairs of already-mounted
396895208e20SDoug Barton.Pa dev
396995208e20SDoug Bartondirectories and rulesets that should be applied to them.
397095208e20SDoug BartonFor example: /mount/dev=ruleset_name
397195208e20SDoug Barton.It Va devfs_load_rulesets
397295208e20SDoug Barton.Pq Vt bool
397395208e20SDoug BartonIf set, always load the default rulesets listed in
397495208e20SDoug Barton.Va devfs_rulesets .
3975af952b36SNate Lawson.It Va performance_cx_lowest
3976af952b36SNate Lawson.Pq Vt str
3977af952b36SNate LawsonCPU idle state to use while on AC power.
3978af952b36SNate LawsonThe string
3979af952b36SNate Lawson.Dq Li LOW
3980af952b36SNate Lawsonindicates that
3981af952b36SNate Lawson.Xr acpi 4
3982af952b36SNate Lawsonshould use the lowest power state available while
3983af952b36SNate Lawson.Dq Li HIGH
3984af952b36SNate Lawsonindicates that the lowest latency state (less power savings) should be used.
3985f4e8f997SNate Lawson.It Va performance_cpu_freq
3986af952b36SNate Lawson.Pq Vt str
3987f4e8f997SNate LawsonCPU clock frequency to use while on AC power.
3988af952b36SNate LawsonThe string
3989af952b36SNate Lawson.Dq Li LOW
3990af952b36SNate Lawsonindicates that
3991f4e8f997SNate Lawson.Xr cpufreq 4
3992f4e8f997SNate Lawsonshould use the lowest frequency available while
3993af952b36SNate Lawson.Dq Li HIGH
3994f4e8f997SNate Lawsonindicates that the highest frequency (less power savings) should be used.
3995af952b36SNate Lawson.It Va economy_cx_lowest
3996af952b36SNate Lawson.Pq Vt str
3997af952b36SNate LawsonCPU idle state to use when off AC power.
3998af952b36SNate LawsonThe string
3999af952b36SNate Lawson.Dq Li LOW
4000af952b36SNate Lawsonindicates that
4001af952b36SNate Lawson.Xr acpi 4
4002af952b36SNate Lawsonshould use the lowest power state available while
4003af952b36SNate Lawson.Dq Li HIGH
4004af952b36SNate Lawsonindicates that the lowest latency state (less power savings) should be used.
4005f4e8f997SNate Lawson.It Va economy_cpu_freq
4006f4e8f997SNate Lawson.Pq Vt str
4007f4e8f997SNate LawsonCPU clock frequency to use when off AC power.
4008f4e8f997SNate LawsonThe string
4009f4e8f997SNate Lawson.Dq Li LOW
4010f4e8f997SNate Lawsonindicates that
4011f4e8f997SNate Lawson.Xr cpufreq 4
4012f4e8f997SNate Lawsonshould use the lowest frequency available while
4013f4e8f997SNate Lawson.Dq Li HIGH
4014f4e8f997SNate Lawsonindicates that the highest frequency (less power savings) should be used.
4015600b2079SMike Makonnen.It Va jail_enable
4016600b2079SMike Makonnen.Pq Vt bool
4017600b2079SMike MakonnenIf set to
4018600b2079SMike Makonnen.Dq Li NO ,
4019600b2079SMike Makonnenany configured jails will not be started.
402084b354cbSHiroki Sato.It Va jail_conf
402184b354cbSHiroki Sato.Pq Vt str
402284b354cbSHiroki SatoThe configuration filename used by
402384b354cbSHiroki Sato.Xr jail 8
402484b354cbSHiroki Satoutility.
402584b354cbSHiroki SatoThe default value is
402684b354cbSHiroki Sato.Pa /etc/jail.conf .
4027b7961dbaSMateusz Piotrowski.Pa /etc/jail\&. Ns Ao Va jname Ac Ns Pa .conf
40287955efd5SAntranig Vartanianand
4029ce95864fSWarner Losh.Pa /etc/jail.conf.d/ Ns Ao Va jname Ac Ns Pa .conf
40307955efd5SAntranig Vartanianwill also be used if
4031ce95864fSWarner Losh.Ao Va jname Ac
40327955efd5SAntranig Vartanianis set in
40337955efd5SAntranig Vartanian.Va jail_list .
403427e50fccSGlen Barber.It Va jail_parallel_start
4035333fb1c9SAlexander Leidinger.Pq Vt bool
4036333fb1c9SAlexander LeidingerIf set to
403727e50fccSGlen Barber.Dq Li YES ,
403827e50fccSGlen Barberall configured jails will be started in the background (in parallel).
403984b354cbSHiroki Sato.It Va jail_flags
404084b354cbSHiroki Sato.Pq Vt str
404184b354cbSHiroki SatoUnset by default.
404284b354cbSHiroki SatoWhen set, use as default value for
404384b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _flags
404484b354cbSHiroki Satofor every jail in
404584b354cbSHiroki Sato.Va jail_list .
4046600b2079SMike Makonnen.It Va jail_list
4047600b2079SMike Makonnen.Pq Vt str
404802686fb8SMark FelderA space-delimited list of jail names.
404902686fb8SMark FelderWhen left empty, all of the
405084b354cbSHiroki Sato.Xr jail 8
405102686fb8SMark Felderinstances defined in the configuration file are started.
405202686fb8SMark FelderThe names specified in this list control the jail startup order.
405302686fb8SMark Felder.Xr jail 8
405402686fb8SMark Felderinstances missing from
405502686fb8SMark Felder.Va jail_list
405602686fb8SMark Feldermust be started manually.
4057ab9604e1SJamie GrittonNote that a jail's
4058ab9604e1SJamie Gritton.Va depend
4059ab9604e1SJamie Grittonparameter in the configuration file may override this list.
406002686fb8SMark Felder.It Va jail_reverse_stop
406102686fb8SMark Felder.Pq Vt bool
406202686fb8SMark FelderWhen set to
406302686fb8SMark Felder.Dq Li YES ,
406402686fb8SMark Felderall configured jails in
406502686fb8SMark Felder.Va jail_list
406602686fb8SMark Felderare stopped in reverse order.
4067efc7180bSMateusz Piotrowski.It Va jail_ Ns * variables
406884b354cbSHiroki SatoNote that older releases supported per-jail configuration via
406916e36754SEdward Tomasz Napierala.Nm
407084b354cbSHiroki Satovariables.
407184b354cbSHiroki SatoFor example,
407284b354cbSHiroki Satohostname of a jail named
407384b354cbSHiroki Sato.Li vjail
407484b354cbSHiroki Satowas able to be set by
407584b354cbSHiroki Sato.Li jail_vjail_hostname .
407684b354cbSHiroki SatoThese per-jail configuration variables are now obsolete in favor of
40776272779bSJeremie Le Hen.Xr jail 8
407884b354cbSHiroki Satoconfiguration file.
407984b354cbSHiroki SatoFor backward compatibility,
408084b354cbSHiroki Satowhen per-jail configuration variables are defined,
408184b354cbSHiroki Sato.Xr jail 8
408284b354cbSHiroki Satoconfiguration files are created as
408384b354cbSHiroki Sato.Pa /var/run/jail . Ns Ao Ar jname Ac Ns Pa .conf
408484b354cbSHiroki Satoand used.
408584b354cbSHiroki Sato.Pp
408684b354cbSHiroki SatoThe following per-jail parameters are handled by
40876272779bSJeremie Le Hen.Pa rc.d/jail
40886272779bSJeremie Le Henscript out of their corresponding
40896272779bSJeremie Le Hen.Nm
409084b354cbSHiroki Satovariables.
409184b354cbSHiroki SatoIn addition to them, parameters in
409284b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _parameters
409384b354cbSHiroki Satowill be added to the configuration file.
409484b354cbSHiroki SatoThey must be a semi-colon
409584b354cbSHiroki Sato.Pq Ql \&;
409684b354cbSHiroki Satodelimited list of
409784b354cbSHiroki Sato.Dq key=value .
409884b354cbSHiroki SatoFor more details,
409984b354cbSHiroki Satosee
410084b354cbSHiroki Sato.Xr jail 8
410184b354cbSHiroki Satomanual page.
41026272779bSJeremie Le Hen.Bl  -tag -width "host.hostname" -offset indent
41036272779bSJeremie Le Hen.It Li path
41046272779bSJeremie Le Henset from
41056272779bSJeremie Le Hen.Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
41066272779bSJeremie Le Hen.It Li host.hostname
41076272779bSJeremie Le Henset from
41086272779bSJeremie Le Hen.Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
410984b354cbSHiroki Sato.It Li exec.consolelog
41106272779bSJeremie Le Henset from
411184b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _consolelog .
411284b354cbSHiroki SatoThe default value is
4113356913f5SMateusz Piotrowski.Pa /var/log/jail_ Ns Ao Ar jname Ac Ns Pa _console.log .
411484b354cbSHiroki Sato.It Li interface
411584b354cbSHiroki Satoset from
411684b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _interface .
411784b354cbSHiroki Sato.It Li vnet.interface
411884b354cbSHiroki Satoset from
411984b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _vnet_interface .
412084b354cbSHiroki SatoThis implies
412184b354cbSHiroki Sato.Li vnet
412284b354cbSHiroki Satoparameter will be enabled and cannot be specified with
412384b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _interface ,
412484b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _ip
412584b354cbSHiroki Satoand/or
412684b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
412784b354cbSHiroki Satoat the same time.
412884b354cbSHiroki Sato.It Li fstab
412984b354cbSHiroki Satoset from
413084b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
413184b354cbSHiroki Sato.It Li mount
413284b354cbSHiroki Satoset from
413384b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable .
413484b354cbSHiroki Sato.It Li exec.fib
413584b354cbSHiroki Satoset from
413684b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _fib
413784b354cbSHiroki Sato.It Li exec.start
413884b354cbSHiroki Satoset from
413984b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start .
414084b354cbSHiroki SatoThe parameter name was
414184b354cbSHiroki Sato.Li command
414284b354cbSHiroki Satoin some older releases.
414384b354cbSHiroki Sato.It Li exec.prestart
414484b354cbSHiroki Satoset from
414584b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestart
414684b354cbSHiroki Sato.It Li exec.poststart
414784b354cbSHiroki Satoset from
414884b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststart
414984b354cbSHiroki Sato.It Li exec.stop
415084b354cbSHiroki Satoset from
415184b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
415284b354cbSHiroki Sato.It Li exec.prestop
415384b354cbSHiroki Satoset from
415484b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestop
415584b354cbSHiroki Sato.It Li exec.poststop
415684b354cbSHiroki Satoset from
415784b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststop
41586272779bSJeremie Le Hen.It Li ip4.addr
41596272779bSJeremie Le Henset if
41606272779bSJeremie Le Hen.Va jail_ Ns Ao Ar jname Ac Ns Va _ip
416184b354cbSHiroki Satoor
416284b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
416384b354cbSHiroki Satocontain IPv4 addresses
41646272779bSJeremie Le Hen.It Li ip6.addr
41656272779bSJeremie Le Henset if
41668154af81SBjoern A. Zeeb.Va jail_ Ns Ao Ar jname Ac Ns Va _ip
416784b354cbSHiroki Satoor
416884b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
416984b354cbSHiroki Satocontain IPv6 addresses
417084b354cbSHiroki Sato.It Li allow.mount
417184b354cbSHiroki Satoset from
417284b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
417384b354cbSHiroki Sato.It Li mount.devfs
417484b354cbSHiroki Satoset from
417584b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
417684b354cbSHiroki Sato.It Li devfs_ruleset
417784b354cbSHiroki Satoset from
417884b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset .
417984b354cbSHiroki SatoThis must be an integer,
418084b354cbSHiroki Satonot a string.
4181fbd868c9SHiroki Sato.It Li mount.fdescfs
4182fbd868c9SHiroki Satoset from
4183fbd868c9SHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
418484b354cbSHiroki Sato.It Li allow.set_hostname
418584b354cbSHiroki Satoset from
418684b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _set_hostname_allow
418784b354cbSHiroki Sato.It Li allow.rawsocket
418884b354cbSHiroki Satoset from
418984b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _socket_unixiproute_only
419084b354cbSHiroki Sato.It Li allow.sysvipc
419184b354cbSHiroki Satoset from
419284b354cbSHiroki Sato.Va jail_ Ns Ao Ar jname Ac Ns Va _sysvipc_allow
419384b354cbSHiroki Sato.El
419467e99a1aSJens Schweikhardt.\" -----------------------------------------------------
4195c4f9c760SMark Murray.It Va harvest_mask
4196c4f9c760SMark Murray.Pq Vt int
4197c4f9c760SMark MurraySet to a bit-mask
4198c4f9c760SMark Murrayrepresenting the entropy sources
4199c4f9c760SMark Murrayyou wish to harvest.
4200c1e3a71eSTom RhodesRefer to
4201c1e3a71eSTom Rhodes.Xr random 4
4202c1e3a71eSTom Rhodesfor more information.
4203c1e3a71eSTom Rhodes.It Va entropy_dir
4204c1e3a71eSTom Rhodes.Pq Vt str
4205c1e3a71eSTom RhodesSet to
4206c1e3a71eSTom Rhodes.Dq Li NO
4207c1e3a71eSTom Rhodesto disable caching entropy via
4208c1e3a71eSTom Rhodes.Xr cron 8 .
4209c4f9c760SMark MurrayOtherwise set to the directory
4210c4f9c760SMark Murrayin which the entropy files are stored.
4211c4f9c760SMark MurrayTo be useful,
4212c4f9c760SMark Murraythere must be
4213c4f9c760SMark Murraya system cron job
4214c4f9c760SMark Murraythat regularly writes and rotates
4215c4f9c760SMark Murrayfiles here.
4216c4f9c760SMark MurrayAll files found
4217c4f9c760SMark Murraywill be used at boot time.
4218c4f9c760SMark MurrayThe default is
4219c4f9c760SMark Murray.Pa /var/db/entropy .
4220c1e3a71eSTom Rhodes.It Va entropy_file
4221c1e3a71eSTom Rhodes.Pq Vt str
4222c1e3a71eSTom RhodesSet to
4223c1e3a71eSTom Rhodes.Dq Li NO
4224c1e3a71eSTom Rhodesto disable caching entropy through reboots.
4225c4f9c760SMark MurrayOtherwise set to the name
4226c4f9c760SMark Murrayof a file used to store cached entropy.
4227c4f9c760SMark MurrayThis file should be located
4228c4f9c760SMark Murrayon a file system that is readable
4229c4f9c760SMark Murraybefore all the volumes specified in
4230c4f9c760SMark Murray.Xr fstab 5
4231c4f9c760SMark Murrayare mounted.
4232c4f9c760SMark MurrayBy default,
4233c4f9c760SMark Murray.Pa /entropy
4234c4f9c760SMark Murrayis used,
4235c4f9c760SMark Murraybut if
4236c4f9c760SMark Murray.Pa /var/db/entropy-file
4237c4f9c760SMark Murrayis found it will also be used.
4238c4f9c760SMark MurrayThis will be of some use to
4239c4f9c760SMark Murray.Xr bsdinstall 8 .
4240c4f9c760SMark Murray.It Va entropy_boot_file
4241c4f9c760SMark Murray.Pq Vt str
4242c4f9c760SMark MurraySet to
4243c4f9c760SMark Murray.Dq Li NO
4244c4f9c760SMark Murrayto disable
4245c4f9c760SMark Murrayvery early caching entropy
4246c4f9c760SMark Murraythrough reboots.
4247c4f9c760SMark MurrayOtherwise set to the filename
4248c4f9c760SMark Murrayused to read
4249c4f9c760SMark Murrayvery early reboot cached entropy.
4250c4f9c760SMark MurrayThis file should be located where
4251c4f9c760SMark Murray.Xr loader 8
4252c4f9c760SMark Murraycan read it.
4253c4f9c760SMark MurraySee also
4254c4f9c760SMark Murray.Xr loader.conf 5 .
4255c4f9c760SMark MurrayThe default location is
4256c4f9c760SMark Murray.Pa /boot/entropy .
4257c1e3a71eSTom Rhodes.It Va entropy_save_sz
4258c1e3a71eSTom Rhodes.Pq Vt int
4259c1e3a71eSTom RhodesSize of the entropy cache files saved by
4260c8185672SRuslan Ermilov.Nm save-entropy
4261c1e3a71eSTom Rhodesperiodically.
4262c1e3a71eSTom Rhodes.It Va entropy_save_num
4263c1e3a71eSTom Rhodes.Pq Vt int
4264c1e3a71eSTom RhodesNumber of entropy cache files to save by
4265c8185672SRuslan Ermilov.Nm save-entropy
4266c1e3a71eSTom Rhodesperiodically.
4267c1e3a71eSTom Rhodes.It Va ipsec_enable
4268c1e3a71eSTom Rhodes.Pq Vt bool
4269c1e3a71eSTom RhodesSet to
4270c1e3a71eSTom Rhodes.Dq Li YES
4271c1e3a71eSTom Rhodesto run
4272c1e3a71eSTom Rhodes.Xr setkey 8
4273c1e3a71eSTom Rhodeson
4274c1e3a71eSTom Rhodes.Va ipsec_file
4275c1e3a71eSTom Rhodesat boot time.
4276c1e3a71eSTom Rhodes.It Va ipsec_file
4277c1e3a71eSTom Rhodes.Pq Vt str
4278c8185672SRuslan ErmilovConfiguration file for
4279c1e3a71eSTom Rhodes.Xr setkey 8 .
4280c1e3a71eSTom Rhodes.It Va dmesg_enable
4281c1e3a71eSTom Rhodes.Pq Vt bool
4282c1e3a71eSTom RhodesSet to
4283c1e3a71eSTom Rhodes.Dq Li YES
4284c1e3a71eSTom Rhodesto save
4285c1e3a71eSTom Rhodes.Xr dmesg 8
4286c1e3a71eSTom Rhodesto
4287c1e3a71eSTom Rhodes.Pa /var/run/dmesg.boot
4288c1e3a71eSTom Rhodeson boot.
4289c1e3a71eSTom Rhodes.It Va rcshutdown_timeout
4290c1e3a71eSTom Rhodes.Pq Vt int
4291c1e3a71eSTom RhodesIf set, start a watchdog timer in the background which will terminate
4292c1e3a71eSTom Rhodes.Pa rc.shutdown
4293c1e3a71eSTom Rhodesif
4294c1e3a71eSTom Rhodes.Xr shutdown 8
4295c1e3a71eSTom Rhodeshas not completed within the specified time (in seconds).
4296724447acSRalf S. EngelschallNotice that in addition to this soft timeout,
4297724447acSRalf S. Engelschall.Xr init 8
4298724447acSRalf S. Engelschallalso applies a hard timeout for the execution of
4299724447acSRalf S. Engelschall.Pa rc.shutdown .
4300724447acSRalf S. EngelschallThis is configured via
4301724447acSRalf S. Engelschall.Xr sysctl 8
4302724447acSRalf S. Engelschallvariable
4303724447acSRalf S. Engelschall.Va kern.init_shutdown_timeout
430478ad5421SRuslan Ermilovand defaults to 120 seconds.
430578ad5421SRuslan ErmilovSetting the value of
4306724447acSRalf S. Engelschall.Va rcshutdown_timeout
4307724447acSRalf S. Engelschallto more than 120 seconds will have no effect until the
4308724447acSRalf S. Engelschall.Xr sysctl 8
4309724447acSRalf S. Engelschallvariable
4310724447acSRalf S. Engelschall.Va kern.init_shutdown_timeout
4311724447acSRalf S. Engelschallis also increased.
4312901912aaSMike Makonnen.It Va virecover_enable
4313901912aaSMike Makonnen.Pq Vt bool
4314901912aaSMike MakonnenSet to
4315901912aaSMike Makonnen.Dq Li NO
4316901912aaSMike Makonnento prevent the system from trying to
4317654b1e38SCeri Daviesrecover prematurely terminated
4318901912aaSMike Makonnen.Xr vi 1
4319901912aaSMike Makonnensessions.
43209ccab60dSTom Rhodes.It Va ugidfw_enable
4321c0854fb7SRuslan Ermilov.Pq Vt bool
4322c0854fb7SRuslan ErmilovSet to
4323c0854fb7SRuslan Ermilov.Dq Li YES
4324c0854fb7SRuslan Ermilovto load the
43259ccab60dSTom Rhodes.Xr mac_bsdextended 4
43269ccab60dSTom Rhodesmodule upon system initialization and load a default
43279ccab60dSTom Rhodesruleset file.
43289ccab60dSTom Rhodes.It Va bsdextended_script
4329c0854fb7SRuslan Ermilov.Pq Vt str
43309ccab60dSTom RhodesThe default
43319ccab60dSTom Rhodes.Xr mac_bsdextended 4
43329ccab60dSTom Rhodesruleset file to load.
4333c0854fb7SRuslan ErmilovThe default value of this variable is
4334c0854fb7SRuslan Ermilov.Pa /etc/rc.bsdextended .
4335b2d18dadSBrooks Davis.It Va newsyslog_enable
4336b2d18dadSBrooks Davis.Pq Vt bool
4337b2d18dadSBrooks DavisIf set to
4338b2d18dadSBrooks Davis.Dq Li YES ,
4339b2d18dadSBrooks Davisrun
4340b2d18dadSBrooks Davis.Xr newsyslog 8
4341b2d18dadSBrooks Daviscommand at startup.
4342b2d18dadSBrooks Davis.It Va newsyslog_flags
4343b2d18dadSBrooks Davis.Pq Vt str
4344b2d18dadSBrooks DavisIf
4345b2d18dadSBrooks Davis.Va newsyslog_enable
4346b2d18dadSBrooks Davisis set to
4347b2d18dadSBrooks Davis.Dq Li YES ,
4348b2d18dadSBrooks Davisthese are the flags to pass to the
4349b2d18dadSBrooks Davis.Xr newsyslog 8
4350b2d18dadSBrooks Davisprogram.
4351b2d18dadSBrooks DavisThe default is
4352b2d18dadSBrooks Davis.Dq Li -CN ,
4353b2d18dadSBrooks Daviswhich causes log files flagged with a
4354b2d18dadSBrooks Davis.Cm C
4355b2d18dadSBrooks Davisto be created.
435681ae4b8dSRuslan Ermilov.It Va mdconfig_md Ns Aq Ar X
435701b19d78SFlorent Thoumie.Pq Vt str
435801b19d78SFlorent ThoumieArguments to
435901b19d78SFlorent Thoumie.Xr mdconfig 8
436001b19d78SFlorent Thoumiefor
436101b19d78SFlorent Thoumie.Xr md 4
436201b19d78SFlorent Thoumiedevice
436301b19d78SFlorent Thoumie.Ar X .
436401b19d78SFlorent ThoumieAt minimum a
436501b19d78SFlorent Thoumie.Fl t Ar type
436601b19d78SFlorent Thoumiemust be specified and either a
436701b19d78SFlorent Thoumie.Fl s Ar size
436801b19d78SFlorent Thoumiefor malloc or swap backed
436901b19d78SFlorent Thoumie.Xr md 4
437001b19d78SFlorent Thoumiedevices or a
437101b19d78SFlorent Thoumie.Fl f Ar file
437201b19d78SFlorent Thoumiefor vnode backed
437301b19d78SFlorent Thoumie.Xr md 4
437401b19d78SFlorent Thoumiedevices.
437501b19d78SFlorent ThoumieNote that
437681ae4b8dSRuslan Ermilov.Va mdconfig_md Ns Aq Ar X
437701b19d78SFlorent Thoumievariables are evaluated until one variable is unset or null.
437801b19d78SFlorent Thoumie.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs
437901b19d78SFlorent Thoumie.Pq Vt str
438001b19d78SFlorent ThoumieOptional arguments passed to
438101b19d78SFlorent Thoumie.Xr newfs 8
438201b19d78SFlorent Thoumieto initialize
438301b19d78SFlorent Thoumie.Xr md 4
438401b19d78SFlorent Thoumiedevice
438501b19d78SFlorent Thoumie.Ar X .
438601b19d78SFlorent Thoumie.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner
438701b19d78SFlorent Thoumie.Pq Vt str
438801b19d78SFlorent ThoumieAn ownership specification passed to
438901b19d78SFlorent Thoumie.Xr chown 8
439001b19d78SFlorent Thoumieafter the specified
439101b19d78SFlorent Thoumie.Xr md 4
439201b19d78SFlorent Thoumiedevice
439301b19d78SFlorent Thoumie.Ar X
439401b19d78SFlorent Thoumiehas been mounted.
439501b19d78SFlorent ThoumieBoth the
439601b19d78SFlorent Thoumie.Xr md 4
439701b19d78SFlorent Thoumiedevice and the mount point will be changed.
439801b19d78SFlorent Thoumie.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms
439901b19d78SFlorent Thoumie.Pq Vt str
440001b19d78SFlorent ThoumieA mode string passed to
440101b19d78SFlorent Thoumie.Xr chmod 1
440201b19d78SFlorent Thoumieafter the specified
440301b19d78SFlorent Thoumie.Xr md 4
440401b19d78SFlorent Thoumiedevice
440501b19d78SFlorent Thoumie.Ar X
440601b19d78SFlorent Thoumiehas been mounted.
440701b19d78SFlorent ThoumieBoth the
440801b19d78SFlorent Thoumie.Xr md 4
440901b19d78SFlorent Thoumiedevice and the mount point will be changed.
441001b19d78SFlorent Thoumie.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files
441101b19d78SFlorent Thoumie.Pq Vt str
441201b19d78SFlorent ThoumieFiles to be copied to the mount point of the
441301b19d78SFlorent Thoumie.Xr md 4
441401b19d78SFlorent Thoumiedevice
441501b19d78SFlorent Thoumie.Ar X
441601b19d78SFlorent Thoumieafter it has been mounted.
441701b19d78SFlorent Thoumie.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd
441801b19d78SFlorent Thoumie.Pq Vt str
441901b19d78SFlorent ThoumieCommand to execute after the specified
442001b19d78SFlorent Thoumie.Xr md 4
442101b19d78SFlorent Thoumiedevice
442201b19d78SFlorent Thoumie.Ar X
442301b19d78SFlorent Thoumiehas been mounted.
442401b19d78SFlorent ThoumieNote that the command is passed to
442581ae4b8dSRuslan Ermilov.Ic eval
442601b19d78SFlorent Thoumieand that both
442781ae4b8dSRuslan Ermilov.Va _dev
442801b19d78SFlorent Thoumieand
442981ae4b8dSRuslan Ermilov.Va _mp
443001b19d78SFlorent Thoumievariables can be used to reference respectively the
443101b19d78SFlorent Thoumie.Xr md 4
443201b19d78SFlorent Thoumiedevice and the mount point.
443301b19d78SFlorent ThoumieAssuming that the
443401b19d78SFlorent Thoumie.Xr md 4
443501b19d78SFlorent Thoumiedevice is
443601b19d78SFlorent Thoumie.Li md0 ,
443701b19d78SFlorent Thoumieone could set the following:
443801b19d78SFlorent Thoumie.Bd -literal
443981ae4b8dSRuslan Ermilovmdconfig_md0_cmd="tar xfzC /var/file.tgz \e${_mp}"
444001b19d78SFlorent Thoumie.Ed
444155ba40bfSAndrew Thompson.It Va autobridge_interfaces
444255ba40bfSAndrew Thompson.Pq Vt str
444355ba40bfSAndrew ThompsonSet to the list of bridge interfaces that will have newly arriving interfaces
444455ba40bfSAndrew Thompsonchecked against to be automatically added.
444555ba40bfSAndrew ThompsonIf not set to
444655ba40bfSAndrew Thompson.Dq Li NO
444755ba40bfSAndrew Thompsonthen for each whitespace separated
444855ba40bfSAndrew Thompson.Ar element
444955ba40bfSAndrew Thompsonin the value, a
445055ba40bfSAndrew Thompson.Va autobridge_ Ns Aq Ar element
445155ba40bfSAndrew Thompsonvariable is assumed to exist which has a whitespace separated list of interface
445255ba40bfSAndrew Thompsonnames to match, these names can use wildcards.
445355ba40bfSAndrew ThompsonFor example:
445455ba40bfSAndrew Thompson.Bd -literal
445555ba40bfSAndrew Thompsonautobridge_interfaces="bridge0"
445655ba40bfSAndrew Thompsonautobridge_bridge0="tap* dc0 vlan[345]"
445755ba40bfSAndrew Thompson.Ed
44587ddd9ed1SRuslan Ermilov.It Va mixer_enable
44592440a169SFlorent Thoumie.Pq Vt bool
44602440a169SFlorent ThoumieIf set to
44612440a169SFlorent Thoumie.Dq Li YES ,
44622440a169SFlorent Thoumieenable support for sound mixer.
446397078e07SMaksim Yevmenkin.It Va hcsecd_enable
446497078e07SMaksim Yevmenkin.Pq Vt bool
446597078e07SMaksim YevmenkinIf set to
446697078e07SMaksim Yevmenkin.Dq Li YES ,
446797078e07SMaksim Yevmenkinenable Bluetooth security daemon.
446897078e07SMaksim Yevmenkin.It Va hcsecd_config
446997078e07SMaksim Yevmenkin.Pq Vt str
447097078e07SMaksim YevmenkinConfiguration file for
447197078e07SMaksim Yevmenkin.Xr hcsecd 8 .
447297078e07SMaksim YevmenkinDefault
447397078e07SMaksim Yevmenkin.Pa /etc/bluetooth/hcsecd.conf .
447497078e07SMaksim Yevmenkin.It Va sdpd_enable
447597078e07SMaksim Yevmenkin.Pq Vt bool
447697078e07SMaksim YevmenkinIf set to
447797078e07SMaksim Yevmenkin.Dq Li YES ,
447897078e07SMaksim Yevmenkinenable Bluetooth Service Discovery Protocol daemon.
447997078e07SMaksim Yevmenkin.It Va sdpd_control
448097078e07SMaksim Yevmenkin.Pq Vt str
448197078e07SMaksim YevmenkinPath to
448297078e07SMaksim Yevmenkin.Xr sdpd 8
448397078e07SMaksim Yevmenkincontrol socket.
448497078e07SMaksim YevmenkinDefault
448597078e07SMaksim Yevmenkin.Pa /var/run/sdp .
448697078e07SMaksim Yevmenkin.It Va sdpd_groupname
448797078e07SMaksim Yevmenkin.Pq Vt str
448897078e07SMaksim YevmenkinSets
448997078e07SMaksim Yevmenkin.Xr sdpd 8
449097078e07SMaksim Yevmenkingroup to run as after it initializes.
449197078e07SMaksim YevmenkinDefault
449297078e07SMaksim Yevmenkin.Dq Li nobody .
449397078e07SMaksim Yevmenkin.It Va sdpd_username
449497078e07SMaksim Yevmenkin.Pq Vt str
449597078e07SMaksim YevmenkinSets
449697078e07SMaksim Yevmenkin.Xr sdpd 8
449797078e07SMaksim Yevmenkinuser to run as after it initializes.
449897078e07SMaksim YevmenkinDefault
449997078e07SMaksim Yevmenkin.Dq Li nobody .
450097078e07SMaksim Yevmenkin.It Va bthidd_enable
450197078e07SMaksim Yevmenkin.Pq Vt bool
450297078e07SMaksim YevmenkinIf set to
450397078e07SMaksim Yevmenkin.Dq Li YES ,
450497078e07SMaksim Yevmenkinenable Bluetooth Human Interface Device daemon.
450597078e07SMaksim Yevmenkin.It Va bthidd_config
450697078e07SMaksim Yevmenkin.Pq Vt str
450797078e07SMaksim YevmenkinConfiguration file for
450897078e07SMaksim Yevmenkin.Xr bthidd 8 .
450997078e07SMaksim YevmenkinDefault
451097078e07SMaksim Yevmenkin.Pa /etc/bluetooth/bthidd.conf .
451197078e07SMaksim Yevmenkin.It Va bthidd_hids
451297078e07SMaksim Yevmenkin.Pq Vt str
451397078e07SMaksim YevmenkinPath to a file, where
451497078e07SMaksim Yevmenkin.Xr bthidd 8
451597078e07SMaksim Yevmenkinwill store information about known HID devices.
451697078e07SMaksim YevmenkinDefault
451797078e07SMaksim Yevmenkin.Pa /var/db/bthidd.hids .
451897078e07SMaksim Yevmenkin.It Va rfcomm_pppd_server_enable
451997078e07SMaksim Yevmenkin.Pq Vt bool
452097078e07SMaksim YevmenkinIf set to
452197078e07SMaksim Yevmenkin.Dq Li YES ,
452297078e07SMaksim Yevmenkinenable Bluetooth RFCOMM PPP wrapper daemon.
452397078e07SMaksim Yevmenkin.It Va rfcomm_pppd_server_profile
452497078e07SMaksim Yevmenkin.Pq Vt str
452597078e07SMaksim YevmenkinThe name of the profile to use from
452697078e07SMaksim Yevmenkin.Pa /etc/ppp/ppp.conf .
452797078e07SMaksim YevmenkinMultiple profiles can be specified here.
452897078e07SMaksim YevmenkinAlso used to specify per-profile overrides.
452997078e07SMaksim YevmenkinWhen the profile name contains any of the characters
453097078e07SMaksim Yevmenkin.Dq Li .-/+
453197078e07SMaksim Yevmenkinthey are translated to
453297078e07SMaksim Yevmenkin.Dq Li _
453397078e07SMaksim Yevmenkinfor the proposes of the override variable names.
453497078e07SMaksim Yevmenkin.It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _bdaddr
453597078e07SMaksim Yevmenkin.Pq Vt str
453697078e07SMaksim YevmenkinOverrides local address to listen on.
453797078e07SMaksim YevmenkinBy default
453897078e07SMaksim Yevmenkin.Xr rfcomm_pppd 8
453997078e07SMaksim Yevmenkinwill listen on
454097078e07SMaksim Yevmenkin.Dq Li ANY
454197078e07SMaksim Yevmenkinaddress.
454297078e07SMaksim YevmenkinThe address can be specified as BD_ADDR or name.
454397078e07SMaksim Yevmenkin.It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _channel
454497078e07SMaksim Yevmenkin.Pq Vt str
454597078e07SMaksim YevmenkinOverrides local RFCOMM channel to listen on.
454697078e07SMaksim YevmenkinBy default
454797078e07SMaksim Yevmenkin.Xr rfcomm_pppd 8
454897078e07SMaksim Yevmenkinwill listen on RFCOMM channel 1.
454997078e07SMaksim YevmenkinMust set properly if multiple profiles used in the same time.
455097078e07SMaksim Yevmenkin.It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_sp
455197078e07SMaksim Yevmenkin.Pq Vt bool
455297078e07SMaksim YevmenkinTells
455397078e07SMaksim Yevmenkin.Xr rfcomm_pppd 8
4554b06cfd40SJoel Dahlif it should register Serial Port service on the specified RFCOMM channel.
455597078e07SMaksim YevmenkinDefault
455697078e07SMaksim Yevmenkin.Dq Li NO .
455797078e07SMaksim Yevmenkin.It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_dun
455897078e07SMaksim Yevmenkin.Pq Vt bool
455997078e07SMaksim YevmenkinTells
456097078e07SMaksim Yevmenkin.Xr rfcomm_pppd 8
4561b06cfd40SJoel Dahlif it should register Dial-Up Networking service on the specified
456297078e07SMaksim YevmenkinRFCOMM channel.
456397078e07SMaksim YevmenkinDefault
456497078e07SMaksim Yevmenkin.Dq Li NO .
4565c6c608b3SRui Paulo.It Va ubthidhci_enable
4566c6c608b3SRui Paulo.Pq Vt bool
4567c6c608b3SRui PauloIf set to
4568c6c608b3SRui Paulo.Dq Li YES ,
4569c6c608b3SRui Paulochange the USB Bluetooth controller from HID mode to HCI mode.
4570c6c608b3SRui PauloYou also need to specify the location of USB Bluetooth controller with the
4571c6c608b3SRui Paulo.Va ubthidhci_busnum
4572c6c608b3SRui Pauloand
4573c6c608b3SRui Paulo.Va ubthidhci_addr
4574c6c608b3SRui Paulovariables.
4575c6c608b3SRui Paulo.It Va ubthidhci_busnum
4576c6c608b3SRui PauloBus number where the USB Bluetooth controller is located.
4577c6c608b3SRui PauloCheck the output of
4578b2fdb73bSBenedict Reuschling.Xr usbconfig 8
4579c6c608b3SRui Pauloon your system to find this information.
4580c6c608b3SRui Paulo.It Va ubthidhci_addr
4581c6c608b3SRui PauloBus address of the USB Bluetooth controller.
4582c6c608b3SRui PauloCheck the output of
4583b2fdb73bSBenedict Reuschling.Xr usbconfig 8
4584c6c608b3SRui Pauloon your system to find this information.
458581b99052SCeri Davies.It Va utx_enable
458681b99052SCeri Davies.Pq Vt bool
458781b99052SCeri DaviesSet to
458881b99052SCeri Davies.Dq Li YES
458981b99052SCeri Daviesto enable user accounting through the
459081b99052SCeri Davies.Xr utx 8
459181b99052SCeri Daviesfacility.
4592d732b516SDoug Barton.It Va netwait_enable
4593d732b516SDoug Barton.Pq Vt bool
4594d732b516SDoug BartonIf set to
4595d732b516SDoug Barton.Dq Li YES ,
4596d732b516SDoug Bartondelays the start of network-reliant services until
4597d732b516SDoug Barton.Va netwait_if
4598d732b516SDoug Bartonis up and ICMP packets to a destination defined in
4599d732b516SDoug Barton.Va netwait_ip
4600d732b516SDoug Bartonare flowing.
4601d732b516SDoug BartonLink state is examined first, followed by
4602d732b516SDoug Barton.Dq Li pinging
4603d732b516SDoug Bartonan IP address to verify network usability.
4604d732b516SDoug BartonIf no destination can be reached or timeouts are exceeded,
4605d732b516SDoug Bartonnetwork services are started anyway with no guarantee that
4606d732b516SDoug Bartonthe network is usable.
4607d732b516SDoug BartonUse of this variable requires both
4608d732b516SDoug Barton.Va netwait_ip
4609d732b516SDoug Bartonand
4610d732b516SDoug Barton.Va netwait_if
4611d732b516SDoug Bartonto be set.
4612d732b516SDoug Barton.It Va netwait_ip
4613d732b516SDoug Barton.Pq Vt str
4614d732b516SDoug BartonEmpty by default.
4615d732b516SDoug BartonThis variable contains a space-delimited list of IP addresses to
4616d732b516SDoug Barton.Xr ping 8 .
4617d732b516SDoug BartonDNS hostnames should not be used as resolution is not guaranteed
4618d732b516SDoug Bartonto be functional at this point.
4619d732b516SDoug BartonIf multiple IP addresses are specified,
4620d732b516SDoug Bartoneach will be tried until one is successful or the list is exhausted.
4621d732b516SDoug Barton.It Va netwait_timeout
4622d732b516SDoug Barton.Pq Vt int
4623d732b516SDoug BartonIndicates the total number of seconds to perform a
4624d732b516SDoug Barton.Dq Li ping
4625d732b516SDoug Bartonagainst each IP address in
4626d732b516SDoug Barton.Va netwait_ip ,
4627d732b516SDoug Bartonat a rate of one ping per second.
4628d732b516SDoug BartonIf any of the pings are successful,
4629d732b516SDoug Bartonfull network connectivity is considered reliable.
4630d732b516SDoug BartonThe default is 60.
4631d732b516SDoug Barton.It Va netwait_if
4632d732b516SDoug Barton.Pq Vt str
4633d732b516SDoug BartonEmpty by default.
4634d732b516SDoug BartonDefines the name of the network interface on which watch for link.
4635d732b516SDoug Barton.Xr ifconfig 8
4636d732b516SDoug Bartonis used to monitor the interface, looking for
4637d732b516SDoug Barton.Dq Li status: no carrier .
4638d732b516SDoug BartonOnce gone, the link is considered up.
4639d732b516SDoug BartonThis can be a
4640d732b516SDoug Barton.Xr vlan 4
4641d732b516SDoug Bartoninterface if desired.
4642d732b516SDoug Barton.It Va netwait_if_timeout
4643d732b516SDoug Barton.Pq Vt int
4644d732b516SDoug BartonDefines the total number of seconds to wait for link to become usable,
4645d732b516SDoug Bartonpolled at a 1-second interval.
4646d732b516SDoug BartonThe default is 30.
46474360b89bSBryan Drewery.It Va rctl_enable
46484360b89bSBryan Drewery.Pq Vt bool
4649fbefacfcSEdward Tomasz NapieralaIf set to
4650fbefacfcSEdward Tomasz Napierala.Dq Li YES ,
4651fbefacfcSEdward Tomasz Napieralaload
46524360b89bSBryan Drewery.Xr rctl 8
46534360b89bSBryan Dreweryrules from the defined ruleset.
46544360b89bSBryan DreweryThe kernel must be built with
46554360b89bSBryan Drewery.Cd "options RACCT"
46564360b89bSBryan Dreweryand
46574360b89bSBryan Drewery.Cd "options RCTL" .
46584360b89bSBryan Drewery.It Va rctl_rules
46594360b89bSBryan Drewery.Pq Vt str
46604360b89bSBryan DrewerySet to
46614360b89bSBryan Drewery.Pa /etc/rctl.conf
46624360b89bSBryan Dreweryby default.
46634360b89bSBryan DreweryThis variables contains the
46644360b89bSBryan Drewery.Xr rctl.conf 5
46654360b89bSBryan Dreweryruleset to load for
46664360b89bSBryan Drewery.Xr rctl 8 .
46676888132bSRyan Stone.It Va iovctl_files
46686888132bSRyan Stone.Pq Vt str
46696888132bSRyan StoneA space-separated list of configuration files used by
46706888132bSRyan Stone.Xr iovctl 8 .
46716888132bSRyan StoneThe default value is an empty string.
4672e2d3a487SEdward Tomasz Napierala.It Va autofs_enable
4673e2d3a487SEdward Tomasz Napierala.Pq Vt bool
4674e2d3a487SEdward Tomasz NapieralaIf set to
4675e2d3a487SEdward Tomasz Napierala.Dq Li YES ,
4676e2d3a487SEdward Tomasz Napieralastart the
4677e2d3a487SEdward Tomasz Napierala.Xr automount 8
4678e2d3a487SEdward Tomasz Napieralautility and the
4679e2d3a487SEdward Tomasz Napierala.Xr automountd 8
4680e2d3a487SEdward Tomasz Napieralaand
4681e2d3a487SEdward Tomasz Napierala.Xr autounmountd 8
4682e2d3a487SEdward Tomasz Napieraladaemons at boot time.
4683e2d3a487SEdward Tomasz Napierala.It Va automount_flags
4684e2d3a487SEdward Tomasz Napierala.Pq Vt str
4685e2d3a487SEdward Tomasz NapieralaIf
4686e2d3a487SEdward Tomasz Napierala.Va autofs_enable
4687e2d3a487SEdward Tomasz Napieralais set to
4688e2d3a487SEdward Tomasz Napierala.Dq Li YES ,
4689e2d3a487SEdward Tomasz Napieralathese are the flags to pass to the
4690e2d3a487SEdward Tomasz Napierala.Xr automount 8
4691e2d3a487SEdward Tomasz Napieralaprogram.
4692e2d3a487SEdward Tomasz NapieralaBy default no flags are passed.
4693e2d3a487SEdward Tomasz Napierala.It Va automountd_flags
4694e2d3a487SEdward Tomasz Napierala.Pq Vt str
4695e2d3a487SEdward Tomasz NapieralaIf
4696e2d3a487SEdward Tomasz Napierala.Va autofs_enable
4697e2d3a487SEdward Tomasz Napieralais set to
4698e2d3a487SEdward Tomasz Napierala.Dq Li YES ,
4699e2d3a487SEdward Tomasz Napieralathese are the flags to pass to the
4700e2d3a487SEdward Tomasz Napierala.Xr automountd 8
4701e2d3a487SEdward Tomasz Napieraladaemon.
4702e2d3a487SEdward Tomasz NapieralaBy default no flags are passed.
4703e2d3a487SEdward Tomasz Napierala.It Va autounmountd_flags
4704e2d3a487SEdward Tomasz Napierala.Pq Vt str
4705e2d3a487SEdward Tomasz NapieralaIf
4706e2d3a487SEdward Tomasz Napierala.Va autofs_enable
4707e2d3a487SEdward Tomasz Napieralais set to
4708e2d3a487SEdward Tomasz Napierala.Dq Li YES ,
4709e2d3a487SEdward Tomasz Napieralathese are the flags to pass to the
4710e2d3a487SEdward Tomasz Napierala.Xr autounmountd 8
4711e2d3a487SEdward Tomasz Napieraladaemon.
4712e2d3a487SEdward Tomasz NapieralaBy default no flags are passed.
4713e2d3a487SEdward Tomasz Napierala.It Va ctld_enable
4714e2d3a487SEdward Tomasz Napierala.Pq Vt bool
4715e2d3a487SEdward Tomasz NapieralaIf set to
4716e2d3a487SEdward Tomasz Napierala.Dq Li YES ,
4717e2d3a487SEdward Tomasz Napieralastart the
4718e2d3a487SEdward Tomasz Napierala.Xr ctld 8
4719e2d3a487SEdward Tomasz Napieraladaemon at boot time.
4720e2d3a487SEdward Tomasz Napierala.It Va iscsid_enable
4721e2d3a487SEdward Tomasz Napierala.Pq Vt bool
4722e2d3a487SEdward Tomasz NapieralaIf set to
4723e2d3a487SEdward Tomasz Napierala.Dq Li YES ,
4724e2d3a487SEdward Tomasz Napieralastart the
4725e2d3a487SEdward Tomasz Napierala.Xr iscsid 8
4726e2d3a487SEdward Tomasz Napieraladaemon at boot time.
4727e2d3a487SEdward Tomasz Napierala.It Va iscsictl_enable
4728e2d3a487SEdward Tomasz Napierala.Pq Vt bool
4729e2d3a487SEdward Tomasz NapieralaIf set to
4730e2d3a487SEdward Tomasz Napierala.Dq Li YES ,
4731e2d3a487SEdward Tomasz Napieralastart the
4732e2d3a487SEdward Tomasz Napierala.Xr iscsictl 8
4733e2d3a487SEdward Tomasz Napieralautility at boot time.
4734e2d3a487SEdward Tomasz Napierala.It Va iscsictl_flags
4735e2d3a487SEdward Tomasz Napierala.Pq Vt str
4736e2d3a487SEdward Tomasz NapieralaIf
4737e2d3a487SEdward Tomasz Napierala.Va iscsictl_enable
4738e2d3a487SEdward Tomasz Napieralais set to
4739e2d3a487SEdward Tomasz Napierala.Dq Li YES ,
4740e2d3a487SEdward Tomasz Napieralathese are the flags to pass to the
4741e2d3a487SEdward Tomasz Napierala.Xr iscsictl 8
4742e2d3a487SEdward Tomasz Napieralaprogram.
4743e2d3a487SEdward Tomasz NapieralaThe default is
4744e2d3a487SEdward Tomasz Napierala.Dq Li -Aa ,
4745e2d3a487SEdward Tomasz Napieralawhich configures sessions based on the
4746e2d3a487SEdward Tomasz Napierala.Pa /etc/iscsi.conf
4747e2d3a487SEdward Tomasz Napieralaconfiguration file.
4748e73154c1SEdward Tomasz Napierala.It Va cfumass_enable
4749e73154c1SEdward Tomasz Napierala.Pq Vt bool
4750e73154c1SEdward Tomasz NapieralaIf set to
4751e73154c1SEdward Tomasz Napierala.Dq Li YES ,
4752e73154c1SEdward Tomasz Napieralacreate and export an USB LUN using
4753e73154c1SEdward Tomasz Napierala.Xr cfumass 4
4754e73154c1SEdward Tomasz Napieralaat boot time.
4755e73154c1SEdward Tomasz Napierala.It Va cfumass_dir
4756e73154c1SEdward Tomasz Napierala.Pq Vt str
4757e73154c1SEdward Tomasz NapieralaThe directory where the files exported by USB LUN are located.
4758e73154c1SEdward Tomasz NapieralaThe default directory is
4759e73154c1SEdward Tomasz Napierala.Pa /var/cfumass .
4760da45b4daSDevin Teske.It Va service_delete_empty
4761da45b4daSDevin Teske.Pq Vt bool
4762da45b4daSDevin TeskeIf set to
4763da45b4daSDevin Teske.Dq Li YES ,
4764da45b4daSDevin Teske.Ql Li service delete
4765da45b4daSDevin Teskeremoves empty
4766da45b4daSDevin Teske.Dq Li rc.conf.d
4767da45b4daSDevin Teskefiles.
4768e307eb94SToomas Soome.It Va zfs_bootonce_activate
4769e307eb94SToomas Soome.Pq Vt bool
4770e307eb94SToomas SoomeIf set to
4771e307eb94SToomas Soome.Dq Li YES ,
4772e307eb94SToomas Soomeand a boot environment marked bootonce is successfully booted,
4773e307eb94SToomas Soomeit will be made permanently active.
47748719e8a9SMateusz Piotrowski.It Va zfskeys_enable
47758719e8a9SMateusz Piotrowski.Pq Vt bool
47768719e8a9SMateusz PiotrowskiIf set to
47778719e8a9SMateusz Piotrowski.Dq Li YES ,
47788719e8a9SMateusz Piotrowskienable auto-loading of encryption keys for encrypted ZFS datasets.
47798719e8a9SMateusz PiotrowskiFor every dataset the script will first load the appropriate encryption key
47809062598eSMateusz Piotrowskiand then attempt to unlock the dataset.
47818719e8a9SMateusz Piotrowski.Pp
47828719e8a9SMateusz PiotrowskiThe script operates only on datasets which are encrypted with
47838719e8a9SMateusz PiotrowskiZFS native encryption
47848719e8a9SMateusz Piotrowskiand have a ZFS
47858719e8a9SMateusz Piotrowski.Dq Li keylocation
47868719e8a9SMateusz Piotrowskidataset property beginning with
47878719e8a9SMateusz Piotrowski.Dq Li file:// .
47888719e8a9SMateusz Piotrowski.It Va zfskeys_datasets
47898719e8a9SMateusz Piotrowski.Pq Vt str
47908719e8a9SMateusz PiotrowskiA whitespace-separated list of ZFS datasets to unlock.
47918719e8a9SMateusz PiotrowskiThe list is empty by default,
47928719e8a9SMateusz Piotrowskiwhich means that the script will attempt to unlock all datasets.
47938719e8a9SMateusz Piotrowski.It Va zfskeys_timeout
47948719e8a9SMateusz Piotrowski.Pq Vt int
47958719e8a9SMateusz PiotrowskiDefine the total number of seconds to wait for the zfskeys script
47968719e8a9SMateusz Piotrowskito unlock an encrypted dataset.
47978719e8a9SMateusz PiotrowskiThe default is 10.
4798d8882814SBaptiste Daroussin.It Va sendmail_enable
4799d8882814SBaptiste Daroussin.Pq Vt str
4800d8882814SBaptiste DaroussinIf set to
4801d8882814SBaptiste Daroussin.Dq Li YES ,
4802d8882814SBaptiste Daroussinrun the
4803d8882814SBaptiste Daroussin.Xr sendmail 8
4804d8882814SBaptiste Daroussindaemon at system boot time.
4805d8882814SBaptiste DaroussinIf set to
4806d8882814SBaptiste Daroussin.Dq Li NO ,
4807d8882814SBaptiste Daroussindo not run a
4808d8882814SBaptiste Daroussin.Xr sendmail 8
4809d8882814SBaptiste Daroussindaemon to listen for incoming network mail.
4810d8882814SBaptiste DaroussinThis does not preclude a
4811d8882814SBaptiste Daroussin.Xr sendmail 8
4812d8882814SBaptiste Daroussindaemon listening on the SMTP port of the loopback interface.
4813d8882814SBaptiste DaroussinThe
4814d8882814SBaptiste Daroussin.Dq Li NONE
4815d8882814SBaptiste Daroussinoption sets each
4816d8882814SBaptiste Daroussin.Va sendmail_enable ,
4817d8882814SBaptiste Daroussin.Va sendmail_submit_enable ,
4818d8882814SBaptiste Daroussin.Va sendmail_outbound_enable ,
4819d8882814SBaptiste Daroussin.Va sendmail_msp_queue_enable
4820d8882814SBaptiste Daroussinto
4821d8882814SBaptiste Daroussin.Dq Li NO .
4822d8882814SBaptiste Daroussin.It Va sendmail_cert_create
4823d8882814SBaptiste Daroussin.Pq Vt str
4824d8882814SBaptiste DaroussinIf
4825d8882814SBaptiste Daroussin.Va sendmail_enable
4826d8882814SBaptiste Daroussinis set to
4827d8882814SBaptiste Daroussin.Dq Li YES ,
4828d8882814SBaptiste Daroussincreate a signed certificate
4829d8882814SBaptiste Daroussin.Pa /etc/mail/certs/host.cert
4830d8882814SBaptiste Daroussinrepresenting
4831d8882814SBaptiste Daroussin.Pa /etc/mail/certs/host.key
4832d8882814SBaptiste Daroussinby the CA certificate in
4833d8882814SBaptiste Daroussin.Pa /etc/mail/certs/cacert.pem .
4834d8882814SBaptiste DaroussinThis will enable connecting hosts to negotiate STARTTLS allowing incoming
4835d8882814SBaptiste Daroussinemail to be encrypted in transit.
4836d8882814SBaptiste Daroussin.Xr sendmail 8
4837d8882814SBaptiste Daroussinneeds to be configured to use these generated files.
4838d8882814SBaptiste DaroussinThe default configuration in
4839d8882814SBaptiste Daroussin.Pa /etc/mail/freebsd.mc
4840d8882814SBaptiste Daroussinhas the required options in it.
4841d8882814SBaptiste Daroussin.It Va sendmail_cert_cn
4842d8882814SBaptiste Daroussin.Pq Vt str
4843d8882814SBaptiste DaroussinIf
4844d8882814SBaptiste Daroussin.Va sendmail_enable
4845d8882814SBaptiste Daroussinis set to
4846d8882814SBaptiste Daroussin.Dq Li YES
4847d8882814SBaptiste Daroussinand
4848d8882814SBaptiste Daroussin.Va sendmail_cert_create
4849d8882814SBaptiste Daroussinis set to
4850d8882814SBaptiste Daroussin.Dq Li YES ,
4851d8882814SBaptiste Daroussinthis is the Common Name (CN) of the certificate that will be created.
4852d8882814SBaptiste DaroussinIf
4853d8882814SBaptiste Daroussin.Va sendmail_cert_cn
4854d8882814SBaptiste Daroussinis not set, the system's hostname will be used.
4855d8882814SBaptiste DaroussinIf there is no hostname set,
4856d8882814SBaptiste Daroussin.Dq Li amnesiac
4857d8882814SBaptiste Daroussinwill be used.
4858d8882814SBaptiste Daroussin.It Va sendmail_flags
4859d8882814SBaptiste Daroussin.Pq Vt str
4860d8882814SBaptiste DaroussinIf
4861d8882814SBaptiste Daroussin.Va sendmail_enable
4862d8882814SBaptiste Daroussinis set to
4863d8882814SBaptiste Daroussin.Dq Li YES ,
4864d8882814SBaptiste Daroussinthese are the flags to pass to the
4865d8882814SBaptiste Daroussin.Xr sendmail 8
4866d8882814SBaptiste Daroussindaemon.
4867d8882814SBaptiste Daroussin.It Va sendmail_submit_enable
4868d8882814SBaptiste Daroussin.Pq Vt bool
4869d8882814SBaptiste DaroussinIf set to
4870d8882814SBaptiste Daroussin.Dq Li YES
4871d8882814SBaptiste Daroussinand
4872d8882814SBaptiste Daroussin.Va sendmail_enable
4873d8882814SBaptiste Daroussinis set to
4874d8882814SBaptiste Daroussin.Dq Li NO ,
4875d8882814SBaptiste Daroussinrun
4876d8882814SBaptiste Daroussin.Xr sendmail 8
4877d8882814SBaptiste Daroussinusing
4878d8882814SBaptiste Daroussin.Va sendmail_submit_flags
4879d8882814SBaptiste Daroussininstead of
4880d8882814SBaptiste Daroussin.Va sendmail_flags .
4881d8882814SBaptiste DaroussinThis is intended to allow local mail submission via
4882d8882814SBaptiste Daroussina localhost-only listening SMTP service required for running
4883d8882814SBaptiste Daroussin.Xr sendmail 8
4884d8882814SBaptiste Daroussinas a non-set-user-ID binary.
4885d8882814SBaptiste DaroussinNote that this does not work inside
4886d8882814SBaptiste Daroussin.Xr jail 2
4887d8882814SBaptiste Daroussinsystems, as jails do not allow binding to just the localhost interface.
4888d8882814SBaptiste Daroussin.It Va sendmail_submit_flags
4889d8882814SBaptiste Daroussin.Pq Vt str
4890d8882814SBaptiste DaroussinIf
4891d8882814SBaptiste Daroussin.Va sendmail_enable
4892d8882814SBaptiste Daroussinis set to
4893d8882814SBaptiste Daroussin.Dq Li NO
4894d8882814SBaptiste Daroussinand
4895d8882814SBaptiste Daroussin.Va sendmail_submit_enable
4896d8882814SBaptiste Daroussinis set to
4897d8882814SBaptiste Daroussin.Dq Li YES ,
4898d8882814SBaptiste Daroussinthese are the flags to pass to the
4899d8882814SBaptiste Daroussin.Xr sendmail 8
4900d8882814SBaptiste Daroussindaemon.
4901d8882814SBaptiste Daroussin.It Va sendmail_outbound_enable
4902d8882814SBaptiste Daroussin.Pq Vt bool
4903d8882814SBaptiste DaroussinIf set to
4904d8882814SBaptiste Daroussin.Dq Li YES
4905d8882814SBaptiste Daroussinand both
4906d8882814SBaptiste Daroussin.Va sendmail_enable
4907d8882814SBaptiste Daroussinand
4908d8882814SBaptiste Daroussin.Va sendmail_submit_enable
4909d8882814SBaptiste Daroussinare set to
4910d8882814SBaptiste Daroussin.Dq Li NO ,
4911d8882814SBaptiste Daroussinrun
4912d8882814SBaptiste Daroussin.Xr sendmail 8
4913d8882814SBaptiste Daroussinusing
4914d8882814SBaptiste Daroussin.Va sendmail_outbound_flags
4915d8882814SBaptiste Daroussininstead of
4916d8882814SBaptiste Daroussin.Va sendmail_flags .
4917d8882814SBaptiste DaroussinThis is intended to allow local mail queue management
4918d8882814SBaptiste Daroussinfor systems that do not offer a listening SMTP service.
4919d8882814SBaptiste Daroussin.It Va sendmail_outbound_flags
4920d8882814SBaptiste Daroussin.Pq Vt str
4921d8882814SBaptiste DaroussinIf both
4922d8882814SBaptiste Daroussin.Va sendmail_enable
4923d8882814SBaptiste Daroussinand
4924d8882814SBaptiste Daroussin.Va sendmail_submit_enable
4925d8882814SBaptiste Daroussinare set to
4926d8882814SBaptiste Daroussin.Dq Li NO
4927d8882814SBaptiste Daroussinand
4928d8882814SBaptiste Daroussin.Va sendmail_outbound_enable
4929d8882814SBaptiste Daroussinis set to
4930d8882814SBaptiste Daroussin.Dq Li YES ,
4931d8882814SBaptiste Daroussinthese are the flags to pass to the
4932d8882814SBaptiste Daroussin.Xr sendmail 8
4933d8882814SBaptiste Daroussindaemon.
4934d8882814SBaptiste Daroussin.It Va sendmail_msp_queue_enable
4935d8882814SBaptiste Daroussin.Pq Vt bool
4936d8882814SBaptiste DaroussinIf set to
4937d8882814SBaptiste Daroussin.Dq Li YES ,
4938d8882814SBaptiste Daroussinstart a client (MSP) queue runner
4939d8882814SBaptiste Daroussin.Xr sendmail 8
4940d8882814SBaptiste Daroussindaemon at system boot time.
4941d8882814SBaptiste DaroussinAs of sendmail 8.12, a separate queue is used for command line
4942d8882814SBaptiste Daroussinsubmissions.
4943d8882814SBaptiste DaroussinThe client queue runner ensures that nothing is
4944d8882814SBaptiste Daroussinleft behind in the submission queue.
4945d8882814SBaptiste Daroussin.It Va sendmail_msp_queue_flags
4946d8882814SBaptiste Daroussin.Pq Vt str
4947d8882814SBaptiste DaroussinIf
4948d8882814SBaptiste Daroussin.Va sendmail_msp_queue_enable
4949d8882814SBaptiste Daroussinis set to
4950d8882814SBaptiste Daroussindaemon.
4951d8882814SBaptiste Daroussin.Dq Li YES ,
4952d8882814SBaptiste Daroussinthese are the flags to pass to the
4953d8882814SBaptiste Daroussin.Xr sendmail 8
49543136363fSRuslan Ermilov.El
49552efbd480SAlexander Leidinger.Sh SERVICE JAILS
49562efbd480SAlexander LeidingerThe service jails part of the rc system automatically puts a service
49572efbd480SAlexander Leidingerinto a jail.
49582efbd480SAlexander LeidingerThis jail inherits the filesystem and various other parts of the
49592efbd480SAlexander Leidingerparent (if you allow child-jails in your jails, service jails
49602efbd480SAlexander Leidingercan be used in jails) depending on the content of the
49612efbd480SAlexander Leidinger.Ao Ar name Ac Ns Va _svcj_options
49622efbd480SAlexander Leidingervariable.
49632efbd480SAlexander LeidingerTypically this variable is set inside rc scripts, but it can be
49642efbd480SAlexander Leidingeroverriden in the rc config.
49652efbd480SAlexander LeidingerValid options for
49662efbd480SAlexander Leidinger.Ao Ar name Ac Ns Va _svcj_options
49672efbd480SAlexander Leidingerare:
49682efbd480SAlexander Leidinger.Bl -tag -width indent-two
49692efbd480SAlexander Leidinger.It mlock
49702efbd480SAlexander LeidingerAllows to lock memory pages into the physical memory.
49712efbd480SAlexander Leidinger.It netv4
49722efbd480SAlexander LeidingerInherit the IPv4 address and allows to open reserved ports.
49732efbd480SAlexander LeidingerThis can not be combined with
49742efbd480SAlexander Leidinger.Pa netv6 .
49752efbd480SAlexander Leidinger.It netv6
49762efbd480SAlexander LeidingerInherit the IPv6 address and allows to open reserved ports.
49772efbd480SAlexander LeidingerThis can not be combined with
49782efbd480SAlexander Leidinger.Pa netv4 .
49792efbd480SAlexander Leidinger.It net_basic
49802efbd480SAlexander LeidingerInherits the IPv4 and IPv6 addresses and allows to open
49812efbd480SAlexander Leidingerreserved ports.
49822efbd480SAlexander Leidinger.It net_raw
49832efbd480SAlexander LeidingerAllow to open raw sockets.
49842efbd480SAlexander LeidingerThis option can be combined with
49852efbd480SAlexander Leidinger.Pa netv4 ,
49862efbd480SAlexander Leidinger.Pa netv6 ,
49872efbd480SAlexander Leidinger.Pa net_basic .
49882efbd480SAlexander Leidinger.It net_all
49892efbd480SAlexander LeidingerInherits the IPv4 and IPv6 addresses, allows to open reserved
49902efbd480SAlexander Leidingerports, allows to open raw sockets, and allows to open sockets
49912efbd480SAlexander Leidingerof protocol stacks that have not had jail functionality added
49922efbd480SAlexander Leidingerto them.
49932efbd480SAlexander Leidinger.It nfsd
49942efbd480SAlexander LeidingerAllows to run nfsd and affiliated daemons.
49952efbd480SAlexander Leidinger.It sysvipc
4996a70ecfb1SAlexander LeidingerInherits the SysV semaphores, SysV shared memory and
4997a70ecfb1SAlexander LeidingerSysV messages from the host or the parent jail.
4998a70ecfb1SAlexander Leidinger.It sysvipcnew
4999a70ecfb1SAlexander LeidingerCreates a new namespace for SysV semaphores, SysV shared memory
5000a70ecfb1SAlexander Leidingerand SysV messages for this particular service jail.
50012efbd480SAlexander Leidinger.It vmm
50022efbd480SAlexander LeidingerAllows access to
50032efbd480SAlexander Leidinger.Xr vmm 4 .
50042efbd480SAlexander LeidingerThis option is only available when
50052efbd480SAlexander Leidinger.Xr vmm 4
50062efbd480SAlexander Leidingeris enabled in the kernel.
50072efbd480SAlexander Leidinger.El
50082efbd480SAlexander Leidinger
50092efbd480SAlexander LeidingerAll non-network options can be combined with all other options.
5010a70ecfb1SAlexander LeidingerFrom the SysV options only one option can be specified.
50112efbd480SAlexander Leidinger
50122efbd480SAlexander LeidingerIf the
50132efbd480SAlexander Leidinger.Ao Ar name Ac Ns Va _svcj
50142efbd480SAlexander Leidingervariable is set to
50152efbd480SAlexander Leidinger.Dq Li YES ,
50162efbd480SAlexander Leidingerthis particular service is started in a
50172efbd480SAlexander Leidingerservice jail named
5018c8b31033SGraham Percival.Va svcj- Ns Ar name .
50192efbd480SAlexander Leidinger
50202efbd480SAlexander LeidingerThe
50212efbd480SAlexander Leidinger.Va svcj_all_enable
50222efbd480SAlexander Leidingervariable allows to enable service jails for all services of the
50232efbd480SAlexander Leidingersystem at once.
50242efbd480SAlexander LeidingerServices which have
50252efbd480SAlexander Leidinger.Ao Ar name Ac Ns Va _svcj
50262efbd480SAlexander Leidingerset to
50272efbd480SAlexander Leidinger.Dq Li NO
50282efbd480SAlexander Leidingerare excluded.
50292efbd480SAlexander LeidingerSome services may set
50302efbd480SAlexander Leidinger.Ao Ar name Ac Ns Va _svcj
50312efbd480SAlexander Leidingerto
50322efbd480SAlexander Leidinger.Dq Li NO
50332efbd480SAlexander Leidingerin the script to either prevent service jails for this
50342efbd480SAlexander Leidingerservice at all, or may set it to
50352efbd480SAlexander Leidinger.Dq Li NO
50362efbd480SAlexander Leidingerif it is not set in the
50372efbd480SAlexander Leidingerrc config, to exclude it from
50382efbd480SAlexander Leidinger.Va svcj_all_enable
50392efbd480SAlexander Leidingerbut allow to explicitely enable it.
50402efbd480SAlexander LeidingerThe sshd service for example would not see other jails, if
50412efbd480SAlexander Leidingerit would run as a service jail.
50422efbd480SAlexander LeidingerThis may or may not be what is needed, and as such it is
50432efbd480SAlexander Leidingerexcluded from
50442efbd480SAlexander Leidinger.Va svcj_all_enable
50452efbd480SAlexander Leidingerbut can be enabled via setting
50462efbd480SAlexander Leidinger.Va sshd_svcj
50472efbd480SAlexander Leidingerto
50482efbd480SAlexander Leidinger.Dq Li YES .
5049ab327a82SMatthew Dillon.Sh FILES
5050a6e734d7SMateusz Piotrowski.Bl -tag -width "/etc/defaults/rc.conf" -compact
5051bd17e46eSJordan K. Hubbard.It Pa /etc/defaults/rc.conf
50528fe3c393SBenedict Reuschling.It Pa /etc/defaults/vendor.conf
5053ab327a82SMatthew Dillon.It Pa /etc/rc.conf
5054ab327a82SMatthew Dillon.It Pa /etc/rc.conf.local
5055a6e734d7SMateusz Piotrowski.It Pa /etc/rc.conf.d/
5056ab327a82SMatthew Dillon.El
5057c58afa56SJordan K. Hubbard.Sh SEE ALSO
505869b11e00SWes Peters.Xr chmod 1 ,
5059620b5bfaSCeri Davies.Xr cpuset 1 ,
50603c405c7eSJens Schweikhardt.Xr gdb 1 Pq Pa ports/devel/gdb ,
5061a1ceffbcSGiorgos Keramidas.Xr kbdcontrol 1 ,
5062bd6dce97SDaniel Ebdrup Jensen.Xr limits 1 ,
5063bd6dce97SDaniel Ebdrup Jensen.Xr protect 1 ,
50643d425b66SJoseph Koshy.Xr sh 1 ,
5065160a2f2cSEugene Grosbein.Xr umask 1 ,
50665b3f1098SCeri Davies.Xr uuidgen 1 ,
5067bf7f20c2SRuslan Ermilov.Xr vi 1 ,
5068a289e937SRuslan Ermilov.Xr vidcontrol 1 ,
506955ba40bfSAndrew Thompson.Xr bridge 4 ,
507082e9dc59SMike Makonnen.Xr dummynet 4 ,
5071c1e3a71eSTom Rhodes.Xr ip 4 ,
5072d11122e7SYaroslav Tykhiy.Xr ipf 4 ,
5073d11122e7SYaroslav Tykhiy.Xr ipfw 4 ,
5074d11122e7SYaroslav Tykhiy.Xr ipnat 4 ,
50755d75ba3dSCrist J. Clark.Xr kld 4 ,
5076d11122e7SYaroslav Tykhiy.Xr pf 4 ,
5077d11122e7SYaroslav Tykhiy.Xr pflog 4 ,
5078c8a0dfabSYaroslav Tykhiy.Xr pfsync 4 ,
5079f44609feSCrist J. Clark.Xr tcp 4 ,
5080f44609feSCrist J. Clark.Xr udp 4 ,
5081bceb8aedSWolfram Schneider.Xr exports 5 ,
5082781cf91bSMike Pritchard.Xr fstab 5 ,
5083d11122e7SYaroslav Tykhiy.Xr ipf 5 ,
5084d11122e7SYaroslav Tykhiy.Xr ipnat 5 ,
5085a074a227SNiclas Zeising.Xr jail.conf 5 ,
5086c4f9c760SMark Murray.Xr loader.conf 5 ,
5087bd6dce97SDaniel Ebdrup Jensen.Xr login.conf 5 ,
5088def37e7cSMike Pritchard.Xr motd 5 ,
50896cd9ebedSMax Laier.Xr newsyslog.conf 5 ,
5090d11122e7SYaroslav Tykhiy.Xr pf.conf 5 ,
509140944510SCeri Davies.Xr firewall 7 ,
509240944510SCeri Davies.Xr growfs 7 ,
5093cd79fc03SGiorgos Keramidas.Xr security 7 ,
509440944510SCeri Davies.Xr tuning 7 ,
5095c58afa56SJordan K. Hubbard.Xr accton 8 ,
509671116d98SAlexander Langer.Xr apm 8 ,
5097c4f9c760SMark Murray.Xr bsdinstall 8 ,
509897078e07SMaksim Yevmenkin.Xr bthidd 8 ,
5099b2d18dadSBrooks Davis.Xr chkprintcap 8 ,
510069b11e00SWes Peters.Xr chown 8 ,
510171116d98SAlexander Langer.Xr cron 8 ,
510295208e20SDoug Barton.Xr devfs 8 ,
51034452573fSJeroen Ruigrok van der Werven.Xr dhclient 8 ,
510444255c55SYaroslav Tykhiy.Xr ftpd 8 ,
510544255c55SYaroslav Tykhiy.Xr geli 8 ,
510697078e07SMaksim Yevmenkin.Xr hcsecd 8 ,
5107c58afa56SJordan K. Hubbard.Xr ifconfig 8 ,
510871116d98SAlexander Langer.Xr inetd 8 ,
51096888132bSRyan Stone.Xr iovctl 8 ,
5110d11122e7SYaroslav Tykhiy.Xr ipf 8 ,
5111d11122e7SYaroslav Tykhiy.Xr ipfw 8 ,
5112d11122e7SYaroslav Tykhiy.Xr ipnat 8 ,
5113b0c77a9eSDoug Barton.Xr jail 8 ,
51145d75ba3dSCrist J. Clark.Xr kldxref 8 ,
5115c4f9c760SMark Murray.Xr loader 8 ,
511671116d98SAlexander Langer.Xr lpd 8 ,
51172ce58512SCeri Davies.Xr makewhatis 8 ,
51187e3ba257SRuslan Ermilov.Xr mdconfig 8 ,
51198cfaa2f1SGiorgos Keramidas.Xr mdmfs 8 ,
51202440a169SFlorent Thoumie.Xr mixer 8 ,
51212524b0b2SGiorgos Keramidas.Xr mountd 8 ,
512271116d98SAlexander Langer.Xr moused 8 ,
512369b11e00SWes Peters.Xr newfs 8 ,
5124b2d18dadSBrooks Davis.Xr newsyslog 8 ,
512571116d98SAlexander Langer.Xr nfsd 8 ,
5126a956b43dSRuslan Ermilov.Xr ntpd 8 ,
5127c58afa56SJordan K. Hubbard.Xr ntpdate 8 ,
5128d11122e7SYaroslav Tykhiy.Xr pfctl 8 ,
5129d11122e7SYaroslav Tykhiy.Xr pflogd 8 ,
5130d732b516SDoug Barton.Xr ping 8 ,
5131540fac89SAlexander Leidinger.Xr powerd 8 ,
5132c58afa56SJordan K. Hubbard.Xr quotacheck 8 ,
513305c1a268SDima Dorfman.Xr quotaon 8 ,
5134c58afa56SJordan K. Hubbard.Xr rc 8 ,
5135bd6dce97SDaniel Ebdrup Jensen.Xr rc.subr 8 ,
5136408edccaSDaniel Ebdrup Jensen.Xr rcorder 8 ,
513797078e07SMaksim Yevmenkin.Xr rfcomm_pppd 8 ,
5138c58afa56SJordan K. Hubbard.Xr route 8 ,
5139682bd8ecSCeri Davies.Xr route6d 8 ,
5140c58afa56SJordan K. Hubbard.Xr routed 8 ,
514171116d98SAlexander Langer.Xr rpc.lockd 8 ,
514271116d98SAlexander Langer.Xr rpc.statd 8 ,
51439dae2d03SRick Macklem.Xr rpc.tlsclntd 8 ,
51449dae2d03SRick Macklem.Xr rpc.tlsservd 8 ,
514567304db7SChristian Brueffer.Xr rpcbind 8 ,
5146c58afa56SJordan K. Hubbard.Xr rwhod 8 ,
51479c6fde3cSSheldon Hearn.Xr savecore 8 ,
514897078e07SMaksim Yevmenkin.Xr sdpd 8 ,
5149d8882814SBaptiste Daroussin.Xr sendmail 8 ,
5150da45b4daSDevin Teske.Xr service 8 ,
515183734e47SJeroen Ruigrok van der Werven.Xr sshd 8 ,
5152a956b43dSRuslan Ermilov.Xr swapon 8 ,
5153606acacaSJoseph Koshy.Xr sysctl 8 ,
515471116d98SAlexander Langer.Xr syslogd 8 ,
5155e5accd3cSStefan Eßer.Xr sysrc 8 ,
515649cede74SDag-Erling Smørgrav.Xr unbound 8 ,
5157227405d4SBenedict Reuschling.Xr usbconfig 8 ,
515881b99052SCeri Davies.Xr utx 8 ,
51593e5f41cfSBrooks Davis.Xr wlandebug 8 ,
5160491a8429SRuslan Ermilov.Xr yp 8 ,
516171116d98SAlexander Langer.Xr ypbind 8 ,
5162c58afa56SJordan K. Hubbard.Xr ypserv 8 ,
5163c58afa56SJordan K. Hubbard.Xr ypset 8
5164c58afa56SJordan K. Hubbard.Sh HISTORY
5165c58afa56SJordan K. HubbardThe
5166c58afa56SJordan K. Hubbard.Nm
5167c58afa56SJordan K. Hubbardfile appeared in
51686293b399SJordan K. Hubbard.Fx 2.2.2 .
5169aaf1f16eSPhilippe Charnier.Sh AUTHORS
5170aaf1f16eSPhilippe Charnier.An Jordan K. Hubbard .
5171