Article View: news.software.nntp
Article #23549Diablo 1.14 RELEASED (news transit software)
From: Matt Dillon
Date: Sun, 23 Nov 1997 00:00
Date: Sun, 23 Nov 1997 00:00
135 lines
7051 bytes
7051 bytes
Diablo 1.14 has been released. The final release notes are
included below. I added one additional feature verses the preliminary
release notes I posted yesterday, that being a more sophisticated
diablo.hosts host/ip matching algorithm.
The release is now available on my site. The site also contains the
full release notes, manual pages, and other things. Note that I
am still shipping an older version of Iain's stats package, so if you
have a newer release do not overwrite the old one. I'll clean up
the contrib stuff in the next release.
http://www.backplane.com/diablo/
http://www.backplane.com/diablo/diablo-1.14.tgz
Please read the release notes carefully. There have been many, many
fixes, new features, and so forth. It should be relatively easy to
upgrade from 1.13 to 1.14, you basically just need to throw a new
configuration file in and fixup dexpire.ctl.
The most experimental (and least tested) aspect of this release is
the active file support, via dactive.kp. It defaults to off. Both
the active file portion and the KP database library it is written on
top of should be considered alpha.
-Matt
Diablo V1.14 -- NOTE: remove /news/dexpire.factor if it exists
-- NOTE: /news/dexpire.ctl must be reorganized a bit
-- NOTE: new REQUIRED configuration file added
*NOTE* NO reader support yet, but I'm getting close.
Added general key-token-value database support and added prelininary
active file support through the key-token-value database. This is
good enough to allow diablo to generate Xref: headers. However, no
control message support has been added yet (that's going to be
a reader-side function). The dactive file is implemented as a
shared binary key-token-pair database and is intended to (optionally)
hold additional information such as the moderator email, newsgroup
description, and control PGP keys. The format is extensible. While
the dactive file is human readable, it should never be edited manually
while diablo-related processes are active. Use the supplied utilities
instead. THIS SUPPORT IS UNDER DEVELOPMENT AND SHOULD NOT BE CONSIDERED
PRODUCTION YET.
New configuration file, diablo.config added. See the sample
diablo.config file. This file is REQUIRED. Diablo will refuse
to start if this file is missing.
All entries in diablo.hosts are REQUIRED to have a label, and that
label is REQUIRED to exist in the dnewsfeeds file. Diablo will now
generate a 502 if a label is missing. Note that you can direct
incoming-only feeds to the same label if you wish.
DEXPIRE.CTL works again. In prior releases dexpire.ctl served only
to reject articles that were too large. The spool storage & expiration
scheme has been redone in this release so time-grouped expires work
again, allowing you to control expiration based on group. Note
that the expiration does not currently work for the control.* pseudo
group, but it will in a future release. There is a cost though:
while the number of physical files is not expected to increase, the
number of open file descriptors will multiply by about 6x if you use
the feature.
The new reader-mode expiration code is NOT turned on by default
because I do not want to trip people up. Please review the top of
samples/diablo.config to see how to turn it on.
The system-wide or max-per-user file descriptor limit should be at
least 4096 to accomodate an increase in the number of open
descriptors if you configure expiration for reader operation.
The remember time, in days, may be set in diablo.config rather then
hacking lib/vendor.h if you wish. This allows many diablo
installations to compile straight out of the box without having to
edit lib/vendor.h.
The new CRC64 algorithm can be used for the hash. The sample
diablo.config includes a 'hash' algorithm specification. The older
hash algorithm is called 'prime'. The new one is called 'crc'. The
sample diablo.config uses 'crc/prime' which means to use crc, but
to fallback to prime on lookup if it fails to find a record with crc.
To avoid blowing your history, you should leave the method set to
crc/prime for about a week and then set it to just crc.
While the new spool setup is backwards compatible to the previous
setup, more care must be taken when removing spool directories to
prevent corruption. If you remove spool directories manually and
the diablo server is running, you must rename the directory prior
to rm -rf'ing it to be 100% safe. The new dexpire does this, of
course.
DEXPIRE.CTL now uses a percentage expire. That is, you specify
a percentage of the best case expire (1-100) that you wish
and diablo expires articles accordingly. See the samples/dexpire.ctl
file. Diablo will dynamically and automatically conform itself
to your expiration parameters but you must edit the file with the
new scheme in mind for it to make sense.
Added new utility, dreadart, to read articles and/or verify their
consistancy in the spool given the message-id.
The maximum number of parallel feeds from any given client may now
be specified on a label-by-label basis. It is still a per-ip
limit so you can still collapse many different incoming feeds into a
single label and have the label-specified limit work on a per-host
basis. see the 'maxconnect' definition in samples/dnewsfeeds
Added 'nomismatch' option to dnewsfeeds (see samples/dnewsfeeds)
to surpress MISMATCH testing of the incoming Path: header.
Added '-c commonpath' option to diablo. This adds a common path
name to the Path: header if it does not already exist in the Path:
header. See the manual page for diablo.
Fixed a bug in diablo that would cause the dnewsfeeds file to be
read over and over again, eating cpu.
Added sub-second realtime capability: the combination of rtflush in
dnewsfeeds, and 'realtime' + 'd-1' in dnntpspool.ctl. If the system
supports usleep(), usleep(20000) is called (20 mS) rather then
sleep(1). May require some configuration munging for you system.
Not suggested.
BODY and ARTICLE nntp commands added. Like the HEAD command, articles
can be retrieved by message-id.
dexpire will remove files called 'core' or '*.core' in the spool
directory as it comes across them.
Technical Details
Message-ID:
<65a8m8$8fp$1@flea.best.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <65a8m8$8fp$1@flea.best.net> Subject: Diablo 1.14 RELEASED (news transit software) Date: Sun, 23 Nov 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 291930408 X-Trace: 880322058 10450 dillon 206.184.139.132 Organization: Best Internet Communications, Inc. - 650 964 BEST Newsgroups: news.software.nntp