| |||
| bsd | dude, where's my code? | ||
| code | hacking for the masses | ||
| contact | solo sex does not qualify as reaching out and touching someone | ||
| gnu | what it means to be free | ||
| history | what state of mental health? | ||
| microsoft | on the lack of innovation | ||
| mrt | get out of school, do drugs, don't drink milk | ||
| phil | an ode to my favorite groundhog | ||
| religion | i am write and you are wrong | ||
| schismtracker | what makes good software great | ||
| secure | tightrope walking without a net | ||
( home : code ) do you like this page? yes (58% ) / no (41% )
code ... kchuid ... ldapdns
sha.c ... DOWNLOAD ...
antispam.txt ... DOWNLOAD ...
ifconfig-fix.diff ... DOWNLOAD ...
lilo-20-raid1.patch ... DOWNLOAD ...
dblogger.tgz ... DOWNLOAD ...
apachedbm.c ... DOWNLOAD ...
qmail-smtpd.c ... DOWNLOAD ...
fpse.tgz ... DOWNLOAD ...
ZEN
this whole area has been reorganized to make things easier on you.
that's a lie. it was reorganized to make my life easier. i think that i may also make your life easier as well
i am a firm believer in Zen-Hacking. I don't know how I code; I have no fixed method other than I am enlightened. I look at a problem, and I zen. Code has now been written.
this may sound silly, but try it. it works even better if you can't write code. simply open your favorite vi clone and stare at all the ~ 's for a few minutes.
when you snap out of it, look again. is code there? if so, you have just performed a zen-hack. If not, you have a long way to go...
ROAD TO ENLIGHTENMENT
Zen is a process by which something is mysterious, becomes sensical- and non-mysterious, and finally, becomes mysterious again.
Let the mountain become the stream, and the stream become magical. Let these things leave your mind because nobody uses mountains or streams in code.
Unless, they are little ASCII mountains /\/\~~~
FREE SOFTWARE
I happen to write a lot of software. It usually breaks down into quick, angry, useful and cool.
Quick hacks are easier to rewrite than to document. They probably aren't very useful here, but they often show up on this page with little or no documentation.
Angry hacks are those that work around something terrible; not that someone should have written them, but that they should not have to be written in the first place. Angry hacks are usually produced by renting me. However, they cannot be serquestored. I will not write angry-hacks on-demand because they infuriate me.
Useful hacks are on sub-pages of this one. They are things that I wrote to be complete and useful. Do not expect them to be shoddy pieces of work, but infact to function. LDAPDNS is the only useful hack I have posted right now.
Cool hacks make me feel good. I hope they make you feel good. A cool hack does this. It's like a ninja: It won't tell you how cool it is, you just look at it and be like, ``wow, that's cool''.
ifconfig-fix.diff
This patch addds the and keywords to the ifconfig tool on Linux. It's obsolete in two ways: it's been merged into all common modern versions of ifconfig, and people should use the ip command these days
lilo-20-raid1.diff
This patch is also obsolete. It allows LILO to be installed on a /dev/md* device under Linux.
apachedbm.c
This program manipulates a dbm file similar to the Apache project's perl script: dbmmanage
It's useful when Perl and Apache were built with different libraries available.
sha.c
This is a very stupid shell archiver. It was useful at one point.
qmail-smtpd.c
This is my qmail-smtpd "patch" that provides AUTH=LOGIN.
There are some frequently asked questions about it.
Why do you only support LOGIN? Why not CRAM-MD5? Why not...?
This was the first free server implementation of SMTP auth, written before RFC2554 when the few clients that supported SMTP AUTH only supported AUTH LOGIN.
I never liked the idea of SMTP AUTH. It's a horrible horrible hack and it's only needed on Windows boxes, and their email client doesn't support anything but AUTH LOGIN anyway.
Thunderbird/Mozilla/etc are completely wrong in supporting this beast. They should instead make it easy to list "nearby" SMTP servers so that roaming clients can use whichever SMTP server is for the ISP they are presently connected to.
If you want real security, consider using stunnel or some other SSL validating layer. Requiring SSL certificates is easy, and better supported on Windows than this beast.
There's a bug in your qmail-smtpd.c...
No there isn't. I mean, it's entirely possible there is, but given how every time someone says this there's a problem with their own setup, I'd suggest that you double check.
How do I use it?
Configure qmail first. Drop the qmail-smtpd.c that I provide into your qmail source directory. Follow the qmail installation instructions.
Using inetd, tcpservers, or other, when running qmail-smtpd as qmaild, note that you need to add two arguments to qmail-smtpd:
/path/to/checkpassword /bin/true
Note that the checkpassword supplied by djb probably requires root access on your system. The recommended way to do this is:
mkdir -m 0100 /var/qmail/auth; chown qmaild /var/qmail/auth
cp /path/to/checkpassword /var/qmail/auth
chmod 04111 /var/qmail/auth/checkpassword
Yes this makes checkpassword setuid-root, but it makes qmaild (the user who runs qmail-smtpd) able to reach it. If this worries you, consider running qmail-smtpd as root. This is probably not a good idea.
antispam.txt
This is a very simple (perl) method of POP before SMTP.
dblogger.tgz
This is logging using dbm. I haven't touched this in a while, so it's probably stagnant
fpse.tgz
An implementation of most of the Frontpage Server Extensions 2000 protocol. It's incomplete, and I always wanted to work on FP98's protocol. Seeing as how nobody uses that beast anymore, it might not be unwise to pick this up again...
⠄⠵