- Performance optimization, reported by Gary R. Schmidt.
- Fix a file descriptor leak in fetchnews.c's getbody_newno function
- When complaining that we are unable to switch the user ID, report the
current real and effective user IDs to ease debugging.
- Leafnode now enables IPv6 support by default. Use --without-ipv6 to disable.
- Leafnode now supports detecting if a peer is in a local network also
for IPv6 global addresses, providing that the host OS provides getifaddrs().
This comprises Linux, NetBSD, FreeBSD, but not, for instance, Solaris 10.
Pkgsrc changes since previous version:
* Add the news user if necessary (and be compatible with the INN package).
* Use bsd.pkg.install.mk.
Vendor changes since previous version:
(see the Changelog for more details)
* Security fix. Do not lock up when the news header ends prematurely.
* Revise some memory handling and catch out-of-memory conditions.
* Fixes to syslog handling.
* Support XOVER without argument.
* Fix SEGV in fetchnews.c.
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 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.