🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #182637

Re: FQDN for Leafnode

#182637
From: Neil Woods
Date: Sun, 26 Mar 2006 01:10
70 lines
3720 bytes
hawat.thufir@gmail.com writes:

> hawat.thu...@gmail.com wrote:
> ..
>> In slrnpull I entered newsgroups into a list, is there something
>> analagous?  If so, I'm missing it.
> ..
>
> Ah, found:
>
> localhost ~ #
> localhost ~ #
> localhost ~ # ls -hal /var/spool/news/leaf.node/
> total 2.4M
> drwxr-xr-x  2 news news 4.0K Mar 25 22:54 .
> drwsr-xr-x  8 news news 4.0K Mar 25 22:45 ..
> -rw-r--r--  1 news news    0 Mar 22 13:34 .keep
> -rw-rw-r--  1 news news 2.4M Mar 25 22:54 groupinfo
> -rw-rw-r--  1 news news    0 Mar 25 22:54 shawnews.vc.shawcable.net
> localhost ~ # date
> Sat Mar 25 23:02:30 GMT 2006
> localhost ~ #
>
>
> I presume that groupinfo can be edited so that certain groups are
> downloaded, or subscribed?

No.  When you initially connect a news client to leafnode, you have to
pull the list of groups in the above groupinfo file via NNTP into your
client.  You should then be presented with a Leafnode "dummy" article in
each news group in your client.  

Just reading this article causes leafnode to create an empty file in
/var/spool/news/interesting.groups/ the name of which is the news group
you have just read the article in.  For example, if you subscribe to
say, news.software.readers, then leafnode will create

/var/spool/news/interesting.groups/news.software.readers.

On the next run of fetchnews, leafnode will see this file, and fetch
articles for that group.  

The actual file which your news client then saves (and reads when it
starts up), which contains the list of groups to which you are
subscribed, together with article numbers indicating which articles you
have read is traditionally called ~/.newsrc, but may differ depending on
the news client used.

On another note, how are you starting Leafnode?  The usual method is to
use the Internet superserver inetd (or xinetd on some systems).  This
provides some extra level of security.  For example, here I have in
/etc/inetd.conf:

# start leafnode nntp server
nntp  stream  tcp  nowait news /usr/sbin/tcpd /usr/sbin/leafnode

If you have xinetd, the entry will be different.

See inetd(8) (or xinetd(8)) man pages for more information.

Apologies if you know this already!

Hope this helps.

-- 
Neil.
Option Paralysis:
	The tendency, when given unlimited choices, to make none.
		-- Douglas Coupland, "Generation X: Tales for an Accelerated
		   Culture"
Technical Details
Message-ID: <87r74q9fkh.fsf@phun.phasmic.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Pine.LNX.4.64.0603250058250.10025@ybpnyubfg> <udlef3xhe4.ln2@news.gates-of-hell.com> <mf2gf3-isc.ln1@ID-107770.user.individual.net> <1143310596.083858.270300@i39g2000cwa.googlegroups.com> <irlgf3-lvh.ln1@ID-107770.user.individual.net> <1143327438.223962.198770@g10g2000cwb.googlegroups.com> <1143327796.764380.101290@e56g2000cwe.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <87r74q9fkh.fsf@phun.phasmic.org>
Subject: Re: FQDN for Leafnode
Date: Sun, 26 Mar 2006 02:10:06 +0100
From: Neil Woods <cnw+usenet-0603@pobox.com>
References: <Pine.LNX.4.64.0603250058250.10025@ybpnyubfg> <udlef3xhe4.ln2@news.gates-of-hell.com> <mf2gf3-isc.ln1@ID-107770.user.individual.net> <1143310596.083858.270300@i39g2000cwa.googlegroups.com> <irlgf3-lvh.ln1@ID-107770.user.individual.net> <1143327438.223962.198770@g10g2000cwb.googlegroups.com> <1143327796.764380.101290@e56g2000cwe.googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: (TINO)
Lines: 70
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: individual.net PbbfkEV1mXSuSJNzViLP4Am1d8x6Gy+EXYJIQTbYl2o7Ovw2NT
Mail-Copies-To: nobody
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)
Cancel-Lock: sha1:h5Qf6txryxKpsfuHRJOMIWwexGE=