1.0.0 • Published 9 years ago
dumptable v1.0.0
dumptable
Get the contents of cjdns's routing table.
Installation
npm install -g dumptable
Usage
dumptable
There are no arguments or config options. Output is one IPv6 address and link quality number per line.
Examples
Sort by link quality
dumptable | sort -k2 -rn
Get just IPs
dumptable | cut -f1
Build URLs
dumptable | cut -f1 | sed 's|.*|http://[&]/nodeinfo.json|'
Build and download URLs
dumptable | cut -f1 | sed 's|.*|http://[&]/nodeinfo.json|' | wget -U - -Nx -T 10 -t 0 --max-redirect=0
License
Fair License (Fair)
Copyright (c) 2015 Charles Lehner
Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.
DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.
1.0.0
9 years ago