Skip to content

adamhotep/net-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

net-scripts

Network-related scripts for the command line

cidr2ips

Converts a CIDR to a list of all of its IPs.

cidr2regex

Converts a CIDR to a regular expression that should exclusively match each IP in its range.

hosts

A wrapper around host that accepts any number of hosts to look up (the DNS server may be specified as an option).

persistent

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.

poke

Quick "is it running" test that runs on TCP rather than ICMP (ping). Defaults to checking port 80 (HTTP).

rdesktop

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.

ssh-hosthashes

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).

tsocks

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.)

About

Network-related scripts for the command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published