The s6-randomip program
s6-randomip generates random IP addresses and prints them to its standard output, one per line.
Interface
s6-randomip [ -4 ] [ -6 ] [ -n max ]
- s6-randomip makes up IP addresses and prints them to its stdout. It keeps running until it receives a signal.
- IP addresses are not guaranteed to represent anything. They are totally random.
Options
- -4 : generate IPv4 addresses.
- -6 : generate IPv6 addresses. Both the -4 and -6 options may be given. If none is given, by default s6-randomip will only generate IPv4 addresses.
- -n max : s6-randomip will only generate max addresses, then exit 0, instead of running forever.
Notes
s6-randomip can be used in conjunction with s6-dnsname-filter to stress-test your DNS architecture. Please use this responsibly and ethically.
