some small hacks written by yours truly
here's some small hacks I've written primarily to make my life easier;
it's mostly in perl.
if you're looking for EL33T HAQUOR T00LZ, go away, read up
on the
meaning of hack
this stuff is in the public domain (except when noted
otherwise in the sources), I'm happily taking any bug fixes or
enhancements you write.
DTMF decoder
this is the userspace version of the DTMF
decoder I wrote years ago for isdn4linux. the paper on which I based
my implementation of the Goertzel algorithm is here.
cmpp
-- cm's HTML preprocessor
as www.awadalla.at, where I'm
webmastering (to some degree), was getting bigger, vi and
emacs alone weren't up to the task anymore, and the HTML
generators and preprocessors I found on the net didn't provide what I
needed. so I sat down and wrote my own.
here's the README and the program.
(hey, I'm even trusting my own pages to that thing!)
delayer
-- delayed innfeeds
I'm collecting news peerings (for at.*, de.*, Usenet II and The Other
Hierarchy; please mail me if you're interested), and I pay for
traffic. so most of these peerings are delayed, making them backup
feeds, effectively.
this is done with delayer, instructions are in
the script.
I've got one report of delayer being a CPU hog on a machine with lots
of traffic; if anybody can verify (and probably even fix :-) it, I'd
be glad to hear from you...
rbllookup
-- is a host on one of the MAPS style
blacklists?
rbllookup searches all known (to me) blacklists
(MAPS, ORBS, etc) for a given hostname or IP address.
remlist
-- remailer config and ping tool (deprecated)
in the meantime I don't even use remlist
myself
anymore, I've switched to Echolot by Peter
Palfrader.
if you use an older version, please upgrade to 0.2, it fixes two
major bugs.
remlist collects remailer configs and keys, and additionally is a
pinger, generating stats. it's an alpha version, but it works for me
and generates the stats on this website. download. there's a version for windows NT/2K by disastry here.
requirements:
- mySQL
- PGP 2.x
- GPG
- Perl 5
- *nix
an alternative named rlist
is available here.
another alternative is here.
shaper.sh
-- my config for traffic shaping with linux
this is background material for the workshop
I held at linuxwochen 2003 in
Vienna.
the setup I'm using is:
- eth0 is on my LAN, which has my computers and those of my neighbor "user2".
- eth1 is the Internet interface.
- eth2 goes to another neighbor, "user3".
- bandwidth is divided between myself, user2 and user3 2:1:1.
- additionally, there's a class for priority traffic (TOS
minimize-delay, ICMP, packets <= 64 bytes)
- HTB (in the mainstream linux kernel since about 2.4.18)
- the
tc
tool with the HTB patch
- kernel and iptables with IMQ, the Intermediate
Queueing Device
nnrpd-ldap-auth
-- LDAP authentication for INN's nnrpd
since there's no ready-to-use code out there, I wrote my own LDAP
authentication thing for nnrpd.
nnrpd-ldap-auth-0.1.tar.gz
README