🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
13 messages
13 total messages Started by W. A. Simon Thu, 07 Jan 1993 23:54
NetNews, a blueprint for survival
#2998
Author: W. A. Simon
Date: Thu, 07 Jan 1993 23:54
139 lines
7160 bytes
Nota Bene
          The following is probably old news to some of you. 
          Maybe similar concerns have been expressed before on
          the net.  Whatever the case may be, I feel now is a
          good time to think about it, again.  It was written a
          few months ago, but a conversation last night, at a
          UniForum meeting, rekindled my zeal.  So here it is:

Introduction

According to a document published on the net a few weeks back, a
full news feed taken at UUNET would fill a CD-ROM in 18 days. 
I'll spare you the mathemathical callistenics showing the impacts
on your respective communication, processing and storage
capacities; let's just say it has gotten out of hand, or at least
very nearly.

Usenet demands ever increasing amount of machine resources and of
system administration time.  Expiration cycles get shorter and
shorter.  Archiving any hierarchy is already utopic for most
sites.  There is a point of at which it becomes unpractical to
maintain a news feed.  The growth is unsustainable in the current
environment.  In the "store and forward" world, the situation has
become even more ludicrous; telephone lines are busy around the
clock, flooding the world with a lot of noise and a tiny bit of
actual information.  All of which gets rebroadcast down the line
to an ever increasing number of sites.  All this for a few
scattered readers, reading a few scattered items, in a few
scattered groups, sometimes.

Because it is where the problem first arises I will deal here
with the UUCP type of newsfeeds (store and forward); not all of
its problems are pertinent to the rest of the world, but some of
the solutions may have universal benefits.


The situation

The flooding algorithm meets the so-called tragedy of the
commons.  The volume of information that gets broadcast on the
net is bound to increase and so is the number of people who want
to access it, and contribute.  Any measure that would tend
towards restricting posting rights or placing quotas on volume is
sure to meet vociferous opposition.  Rightly so.

Unless we change something about the way we work it, we are about
to turn our machines off, out of boredom, frustration and
disgust.  But we have no Plan B.  If we don't want a net police
and if we don't want a slow net death from suffocation, we should
reconsider some of the basic premises under which we are all
working.

The first premise that needs reconsidering is that any decent
feed must be a full feed.  The second premise is that - for most
sites - the news must all come from one single place.


Full feed

A full feed is not readable by any one individual.  Too often,
sysadmins request complete feeds, just in case.  The only
justification for such a wall to wall coverage is found when one
redistributes the feed, whole or in part, and the aggregate
redistributed coverage includes the whole spectrum.  It is rarely
so, unless the sites downstreams also indulge in the "ALL, just
in case" policy.  Another reason for full-feeditis is that news
configuration gets real simple or, reverse side of the same coin,
micro-management of the sys file is a pain in the spooler.

I find it surprising that no system, of the public domain news
distribution products I have seen so far, permits dynamic
updating of ~news/sys files at the feeder sites, by the feedee
(!).  I heard that such mechanism was available in a commercial
product (Dynafeed for ClariNet?).  Isn't it time to give the
concept wider exposure?  Does anyone know how it is done and how
[un]practical it is?

Such an approach, given restricting guidelines regarding expected
volumes, site policies and copyright protections, would let
readers [un]subscribe "in flight" to any specific newsgroup,
without disturbing at least two system administrators.


One source

Another unwholesome habit, directly borne out of the full-feed
syndrome, is that of shopping at one single place (there are
sites which have two or more mother sites but, at least one is a
full feeder; the problem just gets compounded).  The dynamic
updating of sys files feature could include the notion of "head
of the class", whereby a site is chosen as the main distributor
for a hierarchy or for a class of traffic.  The use of wildcards
in sys files should be generalized so we could subscribe to
*.sources.* or *.next.* or such unrestricted use of regular
expressions.

One site could decide to specialize in sex, or politics.  Another
could choose to take over the responsability of the whole alt
hierarchy, or comp.unix, or both.  One site could cover all
that's not already covered by others.  The combinations are of
course endless.  Any suggestion on how to cut the cake?  What
about bidding in reply to requests for feeds?  Any idea about
automatic subscription expirations (unless specifically renewed
by client)?  Of course, this will require cooperation between
newsreaders and news distribution packages...

At elevia, on a small scale, I experimented with part of the
concept (manually).  I get a small number of groups from rcorco
and an even smaller number from unimtl; E-mail is routed
through unimtl (I do not redistribute any group but I would be
willing to do so in such an adaptive environment as I propose). 
It is a simple and effective arrangement which prevents hogging
the phone lines.  E-mail moves fairly quickly, news only slightly
less so.  I get a more or less constant flow of news, as opposed
to long periods of starvation followed by 48 solid hours of force
feeding, most of which to be discarded for lack of timeliness or
lack of reading time on my part.  My lines are more often
available for e-mail traffic or for my own interactive work, to
and from the office.


Conclusion

I realize that live [un]subscription is not a feature we will
have during the coming week, but we could at least talk about
spreading the news load thinner and broader.  This would multiply
the connections but reduce contiguous line occupation time. 
Smaller sites could take over some redistribution duties.  Larger
sites would not waste resources on (in relative terms) useless
data.  Browsing the groups will be easier and it will not become
a burden to the administrators.  Resource usage will be more
efficient.  Any ideas?



--
 Alain - Canadian Patent #1310575
 [ ... usual disclaimer... ]
Re: NetNews, a blueprint for survival
#3017
Author: Tony Shepps
Date: Sat, 09 Jan 1993 04:48
24 lines
1908 bytes
alain@elevia.uniforum.qc.ca (W. A. Simon) writes:

(A solid article on allowing sites to tell their feeds what they'd like
to receive, automatically)

...and I couldn't agree more.  It makes an awful lot of common sense.  But I
have to ask: why hasn't this already happened?

Is it because the folks who write and maintain most of the news freeware
hang out at big, fully Internetted sites, and thus don't have to worry about
ugly UUCP connections for small tight-budget sites that have to maintain
their net status carefully?

It would be an ironic shame if the anarchistic nature of the net created a
situation where only the big guys could survive.  We little guys are
fighting for our lives in the trenches.  Every time our feed site goes away
for days on end, I feel like running a public access site is a losing
battle.  The only real solution in site is to find investment money and go
Internet/commercial.

--
Tony Shepps  toad@cellar.org
The Cellar: Public access and thoughtful conversation  +1 215 539 3043
Re: NetNews, a blueprint for survival
#3026
Author: Brad Templeton
Date: Sat, 09 Jan 1993 06:59
9 lines
1202 bytes
I'm surprised at all the "why hasn't this happened" stuff.  I wrote
dynafeed and posted it to the comp.sources groups at least 2 years ago,
and it was always free.   Frankly, I'm amazed that anybody can run
a small leaf site without it.   When my upstream changed their news system and
I had to turn it off for a while, changing to a pared down sys line, my
disk filled up in a day or two.
-- 
Brad Templeton, ClariNet Communications Corp. -- Sunnyvale, CA 408/296-0366
Re: NetNews, a blueprint for survival
#3018
Author: Kenneth Herron
Date: Sat, 09 Jan 1993 15:02
25 lines
1919 bytes
toad@cellar.org (Tony Shepps) writes:

>alain@elevia.uniforum.qc.ca (W. A. Simon) writes:
>(A solid article on allowing sites to tell their feeds what they'd like
>to receive, automatically)

>...I have to ask: why hasn't this already happened?

>Is it because the folks who write and maintain most of the news freeware
>hang out at big, fully Internetted sites, and thus don't have to worry about
>ugly UUCP connections for small tight-budget sites that have to maintain
>their net status carefully?

Well, this big, fully Internetted site has been running a dynafeed
server for close to a year, and has released a set of perl scripts to
make it easier to administer.  We feed four "small tight-budget sites"
(only one of which is submitting subscription requests, sigh) and four
internet sites which only wanted partial feeds.  It works like a champ;
it takes less than a minute each 1/2 hour to service each site.
-- 
Kenneth Herron                                            kherron@ms.uky.edu
University of Kentucky                                       +1 606 257 2975
Dept. of Mathematics "Your ball goes over them, it sails off the edge into a
huge cauldren of fire-breathing dragons."  "And they call this a par three?"
Re: NetNews, a blueprint for survival
#3023
Author: Steve Harding KA6ETB
Date: Sun, 10 Jan 1993 06:18
19 lines
1525 bytes
In <1993Jan09.065942.20239@clarinet.com> brad@clarinet.com (Brad Templeton) writes:
>I'm surprised at all the "why hasn't this happened" stuff.  I wrote
>dynafeed and posted it to the comp.sources groups at least 2 years ago,
>and it was always free.   Frankly, I'm amazed that anybody can run
>a small leaf site without it.
[...[
As a leaf site, one has to rely on the upstream site.  If it isn't in
place there, what we do is immaterial, unfortunatley.

Dynafeed upstream would sure make my life easier.  Also would cut down
the size of my junk directory.

steve

-- 
-- 
play:steveh@grafex.Cupertino.CA.US 408.252.0578     work:harding@nas.nasa.gov
              A prince trapped in the body of a dirty old man.
Re: NetNews, a blueprint for survival
#3031
Author: Peter da Silva
Date: Mon, 11 Jan 1993 05:47
14 lines
1494 bytes
In article <1993Jan09.065942.20239@clarinet.com> brad@clarinet.com (Brad Templeton) writes:
> I'm surprised at all the "why hasn't this happened" stuff.  I wrote
> dynafeed and posted it to the comp.sources groups at least 2 years ago,
> and it was always free.

Didn't you notice the flame war at the time? Most everyone figured it was
shareware and had too many ethical objections to abusing shareware without
paying. If it's really free somethingware, please make that clear.
-- 
Peter da Silva                                            `-_-'
Ferranti International Controls Corporation                'U` 
Sugar Land, TX  77487-5012 USA
+1 713 274 5180                            "Zure otsoa besarkatu al duzu gaur?"
Re: NetNews, a blueprint for survival
#3033
Author: Len Rose
Date: Mon, 11 Jan 1993 07:18
36 lines
2288 bytes
I hate to mention this , because I know someone is going to complain.However,
I know I have a dead on solution for alot of the problems, excluding the
dynamic reconfiguration of incoming newsfeeds.

Our service retransmits a full feed via satellite. We have been uplinking
news for over 7 months now without a day of downtime. We're now transmitting
approximately 50 megabytes per 24 hours, and it's sent out as soon as we get
it. The source is about 8 full nntp feeds of every newsgroup in the world.

Our beta ms windows software filters on the fly, so a pc can collect whatever
newsgroup the individual user desires and discard the rest. Sort of a flexible
mask if you will. 

Our unix software fits seamlessly into B News, C news, and execs rnews on the
incoming batch.

Now Pagesat is feeding 56 simultaneous feeds, 24 hours a day 7 days a week
via GE's K2 satellite. 

When we release the Windows 3.1 software , you'll no longer need a Unix system
and countless hours of administration to be on the net. The price of admission
has dropped.

I invite any of our valued customers to speak up and verify what I say..


We're here to stay..



-- 
  len@netsys.com  "What a long,strange trip it's been.." or "Gee,I'm free!"
For more information regarding Pagesat's Usenet to Satellite Uplink system,
 Mail postal address to "pagesat@pagesat.com" 415-424-0380 (ask for marketing)
    .. Delivering 45+ megabytes of Usenet news each day, at 9600 bps .. 
Re: NetNews, a blueprint for survival
#3035
Author: Rich Salz
Date: Mon, 11 Jan 1993 16:04
26 lines
2155 bytes
In <47e4wB4w164w@cellar.org> toad@cellar.org (Tony Shepps) writes:
>have to ask: why hasn't this already happened?
As others have pointed out, there are two major packages that do this
already, and they have been available for >1 and >2 years.

>Is it because the folks who write and maintain most of the news freeware
>hang out at big, fully Internetted sites, and thus don't have to worry about
>ugly UUCP connections for small tight-budget sites that have to maintain
>their net status carefully?
Sort of.  There are only so many hours in the day, and so much time that
mgmt usually lets you spend on this sort of stuff.  Is the general
populace served by a fast relaynews and nov, or by something which will
reduce email news administration by some fraction?

More importantly, unless you live in such an environment, it is hard to
really know what the right "solution" is.  If there are things that can be
done to make life easier for small tight-budget sites, the answers (at
least the first draft) will have to come from such places.

Finally, I believe the tools are already there.  Both C News and INN can
handle an arbitrary control message.  So, find out what your feed is
running and implement a new control message that changes your feed.
Include some moderate security.  It shouldn't take more than a day of
tinkering.  Then, ask your feed to install that one handler for you.
	/r$
Re: NetNews, a blueprint for survival
#3038
Author: Stephen Williams
Date: Mon, 11 Jan 1993 19:05
20 lines
1481 bytes
Len Rose (len@netsys.com) wrote:
...
: Our service retransmits a full feed via satellite. We have been uplinking
: news for over 7 months now without a day of downtime. We're now transmitting
...
: Our unix software fits seamlessly into B News, C news, and execs rnews on the
: incoming batch.
And INN....

...
: I invite any of our valued customers to speak up and verify what I say..
Yep...

sdw
--
Stephen D. Williams  Local Internet Gateway Co.; SDW Systems 513 496-5223APager
LIG dev./sales       Internet: sdw@world.std.com CIS 76244.210@compuserve.com
OO R&D Source Dist.  By Horse: 10028 Village Tree Ct., Miamisburg, OH 45342
GNU Support          ICBM: 39 34N 85 15W I love it when a plan comes together
Re: NetNews, a blueprint for survival
#3052
Author: Damon
Date: Tue, 12 Jan 1993 10:17
341 lines
13874 bytes
In article <1is5qgINNbhl@rodan.UU.NET> rsalz@rodan.UU.NET (Rich Salz) writes:
>In <47e4wB4w164w@cellar.org> toad@cellar.org (Tony Shepps) writes:
>>have to ask: why hasn't this already happened?
>As others have pointed out, there are two major packages that do this
>already, and they have been available for >1 and >2 years.
>
>>Is it because the folks who write and maintain most of the news freeware
>>hang out at big, fully Internetted sites, and thus don't have to worry about
>>ugly UUCP connections for small tight-budget sites that have to maintain
>>their net status carefully?
>Sort of.  There are only so many hours in the day, and so much time that
>mgmt usually lets you spend on this sort of stuff.  Is the general
>populace served by a fast relaynews and nov, or by something which will
>reduce email news administration by some fraction?
>
>More importantly, unless you live in such an environment, it is hard to
>really know what the right "solution" is.  If there are things that can be
>done to make life easier for small tight-budget sites, the answers (at
>least the first draft) will have to come from such places.

I provide feeds from a Sun-based system.

For every (uucico) UUCP login Uxxx for a paying subscriber I also
provide them with a login account xxx.  Every system reboot (could do
it any time the news system is quiet) I scoop up a file called
.newssys from the home directories of `xxx's, check them for syntax and
munge them a bit, and tack them on to the end of a `sys.proto' file to
make a new `sys' file for C News.  The software seems to work fine and
took me less than 8 hours to write.

It is one /bin/sh script.

Seems very simple.

Also got a couple of customers off my back!

Although it uses NIS/YP it would be very easy to modify it to use an
ordinary password file; this version runs on SunOS 4.1.1_U1 to go with
the performance release of C News.

Software attached below (your feedback would be welcome):


#!/bin/sh
# @(#) autonews.sh 1.37@(#) 93/01/12 #
# Script to automatically incorporate feeds requested by UUCP users into
# news `sys' file.
#------------------------------------------------------------------------------
# THIS SOFTWARE IS SUPPLIED AS IS.  THIS SOFTWARE COMES WITH NO WARRANTY
# WHATSOEVER.  YOU MAY USE THIS SOFTWARE OR DERIVATIVES OF IT FREE OF CHARGE
# PROVIDED THAT THIS COPYRIGHT NOTICE REMAINS INTACT.
#
# Copyright (c) Damon Hart-Davis 1993.   d@hd.org, dhd@exnet.co.uk
#------------------------------------------------------------------------------
# This software runs on Sun 3s under SunOS 4.1 with C News Performance Release.
#------------------------------------------------------------------------------

# Only let others read the files we produce by default.
umask 033

# This script will have to be run by root (NOT suid) to be able to guarantee
# to inspect the users' chosen sys entry even if their files are otherwise
# protected from inpection.

# The feed requested by the UUCP user is specified in a file called `.newssys'
# in the home directory of their login account.

#---------------------------------------------------------------------------
# Format of a correct .newssys file:
#
#  1) The file must be in plain ASCII.
#  2) The file must consist of zero-or-more lines, each line present
#     consisting of exactly one group name, optionally preceeded by a single
#     `!'.
#  3) There must be no whitespace on a line except for the terminating `\n'.
#  4) Group names may consist only of letters, numbers, and the `.' character.
#  5) Group names must be at least one character long, and no `.' may start or
#     end a group name or be adjacent to any other `.'.
#  6) Whole file must be less than 240 bytes long.
#---------------------------------------------------------------------------

# Basic method...
#
#  1) Look for all UUCP accounts by looking for all account names starting
#     with `U' in the map dumped with `ypcat passwd'.
#  2) Look for all those UUCP users who have a corresponding login account
#     (which should certainly include all paying customers, but not special
#     cases like `exnet').  Where the UUCP account name is Uxyzzy the normal
#     login account is taken to be called xyzzy.
#  3) Locate the `.newssys' file in the login account directory specified
#     in the YP/NIS passwd map for the user.  If that file is present, and
#     read-only, and is valid by the rules given above, copy it to the
#     `MINISYS' subdirectory as file name xyz.  Else leave any entry in the
#     MINISYS directory intact and complain to the user.
#  4) Once all the MINISYS entries have been made, the prototype news sys
#     file `/usr/lib/news/sys.proto' is copied to a new file
#     `/usr/lib/news/sys.tmp' followed by each xyz-type entry from the
#     MINISYS directory as follows:
#
#     Each MINISYS entry will be preceeded by the contents of the .pre.xyz file
#     in the MINISYS directory (if any, else `xyz:') without any newline
#     or space, and followed by the contents of the .post.xyz file (if any,
#     else `/!local:f:') without any space, and then a newline.
#
#  5) When all this is done, the /usr/lib/news/sys file will be replaced
#     (atomically) with the sys.tmp file.
#  6) All this will be done when the news system is guaranteed not to be 
#     running (in particular, when relaynews is not using the sys file);
#     preferably during system boot.
#  7) Entries in MINISYS, MINISYS itelf and the sys.* files will only be
#     writable at any time by the root or news users.

#---------------------------------------------------------------------------
# BASIC PARAMETERS.

# NEWSLIB is the directory in which the sys file and the MINISYS directory
# are to be found.
NEWSLIB=/usr/lib/news

# SYS is the name of the news `sys' file that we are going to reconstruct.
# Absolute pathname.
SYS=$NEWSLIB/sys

# SYSPROTO is the name of the prototype news `sys' file to which our entries
# are added.
# Absolute pathname.
SYSPROTO=$NEWSLIB/sys.proto

# SYSTMP is the name of the temporary news `sys' file we will work on.
# It must be in the same filesystem as $SYS to give atomic replacement
# behaviour.
# Absolute pathname.
SYSTMP=$NEWSLIB/sys.tmp

# NEWSSYS is the file in each UUCP user's normal login a/c home directory
# specifying the feed they require.
NEWSSYS=.newssys

# MINISYS is the directory in which our idea of the users' .newssys files,
# plus any bespoke leaders and trailers, are to be found.
# This path is relative to NEWSLIB
MINISYS=.minisys

# SYSADMIN is who we complain to when something goes wrong.
SYSADMIN=sysadmin

# MAXNEWSSYS is the maximum length of the NEWSSYS file in bytes.
MAXNEWSSYS=240

# PRE is the prefix .ppp. for the username xxx to find
# the start of xxx's sys line.  Eg, if $PRE is .pre. the start of
# the sys line to go with file xxx (all in the MINISYS dir) can be
# found in `.pre.xxx'.
# Must start and end with a `.'.
PRE=.pre.

# POST is the prefix .eee. for the username xxx to find
# the end of xxx's sys line.  Eg, if $POST is .post. the end of
# the sys line to go with file xxx (all in the MINISYS dir) can be
# found in `.post.xxx'.
# Must start and end with a `.'.
POST=.post.

#===========================================================================
# Start doing the real work here...

# Temporary file
TMP=/tmp/$$.autonews.tmp
TMP2=${TMP}2

#-----------------------
# Get the list of UUCP users from the NIS maps.
UUCPusers=`ypcat passwd | grep '^U' | awk -F: '{print $1}'`

if [ "$UUCPusers" = "" ]; then
    echo "$0: Apparently no UUCP users in NIS maps, please help." | \
        mail $SYSADMIN
    exit 1
fi

# DEBUG...
# echo NIS-mapped UUCP users: $UUCPusers

#-----------------------
# Now find which of these users `Uxyz' have corresponding login accounts `xyz'.

ULuserstmp=`echo $UUCPusers | sed -e 's/\<U//g'`
ULusers=`for u in $ULuserstmp;
            do
                ypmatch $u passwd >/dev/null 2>&1 && echo $u
            done`

# DEBUG...
# echo NIS-mapped users with UUCP a/cs: $ULusers

#-----------------------
# For each UUCP user with a login account, track down the NEWSSYS file
# and check if it is read-only, also check that it syntactically valid.

# Moan to the user and to the sysadmin if it is badly formatted, etc.

for u in $ULusers;
    do
        cat /dev/null >$TMP
        (
        # Get user's login dir from the NIS map.
        L=`ypmatch $u passwd | awk -F: '{print $6}'`

        if [ "$L" = "" ]; then
            # User's home directory is missing
            echo "$0: error: $u home directory not in NIS map."
            continue;
        fi

        if [ ! -f "$L/$NEWSSYS" ]; then
            # File is missing
            echo "$0: error: $L/$NEWSSYS news-feed-spec file is missing."
            continue;
        fi

        # Make our copy of the file in $TMP
        cp $L/$NEWSSYS $TMP

        # I fail to check if the file is read-only...
        
        # Check that the file is not too long.
        if [ `wc -c <$TMP` -gt $MAXNEWSSYS ]; then
            echo "$0: error: $NEWSSYS file too long---$MAXNEWSSYS bytes max."
            continue;
        fi
        
        # Check that there are no lines starting `to.'.
        if grep '^to[.]' $TMP; then
            echo "$0: error: no lines starting to.; to.$u added automatically."
            continue;
        fi
        
        # Check that there are no blank lines.
        if grep -s '^$' $TMP; then
            echo "$0: error: blank line in $NEWSSYS file."
            continue;
        fi

        # Check that there are no nasty characters (such as spaces) present.
        # A `!' is allowed as the first character on a line.
        if sed -e 's/^\!//' $TMP | egrep '[^-a-zA-Z0-9.]'; then
            echo "$0: error: illegal character in group name."
            continue;
        fi

        # Check that `.' does not start or end a name, or appear next to
        # another `.'.
        if egrep '(^[.])|([.][.])|([.]$)' $TMP; then
            echo "$0: error: syntax error with dots in group name."
            continue;
        fi

        # Convert file into single-line form and copy to place in MINISYS
        # directory.  Append a `to.xxx' entry always.
        awk '{printf("%s,",$0)} END{print LAST}' LAST=to.$u <$TMP \
            >$NEWSLIB/$MINISYS/$u

        ) > $TMP2 2>&1 

        # If any errors were produced, mail them to user and
        # copy to stdout (assumed to go to sysadmin).
        if [ -s $TMP2 ]; then
            echo Mailing user $u to report problems.
            (echo ''; cat $TMP2) | /usr/ucb/mail $u
            cat $TMP2
        fi
    done

rm -f $TMP $TMP2

#-----------------------
# Now go and construct the new format of the sys file from the sysfile prototype
# and the xxx user files in MINISYS.
rm -f $SYSTMP
cat $SYSPROTO > $SYSTMP

# Go to new working directory.
cd $NEWSLIB/$MINISYS

# Susers is the list of users for whom we have potential sys lines here.
Susers=`cd $NEWSLIB/$MINISYS; /bin/ls | egrep -v '^[.]'`

for u in $Susers;
    do
        if [ -d $u ]; then
            # Ignore directories such as `SCCS'.
            continue;
        fi

        if [ ! -r $u ]; then
            echo "$0: error: 'pwd'/$u not readable."
            continue;
        fi

        # Don't add user xxx to sys file if xxx and Uxxx users can't be found.
        ypmatch $u passwd >/dev/null || continue;
        ypmatch U$u passwd >/dev/null || continue;
        
        # If there is a special line start, use that, else use std one.
        if [ -f $PRE$u -a -r $PRE$u ]; then
            # Carefully remove any trailing whitespace.
            echo -n `cat $PRE$u` >> $SYSTMP
        else
            # Sys line for user xxx starts `xxx:'.
            echo -n $u: >> $SYSTMP
        fi

        # Add the body of the sys line, removing trailing whitespace.
        echo -n `cat $u` >> $SYSTMP
        
        # If there is a special line end, use that, else use std one.
        if [ -f $POST$u -a -r $POST$u ]; then
            # Carefully remove any trailing whitespace.
            echo -n `cat $POST$u` >> $SYSTMP
        else
            # Sys line for user xxx starts `xxx:'.
            echo -n '/all,!local:f:' >> $SYSTMP
        fi

        # Add a newline...
        echo '' >> $SYSTMP
    done

# Now, atomically replace sys file with new version.
mv -f $SYSTMP $SYS
/usr/etc/chown root.wheel $SYS
chmod a+r,a-wx $SYS

#-----------------------
rm -f $TMP $TMP2
-- 
Damon Hart-Davis        London, UK        Internet: dhd@exnet.co.uk, d@hd.org

Public-access UNIX (Suns), news and mail for UK#5 per month.  FIRST MONTH FREE.
[1.36] Cheap Sun eqpt.  UUCP news/mail feeds.  Tel/Fax: +44 81 755 0077.
Re: NetNews, a blueprint for survival
#3055
Author: David Hoopes
Date: Tue, 12 Jan 1993 14:42
43 lines
2840 bytes
In article <1is5qgINNbhl@rodan.UU.NET> rsalz@rodan.UU.NET (Rich Salz) writes:
>In <47e4wB4w164w@cellar.org> toad@cellar.org (Tony Shepps) writes:
>>have to ask: why hasn't this already happened?
>As others have pointed out, there are two major packages that do this
>already, and they have been available for >1 and >2 years.
>
>>Is it because the folks who write and maintain most of the news freeware
>>hang out at big, fully Internetted sites, and thus don't have to worry about
>>ugly UUCP connections for small tight-budget sites that have to maintain
>>their net status carefully?
>[Stuff deleted]
>More importantly, unless you live in such an environment, it is hard to
>really know what the right "solution" is.  If there are things that can be
>done to make life easier for small tight-budget sites, the answers (at
>least the first draft) will have to come from such places.
>

I am the administrator for a uucp leaf site.  We only recieve a very
limited feed.  I think that I am set up pretty much the way the 
guy who started this thread was sudjesting.  I just get what I (and 
the users on my system) want sent, and don't bother with the rest.

I think that the real reason this has not been automated, even though
tools are available to automate it, is that it's not a problem.  I 
don't need to change my sys entry (at uunet) very often.  Maybe 5 
times a year.  From my end, it is automated.  I send a mail message
to the postmaster of my feed, and my sys file gets changed.  It's 
not the small leaf sites that would benifit from the automation.  It's
that large feeder sites that have a large number of leaf sites.

No flame intended, just the point of view from someone out in the sticks
who dosn't have a problem with the way things work.





-- 
---------------------------------------------------------------------
David Hoopes                              Tallgrass Technologies Inc. 
david@tallgrass.COM                       11100 W 82nd St.          
Voice: (913) 492-6002 x323                Lenexa, Ks  66214        
Re: NetNews, a blueprint for survival
#3062
Author: Larry Snyder
Date: Tue, 12 Jan 1993 22:29
19 lines
1499 bytes
len@netsys.com (Len Rose) writes:

>Now Pagesat is feeding 56 simultaneous feeds, 24 hours a day 7 days a week
>via GE's K2 satellite. 

How often do you batch for these sites?

>When we release the Windows 3.1 software , you'll no longer need a Unix system
>and countless hours of administration to be on the net. The price of admission
>has dropped.

How does this software handle outbound traffic?

And what are you sending on the spare bandwidth (ie: any software?)

-- 
Larry Snyder                                    internet: larry@gator.use.com
keeper of the Gator                                   uucp: uunet!gator!larry
Re: NetNews, a blueprint for survival
#3256
Author: Stephen Williams
Date: Thu, 04 Feb 1993 19:14
66 lines
3522 bytes
I guess I'll reply.

Larry Snyder (larry@news.rn.com) wrote:
: len@netsys.com (Len Rose) writes:
: 
: >Now Pagesat is feeding 56 simultaneous feeds, 24 hours a day 7 days a week
: >via GE's K2 satellite. 
: 
: How often do you batch for these sites?
Whenever they get news in from their multiple feeders.

They have a batch threshold right now of 60K, to allow for frequent
resynchronization with the receive modems.  It runs more or less
constantly with an average duty cycle of whatever percentage of
bandwidth is being used.
: 
:>When we release the Windows 3.1 software , you'll no longer need a Unix system
:>and countless hours of administration to be on the net. The price of admission
:>has dropped.
: 
: How does this software handle outbound traffic?
Oops, sorry, can't comment on the Windows software.

I run INN, tin, MST PPP/SLIP slip-on-demand to Cerfnet, etc.
I have a compressed news database also (articles are periodically put
into archives (zoo right now) and inn/tin have been modified to deal
with it).

: 
: And what are you sending on the spare bandwidth (ie: any software?)
Nothing yet.  (Well, actually article ID messages are generated and
posted to a special group for detecting dropped messages efficiently.
This is handy for rebooting, etc.)

Anything's possible.  Popular mailing lists would be good I think.
(Gated to newsgroups perhaps.)  Working out some deal with Clarinet
would be great also.  And of course, a slow grind over an FTP server
would be great.  (Say with a 2 week turn-around.)

Of course one of the first things to add is an ECC corrected
compressed newsfeed to open up some more bandwidth.

I was thinking last night that given the text based nature of NetNews,
a dictionary based compression might edge out LZW, especially in terms
of speed.  Does anyone have such code handy?

Another advantage to this, although it doesn't appear to be needed at
this point, is that a decompressor could resynchronize on garbled
data, which most lzw's have a hard time with.

Does anyone have some good public ECC code?  I've been looking at the
GNU code, but it irritates me that it's not tunable and that it can't
recover from lost or added bytes.
: 
: -- 
: Larry Snyder                                    internet: larry@gator.use.com
: keeper of the Gator                                   uucp: uunet!gator!larry

sdw
--
Stephen D. Williams  Local Internet Gateway Co.; SDW Systems 513 496-5223APager
LIG dev./sales       Internet: sdw@world.std.com CIS 76244.210@compuserve.com
OO R&D Source Dist.  By Horse: 10028 Village Tree Ct., Miamisburg, OH 45342
GNU Support          ICBM: 39 34N 85 15W I love it when a plan comes together

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads