[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] leafnode 2.0b8_ma9 released



-----BEGIN PGP SIGNED MESSAGE-----

Hi,

it's later than I thought, but anyways, since I got no bad reports about
9rc3:

leafnode 2.0b8_ma9 has been released and is available from
http://mandree.home.pages.de/leafnode/beta/

Over leafnode 2.0b8_ma8, it features better IPv6 support on operating
systems that support it. The build system has been switched to automake,
which eases maintenance for me and should give more consistent and
robust build, packaging. Many bug fixes for less usual occasions by Ralf
Wildenhues have gone into leafnode, increasing its robustness in adverse
conditions. fetchnews -f no longer clears the watermarks for newsgroups
fetched from other servers. The moderated newsgroup support is now aware
of INN-specific group status flags and more robust, groupinfo truncation
should no longer occur.

Some other people have contributed patches, and I thank all of them, but
I double thank Ralf Wildenhues for his invaluable bugfixing work.


I will be on vacation in Austria until Jan 27th, and I'll be away from
computers for a week. Should any problems turn up, tell them to get lost
and to come back a week later.

Have fun,
Matthias

Here's the ChangeLog excerpt:

2002-01-19  Matthias Andree  <matthias.andree@xxxxxx>

        === RELEASE 2.0b8_ma9 ===

2002-01-16  Matthias Andree  <matthias.andree@xxxxxx>

	* texpire.c: Log when .overview has been unlinked.

	=== RELEASE 2.0b8_ma9rc3 ===

2002-01-14  Matthias Andree  <matthias.andree@xxxxxx>

	* *: keep clear of is* and str* name spaces to prevent future
	collisions.

	* mergesort.c: Fix up EVAL errno.h namespace pollution, rename to
	eval.

	* xoverutil.c: Drop arpa/inet.h (xoverutil does not need it).
	Allocate overview for current+1 instead of current, patch by Ralf
	Wildenhues.

	* nntputil.c: Exempt arpa/inet.h from splint, patch by Ralf
	Wildenhues.

	* nntpd.c: Exempt arpa/inet.h from splint, patch by Ralf
	Wildenhues.

	* miscutil.c: Ralf Wildenhues: Introduce TESTMODE to skip uid/gid
	changes.

	* masock_*.c: Exempt arpa/inet.h from splint, patch by Ralf
	Wildenhues.
	* masock.h: Exempt arpa/inet.h from splint, patch by Ralf
	Wildenhues.

	* .lclintrc: Switch to -weak for now.
	* fetchnews.c (processupstream): use closeinteresting on write
	error, patch by Ralf Wildenhues.
	* critmem.h: Include config.h, patch by Ralf Wildenhues.
	* checkgroups.c: Minor fixes by Ralf Wildenhues.
	* mergesort.c: Fix types. Code is now splint -weak clean.

2002-01-11  Matthias Andree  <matthias.andree@xxxxxx>

        === RELEASE 2.0b8_ma9rc2 ===
	* nntpd.c: Fix SIGSEGV in fopenart when a non-existent article was
	requested from a non-new or local group. This does not usually
	happen with newsreaders. The bug was introduced in 2.0b8_ma9pre3.
	* configure.ac: Bump version.
	* miscutil.c: Add freeinteresting() implementation.  Change second
	argument of findinlist to const * char const.

	* leafnode.h: Add freeinteresting() prototype.  Change second
	argument of findinlist to const * char const.

	* fetchnews.c: Security bugfix (low risk): dynamically allocate
	space for group name plus space character in do_group rather than
	overflowing it's caller's dynamically-allocated string.

	This bug was observed and tracked down by Mike Castle
	<dalgoda@xxxxxxxxxxxxx>.  Thanks a lot.

	As we're not overflowing an "auto" storage class variable here,
	the data will not be on the stack, so just pushing shell code into
	the variable will be rather useless, and the attack would be
	rather difficult to deploy: the server would have to toss down
	shell code without NUL and LF, could not use CR everywhere, and it
	would need to trick a client into marking this group for fetching.

	* ALL: change DEBUG_DMALLOC -> WITH_DMALLOC.
	* miscutil.c: Misc cleanups in initinteresting(), deal with
	"already present in tree" condition. Fix function name logging.
	* rnews.c: Deal with argument to -D.
	* nntpd.c: Deal with argument to -D.
	* newsq.c: Deal with argument to -D.
	* Makefile.am: Do not install rnews.8 (rnews ist not installed
	either).  Add log_chmod.c and log_fchmod.c to library sources.

	* log_fchmod.c: New.
	* log_chmod.c: New.
	* leafnode.h: Add prototypes for log_chmod and log_fchmod.
	* xoverutil.c: Use log_fchmod rather than doing our own error
	logging.

	* texpire.c: Deal with argument to -D.
	* texpire.8.in: Update documentation.
	* rnews.8.in: @LIBDIR@ -> @sysconfdir@, found by Mike Castle.
	Update -D documentation.
	* leafnode.8.in: @LIBDIR@ -> @sysconfdir@, found by Mike Castle.
	Update -D documentation.
	* fetchnews.8.in: @LIBDIR@ -> @sysconfdir@, found by Mike Castle.
	Update -D documentation.
	* checkgroups.c: Deal with argument to -D.
	* attributes.h: Change license to LGPL.
	* artutil.c (mgetheader) Deal with buf == NULL, found by Ralf
	Wildenhues.

	* applyfilter.c: Deal with argument to -D.
	* applyfilter.8.in: @LIBDIR@ -> @sysconfdir@, found by Mike
	Castle.  Update -D documentation.

	* activutil.c: Use log_fchmod rather than doing our own error
	logging.

	* fetchnews.c: Fix writing of server-specific info files.  Deal
	with argument to -D.  Fix bogus "not found in groupinfo file"
	errors.  Change child's exit() to _exit(), found by Ralf
	Wildenhues.

	* mastring.c: Add missing free() in oom handling.  Change some 0
	to NULL for readibility.

2002-01-08  Matthias Andree  <matthias.andree@xxxxxx>

	=== RELEASE 2.0b8_ma9rc1 ===
	* texpire.c: Make program splint -weak clean, defining some
	variables static.

	* critmem.h: Fix the lclint comments that indent broke.
	* nntputil.c: Fix the lclint comments that indent broke.
	* artutil.c: Fix the lclint comments that indent broke.
	* xoverutil.c: API change for xover retrieval: most functions now
	take an additional parameter, require_messageidlink, to skip
	messages without a proper link in message.id (these are broken
	anyways).  Bugfix: don't abort if the new .overview is empty.

	* ugid.h: Include Ralf Wildenhues' lclint annotations.
	* ugid_ggetbyuname.c: Include Ralf Wildenhues' lclint annotations.
	* texpire.c: Track getxover API change.  Drop relink, was too
	inefficient.  Fix the spool rehashing bug that ate Mike Castle's
	news spool. Please apologize.

	* nntpd.c: Track getxover API change.
	* newsq.c: Next round of Ralf Wildenhues' correctness patches.
	* miscutil.c: Include Ralf Wildenhues' lclint annotations.  Fix
	memory leak (Ralf Wildenhues).

	* leafnode.h: Include Ralf Wildenhues' lclint annotations.  Track
	getxover/xgetxover API change: addition of require_messageidlink.
	* getline.h: Include Ralf Wildenhues' lclint annotations.
	* getline.c: Include Ralf Wildenhues' lclint annotations.
	* format_ulong.c: Include Ralf Wildenhues' lclint annotations.
	* format.h: Include Ralf Wildenhues' lclint annotations.
	* critmem.h: Include Ralf Wildenhues' lclint annotations.
	* configure.ac: Bump version to 2.0b8_ma9rc1.
	* artutil.c: Next round of Ralf Wildenhues' correctness patches.
	* applyfilter.c: Track getxover API change.

	=== RELEASE 2.0b8_ma9.4pre ===
	* Makefile.am: Move leafnode-version to bindir.
	* activutil.c: Back out lold initialization.
	* fetchnews.c: Fix bogus "not in groupinfo file" errors.

2002-01-07  Matthias Andree  <matthias.andree@xxxxxx>

	=== RELEASE 2.0b8_ma9.3pre ===
	* leafnode-version.c: Preset PATH to /bin:/usr/bin and run uname
	without a path, SuSE Linux 7.3 installs it to /bin, FreeBSD to
	/usr/bin.

	* TODO: Update.
	* xoverutil.c: Rename getxover to xgetxover, add a group parameter
	which - when non-NULL - has the in-core groupinfo updated. Provide
	getxover as xgetxover(NULL) for compatibility.  Add maybegetxover
	which only operates when the group directory is more current than
	the .overview or the .overview is more current than groupinfo.
	* redblack.c: Handle OOM in rb_openlist. Found by Ralf Wildenhues.
	Bug filed on https://sourceforge.net/project/libredblack, Bug-ID
	#500600.
	* queues.c: Fix memory leak (rbdestroy) in error conditions. Found
	by Ralf Wildenhues.
	* nntputil.c: Streamline newnntpreply, fixing compiler warnings.
	* mastring.h: Add lclint annotations.
	* mastrcpy.c: Add lclint annotations.
	* lsort.c: Fixes for type bugs and memory leaks found by Ralf
	Wildenhues.

	* ln_log.c: Fix for lclint.
	* activutil.c: Declare active-/inode-times and sizes static.
	* leafnode.h: Drop activetime in favor of query_active_mtime().
	* activutil.c: Add query_active_mtime.
	* leafnode.h: Include type fixes and lclint annotations sent by
	Ralf Wildenhues.  Add xgetxover and maybegetxover.

	* dirutil.c: Include type fixes and lclint annotations sent by
	Ralf Wildenhues.

	* configure.ac: Bump version, add -lpcre to LIBS rather than
	LINKPCRELIB.

	* config.example: Document authenticate option.
	* applyfilter.c: Properly initialize min/max, found by Ralf
	Wildenhues.

	* activutil.c: Fix two subtle bugs found by Ralf Wildenhues.
	* nntpd.c: Implement fix suggested by Ralf Wildenhues: use fclose
	before freeing our setvbuf buffer.  fopenart returns failure when
	the article to be opened has 0 bytes (store.c marks write errors
	by truncating the inode). Fixes a bug that was present since the
	introduction of store.c.  When the group contents are more current
	than .overview, rebuild .overview. Fixes a long-standing bug
	reported by Stefan Wiens.

2002-01-06  Matthias Andree  <matthias.andree@xxxxxx>

	=== RELEASE 2.0b8_ma9.2pre ===
	* TODO: Update.
	* configure.ac: Only default spooldir to /var/spool/news when no
	prefix is set or the prefix is /usr, default to
	$localstatedir/spool/news otherwise.  Fixes make distcheck
	breakage.

	* Makefile.am: Prevent install-data-hook abort in non-root mode.
	* fetchnews.c: Fix long-standing forceactive (-f) bug that left
	groupinfo with all watermarks zeroed out.
	* tools/make_pass.pl: Clean up a little.
	* miscutil.c: Add lclint annotations and some const attributes.
	* get.h: Add lclint annotations.
	* masock_sa2port.c: Initial checkin.
	* leafnode.h: Reorder, drop AM_NAME, add some lclint comments.
	* masock.h: Add masock_sa2port.
	* leafnode.8.in: Update, document authenticate.
	* nntpd.c: Drop AM_NAME support.  Properly implement AM_FILE
	support for authentication, clean up and enhance robustness.

	* configutil.c: Drop AM_NAME support.
	* README.html: Update, document authenticate.
	* artutil.c: Heed DEBUG_CANCEL when cancelling or superseding.
	* fetchnews.5.in: renamed to filterfile.5.in
	* configure.ac: Add getaddrinfo.
	* Makefile.am: Add masock_sa2port.c.
	* nntpd.c (log_sockaddr): Also log port numbers.
	* nntputil.c: Add commentary for Doxygen.

2002-01-05  Matthias Andree  <matthias.andree@xxxxxx>

	* nntputil.c: Support IPv6 (NNTP client) if the OS provides
	getaddrinfo(3).  Add some lclint annotations. Fix some bugs, add
	some assert().

	* nntpd.c: Add SETVBUF_REVERSED support.
	* TODO: Update, drop fetchnews -N bug and automake (done).
	* .cvsignore: Add Makefile.in.
	* vcp.sh: Dropped in favor of automake.
	* makedepend.sh: Dropped in favor of automake.
	* Makefile.in: Dropped in favor of Makefile.am.
	* configure.in: Renamed to configure.ac.
	* configure.ac: Renamed from configure.in.  Added a lot of things
	that autoscan found missing.  Ran through autoreconf.

	* store.c: Include fixes and lclint annotations sent by Ralf
	Wildenhues.

	* mastrncpy.c: Include lclint annotations sent by Ralf Wildenhues.
	* mastring.c: Include fixes and lclint annotations sent by Ralf
	Wildenhues.

	* mastring.h: Include fixes and lclint annotations sent by Ralf
	Wildenhues.

	* leafnode.h: Include lclint annotations sent by Ralf Wildenhues.
	* b_sortnl.c: Include fixes and lclint annotations sent by Ralf
	Wildenhues.  Drop "y" variable and rely on compiler to optimize
	things.

2002-01-04  Matthias Andree  <matthias.andree@xxxxxx>

	* Makefile.am: Switch to automake.
	* fetchnews.c: Really implement -N option to only fetch a
	particular newsgroup, reported by Jürgen Salk.
	* aclocal.m4: Update. Just part of CVS for convenience.
	* amiroot.c: Import from leafnode 1.9.19.ma*.
	* README.html: Minor updates.
	* newsq.1.in: Add set-gid note.
	* newsq.1.in: document in.coming and failed.postings.
	* fetchnews.c: Implement -N option to only fetch a particular
	newsgroup.

2002-01-03  Matthias Andree  <matthias.andree@xxxxxx>

        === RELEASE 2.0b8_ma9.1pre ===
	* Makefile.in: Include README (text version) in distributions --
	note: requires lynx to build the tarball!
	* rnews.c: Apply Volker Apelt's patch to log initialization
	troubles to syslog.

	* nntpd.c: Apply Volker Apelt's patch to log initialization
	troubles to syslog.

	* fetchnews.c: Apply Volker Apelt's patch to log initialization
	troubles to syslog.

	* checkgroups.c: Apply Volker Apelt's patch to log initialization
	troubles to syslog.

	* leafnode.h: Change initvars "program" parameter prototype to
	const char * (was char *).

	* texpire.c: Apply Volker Apelt's patch to log initialization
	troubles to syslog.

	* applyfilter.c: Apply Volker Apelt's patch to log initialization
	troubles to syslog.

	* miscutil.c: Apply Volker Apelt's patch to log initialization
	troubles to syslog.

	* fetchnews.c: Accept =, x, j status characters in LIST replies.
	Move first/last initialization down a bit to fix bogus low/high
	article numbers in groupinfo that occurred after fetchnews
	-f. Long-standing bug. This should fix a couple of
	incompatibilities.

	* activutil.c: Transform status characters: x -> n, j -> y, = -> y
	* texpire.c: Fix commentary whitespace.
	* store.c: Fix double angle bracket reject filter logging.
	* leafnode.h: Change return type of writeactive to int (was void).
	* fetchnews.c: When reading newsgroups from an upstream server,
	make finding and parsing the status character more robust. Should
	fix the NUL bytes in groupinfo's status column that Tim Dodge
	reported.

	* artutil.c: When superseding or canceling an article, an ENOENT
	is only logged with NOTICE priority (the article may have been
	filtered or expired already).

	* activutil.c: Make writeactive() more robust (no crash without
	active).  If groupinfo is truncated, log problematic lines and
	skip over them.

2002-01-02  Matthias Andree  <matthias.andree@xxxxxx>

	* filterutil.c: Respect DEBUG_FILTER. Found by Oliver Titz, fixed by
	Raymond Scholz.

2001-12-29  Matthias Andree  <matthias.andree@xxxxxx>

	* Makefile.in: Use $(...) Makefile macros rather than
	config.status @...@ expansions for config.c for everything except
	PACKAGE_VERSION. Found by Ben Holness and Jörg Dietrich.



- -- 
Matthias Andree

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."         Benjamin Franklin

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3in
Charset: noconv
Comment: Processed by Mailcrypt 3.5.5, an Emacs/PGP interface

iQCVAwUBPEjcMydEoB0mv1ypAQGWYwP/cvl2pDGQmFfnDS9GZe/G4+tEGPf1tUe+
vVYJR64lyvsbLdQq6xtYt+yBlrAwvGMV1JKd3lDJ5tfCq1ndUn0vmeeWNMjgMJ7T
qYz3we0lL6Szoru/3U1kJAviC3x2HZNZbf4USkrQ/XA0pFEQ4sVc1vUi8k/aJjlI
PcPlgXNNwLU=
=HCO4
-----END PGP SIGNATURE-----

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list