Summary of changes since 1.9.31:
Bug and documentation fixes including:
* fetchnews_check_date.c: Portability: don't pass time_t to
syslog(...%ld...), sizeof time_t != sizeof long on 64bit FreeBSD,
reported by Christian Weisgerber <naddy@mips.inka.de>.
* fetchnews_check_date.c: Check for overflow of time difference.
Paranoia mode, someone needs to hose his clock by at least 68 years
to run into this.
* miscutil.c, TODO: Change to spooldir at the end of initvars()
(after changing uid/gid) to avoid barfing when run from
misconfigured cron.
* pcre_extract.c: Fix abort when extracting string, introduced with
previous strlcpy -> xstrlcpy commit. Reported by Joshua Crawford
<mortarn@softhome.net> Add debug variable to conditional TEST part
to use this code standalone.
* fetchnews.c: Several bug fixes
Please see the ChangeLog file in the source distribution for more details.
Summary of changes since 1.9.27 (please see the ChangeLog):
* Add leafnode-version.
* Various changes to fetchnews.c including:
+ In verbose mode, print if we're using the STAT
command or the HEAD workaround.
+ nntpactive: cache current time, saves time() calls and gives a
consistent 'age' for the newsgroups.
+ Avoid duplicate articles that raced from another server
against our fetchnews from ending up in failed.postings. We
assume that a server that refuses a posting with 441 435
Duplicate can at the same time deliver it to STAT (or HEAD if
the workaround is in effect).
+ Only touch active.read if the active has been successfully written.
+ Also apply only_groups_pcre when updating the active, to avoid
presenting groups that are not really fetched.
+ Bugfix: cope with multiple upstreams that have the same server name
but different ports.
* Various changes to nntpd.c including:
+ Point to syslog when reading the configuration fails.
+ Fix very subtle and intricate infinite loop bug
* Various changes to nntputil.c. Blacklist STAT for "NNTP news cache."
Whitelist NewsCache 1.1.*. Whitelist NewsCache 0.99.18, 0.99.19, 0.99.2?.
* Changes to activutil.c including:
+ Check for duplicate newsgroups after reading, before writing and after
merging the active file.
* Fixs for SEGV problems to activutil.c and artutil.c
Differences to Leafnode version 1.9.26:
* Bug fixes and changes including:
+ checkpeerlocal.c:
% Fix infinite loop problem when interface list is longer than
2 kB (reported by Brian Somers).
% Fix for non-IPv6 compilation on Solaris
% Fix compiler warnings
+ Portability fixes for 64bit platforms in activutil.c, nntpd.c
and texpire.c
+ nntpd.c: if allowstrangers is set, don't call checkpeerlocal
at all.k
(For more details, please see the Leafnode ChangeLog file)
Differences to previous NetBSD package:
* Use devel/pcre rather than the one supplied with Leafnode.
Differences to Leafnode version 1.9.22:
* Bug fixes and changes including:
+ No longer install lsort
+ Merge in timeout_client patch from Jonathan Larmour
+ Fix file descriptor leak in markdownload()
+ No longer emit "400 Service discontinued" to clients.
+ Drop connection when the upstream server runs NNTPcache 2.3.x
+ More verbose POST reject messages.
+ Fix two filtering bugs in fetchnews.
+ Expire groups that are not in group.info
+ Fix several memory leaks (e.g. in fetchnews.c, newsq.c &
artutil.c)
+ Fix possible overflow in nntpd.c
+ Some speed improvements (e.g. in getline.c and mastring.c)
+ Fix bogus error messages.
+ Several documentation fixes.
+ Various fixes from Leafnode 2.
(For more details, please see the Leafnode ChangeLog file)
as news/leafnode.
Leafnode is a USENET software package designed for small sites, with a
few tens of readers and only a slow link to the net.
The work in this package is based on that of Ingolf Steinbach
in PR#13830. wiz@ made some suggestions as well. Thanks to both of them.