Network-related scripts for the command line
Converts a CIDR to a list of all of its IPs.
Converts a CIDR to a regular expression that should exclusively match each IP in its range.
A wrapper around host
that accepts any number of hosts to look up (the DNS server may be specified as an option).
A wrapper around busybox httpd
with smarter defaults.
A reconnection wrapper for SSH and Xpra on Linux. When your network reconnects (such as from waking your computer), so will your persistent SSH/Xpra sessions.
Quick "is it running" test that runs on TCP rather than ICMP (ping). Defaults to checking port 80 (HTTP).
A wrapper around rdesktop
that can handle SSH tunnels and a nickname index.
I do not use this any more and may not be able to support issues that crop up. The code is old and crufty because I have not maintained it in years. This may change if I gain a need for regular access to a Windows box.
List duplicate entries in your ~/.ssh/known_hosts
file as found by the server's public key. This can help you consolidate the file (you can have multiple entries separated by commas).
This is a drop-in replacement for the old tsocks
wrapper script that allows you to shove another program through a SOCKS proxy whether it wants to or not. Unlike the original tsocks
script, this supports tons of options that you'd otherwise need a configuration file for. (The Debian version of tsocks has a tsocks github repository.)