| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: sysctl.7,v 1.102 2016/05/31 05:44:19 pgoyette Exp $ | | 1 | .\" $NetBSD: sysctl.7,v 1.103 2016/10/12 08:52:49 roy Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1993 | | 3 | .\" Copyright (c) 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | | 4 | .\" The Regents of the University of California. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. Neither the name of the University nor the names of its contributors | | 14 | .\" 3. Neither the name of the University nor the names of its contributors |
| @@ -19,27 +19,27 @@ | | | @@ -19,27 +19,27 @@ |
19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | | 19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | | 20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | | 21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | | 22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | | 23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | | 25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | | 28 | .\" SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95 | | 30 | .\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95 |
31 | .\" | | 31 | .\" |
32 | .Dd May 31, 2016 | | 32 | .Dd October 12, 2016 |
33 | .Dt SYSCTL 7 | | 33 | .Dt SYSCTL 7 |
34 | .Os | | 34 | .Os |
35 | .Sh NAME | | 35 | .Sh NAME |
36 | .Nm sysctl | | 36 | .Nm sysctl |
37 | .Nd system information variables | | 37 | .Nd system information variables |
38 | .Sh DESCRIPTION | | 38 | .Sh DESCRIPTION |
39 | The | | 39 | The |
40 | .Xr sysctl 3 | | 40 | .Xr sysctl 3 |
41 | library function and the | | 41 | library function and the |
42 | .Xr sysctl 8 | | 42 | .Xr sysctl 8 |
43 | utility are used to get and set values of system variables, maintained | | 43 | utility are used to get and set values of system variables, maintained |
44 | by the kernel. | | 44 | by the kernel. |
45 | The variables are organized in a tree and identified by a sequence of | | 45 | The variables are organized in a tree and identified by a sequence of |
| @@ -1248,26 +1248,27 @@ The currently defined protocols and name | | | @@ -1248,26 +1248,27 @@ The currently defined protocols and name |
1248 | .It carp arpbalance integer yes | | 1248 | .It carp arpbalance integer yes |
1249 | .It icmp errppslimit integer yes | | 1249 | .It icmp errppslimit integer yes |
1250 | .It icmp maskrepl integer yes | | 1250 | .It icmp maskrepl integer yes |
1251 | .It icmp rediraccept integer yes | | 1251 | .It icmp rediraccept integer yes |
1252 | .It icmp redirtimeout integer yes | | 1252 | .It icmp redirtimeout integer yes |
1253 | .It icmp bmcastecho integer yes | | 1253 | .It icmp bmcastecho integer yes |
1254 | .It ip allowsrcrt integer yes | | 1254 | .It ip allowsrcrt integer yes |
1255 | .It ip anonportalgo.selected string yes | | 1255 | .It ip anonportalgo.selected string yes |
1256 | .It ip anonportalgo.available string yes | | 1256 | .It ip anonportalgo.available string yes |
1257 | .It ip anonportalgo.reserve struct yes | | 1257 | .It ip anonportalgo.reserve struct yes |
1258 | .It ip anonportmax integer yes | | 1258 | .It ip anonportmax integer yes |
1259 | .It ip anonportmin integer yes | | 1259 | .It ip anonportmin integer yes |
1260 | .It ip checkinterface integer yes | | 1260 | .It ip checkinterface integer yes |
| | | 1261 | .It ip dad_count integer yes |
1261 | .It ip directed-broadcast integer yes | | 1262 | .It ip directed-broadcast integer yes |
1262 | .It ip do_loopback_cksum integer yes | | 1263 | .It ip do_loopback_cksum integer yes |
1263 | .It ip forwarding integer yes | | 1264 | .It ip forwarding integer yes |
1264 | .It ip forwsrcrt integer yes | | 1265 | .It ip forwsrcrt integer yes |
1265 | .It ip gifttl integer yes | | 1266 | .It ip gifttl integer yes |
1266 | .It ip grettl integer yes | | 1267 | .It ip grettl integer yes |
1267 | .It ip hashsize integer yes | | 1268 | .It ip hashsize integer yes |
1268 | .It ip hostzerobroadcast integer yes | | 1269 | .It ip hostzerobroadcast integer yes |
1269 | .It ip lowportmin integer yes | | 1270 | .It ip lowportmin integer yes |
1270 | .It ip lowportmax integer yes | | 1271 | .It ip lowportmax integer yes |
1271 | .It ip maxflows integer yes | | 1272 | .It ip maxflows integer yes |
1272 | .It ip maxfragpackets integer yes | | 1273 | .It ip maxfragpackets integer yes |
1273 | .It ip mtudisc integer yes | | 1274 | .It ip mtudisc integer yes |
| @@ -1365,26 +1366,31 @@ The highest port number to use for TCP a | | | @@ -1365,26 +1366,31 @@ The highest port number to use for TCP a |
1365 | This cannot be set to less than 1024 or greater than 65535, and must | | 1366 | This cannot be set to less than 1024 or greater than 65535, and must |
1366 | be greater than | | 1367 | be greater than |
1367 | .Li ip.anonportmin . | | 1368 | .Li ip.anonportmin . |
1368 | .It Li ip.anonportmin | | 1369 | .It Li ip.anonportmin |
1369 | The lowest port number to use for TCP and UDP ephemeral port allocation. | | 1370 | The lowest port number to use for TCP and UDP ephemeral port allocation. |
1370 | This cannot be set to less than 1024 or greater than 65535. | | 1371 | This cannot be set to less than 1024 or greater than 65535. |
1371 | .It Li ip.checkinterface | | 1372 | .It Li ip.checkinterface |
1372 | If set to non-zero, the host will reject packets addressed to it | | 1373 | If set to non-zero, the host will reject packets addressed to it |
1373 | that arrive on an interface not bound to that address. | | 1374 | that arrive on an interface not bound to that address. |
1374 | Currently, this must be disabled if ipnat is used to translate the | | 1375 | Currently, this must be disabled if ipnat is used to translate the |
1375 | destination address to another local interface, or if addresses | | 1376 | destination address to another local interface, or if addresses |
1376 | are added to the loopback interface instead of the interface where | | 1377 | are added to the loopback interface instead of the interface where |
1377 | the packets for those packets are received. | | 1378 | the packets for those packets are received. |
| | | 1379 | .It Li ip.dad_count |
| | | 1380 | The number of |
| | | 1381 | .Xr arp 4 |
| | | 1382 | probes sent for Address Conflict Detection. |
| | | 1383 | Set to 0 to disable this. |
1378 | .It Li ip.directed-broadcast | | 1384 | .It Li ip.directed-broadcast |
1379 | If set to 1, enables directed broadcast behavior for the host. | | 1385 | If set to 1, enables directed broadcast behavior for the host. |
1380 | .It Li ip.do_loopback_cksum | | 1386 | .It Li ip.do_loopback_cksum |
1381 | Perform IP checksum on loopback. | | 1387 | Perform IP checksum on loopback. |
1382 | .It Li ip.forwarding | | 1388 | .It Li ip.forwarding |
1383 | If set to 1, enables IP forwarding for the host, | | 1389 | If set to 1, enables IP forwarding for the host, |
1384 | meaning that the host is acting as a router. | | 1390 | meaning that the host is acting as a router. |
1385 | .It Li ip.forwsrcrt | | 1391 | .It Li ip.forwsrcrt |
1386 | If set to 1, enables forwarding of source-routed packets for the host. | | 1392 | If set to 1, enables forwarding of source-routed packets for the host. |
1387 | This value may only be changed if the kernel security level is less than 1. | | 1393 | This value may only be changed if the kernel security level is less than 1. |
1388 | .It Li ip.gifttl | | 1394 | .It Li ip.gifttl |
1389 | The maximum time-to-live (hop count) value for an IPv4 packet generated by | | 1395 | The maximum time-to-live (hop count) value for an IPv4 packet generated by |
1390 | .Xr gif 4 | | 1396 | .Xr gif 4 |