Last updated 20070711
URL: http://toribio.apollinare.org/qmail/

README.ucspi.st-patch

(c) 2003-2006 Salvatore Toribio for this combo-patch (toribio - pusc.it)

This cumulative patch for ucspi comes with NO WARRANTY, you can redistribute and modify it freely, just put a link to this page.

Original ucspi from Daniel J. Bernstein could be download from: ucspi-tcp-0.88.tar.gz.

TO APPLY THE PATCH

Download it (ucspi.st-combo.09.patch) or:

wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz
wget http://toribio.apollinare.org/qmail/ucspi.st-combo.09.patch

tar xzf ucspi-tcp-0.88.tar.gz -C /var/tmp
cp ucspi.st-combo.09.patch /var/tmp/

cd /var/tmp

patch -p0 < ucspi.st-combo.09.patch

You will get this output:

patching file ucspi-tcp-0.88/Makefile
patching file ucspi-tcp-0.88/README.st-patch
patching file ucspi-tcp-0.88/error.h
patching file ucspi-tcp-0.88/rblsmtpd.c
patching file ucspi-tcp-0.88/tcpserver.c

PATCHES INCLUDED

rblsmtpd-nodefaultrbl.patch from Charles Cazabon
(http://pyropus.ca/software/misc/rblsmtpd-nodefaultrbl.patch)

ucspi-tcp-0.88.a_record.patch from Mate Wierdl
(http://djbware.csi.hu/patches/ucspi-tcp-0.88.a_record.patch)

ucspi-tcp-0.88.errno.patch from Mate Wierdl
(http://djbware.csi.hu/patches/ucspi-tcp-0.88.errno.patch)

ucspi-tcp-0.88-periplimit.7.patch from Balazs Nagy
Concurrent IP connection limiter for ucspi-tcp.
It is possible to run the tcpserver with the option '-s number' in order to limit the connections from the same ip.
I have added a workaround to avoid a memory problem...
(http://js.hu/package/ucspi-tcp/)

Added option '-L' to the tcpseerver
If tcpserver is invoked with this option the logs will change format to be compatibile with qmail-scanner log format (pid program: log_message).
This option will also set the QSLOG environment variable, so qmail-smtpd-st (from qmail.st-combo.14.patch) will log with the same format.


Home

Salvatore Toribio

20070711