The programs available here have proved useful at 18 James on
Sparc-Solaris and MacOSX workstations. These utilities should run on
most Unix systems, and many will run on PCs as well.
UPS monitor
pf.c is a powerfail daemon that
monitors a UPS for a signal that the power has failed,
and after a specified interval initiates an orderly shutdown of the
system attached to the UPS. The code was written for
an American Power Conversion Back-UPS 600, but
should work with any UPS that uses
an RS-232 signal to indicate imminent battery
exhaustion. There is a man page, and a postscript version of the man page for sites
without groff or troff. Pf can be compiled to use the Solaris power
management package and the suspend/resume option for the sun4m and
sun4u architectures, or to initiate an orderly system shutdown.
worm protection
The Earlybird gets the worm! Apache::Earlybird is a mod_perl module for
Apache WWW servers that traps probes from
remote IIS servers infected by the CodeRed or Nimda
worms. The module returns a 403 Forbidden notice to the
attacker without cluttering the local error log, and emails
notifications of the infection attempt to a security tracking
authority and to the ISP of the infected machine.
Earlybird finds appropriate email notification addresses even for
sites with unresolvable ip-addresses, and maintains a cache so
notifications are sent for each attacking site only once every
24-hours. Requires an
Apache
WWW server compiled with mod_perl and a number
of perl packages available from CPAN. The
tarball includes a
README and a perl Makefile.PL that checks
dependencies on the system before installing the module.
mrtg
delay.pl is a perl script for use with MRTG (Multi Router Traffic Grapher) to monitor and graph network delays. Requires a working NTP installation. For documentation, do perldoc delay.pl.
ipf.pl is a perl script for use
with the ip-filter firewall and NAT
router to monitor inbound/outbound packets passed
through the firewall, packets blocked at the firewall,
NAT activity, the NAT & ip
state tables, and total traffic through the firewall for
MRTG graphs. For documentation, do perldoc
ipf.pl.
yiddish
yiddish is a Unix shell script that
displays YIVO-transliterated Yiddish in a
choice of Hebrew fonts on an X-Windows display, and/or prints
the Yiddish on a postscript printer. The script requires
LaTeX, and a superb
package of LaTeX macros from Raphael Finkel.
envelope
Envelope formats and prints envelopes on a Postscript printer. Can be used from the command line or from inside editors like emacs, vi, or LyX; parses addresses from troff, LaTeX, and LyX source. For documentation, do perldoc envelope.
| Last modified: 29-Sept-2003 10:20:33 EDT | © 2003 Ronald Florence |