$NetBSD: random.6,v 1.6 2003/08/07 09:37:35 agc Exp $ Copyright (c) 1994 The Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright ...
NAMErandom - random lines from a file or random numbers
sysctl Cm net.inet.tcp.syncookies [-er ] [denominator ]
DESCRIPTIONsysctl Cm net.inet.tcp.syncookies reads lines from the standard input and copies them to the standard output with a probability of 1/denominator. The default value for denominator is 2.
The options are as follows:
- If the -e option is specified, sysctl Cm net.inet.tcp.syncookies does not read or write anything, and simply exits with a random exit value of 0 to denominator -1 inclusive.
- The -r option guarantees that the output is unbuffered.