jwa's crufty unix hacks
Everyone who has ever hacked around on unix machines
for fun (student) or profit (sysadmin/programmer) has
developed their own little tools & programs to make their
lives easier. Here are a few of mine. If you use them,
please report any failures or successes to
me.
Most are old and crufty, and included here for amusement purposes.
Enjoy at your own risk :)
All are copylefted under the terms of the
GNU General Public
License (naturally.)
- 2000-12-10 -
iis2apache
(perl, 3kb)
v1.0 -- Turn an IIS log into an Apache log. I had to do this for work;
we have some IIS boxes & we wanted to be able to
webalize them.
I hunted around on the Net for something that would do this,
and while I did learn that you can just configure IIS to log
in Apache Common Log Format, that wasn't an option for us.
This seems to work so far.. :-)
- 2000-02-17 -
tcp-term.c
(C, 10kb)
v1.0 -- tcp-term binds a TCP socket to a serial device. This lets me telnet
to a machine and get to a modem or whatever is attached to the serial port.
Someone else may have already done something like this.. but does
theirs have a twirly cursor?? :-)
- 1998-05-08 -
refer-stat
(perl, 2kb)
v1.0 -- Extracts the HTTP Referrer: field from an NCSA/Apache-style logfile and
generates a list of the top referring pages. Why? Because sometimes
you just want one question answered, and don't necessarily want to run
a log through a moby web analysis tool.
- 1997-12-18 -
resrot
(perl, 6kb)
v1.1 -- Ever wish there was a good way to update all of your hosts' resolv.conf with
fresh DNS servers? Ever wish there was a way to balance the nameserver
requests from clients to multiple DNS servers? Ever wish there was a way to
automatically prune unresponsive nameservers from resolv.conf? resrot
attempts to solve some of those problems.
- 1996-11-19 -
redirmail
(perl, 13kb)
redirmail.readme
(English, 2kb)
install.sh
(shell script, 1kb)
v1.0 -- A simple perl script which emulates the functionality of sendmail on
mail-client-only systems. Kind of irrelevant in today's wild world
of firewalls and spammers, but it was a good idea at the time :)
- 1995-07-25 -
netmon
(perl, 4kb)
netmon.hosts.sample
(ASCII, 191 bytes)
v1.0b -- My Very First Perl Program! Give it a list of hosts to monitor (ping)
and it puts up a pretty screen: reachable hosts in green, unreachable
hosts in red. Uses
fping
to efficiently ping multiple hosts.
(I was inspired by a tool used by the folks where I used
to work. The name of the tool
escapes me, but it did the same thing under DOS. I wanted a Unix
version :-)
- 1994-12-13 -
nntp-scan.tar.gz
(gzip'd tarball, 4kb)
-- A few shell scripts & C programs that were an early
version of a public news server
finder. Look at those yellowing bits ...
- 1994-07-29 -
ngrab.shar
(shell archive, 24kb)
-- A collection of shell scripts & C I wrote aeons ago to bring news from a
NNTP server to my UUCP node. (unkadath.UUCP ... those were the Old Days.)
jammed.com |
my page |
my hacks |
my hacky security tools
page automatically built Tue Feb 5 22:23:43 PST 2002
by jwa
@ nimue
(/home/nimue/jwa/bin/hacks2html)