[BACK]Return to sysctl.7 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / man / man7

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/share/man/man7/sysctl.7 between version 1.71 and 1.85

version 1.71, 2012/06/09 08:22:14 version 1.85, 2014/08/03 09:15:21
Line 29 
Line 29 
 .\"  .\"
 .\"     @(#)sysctl.3    8.4 (Berkeley) 5/9/95  .\"     @(#)sysctl.3    8.4 (Berkeley) 5/9/95
 .\"  .\"
 .Dd June 8, 2012  .Dd August 3, 2014
 .Dt SYSCTL 7  .Dt SYSCTL 7
 .Os  .Os
 .Sh NAME  .Sh NAME
Line 164  capabilities with the following third le
Line 164  capabilities with the following third le
 .Bl -tag -width "123456"  .Bl -tag -width "123456"
 .It Li vfs.wapbl.flush_disk_cache  .It Li vfs.wapbl.flush_disk_cache
 Controls whether to attempt to flush the disk cache on each commit.  Controls whether to attempt to flush the disk cache on each commit.
 It defaults to 1 and it should always be on to ensure data integrity in  It defaults to 1 and it should always be on to ensure integrity
 case of a crash.  of file system metadata in the event of a power loss.
 For slow disks, turning it off can improve performance.  For slow disks, turning it off can improve performance.
 .It Li vfs.wapbl.verbose_commit  .It Li vfs.wapbl.verbose_commit
 For each transaction log commit, print the number of bytes written  For each transaction log commit, print the number of bytes written
Line 198  privilege may change the value.
Line 198  privilege may change the value.
 .It hw.machine_arch     string  no  .It hw.machine_arch     string  no
 .It hw.model    string  no  .It hw.model    string  no
 .It hw.ncpu     integer no  .It hw.ncpu     integer no
   .It hw.ncpuonline       integer no
 .It hw.pagesize integer no  .It hw.pagesize integer no
 .It hw.physmem  integer no  .It hw.physmem  integer no
 .It hw.physmem64        quad    no  .It hw.physmem64        quad    no
Line 249  The machine CPU class.
Line 250  The machine CPU class.
 .It Li hw.model ( HW_MODEL )  .It Li hw.model ( HW_MODEL )
 The machine model.  The machine model.
 .It Li hw.ncpu ( HW_NCPU )  .It Li hw.ncpu ( HW_NCPU )
 The number of CPUs.  The number of CPUs configured.
   .It Li hw.ncpuonline ( HW_NCPUONLINE )
   The number of CPUs online.
 .It Li hw.pagesize ( HW_PAGESIZE )  .It Li hw.pagesize ( HW_PAGESIZE )
 The software page size.  The software page size.
 .It Li hw.physmem ( HW_PHYSMEM )  .It Li hw.physmem ( HW_PHYSMEM )
Line 277  privilege may change the value.
Line 280  privilege may change the value.
 .It kern.argmax integer no  .It kern.argmax integer no
 .It kern.boothowto      integer no  .It kern.boothowto      integer no
 .It kern.boottime       struct timeval  no  .It kern.boottime       struct timeval  no
   .It kern.buildinfo      string  no
 .\".It kern.bufq        node    not applicable  .\".It kern.bufq        node    not applicable
 .It kern.ccpu   integer no  .It kern.ccpu   integer no
 .It kern.clockrate      struct clockinfo        no  .It kern.clockrate      struct clockinfo        no
Line 329  privilege may change the value.
Line 333  privilege may change the value.
 .It kern.ostype string  no  .It kern.ostype string  no
 .\".It kern.panic_now   integer yes  .\".It kern.panic_now   integer yes
 .It kern.pipe   node    not applicable  .It kern.pipe   node    not applicable
   .It kern.pool   struct pool_sysctl      no
 .\" .It kern.posix      node    not applicable  .\" .It kern.posix      node    not applicable
 .It kern.posix1version  integer no  .It kern.posix1version  integer no
 .It kern.posix_aio      integer no  .It kern.posix_aio      integer no
Line 394  A
Line 399  A
 .Vt struct timeval  .Vt struct timeval
 structure is returned.  structure is returned.
 This structure contains the time that the system was booted.  This structure contains the time that the system was booted.
   .It Li kern.buildinfo
   When the kernel is built, the build environment may optionally provide
   arbitrary information to be stored in this variable.
 .\" .It Li kern.bufq  .\" .It Li kern.bufq
 .\" XXX: Undocumented.  .\" XXX: Undocumented.
 .It Li kern.ccpu ( KERN_CCPU )  .It Li kern.ccpu ( KERN_CCPU )
Line 739  The third level names for the settings a
Line 747  The third level names for the settings a
 .Bl -column "kern.module.autoload" "integer" "Changeable" -offset indent  .Bl -column "kern.module.autoload" "integer" "Changeable" -offset indent
 .It Sy Third level name Type    Changeable  .It Sy Third level name Type    Changeable
 .It kern.module.autoload        integer yes  .It kern.module.autoload        integer yes
   .It kern.module.autotime        integer yes
 .It kern.module.verbose integer yes  .It kern.module.verbose integer yes
 .El  .El
 .Pp  .Pp
Line 749  A boolean that controls whether kernel m
Line 758  A boolean that controls whether kernel m
 See  See
 .Xr module 7  .Xr module 7
 for additional details.  for additional details.
   .It Li kern.module.autotime
   An integer that controls the delay before an attempt is made to
   automatically unload a module that was auto-loaded.
   Setting this value to zero disables the auto-unload function.
 .It Li kern.module.verbose  .It Li kern.module.verbose
 A boolean that enables or disables verbose  A boolean that enables or disables verbose
 debug messages related to kernel modules.  debug messages related to kernel modules.
Line 844  Number of
Line 857  Number of
 .Dq big  .Dq big
 pipes.  pipes.
 .El  .El
   .It Li kern.pool
   Provides statistics about the
   .Xr pool 9
   and
   .Xr pool_cache 9
   subsystems.
 .\" XXX: Undocumented .It Li kern.posix ( ? )  .\" XXX: Undocumented .It Li kern.posix ( ? )
 .\"      This is a node in which the only variable is semmax.  .\"      This is a node in which the only variable is semmax.
 .It Li kern.posix1version ( KERN_POSIX1 )  .It Li kern.posix1version ( KERN_POSIX1 )
Line 1223  The currently defined protocols and name
Line 1242  The currently defined protocols and name
 .It icmp        redirtimeout    integer yes  .It icmp        redirtimeout    integer yes
 .It icmp        bmcastecho      integer yes  .It icmp        bmcastecho      integer yes
 .It ip  allowsrcrt      integer yes  .It ip  allowsrcrt      integer yes
   .It ip  anonportalgo.selected   string  yes
   .It ip  anonportalgo.available  string  yes
   .It ip  anonportalgo.reserve    struct  yes
 .It ip  anonportmax     integer yes  .It ip  anonportmax     integer yes
 .It ip  anonportmin     integer yes  .It ip  anonportmin     integer yes
 .It ip  checkinterface  integer yes  .It ip  checkinterface  integer yes
Line 1282  The currently defined protocols and name
Line 1304  The currently defined protocols and name
 .It udp checksum        integer yes  .It udp checksum        integer yes
 .It udp do_loopback_cksum       integer yes  .It udp do_loopback_cksum       integer yes
 .It udp recvspace       integer yes  .It udp recvspace       integer yes
 .It udp rfc6056.selected        string  yes  
 .It udp rfc6056.available       string  yes  
 .It udp sendspace       integer yes  .It udp sendspace       integer yes
 .El  .El
 .Pp  .Pp
Line 1327  believes it can send advertisements more
Line 1347  believes it can send advertisements more
 Disabled by default.  Disabled by default.
 .It Li ip.allowsrcrt  .It Li ip.allowsrcrt
 If set to 1, the host accepts source routed packets.  If set to 1, the host accepts source routed packets.
   .It Li ip.anonportalgo.available
   The available RFC 6056 port randomization algorithms.
   .It Li ip.anonportalgo.reserve
   A bitmask of ports that will not be used during anonymous or privileged
   port selection.
   .It Li ip.anonportalgo.selected
   The currently selected RFC 6056 port randomization algorithm.
 .It Li ip.anonportmax  .It Li ip.anonportmax
 The highest port number to use for TCP and UDP ephemeral port allocation.  The highest port number to use for TCP and UDP ephemeral port allocation.
 This cannot be set to less than 1024 or greater than 65535, and must  This cannot be set to less than 1024 or greater than 65535, and must
Line 1464  Number of ticks to delay sending an ACK.
Line 1491  Number of ticks to delay sending an ACK.
 Perform TCP checksum on loopback.  Perform TCP checksum on loopback.
 .It Li tcp.init_win  .It Li tcp.init_win
 A value indicating the TCP initial congestion window.  A value indicating the TCP initial congestion window.
 If this value is 0, an auto-tuning algorithm designed to use an initial  The valid range
 window of approximately 4K bytes is in use.  is 0 to 10 (maximum specified by draft-ietf-tcpm-initcwnd-08.txt),
 Otherwise, this value indicates a fixed number of packets.  with a default of 4 (approximately 4K per RFC3390).
 .It Li tcp.init_win_local  .It Li tcp.init_win_local
 Like  Like
 .Li tcp.init_win ,  .Li tcp.init_win ,
Line 1565  Received non-zero UDP checksums are alwa
Line 1592  Received non-zero UDP checksums are alwa
 Disabling UDP checksums is strongly discouraged.  Disabling UDP checksums is strongly discouraged.
 .It Li udp.recvspace  .It Li udp.recvspace
 The default UDP receive buffer size.  The default UDP receive buffer size.
 .It Li udp.rfc6056.available  
 The available RFC 6056 port randomization algorithms.  
 .It Li udp.rfc6056.selected  
 The currently selected RFC 6056 port randomization algorithm.  
 .It Li udp.sendspace  .It Li udp.sendspace
 The default UDP send buffer size.  The default UDP send buffer size.
 .El  .El
Line 1597  The currently defined protocols and name
Line 1620  The currently defined protocols and name
 .It icmp6       rediraccept     integer yes  .It icmp6       rediraccept     integer yes
 .It icmp6       redirtimeout    integer yes  .It icmp6       redirtimeout    integer yes
 .It ip6 accept_rtadv    integer yes  .It ip6 accept_rtadv    integer yes
   .It ip6 anonportalgo.selected   string  yes
   .It ip6 anonportalgo.available  string  yes
   .It ip6 anonportalgo.reserve    struct  yes
 .It ip6 anonportmax     integer yes  .It ip6 anonportmax     integer yes
 .It ip6 anonportmin     integer yes  .It ip6 anonportmin     integer yes
 .It ip6 auto_flowlabel  integer yes  .It ip6 auto_flowlabel  integer yes
Line 1612  The currently defined protocols and name
Line 1638  The currently defined protocols and name
 .It ip6 log_interval    integer yes  .It ip6 log_interval    integer yes
 .It ip6 lowportmax      integer yes  .It ip6 lowportmax      integer yes
 .It ip6 lowportmin      integer yes  .It ip6 lowportmin      integer yes
   .It ip6 maxdynroutes    integer yes
   .It ip6 maxifprefixes   integer yes
   .It ip6 maxifdefrouters integer yes
 .It ip6 maxflows        integer yes  .It ip6 maxflows        integer yes
 .It ip6 maxfragpackets  integer yes  .It ip6 maxfragpackets  integer yes
 .It ip6 maxfrags        integer yes  .It ip6 maxfrags        integer yes
   .It ip6 neighborgcthresh        integer yes
 .It ip6 redirect        integer yes  .It ip6 redirect        integer yes
 .It ip6 rr_prune        integer yes  .It ip6 rr_prune        integer yes
 .It ip6 use_deprecated  integer yes  .It ip6 use_deprecated  integer yes
 .It ip6 v6only  integer yes  .It ip6 v6only  integer yes
 .It udp6        do_loopback_cksum       integer yes  .It udp6        do_loopback_cksum       integer yes
 .It udp6        recvspace       integer yes  .It udp6        recvspace       integer yes
 .It udp6        rfc6056.selected        string  yes  
 .It udp6        rfc6056.available       string  yes  
 .It udp6        sendspace       integer yes  .It udp6        sendspace       integer yes
 .El  .El
 .Pp  .Pp
Line 1634  and autoconfigures address prefixes and 
Line 1662  and autoconfigures address prefixes and 
 The node must be a host  The node must be a host
 .Pq not a router  .Pq not a router
 for the option to be meaningful.  for the option to be meaningful.
   .It Li ip6.anonportalgo.available
   The available RFC 6056 port randomization algorithms.
   .It Li ip6.anonportalgo.reserve
   A bitmask of ports that will not be used during anonymous or privileged
   port selection.
   .It Li ip6.anonportalgo.selected
   The currently selected RFC 6056 port randomization algorithm.
 .It Li ip6.anonportmax  .It Li ip6.anonportmax
 The highest port number to use for TCP and UDP ephemeral port allocation.  The highest port number to use for TCP and UDP ephemeral port allocation.
 This cannot be set to less than 1024 or greater than 65535, and must  This cannot be set to less than 1024 or greater than 65535, and must
Line 1711  The lowest port number to use for TCP an
Line 1746  The lowest port number to use for TCP an
 This cannot be set to less than 0 or greater than 1024, and must  This cannot be set to less than 0 or greater than 1024, and must
 be smaller than  be smaller than
 .Li ip6.lowportmax .  .Li ip6.lowportmax .
   .It Li ip6.maxdynroutes
   Maximum number of routes created by redirect.
   Set it to negative to disable.
   The default value is 4096.
   .It Li ip6.maxifprefixes
   Maximum number of prefixes created by route advertisements per interface.
   Set it to negative to disable.
   The default value is 16.
   .It Li ip6.maxifdefrouters 16
   Maximum number of default routers created by route advertisements per interface.
   Set it to negative to disable.
   The default value is 16.
 .It Li ip6.maxflows  .It Li ip6.maxflows
 IPv6 Fast Forwarding is enabled by default.  IPv6 Fast Forwarding is enabled by default.
 If set to 0, IPv6 Fast Forwarding is disabled.  If set to 0, IPv6 Fast Forwarding is disabled.
Line 1727  The maximum number of fragments the node
Line 1774  The maximum number of fragments the node
 0 means that the node will not accept any fragments.  0 means that the node will not accept any fragments.
 \-1 means that the node will accept as many fragments as it receives.  \-1 means that the node will accept as many fragments as it receives.
 The flag is provided basically for avoiding possible DoS attacks.  The flag is provided basically for avoiding possible DoS attacks.
   .It Li ip6.neighborgcthresh
   Maximum number of entries in neighbor cache.
   Set to negative to disable.
   The default value is 2048.
 .It Li ip6.redirect  .It Li ip6.redirect
 If set to 1, ICMPv6 redirects may be sent by the node.  If set to 1, ICMPv6 redirects may be sent by the node.
 This option is ignored unless the node is routing IP packets,  This option is ignored unless the node is routing IP packets,
Line 1830  ICMPv6 redirect.
Line 1881  ICMPv6 redirect.
 Perform UDP checksum on loopback.  Perform UDP checksum on loopback.
 .It Li udp6.recvspace  .It Li udp6.recvspace
 Default UDP receive buffer size.  Default UDP receive buffer size.
 .It Li udp6.rfc6056.available  
 The available RFC 6056 port randomization algorithms for IPv6.  
 .It Li udp6.rfc6056.selected  
 The currently selected RFC 6056 port randomization algorithm for IPv6.  
 .It Li udp6.sendspace  .It Li udp6.sendspace
 Default UDP send buffer size.  Default UDP send buffer size.
 .El  .El
Line 1856  The currently defined variable and names
Line 1903  The currently defined variable and names
 .Bl -column "blockacq_lifetime" "integer" "Changeable" -offset indent  .Bl -column "blockacq_lifetime" "integer" "Changeable" -offset indent
 .It Sy Variable name    Type    Changeable  .It Sy Variable name    Type    Changeable
 .It debug       integer yes  .It debug       integer yes
   .It enabled     integer yes
   .It used        integer no
 .It spi_try     integer yes  .It spi_try     integer yes
 .It spi_min_value       integer yes  .It spi_min_value       integer yes
 .It spi_max_value       integer yes  .It spi_max_value       integer yes
Line 1873  The variables are as follows:
Line 1922  The variables are as follows:
 Turn on debugging message from within the kernel.  Turn on debugging message from within the kernel.
 The value is a bitmap, as defined in  The value is a bitmap, as defined in
 .In netkey/key_debug.h .  .In netkey/key_debug.h .
   .It Li enabled
   Control processing of IPsec control messages.
   .Bl -tag -width indent
   .It 0
   Never allow IPsec processing
   .It 1
   Allow IPsec processing when SPD policies are present.
   .It 2
   Force IPsec processing even when SPD policies are not present.
   .El
   .It Li used
   Based on if IPsec is enabled, and SPD rule existance, show if
   IPsec is being used.
   Note that currenly once IPsec is being used, it cannot be disabled.
 .It Li spi_try  .It Li spi_try
 The number of times the kernel will try to obtain an unique SPI  The number of times the kernel will try to obtain an unique SPI
 when it generates it from random number generator.  when it generates it from random number generator.

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.85

CVSweb <webmaster@jp.NetBSD.org>