🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
38 messages
38 total messages Started by andrew Sun, 20 Jan 2008 12:56
[slrn] + [leafnode] a few questions
#215102
Author: andrew
Date: Sun, 20 Jan 2008 12:56
25 lines
1709 bytes
Hi,

 I have started trying out leafnode with slrn and I have a few
questions that I hope some might answer:

1. Are there many with permanent connections that use Leafnode or is
it  predominantly dial-up users?

2. I am using version 1.xx at the moment, is there great advantage and
?stability in the version 2 leafnode?

3. Do people tend to store insane amounts of postings offline? For
example I am with individual.net and this stores 60 days = many
thousands of posts.

4. If there is an slrn mafia is there an inner circle of slrn mafia
who also use leafnode? (BTW this is a joke.)

   Thanks for your trouble,

          Andrew


-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215104
Author: Adam Funk
Date: Sun, 20 Jan 2008 13:48
47 lines
2783 bytes
On 2008-01-20, andrew wrote:

>  I have started trying out leafnode with slrn and I have a few
> questions that I hope some might answer:
>
> 1. Are there many with permanent connections that use Leafnode or is
> it  predominantly dial-up users?

There's at least one.  (I use slrn, leafnode and a permanent
connection.)


> 2. I am using version 1.xx at the moment, is there great advantage and
> ?stability in the version 2 leafnode?

I'm wondering the same thing.  (I use 1.11.6 because there's an Ubuntu
package for it.)


> 3. Do people tend to store insane amounts of postings offline? For
> example I am with individual.net and this stores 60 days = many
> thousands of posts.

I have it set for 90 days, mainly because I have a lot of room in the
/var partition.

BTW, if you uncomment the "create_all_links = 1" line in the config
file, where it says "If you want to have your newsreader score/kill on
Xref: lines, you might want to uncomment this", leafnode will create
directories for all the crossposted groups, and texpire will take a
little longer to run, but the seemingly duplicated posts won't take up
much extra disk space because they are hard links to the same inodes.

The leafnode mailing list (useful, with low traffic) is available as
the pseudo-newsgroup gmane.network.leafnode; integrating
gmane-interfaced lists together with NNTP newsgroups from different
servers is one of the main reasons I run leafnode.


> 4. If there is an slrn mafia is there an inner circle of slrn mafia
> who also use leafnode? (BTW this is a joke.)

There is now that there are two of us!


-- 
Bob just used 'canonical' in the canonical way.  [Guy Steele]
Re: [slrn] + [leafnode] a few questions
#215103
Author: Thomas Wiegner
Date: Sun, 20 Jan 2008 13:49
33 lines
2146 bytes
On Sun, 20 Jan 2008, andrew <andrew@ilium.invalid> wrote:

>  I have started trying out leafnode with slrn and I have a few
> questions that I hope some might answer:
>
> 1. Are there many with permanent connections that use Leafnode or is
> it  predominantly dial-up users?

Yes, I do, although having a broadband connection. Of course it might be
a relict from my dial up time.

On of the main advantages is that *expensive scoring* is *not* expensive 
anymore when you are using a local newsserver.

> 2. I am using version 1.xx at the moment, is there great advantage and
> ?stability in the version 2 leafnode?

leafnode 1.x does not support the "reconstruct thread" feature. 
leafnode 2 does support this.

> 3. Do people tend to store insane amounts of postings offline? For
> example I am with individual.net and this stores 60 days = many
> thousands of posts.

This really depends how many groups you read. With about 10 groups and a
expire time of a month I have about 30 MByte in /var/spool/news/.

Cheers,

 Thomas

-- 
slrn packages for ubuntu: http://www.foory.de/thw/slrn/
Re: [slrn] + [leafnode] a few questions
#215105
Author: Rikishi 42
Date: Sun, 20 Jan 2008 13:54
41 lines
2793 bytes
On 2008-01-20, andrew <andrew@ilium.invalid> wrote:
> 1. Are there many with permanent connections that use Leafnode or is
> it  predominantly dial-up users?
I'm on cable. I use leafnode for the following reasons:
- My server runs it to fetch news only once, to be read from desktop,
laptop, or for a visitor. 
- Should my ISP's server be out (never happended, so far) when I want to
read, I can still read what I have, and post offline.
- I do some binary groups. My provider sets a monthly volume limit. But DL's
done at night count for 50% only. So I set Leafnode to fetch only text
groups during daytime, and the binary ones at night.

> 2. I am using version 1.xx at the moment, is there great advantage and
> ?stability in the version 2 leafnode?
Can't help you, I stil run 1.xx. 
So far, I have no reason to change. So I don't.
"If it ain't broken, don't fix it." That's a law.  :-)

> 3. Do people tend to store insane amounts of postings offline? For
> example I am with individual.net and this stores 60 days = many
> thousands of posts.
Insane is subjective. :-)
Thousands of posts don't mean much, volume-wise. I currently have 76532. A
very small amount, really. Just watch, people will start boastinig about
their numbers, any second now.  ;-)

You can expire the postings selectively. My cleanup delays are:
- 180 days per default 
- 7 days for binaries 
- no expiration for some professional groups I want to keep for reference
  (not from usenet, but from a company news server)

> 4. If there is an slrn mafia is there an inner circle of slrn mafia
> who also use leafnode? (BTW this is a joke.)
So, you think we've funny, do you ?


-- 
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
Re: [slrn] + [leafnode] a few questions
#215106
Author: Rom
Date: Sun, 20 Jan 2008 13:58
23 lines
1951 bytes
On Sun, 20 Jan 2008 23:56:39 +1100, andrew wrote:

> 1. Are there many with permanent connections that use Leafnode or is
> it  predominantly dial-up users?

> 3. Do people tend to store insane amounts of postings offline? For
> example I am with individual.net and this stores 60 days = many
> thousands of posts.

I'll have a stab at answering...

I've had broadband for years and still prefer to use offline clients
with or without a personal news server. The Internet connection
(permanent or dial-up) itself doesn't really make a difference in the
decision making. Disk space for locally stored text posts isn't really
an issue these days either. Do you want a convenient local store, and
do you refer back to older posts, or are you into searching/using GG?

There are news servers with years of retention - Supernews and
Giganews are two I know of, so NIN's couple of months isn't much.

-- 
Rom
Re: [slrn] + [leafnode] a few questions
#215110
Author: Peter J. Holzer
Date: Sun, 20 Jan 2008 14:01
35 lines
2463 bytes
On 2008-01-20 12:56, andrew <andrew@ilium.invalid> wrote:
>  I have started trying out leafnode with slrn and I have a few
> questions that I hope some might answer:
>
> 1. Are there many with permanent connections that use Leafnode or is
> it  predominantly dial-up users?

I started to use leafnode when I still had a dial-up connection, but
I've had a permanent connection for many years now and still use it.
Having a local spool has other advantages besides speed and cost -
mostly the ability to retain groups as long as I like, grep the local
spool and leave less information in my provider's log files.


> 2. I am using version 1.xx at the moment, is there great advantage and
> ?stability in the version 2 leafnode?

Version 2 has some features which are handy, especially in connection
with slrn. But I'm running version 1 currently, simply because it's the
version included with Debian stable, so obviously the advantages aren't
that great from my POV.

> 3. Do people tend to store insane amounts of postings offline? For
> example I am with individual.net and this stores 60 days = many
> thousands of posts.

I guess that depends on what you mean by "insane amounts" - leafnode
uses a tradspool-like filesystem layout which doesn't scale particularly
well and slrn gets quite slow if it has to filter lots of messages - so
you probably don't want to have more than a few thousand messages per
group. 60 days shouldn't be a problem in most discussion groups.

	hp

Re: [slrn] + [leafnode] a few questions
#215109
Author: Whiskers
Date: Sun, 20 Jan 2008 14:46
52 lines
3380 bytes
On 2008-01-20, andrew <andrew@ilium.invalid> wrote:
> Hi,
>
>  I have started trying out leafnode with slrn and I have a few
> questions that I hope some might answer:
>
> 1. Are there many with permanent connections that use Leafnode or is
> it  predominantly dial-up users?

I have DSL and use a local NNTP server (Noffle on this system, but I'm 
setting up my next system with Leafnode 2).  I began using a local server 
(Hamster, with Xnews, on Windows 98SE) when I was on dial-up, and there is
certainly a considerable benefit in those circumstances, and I liked the
other benefits so much that I wouldn't want to do it any other way now,
regardless of how I connect.

I use a laptop and I'm not always at home, so my internet connection can 
still be slow, or intermittant, or expensive.

> 2. I am using version 1.xx at the moment, is there great advantage and
> ?stability in the version 2 leafnode?

'Reconstruct thread' works with Leafnode 2 but not with Leafnode 1 (it was 
that feature that led my to try Noffle, which has it).  The only drawback 
to Leafnode 2 as far as I've found so far, is that my distro (Mandriva) 
hasn't got a precompiled package for it - but it installs easily enough 
from the source, so that isn't really a problem.  Leafnode 2 has a better 
'score-based' filtering system than version 1's basic 'killfile'.

> 3. Do people tend to store insane amounts of postings offline? For
> example I am with individual.net and this stores 60 days = many
> thousands of posts.

I'm not insane and I have a certificate to prove it  <G>  My default local 
retention is 90 days, which works well for me and doesn't seem to be too
much of a storage problem - but that is with no binary groups; those are a
differnet kettle of fish.

> 4. If there is an slrn mafia is there an inner circle of slrn mafia
> who also use leafnode? (BTW this is a joke.)
>
>    Thanks for your trouble,
>
>           Andrew

Nofflers appear to be a more select group ... and don't forget the 
slrn-pullers.  I don't know if anyone is using sn.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] + [leafnode] a few questions
#215113
Author: Frank Slootweg
Date: Sun, 20 Jan 2008 16:16
37 lines
2567 bytes
andrew <andrew@ilium.invalid> wrote:
> Hi,
> 
>  I have started trying out leafnode with slrn and I have a few
> questions that I hope some might answer:
> 
> 1. Are there many with permanent connections that use Leafnode or is
> it  predominantly dial-up users?

  As others have mentioned, when you have dial-up you probably want to
use a local server (like leafnode et al) or an offline newsreader.

  But if you have a permanent connection, that does *not* mean that you
*don't* want to use use them. I.e. a local server / offline reader
has certain advantages over an online reader. Others have described
these advantages, so I won't.

  FWIW, professionally I 'always' had a permanent connection, but had a
local server. Privately I was on dial-up for a short time, so I *had to*
use an offline reader / local server. When I got a permanent (cable)
connection, I kept the local server and never looked back.

  Analogy: Do you use 1) POP and local folders on dialup and 2) IMAP with
remote folders with a permanent connection? Answer: 1) Yes. 2) Perhaps,
but probably not. Same for News.

[...]

> 3. Do people tend to store insane amounts of postings offline? For
> example I am with individual.net and this stores 60 days = many
> thousands of posts.

  Nah, only five years worth or so! :-)

  FYI, my Hamster store is currently 1.22GB. Some 60 groups with in
total some 450 thousand articles. And some four and a half years of this
group (nsr) is some 85 thousand articles.
Re: [slrn] + [leafnode] a few questions
#215116
Author: gregor herrmann
Date: Sun, 20 Jan 2008 20:17
23 lines
2304 bytes
On Sun, 20 Jan 2008 23:56:39 +1100, andrew wrote:

> 1. Are there many with permanent connections that use Leafnode or is
> it  predominantly dial-up users?

Count me in.

One additional advantage not mentioned yet:
It's easy to query multiple upstream news servers with leafnode.

> 2. I am using version 1.xx at the moment, is there great advantage and
> ?stability in the version 2 leafnode?

leafnode2 works here without any problems (the package from Debian
experimental).


gregor
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Beatles
Re: [slrn] + [leafnode] a few questions
#215118
Author: Blinky the Shark
Date: Sun, 20 Jan 2008 20:49
20 lines
1830 bytes
andrew wrote:

> 3. Do people tend to store insane amounts of postings offline? For example
> I am with individual.net and this stores 60 days = many thousands of
> posts.

Here:  expire = 7
 
> 4. If there is an slrn mafia is there an inner circle of slrn mafia who
> also use leafnode? (BTW this is a joke.)

That would be the sleaf mafia.
 

-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Re: [slrn] + [leafnode] a few questions
#215119
Author: Troy Piggins
Date: Sun, 20 Jan 2008 21:00
36 lines
2917 bytes
* andrew is quoted & my replies are inline below :
> Hi,
>
>  I have started trying out leafnode with slrn and I have a few
> questions that I hope some might answer:
>
> 1. Are there many with permanent connections that use Leafnode or is
> it  predominantly dial-up users?

Who still uses dialup?  :)  I'm on ADSL and use leafnode 2.

> 2. I am using version 1.xx at the moment, is there great advantage and
> ?stability in the version 2 leafnode?

Despite its "alpha" status, v2 is very stable.  Been using it for
months/years(?)  It has much better filtering capabilities as
well as what others have mentioned.

> 3. Do people tend to store insane amounts of postings offline? For
> example I am with individual.net and this stores 60 days = many
> thousands of posts.

Not insane amounts.  Just over 100Mb here.  It only downloads
"interesting" groups that you have entered/read.  If you don't
read them after some period it stops downloading them also.

> 4. If there is an slrn mafia is there an inner circle of slrn mafia
> who also use leafnode? (BTW this is a joke.)

Yes.  Beware horse's heads in your bed :)

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
* Currently using slrn pre0.9.9-77                           |___  | |/   |/  |
* Try it:                                                     ___| | |    |   |
$ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
Re: [slrn] + [leafnode] a few questions
#215120
Author: Adam Funk
Date: Sun, 20 Jan 2008 21:15
8 lines
1307 bytes
On 2008-01-20, Whiskers wrote:

> I'm not insane and I have a certificate to prove it  <G> 

Where did you buy it?  I need to know for a friend.

-- 
Bob just used 'canonical' in the canonical way.  [Guy Steele]
Re: [slrn] + [leafnode] a few questions
#215121
Author: Adam Funk
Date: Sun, 20 Jan 2008 21:16
16 lines
1688 bytes
On 2008-01-20, Thomas Wiegner wrote:

>> 2. I am using version 1.xx at the moment, is there great advantage and
>> ?stability in the version 2 leafnode?
>
> leafnode 1.x does not support the "reconstruct thread" feature. 
> leafnode 2 does support this.

That's a good selling point.  I might just get around to compiling it
one of these days!


-- 
Hi this is Leila. I'm not here right now. So please leave your name,
number and a brief message and a time you called at the beep. And
please try to be frank.                                   (Cox 1984)
Re: [slrn] + [leafnode] a few questions
#215122
Author: Rikishi 42
Date: Sun, 20 Jan 2008 22:09
20 lines
1667 bytes
On 2008-01-20, gregor herrmann <gregor+usenet-0601@comodo.priv.at> wrote:
>> 1. Are there many with permanent connections that use Leafnode or is
>> it  predominantly dial-up users?
>
> Count me in.
>
> One additional advantage not mentioned yet:
> It's easy to query multiple upstream news servers with leafnode.

I think someone allready mensionned that, in passing.

I forgot to mension this, in my first post. But that is one of the great
advantages: reading the news from different server, without worrying about
different profiles, authenticat, etc...


-- 
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
Re: [slrn] + [leafnode] a few questions
#215125
Author: andrew
Date: Sun, 20 Jan 2008 22:50
22 lines
1838 bytes
On 2008-01-20, Adam Funk <a24061@ducksburg.com> wrote:
> On 2008-01-20, andrew wrote:

[...]

>> 2. I am using version 1.xx at the moment, is there great advantage and
>> ?stability in the version 2 leafnode?
>
> I'm wondering the same thing.  (I use 1.11.6 because there's an Ubuntu
> package for it.)

I am using the Ubuntu package at the moment on my 'Feisty' partiton as
there is a neat little script that sets everything up :-) WHen I have
a little spare time I will be setting Leafnode 2 up on my 'other'
partition and this will be compile from source, set the server, set
the cron jobs, set the leafnode config etc etc. Ubuntu makes it very
easy.

    Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215126
Author: andrew
Date: Sun, 20 Jan 2008 22:53
21 lines
1670 bytes
On 2008-01-20, Troy Piggins <usenet-0801@piggo.com> wrote:
> * andrew is quoted & my replies are inline below :

[...]

>> 4. If there is an slrn mafia is there an inner circle of slrn mafia
>> who also use leafnode? (BTW this is a joke.)
>
> Yes.  Beware horse's heads in your bed :)

Actually Troy I have raided you cupboard of macros again and I am using
the fetchnews macro with great success:

http://piggo.com/~troy/slrn.php#fetchnews

Wish I had the skill to write such things.

        Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215129
Author: Troy Piggins
Date: Sun, 20 Jan 2008 23:20
26 lines
2496 bytes
* andrew is quoted & my replies are inline below :
> On 2008-01-20, Troy Piggins <usenet-0801@piggo.com> wrote:
>> * andrew is quoted & my replies are inline below :
>
> [...]
>
>>> 4. If there is an slrn mafia is there an inner circle of slrn mafia
>>> who also use leafnode? (BTW this is a joke.)
>>
>> Yes.  Beware horse's heads in your bed :)
>
> Actually Troy I have raided you cupboard of macros again and I am using
> the fetchnews macro with great success:
>
> http://piggo.com/~troy/slrn.php#fetchnews
>
> Wish I had the skill to write such things.

:) No worries.  Don't know about skill, it's only a couple of
lines mate.

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
* Currently using slrn pre0.9.9-77                           |___  | |/   |/  |
* Try it:                                                     ___| | |    |   |
$ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
Re: [slrn] + [leafnode] a few questions
#215130
Author: Whiskers
Date: Sun, 20 Jan 2008 23:35
13 lines
1680 bytes
On 2008-01-20, Adam Funk <a24061@ducksburg.com> wrote:
> On 2008-01-20, Whiskers wrote:
>
>> I'm not insane and I have a certificate to prove it  <G> 
>
> Where did you buy it?  I need to know for a friend.

The invisible pink elephant printed it for me while I was out one day.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] + [leafnode] a few questions
#215134
Author: andrew
Date: Mon, 21 Jan 2008 08:26
20 lines
1902 bytes
On 2008-01-20, andrew <andrew@ilium.invalid> wrote:

[...]

> I am using the Ubuntu package at the moment on my 'Feisty' partiton as
> there is a neat little script that sets everything up :-) WHen I have
> a little spare time I will be setting Leafnode 2 up on my 'other'
> partition and this will be compile from source, set the server, set
> the cron jobs, set the leafnode config etc etc. Ubuntu makes it very
> easy.

Hmmm... all done set except setting cron for texpire and fetchnews. I
will have to admit after setting leafnode under Slackware and then
Ubuntu I wonder which is the better way ...

Thanks for all who gave their thoughts on Leafnode / slrn

            Andrew
-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215136
Author: Peter J Ross
Date: Mon, 21 Jan 2008 12:36
52 lines
3094 bytes
In news.software.readers on Sun, 20 Jan 2008 23:56:39 +1100, andrew
<andrew@ilium.invalid> wrote:

> Hi,
>
>  I have started trying out leafnode with slrn and I have a few
> questions that I hope some might answer:
>
> 1. Are there many with permanent connections that use Leafnode or is
> it  predominantly dial-up users?

I use Leafnode with an ADSL connection.

> 2. I am using version 1.xx at the moment, is there great advantage and
> ?stability in the version 2 leafnode?

I've been using version 2 for about two years and have had no problems
with it. Advantages over version 1 include:

1. Local newsgroups. A local test newsgroup is invaluable.

2. User authentication. Helps with remote access.

3. Improved filtering. This is still primitive compared with the best
newsreaders, but at least you have "select" and "score" as well as
"kill".

4. XPAT works, enabling thread reconstruction.

5. It's much faster, though this is unlikely to be a big concern
unless you're on dialup.

You can quite easily experiment with Leafnode 2 without disturbing an
existing Leafnode 1. Install everything somewhere out of the way, such
as /usr/local/ln2/, and configure a listening port other than 119 in
[x]inetd.conf.

> 3. Do people tend to store insane amounts of postings offline? For
> example I am with individual.net and this stores 60 days = many
> thousands of posts.

I expire articles after ten days, and don't fetch anything older than
20 days in newly subscribed groups, but it's easy to change these
settings for individual groups or sets of groups.

> 4. If there is an slrn mafia is there an inner circle of slrn mafia
> who also use leafnode? (BTW this is a joke.)

If I told you I'd have to kill you.

-- 
PJR :-)
Re: [slrn] + [leafnode] a few questions
#215157
Author: Mike Yetto
Date: Mon, 21 Jan 2008 19:22
20 lines
2257 bytes
Bada bing andrew <andrew@ilium.invalid> bada bang:
> Hi,
>
>  I have started trying out leafnode with slrn and I have a few
> questions that I hope some might answer:
>
> 1. Are there many with permanent connections that use Leafnode or is
> it  predominantly dial-up users?
>

I've read the other reasons given for using leafnode with a
braodband/permanent connection and would like to mention this on.

Most of us just like to tweak things and leafnode is easier to
tweak if it is installed.

Mike "nevermind my sig, that's the reason" Yetto
-- 
Pluralitas non est ponenda sine necessitas.
 - William of Ockham
Re: [slrn] + [leafnode] a few questions
#215161
Author: Adam Funk
Date: Mon, 21 Jan 2008 21:32
17 lines
1894 bytes
On 2008-01-20, Whiskers wrote:

> On 2008-01-20, Adam Funk <a24061@ducksburg.com> wrote:
>> On 2008-01-20, Whiskers wrote:
>>
>>> I'm not insane and I have a certificate to prove it  <G> 
>>
>> Where did you buy it?  I need to know for a friend.
>
> The invisible pink elephant printed it for me while I was out one day.

Thanks!  I'll try, I mean, my friend will try to get his attention
next time he passes this way.


-- 
"Hey Myron, I'm a lawyer!"
Re: [slrn] + [leafnode] a few questions
#215164
Author: Peter J Ross
Date: Mon, 21 Jan 2008 21:50
19 lines
2037 bytes
In news.software.readers on Mon, 21 Jan 2008 14:22:02 -0500, Mike
Yetto <myetto1@nycap.invalid> wrote:

> I've read the other reasons given for using leafnode with a
> braodband/permanent connection and would like to mention this on.
>
> Most of us just like to tweak things and leafnode is easier to
> tweak if it is installed.

Do you have any tweaks to suggest for advanced users? I see that I
haven't changed /etc/leafnode/config for almost six months, but I'm
aware of a whole bunch of leafnode options I've never investigated.

> Mike "nevermind my sig, that's the reason" Yetto

I've always prefered Scotus and Bacon Senior anyway. :-)

-- 
PJR :-)
Re: [slrn] + [leafnode] a few questions
#215165
Author: Whiskers
Date: Mon, 21 Jan 2008 21:53
21 lines
2016 bytes
On 2008-01-21, Adam Funk <a24061@ducksburg.com> wrote:
> On 2008-01-20, Whiskers wrote:
>
>> On 2008-01-20, Adam Funk <a24061@ducksburg.com> wrote:
>>> On 2008-01-20, Whiskers wrote:
>>>
>>>> I'm not insane and I have a certificate to prove it  <G> 
>>>
>>> Where did you buy it?  I need to know for a friend.
>>
>> The invisible pink elephant printed it for me while I was out one day.
>
> Thanks!  I'll try, I mean, my friend will try to get his attention
> next time he passes this way.

He likes apples, and melons.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] + [leafnode] a few questions
#215167
Author: andrew
Date: Mon, 21 Jan 2008 22:55
43 lines
2752 bytes
On 2008-01-21, Peter J Ross <pjr@example.invalid> wrote:
> In news.software.readers on Sun, 20 Jan 2008 23:56:39 +1100, andrew
><andrew@ilium.invalid> wrote:

>>  I have started trying out leafnode with slrn and I have a few
>> questions that I hope some might answer:

[...]

>> 2. I am using version 1.xx at the moment, is there great advantage and
>> ?stability in the version 2 leafnode?

[...]

> 5. It's much faster, though this is unlikely to be a big concern
> unless you're on dialup.

Thanks for your comments in general PJR. I have Leafnode 2 running on
my Slackware partition now and 1.x on my Ubuntu partition so room for
comparison there. Concerning speed the biggest gain concerns my news
server: individual.net is of course in Germany and I am in Australia
and the connection can be a bit sluggish at times and I have found
Leafnode in both versions conceals this from me.

I am still wrestling with a crontab setting that will run fetchnews
for me but that relates more to my lack of experience with cron,
except of course as the Greek god :-)

Can I ask, if you use cron for this, /whose/ cron it is? I have followed
the manual and set it for news:

crontab -u news -e
# Sets texpire to clean out news at 2310 every day:                                          10 23 * * * /usr/sbin/texpire 1>/home/andrew/.texpirelog
# Sets fetchnews to run every 4 hours at 15 minutes past
15 */4*** /usr/sbin/fetchnews -vv 1>/homeandrew/.fetchnewslog

Although I am not entirely clear why this should be 'news' and not
simply 'root'.

    Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215169
Author: andrew
Date: Mon, 21 Jan 2008 23:04
15 lines
1579 bytes
On 2008-01-21, andrew <andrew@ilium.invalid> wrote:

[...]

> crontab -u news -e
> # Sets texpire to clean out news at 2310 every day:
> 10 23 * * * /usr/sbin/texpire 1>/home/andrew/.texpirelog
> # Sets fetchnews to run every 4 hours at 15 minutes past
> 15 */4*** /usr/sbin/fetchnews -vv 1>/homeandrew/.fetchnewslog

Oops!! Sorry about the crazy line thing :-)

    Andrew
-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215170
Author: Troy Piggins
Date: Mon, 21 Jan 2008 23:56
66 lines
4049 bytes
* andrew is quoted & my replies are inline below :
> On 2008-01-21, Peter J Ross <pjr@example.invalid> wrote:
>> In news.software.readers on Sun, 20 Jan 2008 23:56:39 +1100, andrew
>><andrew@ilium.invalid> wrote:
>
>>>  I have started trying out leafnode with slrn and I have a few
>>> questions that I hope some might answer:
>
> [...]
>
>>> 2. I am using version 1.xx at the moment, is there great advantage and
>>> ?stability in the version 2 leafnode?
>
> [...]
>
>> 5. It's much faster, though this is unlikely to be a big concern
>> unless you're on dialup.
>
> Thanks for your comments in general PJR. I have Leafnode 2 running on
> my Slackware partition now and 1.x on my Ubuntu partition so room for
> comparison there. Concerning speed the biggest gain concerns my news
> server: individual.net is of course in Germany and I am in Australia
> and the connection can be a bit sluggish at times and I have found
> Leafnode in both versions conceals this from me.
>
> I am still wrestling with a crontab setting that will run fetchnews
> for me but that relates more to my lack of experience with cron,
> except of course as the Greek god :-)
>
> Can I ask, if you use cron for this, /whose/ cron it is? I have followed
> the manual and set it for news:

That's as good a user as any :)

> crontab -u news -e
> # Sets texpire to clean out news at 2310 every day:                                          10 23 * * * /usr/sbin/texpire 1>/home/andrew/.texpirelog
> # Sets fetchnews to run every 4 hours at 15 minutes past
> 15 */4*** /usr/sbin/fetchnews -vv 1>/homeandrew/.fetchnewslog

Typo?  /home/andrew/.fetchnewslog ?
           ^^^

This you are also missing some spaces there, but that may just be
your pasting:

15 */4 * * * /usr/sbin/fetchnews -vv 1>/home/andrew/.fetchnewslog

> Although I am not entirely clear why this should be 'news' and not
> simply 'root'.

Just for security and privileges.  If some exploit gains access
to leafnode/fetchnews, they'll only be as user "news" not root.

On your ubuntu box:

$ man 5 crontab

Most helpful man page for cron I've found.

Not sure if Slack's man structure is the same.

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
* Currently using slrn pre0.9.9-77                           |___  | |/   |/  |
* Try it:                                                     ___| | |    |   |
$ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
Re: [slrn] + [leafnode] a few questions
#215216
Author: andrew
Date: Tue, 22 Jan 2008 10:04
34 lines
2216 bytes
On 2008-01-21, Troy Piggins <usenet-0801@piggo.com> wrote:
> * andrew is quoted & my replies are inline below :

[...]

>> Can I ask, if you use cron for this, /whose/ cron it is? I have followed
>> the manual and set it for news:
>
> That's as good a user as any :)

[...]

> Just for security and privileges.  If some exploit gains access
> to leafnode/fetchnews, they'll only be as user "news" not root.

Mind you as far as I know, and I have only met Leafnode a couple of
days ago, fetchnews itself /must/ be run as root anyway. So is their
actually any added risk to automating this process as a root crontab?

> On your ubuntu box:
> $ man 5 crontab

Thanks for the prod towards the manual :-) I have worked it all out
and the following works well for me:

10 21 * * * /usr/sbin/texpire -vv >>/home/andrew/.texpirelog 2>&1
15 * * * * /usr/sbin/fetchnews -vv >>/home/andrew/.fetchnewslog 2>&1

Thanks again Troy,

   Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215220
Author: Whiskers
Date: Tue, 22 Jan 2008 10:48
38 lines
2799 bytes
On 2008-01-22, andrew <andrew@ilium.invalid> wrote:
> On 2008-01-21, Troy Piggins <usenet-0801@piggo.com> wrote:
>> * andrew is quoted & my replies are inline below :
>
> [...]
>
>>> Can I ask, if you use cron for this, /whose/ cron it is? I have followed
>>> the manual and set it for news:
>>
>> That's as good a user as any :)
>
> [...]
>
>> Just for security and privileges.  If some exploit gains access
>> to leafnode/fetchnews, they'll only be as user "news" not root.
>
> Mind you as far as I know, and I have only met Leafnode a couple of
> days ago, fetchnews itself /must/ be run as root anyway. So is their
> actually any added risk to automating this process as a root crontab?

Fetchnews can be run as root, and if you are doing it manually it may be 
easier to su or sudo to root rather than to news; but the danger of 
running it as root is that your entire system becomes vulnerable while you 
are doing it.  Running it as news only exposes the system to things that 
the user news is permitted to do - which shouldn't be much, and nothing at 
all beyond what is needed for posting and fetching usenet posts and 
maintaining the 'spool'.

(If you try to su to news, you should find that you can't enter the 
correct password - because news doesn't have a password, so can't log in 
to do anything).

[...]

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] + [leafnode] a few questions
#215221
Author: andrew
Date: Tue, 22 Jan 2008 11:10
20 lines
1846 bytes
On 2008-01-22, andrew <andrew@ilium.invalid> wrote:

[...]

> Thanks for the prod towards the manual :-) I have worked it all out
> and the following works well for me:
>
> 10 21 * * * /usr/sbin/texpire -vv >>/home/andrew/.texpirelog 2>&1
> 15 * * * * /usr/sbin/fetchnews -vv >>/home/andrew/.fetchnewslog 2>&1

But the joy of the command line in making fine changes:

10 21 * * * /usr/sbin/texpire -vv >/home/andrew/.texpirelog 2>&1
15 * * * * /usr/sbin/fetchnews -vvv >/home/andrew/.fetchnewslog 2>&1

I will now stop answering my own posts :-)

       Andrew
-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215237
Author: andrew
Date: Tue, 22 Jan 2008 22:24
29 lines
2545 bytes
On 2008-01-22, Whiskers <catwheezel@operamail.com> wrote:

[...]

> Fetchnews can be run as root, and if you are doing it manually it may be 
> easier to su or sudo to root rather than to news; but the danger of 
> running it as root is that your entire system becomes vulnerable while you 
> are doing it.  Running it as news only exposes the system to things that 
> the user news is permitted to do - which shouldn't be much, and nothing at 
> all beyond what is needed for posting and fetching usenet posts and 
> maintaining the 'spool'.

Thanks for this very clear explanation. I guess at the heart of my
problem is that I cannot actually get 'news' to do his / her cron
work :-) There is most definitly a user called news, and this user
owns /var/spool/news and everything in it but will not respond to
cron.

I have missed something in my setup I suspect. Root will run all the
required commands / crontab of course and I acknowledge that this is
less than satisfactory. Any thoughts on what I have missed? I will ask
in the Slackware section of linuxquestions as well.

  Thanks,

   Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215247
Author: andrew
Date: Wed, 23 Jan 2008 09:23
34 lines
2838 bytes
On 2008-01-22, andrew <andrew@ilium.invalid> wrote:
> On 2008-01-22, Whiskers <catwheezel@operamail.com> wrote:
>
> [...]
>
>> Fetchnews can be run as root, and if you are doing it manually it may be 
>> easier to su or sudo to root rather than to news; but the danger of 
>> running it as root is that your entire system becomes vulnerable while you 
>> are doing it.  Running it as news only exposes the system to things that 
>> the user news is permitted to do - which shouldn't be much, and nothing at 
>> all beyond what is needed for posting and fetching usenet posts and 
>> maintaining the 'spool'.
>
> Thanks for this very clear explanation. I guess at the heart of my
> problem is that I cannot actually get 'news' to do his / her cron
> work :-) There is most definitly a user called news, and this user
> owns /var/spool/news and everything in it but will not respond to
> cron.

Can I confess to being totally stupid, here on news.software.readers?
I have found the simple error I made with the following, run as
'news':

15 * * * * /usr/sbin/fetchnews -vvv >/home/andrew/.fetchnewslog 2>&1

The file .fetchnewslog is owned by me (andrew) and permissions were
600 so the user 'news' could not access it at all. And so the whole
cron job failed (this is 2.3.3). Once I set permissions to 644 all was
well. Unbelievable.

    Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215249
Author: Rikishi 42
Date: Wed, 23 Jan 2008 18:58
29 lines
2539 bytes
On 2008-01-22, andrew <andrew@ilium.invalid> wrote:

>> Fetchnews can be run as root, and if you are doing it manually it may be 
>> easier to su or sudo to root rather than to news; but the danger of 
>> running it as root is that your entire system becomes vulnerable while you 
>> are doing it.  Running it as news only exposes the system to things that 
>> the user news is permitted to do - which shouldn't be much, and nothing at 
>> all beyond what is needed for posting and fetching usenet posts and 
>> maintaining the 'spool'.
>
> Thanks for this very clear explanation. I guess at the heart of my
> problem is that I cannot actually get 'news' to do his / her cron
> work :-) There is most definitly a user called news, and this user
> owns /var/spool/news and everything in it but will not respond to
> cron.

I use *my* cron, to run a script in which sudo is called.
No need to run it as root.

I recently put my scripts on my server, to fetch them from the office.

If you want them, they're still sitting there: 
http://www.rikishi42.net/SkunkWorks/LeafNode/


-- 
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
Re: [slrn] + [leafnode] a few questions
#215250
Author: Troy Piggins
Date: Wed, 23 Jan 2008 20:22
41 lines
3644 bytes
* andrew is quoted & my replies are inline below :
> On 2008-01-22, andrew <andrew@ilium.invalid> wrote:
>> On 2008-01-22, Whiskers <catwheezel@operamail.com> wrote:
>>
>> [...]
>>
>>> Fetchnews can be run as root, and if you are doing it manually it may be 
>>> easier to su or sudo to root rather than to news; but the danger of 
>>> running it as root is that your entire system becomes vulnerable while you 
>>> are doing it.  Running it as news only exposes the system to things that 
>>> the user news is permitted to do - which shouldn't be much, and nothing at 
>>> all beyond what is needed for posting and fetching usenet posts and 
>>> maintaining the 'spool'.
>>
>> Thanks for this very clear explanation. I guess at the heart of my
>> problem is that I cannot actually get 'news' to do his / her cron
>> work :-) There is most definitly a user called news, and this user
>> owns /var/spool/news and everything in it but will not respond to
>> cron.
>
> Can I confess to being totally stupid, here on news.software.readers?
> I have found the simple error I made with the following, run as
> 'news':
>
> 15 * * * * /usr/sbin/fetchnews -vvv >/home/andrew/.fetchnewslog 2>&1
>
> The file .fetchnewslog is owned by me (andrew) and permissions were
> 600 so the user 'news' could not access it at all. And so the whole
> cron job failed (this is 2.3.3). Once I set permissions to 644 all was
> well. Unbelievable.

Ha!  We've all done that!

Why put the logs in /home/andrew?  Why not with all the other
logs in /var/log or something?

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
* Currently using slrn pre0.9.9-82                           |___  | |/   |/  |
* Try it:                                                     ___| | |    |   |
$ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
Re: [slrn] + [leafnode] a few questions
#215254
Author: andrew
Date: Wed, 23 Jan 2008 20:38
26 lines
2275 bytes
On 2008-01-23, Rikishi 42 <skunkworks@rikishi42.net> wrote:

[...]

> I use *my* cron, to run a script in which sudo is called.
> No need to run it as root.
>
> I recently put my scripts on my server, to fetch them from the office.
>
> If you want them, they're still sitting there: 
> http://www.rikishi42.net/SkunkWorks/LeafNode/

Thank you very much for this, I have taken the liberty of downloading
all scripts for study offline.

I have managed to wrestle 'news' into life and for the moment I am
happy with a few simple crontab settings but I have picked up a few
ideas after combing through your scripts. For example:

ls /var/spool/news/interesting.groups/ -lutrgG 

although I admit I had to look up a few of those options :-)

            Andrew
-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215261
Author: andrew
Date: Wed, 23 Jan 2008 22:03
36 lines
2848 bytes
On 2008-01-23, Troy Piggins <usenet-0801@piggo.com> wrote:
> * andrew is quoted & my replies are inline below :
>> On 2008-01-22, andrew <andrew@ilium.invalid> wrote:

[...]

>> Can I confess to being totally stupid, here on news.software.readers?
>> I have found the simple error I made with the following, run as
>> 'news':
>>
>> 15 * * * * /usr/sbin/fetchnews -vvv >/home/andrew/.fetchnewslog 2>&1
>>
>> The file .fetchnewslog is owned by me (andrew) and permissions were
>> 600 so the user 'news' could not access it at all. And so the whole
>> cron job failed (this is 2.3.3). Once I set permissions to 644 all was
>> well. Unbelievable.
>
> Ha!  We've all done that!
>
> Why put the logs in /home/andrew?  Why not with all the other
> logs in /var/log or something?

I guess just a personal preference. I will eventually organise all my
'personal' logs in $HOME with something like:

~/.log_msmtp ~./log_procmail ~/.log_fetcnews etc

and leave the 'system' logs in /var/log. Just an idiosyncrasy I guess.
BTW wish me luck I have put a huge amount of work into a slackbuild
(installation) script for Leafnode 2 and I am just about to submit it
to slackbuilds.org. I will have earned my Slackware 'stripes' if it is
accepted :-)

           Andrew
-- 
http://www.andrews-corner.org
Re: [slrn] + [leafnode] a few questions
#215262
Author: Rikishi 42
Date: Wed, 23 Jan 2008 22:09
34 lines
2463 bytes
On 2008-01-23, andrew <andrew@ilium.invalid> wrote:
>> I use *my* cron, to run a script in which sudo is called.
>> No need to run it as root.
>>
>> I recently put my scripts on my server, to fetch them from the office.
>>
>> If you want them, they're still sitting there: 
>> http://www.rikishi42.net/SkunkWorks/LeafNode/
>
> Thank you very much for this, I have taken the liberty of downloading
> all scripts for study offline.
>
> I have managed to wrestle 'news' into life and for the moment I am
> happy with a few simple crontab settings but I have picked up a few
> ideas after combing through your scripts. For example:
>
> ls /var/spool/news/interesting.groups/ -lutrgG 
>
> although I admit I had to look up a few of those options :-)

To get the scripts to work 'as-is', just put these in your /etc/sudoers file:

# Runas alias specification
YourUser  ALL=(news) NOPASSWD: /usr/sbin/fetchnews
YourUser  ALL=(news) NOPASSWD: /usr/sbin/texpire
YourUser  ALL=(news) NOPASSWD: /usr/bin/env

Where YourUser is your username, of course.


-- 
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
Re: [slrn] + [leafnode] a few questions
#215265
Author: Troy Piggins
Date: Wed, 23 Jan 2008 22:30
41 lines
3559 bytes
* andrew is quoted & my replies are inline below :
> On 2008-01-23, Troy Piggins <usenet-0801@piggo.com> wrote:
>> * andrew is quoted & my replies are inline below :
>>> On 2008-01-22, andrew <andrew@ilium.invalid> wrote:
>
> [...]
>
>>> Can I confess to being totally stupid, here on news.software.readers?
>>> I have found the simple error I made with the following, run as
>>> 'news':
>>>
>>> 15 * * * * /usr/sbin/fetchnews -vvv >/home/andrew/.fetchnewslog 2>&1
>>>
>>> The file .fetchnewslog is owned by me (andrew) and permissions were
>>> 600 so the user 'news' could not access it at all. And so the whole
>>> cron job failed (this is 2.3.3). Once I set permissions to 644 all was
>>> well. Unbelievable.
>>
>> Ha!  We've all done that!
>>
>> Why put the logs in /home/andrew?  Why not with all the other
>> logs in /var/log or something?
>
> I guess just a personal preference. I will eventually organise all my
> 'personal' logs in $HOME with something like:
>
> ~/.log_msmtp ~./log_procmail ~/.log_fetcnews etc
>
> and leave the 'system' logs in /var/log. Just an idiosyncrasy I guess.
> BTW wish me luck I have put a huge amount of work into a slackbuild
> (installation) script for Leafnode 2 and I am just about to submit it
> to slackbuilds.org. I will have earned my Slackware 'stripes' if it is
> accepted :-)

May the Force be with you :)

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
* Currently using slrn pre0.9.9-82                           |___  | |/   |/  |
* Try it:                                                     ___| | |    |   |
$ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
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