From: andrew on
On 2009-11-30, Freeballer <freeballer(a)nospam.invalid> wrote:

> [freeballer(a)Desktop ~]$ telnet localhost 119
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> Connection closed by foreign host.
> [freeballer(a)Desktop ~]$

Getting close :). What you should see is:

#v+
andrew(a)skamandros~$ telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP daemon, version 2.0.0.alpha20081229a at skamandros.andrews-corner.org
quit
205 Always happy to serve!
Connection closed by foreign host.
#v-

with your own fqdn of course instead of skamandros.andrews-corner.org.
Just check that you have the correct paths to both tcpd and leafnode
in xinetd.conf:

#v+
server = /usr/sbin/tcpd
server_args = /usr/local/sbin/leafnode
#v-

as this might explain why leafnode is not loaded. Another thought is a
guide that actually deals in some depth with Leafnode 1 rather than 2
and also has a few words about xinetd:

Using Leafnode as a caching news proxy
http://homepage.ntlworld.com/garryknight/linux/leafnode.html

All the best,

Andrew



--
Do you think that's air you're breathing?
From: Freeballer on
andrew wrote:
> On 2009-11-30, Freeballer <freeballer(a)nospam.invalid> wrote:
>
>> [freeballer(a)Desktop ~]$ telnet localhost 119
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>> Connection closed by foreign host.
>> [freeballer(a)Desktop ~]$
>
> Getting close :). What you should see is:
>
> #v+
> andrew(a)skamandros~$ telnet localhost 119
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 200 Leafnode NNTP daemon, version 2.0.0.alpha20081229a at skamandros.andrews-corner.org
> quit
> 205 Always happy to serve!
> Connection closed by foreign host.
> #v-
>
> with your own fqdn of course instead of skamandros.andrews-corner.org.
> Just check that you have the correct paths to both tcpd and leafnode
> in xinetd.conf:
>
> #v+
> server = /usr/sbin/tcpd
> server_args = /usr/local/sbin/leafnode
> #v-
>
> as this might explain why leafnode is not loaded. Another thought is a
> guide that actually deals in some depth with Leafnode 1 rather than 2
> and also has a few words about xinetd:
>
> Using Leafnode as a caching news proxy
> http://homepage.ntlworld.com/garryknight/linux/leafnode.html
>
> All the best,
>
> Andrew
>
>
>
lol
I actually DID have an issue with the paths of leafnode. I learnt it the
hard way BUT the good news is it works right now. I could connect to the
server and slrn found group listings. I seem to have an issue in posting
but I may need some more reading ahead of me, and I also have to go back
and turn on hosts files just in case.

Thank you, I needed another head to figure this out.
I hope the next few steps will work ok but seriously GREAT start.

Could I ask you two more things?
1) could I use your wiki entry and change the info for Arch linux
doc?(giving you permission for the majority of the document)?

2) does the second version give any benifit a normal user would
want/need (that you know of)? The only thing I could think of is if it
had ssl

--
"'Bill Gates can't guarantee Windows, so how in the HELL can you
guarantee our safety!' --John Crichton (Farscape)"
From: Whiskers on
On 2009-11-30, Freeballer <freeballer(a)nospam.invalid> wrote:

[...]

> hosts.allow/deny have been disabled in case.

[...]

I don't know what you mean by "disabled". You need this line in
hosts.allow:

leafnode: 127.0.0.1

and in hosts.deny:

leafnode: ALL

(That will block any attempt to access your Leafnode apart from the
computer on which Leafnode is running).
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
From: Freeballer on
Whiskers wrote:
> On 2009-11-30, Freeballer <freeballer(a)nospam.invalid> wrote:
>
> [...]
>
>> hosts.allow/deny have been disabled in case.
>
> [...]
>
> I don't know what you mean by "disabled". You need this line in
> hosts.allow:
>
> leafnode: 127.0.0.1
>
> and in hosts.deny:
>
> leafnode: ALL
>
> (That will block any attempt to access your Leafnode apart from the
> computer on which Leafnode is running).

I mean for a short time, I commented ALL the entries including
/etc/hosts.allow BUT thats no longer the case and it seems to be working
ok so far. More time is needed to play, and get posting work

--
"'Bill Gates can't guarantee Windows, so how in the HELL can you
guarantee our safety!' --John Crichton (Farscape)"
From: andrew on
On 2009-11-30, Freeballer <freeballer(a)nospam.invalid> wrote:

> Could I ask you two more things?
> 1) could I use your wiki entry and change the info for Arch linux
> doc?(giving you permission for the majority of the document)?

Feel free to use whatever you want from that guide. You may be
interested to know that I maintain a slightly more technical page on the
same subject for Slackware 13:

Slackware 13.0 and Leafnode-2
http://www.andrews-corner.org/leafnode.html

as a support for an installation script I wrote for slackbuilds.org,
perhaps this might be better to plunder than the Ubuntu page?

> 2) does the second version give any benifit a normal user would
> want/need (that you know of)? The only thing I could think of is if it
> had ssl

For my own usage Leafnode 2 offers better filtering (from the remote
NNTP server) and also allows 'expensive' scoring from within slrn. I am
sure there are other improvements but to tell the truth I have not used
leafnode 1 for some years so I am not completely clear on what now
represents better function in the development version :).

Andrew

--
Do you think that's air you're breathing?
First  |  Prev  |  Next  |  Last
Pages: 1 2 3
Prev: Nvidia help pls ...
Next: FC12 and kde