Scripts and Patches for Internet Service Providers
Annex Terminal Servers |
Client Software Support |
Cisco Routers |
In Memory of John Postel
Here are a few perl scripts and other patches I have written or collected
from other sources that might be of use to other
ISP's. You will probably have to modify paths in some of the scripts to
match your system.
- The Home Link File System daemon (hlfsd), included in the amd automounter
distribution, is used to automaticly route file requests to
/var/spool/mail/username a directory in the user's home tree. You can
install just hlfsd without the amd itself if your system has a stock
automounter (I've used it with both SunOS and Solaris 8). The following paper
describes the design and rational of the system.
- em -- comp.sources.misc, Volume 26. "em -
expire mail messages", by Steve
Mitchell, California State University, Fresno. Posted November 26, 1991.
- expire_mail -- perl program to do
Hints about Sendmail/e-mail by Claus Abmann.
- More Sendmail
Rules to fight spam.
- mailbot.pl: A simple mailbot script. Add a line
to your sendmail aliases file, and it will send a email message back to
whoever sends it mail. You can have mail forwarded on to other people.
Instructions are in the code as comments.
- mailbot2.pl: A slightly more advanced version
of the mailbot script. This one allows for one of a group of files to be
retrieved, based on the Subject: of the message sent to the bot. This
version by Steven Johnson
- ipop3d Patch: As shipped, the POP daemon from
the U of Washington does not check that a user has a valid log-in shell
before granting access. This means a user who has been denied access via an
invlid log-in shell can still read/delete mail. This patch to
c-client/log_std.c makes a check of /etc/shells first. I wrote this for a
SunOS 4.1.3 system. I have not tried, tested, or ever used any other
platform. The changes should be easily diffed and ported to the other
- Popper Security Patch: Patches Qualcom's
popper to use allow/deny files. Uses are: denying access to pop for root,
setting up pop-only accounts.
- Virtual POP boxes with Qualcomm's popper
V2.52. Some implementations of gdbm (Notably FreeBSD) will need
this patch also, which uses the db library
- unsubscribe.pl: Script to ubsubscribe a
user from their mailing lists, based on what's in their mail spool file.
Good for universities and other places with transient populations.
- poppassd Version 1.5 Patchlevel 1.
A daemon for the pop-pass protocol. This is used by Euodra and some other
programs to allow POP users to change their password. I've modified this
version to address some security problems that seem to date back to the
original implemntation. Most significantly, it did not log failed
For a WWW CGI interface to
this, see wwwpass in the World Wide Web section of this archive.
- Here are the anti-relay rules for
sendmail as modified by John Capo. They allow
certain people to realy through you, while blocking others.
- And finally, Steve Coile has his own version of the
- Blocking mailed spam and anti-spam provisions in
- Procmail Kit
Beta Intro to nuking spammers.
- Panix Anti-Spam Page
Quick-Start Tutorial by Nancy McGough.
Software from Exit 109
- dochk: Automatically process checkgroups messages
- Strip mail header off
- Feed to docheckgroups
- Run ctlinnd commands
- Add/remove lines in newsgroups file.
- mrgdesc: Script to update the newsgroups file:
- Merge system newsgroups file with a new one (ie: from another site or
from feed site) if a ./newsgroups file exists.
- Add dummy record for any groups in active without a description.
- Delete newsgroups record for any group not in the active file.
- newsmgr Version nothing: A full screen, menued,
replacement for choosenews. It's right now at the "I whipped this together"
stage, but will be an actual "package" RSN. It requires either curseperl 4.x
or perl 5 w/ the Curses extentinos. It also requires Steven Kunz's
- USENET Top 1000
- perlcr: How many tech support calls do you get
from people trying to run perl scripts, getting a cryptic error about "File
not Found". They uploaded the file in binary mode, and it can't run
/usr/local/bin/perl<cr>, right ? Here's the solution: A program you can call
perl<cr> that does nothing but print an error message. It's just one big
printf -- change the text to whatever you like. I've tried to give detailed
- get_dialup.pl: Perl code to determine a
dial-up user's login ID, based on their IP address. It currently can query
an Annex 3. Also contains code to query a PM2 using the pmwho command. This
routine is not reliable and needs work. Regular expressions MUST be adapted
for your local system.
- Fake PHF: PHF is an old CGI script with many holes
in it. This is a fake version that displays a "Not Found" message while
e-mailing the operator information about the attacker.
- WWW FAQs from MIT,
including the WWW
- FAQs from Nomad Mobile Research
- How to
become your own Certificate Authority
- wwwpass: A www interface to poppassd.
Allows PPP users without Eudora to change their password from a web page.
Requires poppassd (see the mail section of this archive for details).
OK, so some people had trouble with my code. Marty at atlantic.net rewrote
my code. Pick whichever one you like better.
- Selena Sol's CGI Script
Archive - Large collection of PD CGI scripts.
- PHP Code Exchanger
- Matt Wright's Script
Archive: Guestbook, WWWBoard, etc.
- The CGI Resource Index
- US Mirror for Analog:
A web log file analysis program. The main site is in the
- Process cache
statisitics from Netscape and squid caches.
- Squid Proxy Cache
- Web Server Performance hints, from PC Week
- Arena free web
browser. Currently for Unix only, soon for other systems.
- Front Page
Extensions for Unix servers.
- CGI Scripts from
- SuperForm: Returns all variable from a script.
Generic mail-back form.
Client Software Support
ISP Billing Systems:
- Find out why
Domain Support Group is a scam. (And this link helps boost the scam info
page in Google's ranking. Whoo Whoo !)
- Verizon ISP Mailing
List: A mailing list for ISP resellers of Verizon DSL.
- MaxSHow --
monitor Ascend MAX hardware via the web.
- Netscan.org: Database of sites
which are still configured as smurf amplifiers. Check to see if you or your
provider is misconfigured, and fix it !
- Perl RADIUS Server
- checklink.pl: Verify your internet
connection and automaticly put a message on your web page when there is a
problem. Also e-mails you.
- WebDNS: Administer a
bind DNS server from a web interface.
- adduser: Perl script to automate the addition
of users to a system.
- Info on the smurf
attack and how to protect against it.
- Powerfail Daemon: Have a UPS, but no software to
shut down your machine? This short C program will monitor a UPS and issue
the shutdown command if power is down for a specified amount of time.
Includes instructions on how to make a cable for APC units. Author unknown.
- nocol-4.01.tar.gz: NOCOL is a network
monitoring program. Additional monitoring for NNTP, HTTP, and SMTP are
available from Sprawl
- Big Brother - Another network
- Perlmenu: Full-screen curses menu
routines for curseperl or Perl 5 with the Curses.pm package. For more info,
visit the Perlmenu Home
- SunOS 4.1.3 loadmodule fix: An
advisory reproted a bug in the SunOS
loadmodule command that could give users on your system root access. This
wrapper attempts to fix this problem.
- MRTG -
Multi-Router Traffic Grapher. Another router stats package.
- Pidentd: Daemon that
identifies your users to remote systems when they connect. A friendly thing
lbnamed: Load Ballancing named. Used to return the IP number of the
maching in a group with the lowest load. Can be modified for other
- A discussion of BGP
- The Entrepreneur's Guide to
Building an Internet Service Company, ISP, or Online Business: parts
taken from (and an ad for) a book on building an ISP.
- Apache Week
Weekly newsletter about the Apache web server.
- ISP Resources from Dave's
Amazing Internet Services. Includes the FAQ and
- MicroWeb ISP Page. Includes
information on configuring filtering in Cisco routers.
- Archives of the
- LCD Panel for Linux
- And for fun . . . pictures from the
Fall 1997 ISPCON . . .
- . . . and Spring
'98 ISPCON, including me winning the Hummer.
- ... and ... Luser Voicemail from
- For you enjoyment, The Dead T1 Sketch. See
Avi bravely attempt to convince the telco the T1 has passed to the great