|
|
Initial revision
This file describes the changes which have been made in NNTP
since the initial release. Individuals who either reported or
inspired the bug/bug fix are in square brackets.
1.4 October 15, 1987
Reorganized documentation directory. Thanks for the
extraction stuff, Stan. [Stan Barber, sob%%[email protected]]
Added transfer timeouts. [Steve Schoch, [email protected]]
Fixed a problem with IHAVE which allowed a remote machine to
repeatedly feed you articles that you expired (although all
you'd do with them is throw them away).
[Fred Avolio, [email protected]]
DECNet support (see server/dnet_access.c and common/clientlib.c).
[Matt Thomas, thomas%[email protected]]
Fixed serious joe code in distribution checks in NEWNEWS.
NEWNEWS statistics.
Newsgroup security.
Performance enhancements (about 2x better for article xfers).
xhdr command added to improve performance on subject searches.
Compiled-in server name no longer supported.
common/clientlib.c/getserverbyfile() now looks at the
environment variable NNTPSERVER before checking the file.
inews/inews.c now limits .signature files to MAX_SIGNATURE lines.
server/misc.c/spawn() now returns the error output of rnews/inews
alone with the posting failed code. This is in turn printed by
inews/inews.c so the user has some idea of why his article wasn't
accepted.
rn patches now for patchlevel #40
Bug fix: rrn no longer leaves droppings in /tmp
"Skipping unavailable article" problems fixed
Support for 4.3 TIOCGWINSZ ioctl [[email protected]]
Configure asks for domains
Pnews/Rnmail understand hostnames with .'s in them.
Makefile fixes [harvard!lownlab!kiely]
PYRAMID #defines removed, as it is all being done by default now.
inews/inews.c now exits 0, since before it had a random exit
status, causing pyramids to choke. [[email protected]]
server/server.c now logs user/system/elapsed time as floats
instead of ints. [[email protected]]
server/ihave.c no longer logs every message id transfered but
instead keeps statistics which are logged at the end.
[[email protected]]
server/serve.c now times out after TIMEOUT seconds of idleness.
server/access.c converts remote hostname to lower case
when logging, in case you have a nameserver which is helping you.
server/misc.c/getartbyid now reports message-id's when
it encounters a malformed line in the history file.
[[email protected]]
inews/inews.c had an uninitialized variable, which
could cause trouble. [jwp%[email protected]]
common/clientlib.c now understands 4.3 nameserver
multiple addresses, and tries them all before
giving up.
common/clientlib.c has has 2 new functions:
"getserverbyfile" opens a given file and returns
the name of the server given in the file to use
for news. "handle_server_response" prints informative
messages based on the initial connection response code.
server/access.c now is case insensitive when checking
for host read/xfer permissions.
server/misc.c/spawn didn't check for a closed connection
while receiving input from client. As a result, truncated
news articles could be received.
server/newnews.c had a printf which was missing an
argument. [[email protected]]
Added fake syslog facility to server. Code is in
server/fakesyslog.c. [[email protected]]
Fixed length argument to accept() in server/main.c
[[email protected]]
Now uses pipe to rnews so as to get rnews output for debugging.
Also chowns temporary file to POSTER's uid and gid.
[[email protected]]
Fixed bugs in server/netaux.c to close syslog fd.
[[email protected]]
Made bcopy() standard in server/misc.c [[email protected]]
Documentation changes to make certain things about client
installation clearer. [munnari!charlie.oz!craig]
1.3 30 June 1986
rrn is no longer included as complete source, but
rather as a set of context diffs and a program to
apply them to your rn source. Many thanks go to
Gene Spafford for an outstanding job doing this.
[[email protected]]
The dreaded kill/save bug is fixed; rn was passing
/bin/sh too many open file descriptors. Thanks and a tip of the
proverbial hat to Chris Maio! Change to rrn/util.c.
[[email protected]]
Fixed a bug in rrn/artio.c which caused an assertion
failure on line 114 of artio.c; artopen was returning
Nullfp without closing the fp associated with the
bogus article. [[email protected], [email protected]]
Added #define PYRAMID in common/conf.h, added some
#ifdef PYRAMID code in server/misc.c to deal with
Pyramids not initializing static data to 0, as well
as an fseek problem. [[email protected]]
Another wait bug fixed in spawn() in server/misc.c.
Added a required \r in post.c.
Added signal(SIGCHLD, SIG_IGN) to server/serve.c,
to fix exit status problem with ALONE defined.
Statistics logging now returns sum of the nntpd and
its children for process time. server/main.c
[[email protected]]
Subnet support for access file finally added.
server/subnet.c added, common/conf.h now has
#defines for SUBNET, DAMAGED_NETMASK.
inews/inews.c now generates a from line with the UUCP
name instead of always using gethostname(). common/conf.h
changed to add #defines for UUNAME, GHNAME.
[[email protected]]
Added LIBS to Makefile. [[email protected]]
1.2c 17 May 1986
Support for Masscomp added (#define MASSCOMP in ../common/conf.h).
[[email protected]]
Syslog output now requires SYSLOG to be defined in ../common/conf.h.
This is handy on systems which, for some reason or another,
don't have syslog. [[email protected]]
server/post.c had arguments reversed in a printf. [[email protected]]
rrn/common.h had PIPESAVER misdefined. [[email protected]]
server/group.c was missing a \r in a printf. [[email protected]]
xmit/nntpxmit.c is a new version. Highlights include
improved error reactions and logging info. [[email protected]]
xmit/nntpsend is a shell script for sending news via nntp
in a sane manner, with locking. [[email protected],
[email protected]] The locking mechanism is provided
courtesy of Mr. Fair's "shlock.c", in xmit/shlock.c.
support/nntp_awk produces weekly reports from the nntp server
logging output. [[email protected]]
Makefile (in this directory) would do a "make install" as
the default action; it now prints a helpful message.
[[email protected]]
server/Makefile and support/Makefile had needless dependencies
in them; if you didn't do a make depend, you'd have problems
on a 4.2 system. The server and support stuff now depend only
on their own .h files. [[email protected]]
1.2b 13 April 1986
common/clientlib.c stupidly had some debugging printfs
enabled.
rrn/{artio.c,head.c} had sprintf("... %d", foo) where "foo"
was a long. %d -> %ld. [[email protected]]
server/time.c had an order of evaluation problem in the
macro "twodigtoi". [[email protected], among others.]
server/common.h included <dbm.h> if DBM was defined,
caused multiply-defined NULL's. [[email protected],
[email protected], among others.]
server/active.c would lose because variable "i" would be
at the end of the group array if it was called on a timer
interrupt. "i" now set to zero properly. This only occurs
if FASTFORK is defined. [[email protected]]
1.2a 20 March 1986
common/conf.h defined MAX_GROUPS as 300; this was too low on
some machines. Upped to 450. [[email protected], [email protected]]
rrn/Makefile.sh had .c instead of .o for OBJS and SRCS
respectively. Also had cc -o ../common/clientlib.o (see below).
inews/inews.c had (char *) 0 for gets(), which made SUN's upset.
Changed to simply NULL. [[email protected]]
inews/Makefile had cc -o ../common/clientlib.o which some
machines don't do. [[email protected]]
common/clientlib.c has "untp" instead of "nntp".
server/active.c made more robust about reading active file
if active file is longer than MAX_GROUPS.
server/common.h included common/conf.h after checking for
DBM, which caused some problems. [[email protected]]
1.2 15 March 1986
Released.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.