random.4 (111447) | random.4 (124759) |
---|---|
1.\" Copyright (c) 2001 Mark R V Murray. All rights reserved. 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 7 unchanged lines hidden (view full) --- 16.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 17.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 18.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 19.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 20.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 22.\" SUCH DAMAGE. 23.\" | 1.\" Copyright (c) 2001 Mark R V Murray. All rights reserved. 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 7 unchanged lines hidden (view full) --- 16.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 17.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 18.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 19.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 20.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 22.\" SUCH DAMAGE. 23.\" |
24.\" $FreeBSD: head/share/man/man4/random.4 111447 2003-02-24 22:53:26Z ru $ | 24.\" $FreeBSD: head/share/man/man4/random.4 124759 2004-01-20 21:33:45Z schweikh $ |
25.\" 26.Dd February 10, 2001 27.Dt RANDOM 4 28.Os 29.Sh NAME 30.Nm random 31.Nd the entropy device 32.Sh DESCRIPTION --- 58 unchanged lines hidden (view full) --- 91that processes the harvest queue 92to 93.Xr tsleep 9 94briefly after that many events 95have been processed. 96This helps prevent the random device 97from being so compute-bound 98that it takes over all processing ability. | 25.\" 26.Dd February 10, 2001 27.Dt RANDOM 4 28.Os 29.Sh NAME 30.Nm random 31.Nd the entropy device 32.Sh DESCRIPTION --- 58 unchanged lines hidden (view full) --- 91that processes the harvest queue 92to 93.Xr tsleep 9 94briefly after that many events 95have been processed. 96This helps prevent the random device 97from being so compute-bound 98that it takes over all processing ability. |
99A value of zero (0) is treated as | 99A value of 0 (zero) is treated as |
100.Em infinity , 101and will only allow the kernel to pause 102if the queue is empty. 103Only values in the range 104.Bq 0..20 105are accepted. 106.Pp 107The 108.Va kern.random.sys.harvest.ethernet 109variable is used to select LAN traffic as an entropy source. | 100.Em infinity , 101and will only allow the kernel to pause 102if the queue is empty. 103Only values in the range 104.Bq 0..20 105are accepted. 106.Pp 107The 108.Va kern.random.sys.harvest.ethernet 109variable is used to select LAN traffic as an entropy source. |
110A zero (0) value means that LAN traffic | 110A 0 (zero) value means that LAN traffic |
111is not considered as an entropy source. | 111is not considered as an entropy source. |
112Set the variable to one (1) | 112Set the variable to 1 (one) |
113if you wish to use LAN traffic for entropy harvesting. 114.Pp 115The 116.Va kern.random.sys.harvest.point_to_point 117variable is used to select serial line traffic as an entropy source. 118(Serial line traffic includes PPP, SLIP and all tun0 traffic.) | 113if you wish to use LAN traffic for entropy harvesting. 114.Pp 115The 116.Va kern.random.sys.harvest.point_to_point 117variable is used to select serial line traffic as an entropy source. 118(Serial line traffic includes PPP, SLIP and all tun0 traffic.) |
119A zero (0) value means such traffic | 119A 0 (zero) value means such traffic |
120is not considered as an entropy source. | 120is not considered as an entropy source. |
121Set the variable to one (1) | 121Set the variable to 1 (one) |
122if you wish to use it for entropy harvesting. 123.Pp 124The 125.Va kern.random.sys.harvest.interrupt 126variable is used to select hardware interrupts 127as an entropy source. | 122if you wish to use it for entropy harvesting. 123.Pp 124The 125.Va kern.random.sys.harvest.interrupt 126variable is used to select hardware interrupts 127as an entropy source. |
128A zero (0) value means interrupts | 128A 0 (zero) value means interrupts |
129are not considered as an entropy source. | 129are not considered as an entropy source. |
130Set the variable to one (1) | 130Set the variable to 1 (one) |
131if you wish to use them for entropy harvesting. 132All interrupt harvesting is setup by the 133individual device drivers. 134.Pp 135The other variables are explained in the paper describing the 136.Em Yarrow 137algorithm at 138.Pa http://www.counterpane.com/yarrow.html . --- 172 unchanged lines hidden --- | 131if you wish to use them for entropy harvesting. 132All interrupt harvesting is setup by the 133individual device drivers. 134.Pp 135The other variables are explained in the paper describing the 136.Em Yarrow 137algorithm at 138.Pa http://www.counterpane.com/yarrow.html . --- 172 unchanged lines hidden --- |