Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Latin is a language, As dead as can be. First it killed the Romans, And now it's killing me.


rocksolid / Rocksolid Nodes / Rocksolid Documentation and Peering Information

SubjectAuthor
* Rocksolid Documentation and Peering InformationCountry Bumpkin
+* Re: Rocksolid Documentation and Peering InformationCountry Bumpkin
|`* Re: Rocksolid Documentation and Peering InformationRetro Guy
| `- Re: Rocksolid Documentation and Peering InformationRetro Guy
+- Re: Rocksolid Documentation and Peering InformationRetro Guy
`- Re: Rocksolid Documentation and Peering InformationRetro Guy

1
Subject: Rocksolid Documentation and Peering Information
From: Country Bumpkin
Newsgroups: rocksolid.nodes
Organization: Aioe.org NNTP Server
Date: Tue, 19 Jul 2022 23:37 UTC
Path: i2pn2.org!i2pn.org!aioe.org!WK34Z9TSsuxg3u0sMta0oQ.user.46.165.242.91.POSTED!not-for-mail
From: ema...@inval.id (Country Bumpkin)
Newsgroups: rocksolid.nodes
Subject: Rocksolid Documentation and Peering Information
Date: Tue, 19 Jul 2022 18:37:25 -0500
Organization: Aioe.org NNTP Server
Message-ID: <tb7f66$1ueh$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="63953"; posting-host="WK34Z9TSsuxg3u0sMta0oQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
View all headers
I downloaded the rslite github repo and poked around the codebase.

I cannot find documentation on setting up peering with other rslite nodes and INN nodes so I can pull a select few public Usenet groups. Does such documentation exist?

If not, which PHP file(s) handle the peering functionality? I can poke around the source code and try to reason it out. I don't see a config file for peering in the repo, or how to create new groups and local groups. Do I just add new groups to the group list at rslight/rocksolid/groups.txt ?

Also I need to figure out how to ensure everything rslite does goes through a Tor hidden service without leaks. Has anyone written anything on that?

I plan on running rslite on a Debian host with lighttpd web server behind a Tor hidden service with a port also exposed to clearnet for the NNTP server and PHP front end. I want to make sure rslite is not going to leak around the hidden service port for Tor user security.

Then there is the issue of ensuring a SSL connection for both the PHP web front end and for NNTP client connections, from either clearnet or Tor.

Where do I need to look?

--

Country Bumpkin


Subject: Re: Rocksolid Documentation and Peering Information
From: Country Bumpkin
Newsgroups: rocksolid.nodes
Organization: Aioe.org NNTP Server
Date: Tue, 19 Jul 2022 23:42 UTC
References: 1
Path: i2pn2.org!i2pn.org!aioe.org!WK34Z9TSsuxg3u0sMta0oQ.user.46.165.242.91.POSTED!not-for-mail
From: ema...@inval.id (Country Bumpkin)
Newsgroups: rocksolid.nodes
Subject: Re: Rocksolid Documentation and Peering Information
Date: Tue, 19 Jul 2022 18:42:24 -0500
Organization: Aioe.org NNTP Server
Message-ID: <tb7ffe$1ueh$2@gioia.aioe.org>
References: <tb7f66$1ueh$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="63953"; posting-host="WK34Z9TSsuxg3u0sMta0oQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
View all headers
P.S. Is full NNTP server functionality built in to rslite or do I need to run INN with it?

--

Country Bumpkin


Subject: Re: Rocksolid Documentation and Peering Information
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Wed, 20 Jul 2022 02:51 UTC
References: 1
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: Rocksolid Documentation and Peering Information
Date: Wed, 20 Jul 2022 02:51:13 +0000
Organization: Rocksolid Light
Message-ID: <83a2238e647d28788c0fb65abdef93b8@news.novabbs.org>
References: <tb7f66$1ueh$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="1232"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (www.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$E6z1MMAj1IRlnnuIfm.AjOoW4FoRdYJaIHQmy8byv0OoeCz7/gtq2
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
View all headers
I'll have answers for you late tonight. At work atm.

--
Retro Guy


Subject: Re: Rocksolid Documentation and Peering Information
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Wed, 20 Jul 2022 07:04 UTC
References: 1
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: Rocksolid Documentation and Peering Information
Date: Wed, 20 Jul 2022 07:04:35 +0000
Organization: Rocksolid Light
Message-ID: <bd0b6ed365587ecb773cb55680ebff9f@news.novabbs.org>
References: <tb7f66$1ueh$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="20984"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (www.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$k3Paj2RFUzrGQK.k/FGYEOz9oRtd9lKbSDCBtmllE1QxahWnNHhKK
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
View all headers
Country Bumpkin wrote:

I downloaded the rslite github repo and poked around the codebase.

I cannot find documentation on setting up peering with other rslite nodes and INN nodes so I can pull a select few public Usenet groups. Does such documentation exist?

Documentation is severely lacking (it doesn't exist). I've been working
on this project for quite a while but not many have showed interest in it, so I just keep working on the code.

But yes, documentation really needs to be written at some point.

If not, which PHP file(s) handle the peering functionality? I can poke around the source code and try to reason it out. I don't see a config file for peering in the repo, or how to create new groups and local groups. Do I just add new groups to the group list at rslight/rocksolid/groups.txt ?

First, yes, you add groups to groups.txt to add groups.

rslight contains a simple news server that is pretty much what you'd connect to if you connect to inn in MODE READER. It does not have as
many commands available, but the ones there are work well. I connect to
rslight servers with several news clients and don't have trouble.

Peering is handled in rslight/scripts/spoolnews.php and send.php

spoolnews.php collects articles from a remote server, and maintains a record of what it has pulled, so the next connection it tries to pull
only new articles since last connection.

send.php sends locally posted articles to the remote server. Note that
nntp.php and nntp-ssl.php will try to send articles immediately to the
remote server when posted, but if not, send.php will send them on a regular basis.

The remote server can be another rslight instance, or inn2 (and probably
other servers). I've tried it with leafnode and that works.

So two rslight instances can sync with eachother with these features.

Also I need to figure out how to ensure everything rslite does goes through a Tor hidden service without leaks. Has anyone written anything on that?

trw wrote a simple bash script to 'torify' outgoing rslight connections.
I can dig that up for you if you need it.

I plan on running rslite on a Debian host with lighttpd web server behind a Tor hidden service with a port also exposed to clearnet for the NNTP server and PHP front end. I want to make sure rslite is not going to leak around the hidden service port for Tor user security.

I've tested on lighttpd and it worked fine for me. rslight should simply
use the connections you configure. It does not have "phone home" features
or any javascript that uses external scripts. Javascript is also very
minimal and not necessary for use.

Then there is the issue of ensuring a SSL connection for both the PHP web front end and for NNTP client connections, from either clearnet or Tor.

rslight supports SSL for incoming and outgoing connections.

Where do I need to look?

Configuration is mostly handled in /etc/rslight/rslight.inc.php . If you configure at the command line instead of the setup script, you can find
instructions for each config option in /etc/rslight/scripts/setuphelper.php

There are more features to rslight and additional config files for them, but
the above should help get you started.

--
Retro Guy


Subject: Re: Rocksolid Documentation and Peering Information
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Wed, 20 Jul 2022 07:06 UTC
References: 1 2
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: Rocksolid Documentation and Peering Information
Date: Wed, 20 Jul 2022 07:06:45 +0000
Organization: Rocksolid Light
Message-ID: <0d5b3883eec9dfade08998d908224a70@news.novabbs.org>
References: <tb7f66$1ueh$1@gioia.aioe.org> <tb7ffe$1ueh$2@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="21430"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (www.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$ckgllBh8thYHzki.g7ueUegsWegLBW0f9ZK1oi3nioUoqXYXBZfSO
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
View all headers
Country Bumpkin wrote:

P.S. Is full NNTP server functionality built in to rslite or do I need to run INN with it?

rslight does NOT support MODE STREAM, so it does not peer with inn like
another instance of inn does. You can see in my other reply that it will still sync with inn, just not
the same way another inn instance would.

No other news servers are required to use or pair rslight instances.

--
Retro Guy


Subject: Re: Rocksolid Documentation and Peering Information
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Thu, 21 Jul 2022 06:45 UTC
References: 1 2 3
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: Rocksolid Documentation and Peering Information
Date: Thu, 21 Jul 2022 06:45:06 +0000
Organization: Rocksolid Light
Message-ID: <bfd809a7481f85850a7d669399234ce9@news.novabbs.org>
References: <tb7f66$1ueh$1@gioia.aioe.org> <tb7ffe$1ueh$2@gioia.aioe.org> <0d5b3883eec9dfade08998d908224a70@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="20807"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (www.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$o8h4snJGUWIXPUyZrWvOx.fgLMummGGu5rjjbYF/c1bRN3jdCJaJ6
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
View all headers
Retro Guy wrote:

Country Bumpkin wrote:

P.S. Is full NNTP server functionality built in to rslite or do I need to run INN with it?

rslight does NOT support MODE STREAM, so it does not peer with inn like
another instance of inn does.

You can see in my other reply that it will still sync with inn, just not
the same way another inn instance would.

No other news servers are required to use or pair rslight instances.

I should answer the question more clearly. rslight does NOT require INN, or
any other news server to operate, serve clients, or to link to other servers, including
INN servers.

--
Retro Guy


1
rocksolid light 0.7.2
clearneti2ptor