Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Hope is a waking dream. -- Aristotle


rocksolid / Rocksolid Nodes Help / Re: Help create post-install cheatsheet for RSLite

SubjectAuthor
* Help create post-install cheatsheet for RSLiteG.K.
`* Help create post-install cheatsheet for RSLiteRetro Guy
 `* Help create post-install cheatsheet for RSLiteRetro Guy
  `* Help create post-install cheatsheet for RSLiteRetro Guy
   `* Help create post-install cheatsheet for RSLiteG.K.
    `- Help create post-install cheatsheet for RSLiteRetro Guy

1
Help create post-install cheatsheet for RSLite
  rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!news.mixmin.net!.POSTED!not-for-mail
From: g@k.invalid (G.K.)
Newsgroups: rocksolid.nodes.help
Subject: Help create post-install cheatsheet for RSLite
Date: Thu, 5 Jan 2023 17:18:39 -0600
Organization: Mixmin
Message-ID: <tp7lqg$rm5o$1@news.mixmin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 5 Jan 2023 23:17:36 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="a8294cefd5e2192d8a6fc274b6165729af57d89a";
logging-data="907448"; mail-complaints-to="abuse@mixmin.net"
Content-Language: en-US
 by: G.K. - Thu, 5 Jan 2023 23:18 UTC

Let's create a short and sweet cheat sheet.

1. How to add a local newsgroup?

2. How to add a specific peer newsgroup to sync?

3. How to delete a local or synced newsgroup?

4. How to set moderation for a newsgroup?

5. How to configure mandatory SSL for all connections?

6. How to hook letsencrypt to manage SSL certs for RSLite?

7. How to add an entire feed from a peer?

8. How to stop syncing a feed from a peer?

9. List of peers to contact for sync?

--

G.K.

Re: Help create post-install cheatsheet for RSLite
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Help create post-install cheatsheet for RSLite
Date: Fri, 6 Jan 2023 18:44:50 +0000
Organization: Rocksolid Light
Message-ID: <2024cba56123a20dab059e0ac5a6b9f6@news.novabbs.org>
References: <tp7lqg$rm5o$1@news.mixmin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="14892"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.7.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$P65NLS/Hp3vg6kgGVT/Ew.hXNYnSGXlpTg0C8swP.wjay1Lfyu32K
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|
 by: Retro Guy - Fri, 6 Jan 2023 18:44 UTC

G.K. wrote:

> Let's create a short and sweet cheat sheet.
Good idea. Documentation is severely lacking.

> 1. How to add a local newsgroup?
(Using default directories) Find the section name
in /etc/rslight/<section> Example /etc/rslight/rocksolid
and edit groups.txt. The order of the groups in that file
and what groups are in that file dictate the groups for
the "rocksolid" section. Note, it takes a few minutes to
show up on the site.

> 2. How to add a specific peer newsgroup to sync?
Right now you can have one peer per <section>. That
can be improved in the future. That is the 'remote peer'.

> 3. How to delete a local or synced newsgroup?
Delete it from the section groups.txt file.

> 4. How to set moderation for a newsgroup?
rslight does not currently support moderation. Can be
a future enhancement, but not in the short term.

> 5. How to configure mandatory SSL for all connections?
Only set up nntp-ssl for connections.

> 6. How to hook letsencrypt to manage SSL certs for RSLite?
Copy fullchain.pem to /etc/rslight/ssl/server.pem then
openssl rsa -in <path_to_privkey.pem> -pubout > pubkey.pem

Right now you can't symlink to /etc/letsencrypt... copies unless
you run as root, but I can fix that in rslight, as it runs some
jobs as root.

> 7. How to add an entire feed from a peer?
You pull from peers. You would need to add all the groups to
groups.txt. I am working on a setup to present all text newsgroups
in one rslight install, but it can't be done with the 'sections'
setup as there are too many. I'll find a better way to do that.

> 8. How to stop syncing a feed from a peer?
Remove peer as 'remote server' in config.

> 9. List of peers to contact for sync?
No such list exists right now afaik. I'm happy to link with you
by one or more peers if you wish.
You can also just sync with any inn server you have reader access
to at any time.

--
Retro Guy

Re: Help create post-install cheatsheet for RSLite
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Help create post-install cheatsheet for RSLite
Date: Fri, 6 Jan 2023 20:40:23 +0000
Organization: Rocksolid Light
Message-ID: <d81cd78ea06dd9a415fdd0fc605b0c08@news.novabbs.org>
References: <tp7lqg$rm5o$1@news.mixmin.net> <2024cba56123a20dab059e0ac5a6b9f6@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="26462"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.7.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$XGuyaWtLYxcPI1FxlSpsLu2Hv5.eeYEecEXp/q9IkXL/tTFTls7qC
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|
 by: Retro Guy - Fri, 6 Jan 2023 20:40 UTC

Retro Guy wrote:

> G.K. wrote:

>> 6. How to hook letsencrypt to manage SSL certs for RSLite?
> Copy fullchain.pem to /etc/rslight/ssl/server.pem then
> openssl rsa -in <path_to_privkey.pem> -pubout > pubkey.pem

> Right now you can't symlink to /etc/letsencrypt... copies unless
> you run as root, but I can fix that in rslight, as it runs some
> jobs as root.

I missed this part: You'll need to cat fullchain.pem + privkey.pem to
make server.pem. I just tested it and it works :)

--
Retro Guy

Re: Help create post-install cheatsheet for RSLite
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Help create post-install cheatsheet for RSLite
Date: Sun, 8 Jan 2023 17:05:15 +0000
Organization: Rocksolid Light
Message-ID: <fbde63528ef039026ab877a3cf5f4476@news.novabbs.org>
References: <tp7lqg$rm5o$1@news.mixmin.net> <2024cba56123a20dab059e0ac5a6b9f6@news.novabbs.org> <d81cd78ea06dd9a415fdd0fc605b0c08@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="20451"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.7.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$PVINHtGK15JxaDSqNL4fsOxtFhfhQXPJNV.cpfQpBx8KvHsz5SNPu
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|
 by: Retro Guy - Sun, 8 Jan 2023 17:05 UTC

Retro Guy wrote:

> Retro Guy wrote:

>> G.K. wrote:

>>> 6. How to hook letsencrypt to manage SSL certs for RSLite?
>> Copy fullchain.pem to /etc/rslight/ssl/server.pem then
>> openssl rsa -in <path_to_privkey.pem> -pubout > pubkey.pem

>> Right now you can't symlink to /etc/letsencrypt... copies unless
>> you run as root, but I can fix that in rslight, as it runs some
>> jobs as root.

> I missed this part: You'll need to cat fullchain.pem + privkey.pem to
> make server.pem. I just tested it and it works :)

Just made this part much easier. Simply list your key paths in a config
file (letsencrypt.inc.php), and rslight will handle the rest setting up
to use letsencrypt.

Without a letsencrypt config file, rslight will create and set up a
self-signed cert.

--
Retro Guy

Re: Help create post-install cheatsheet for RSLite
  rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!news.mixmin.net!.POSTED!not-for-mail
From: g@k.invalid (G.K.)
Newsgroups: rocksolid.nodes.help
Subject: Re: Help create post-install cheatsheet for RSLite
Date: Sun, 8 Jan 2023 13:15:07 -0600
Organization: Mixmin
Message-ID: <tpf4lh$22ffr$2@news.mixmin.net>
References: <tp7lqg$rm5o$1@news.mixmin.net>
<2024cba56123a20dab059e0ac5a6b9f6@news.novabbs.org>
<d81cd78ea06dd9a415fdd0fc605b0c08@news.novabbs.org>
<fbde63528ef039026ab877a3cf5f4476@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 8 Jan 2023 19:13:54 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="bee7aee1e20f07e0569def51d4e88c5621dff390";
logging-data="2178555"; mail-complaints-to="abuse@mixmin.net"
Content-Language: en-US
In-Reply-To: <fbde63528ef039026ab877a3cf5f4476@news.novabbs.org>
 by: G.K. - Sun, 8 Jan 2023 19:15 UTC

On 1/8/23 11:05, Retro Guy wrote:
> Retro Guy wrote:
>
>> Retro Guy wrote:
>
>>> G.K. wrote:
>
>>>> 6. How to hook letsencrypt to manage SSL certs for RSLite?
>>> Copy fullchain.pem to /etc/rslight/ssl/server.pem then
>>> openssl rsa -in <path_to_privkey.pem> -pubout > pubkey.pem
>
>>> Right now you can't symlink to /etc/letsencrypt... copies unless
>>> you run as root, but I can fix that in rslight, as it runs some
>>> jobs as root.
>
>> I missed this part: You'll need to cat fullchain.pem + privkey.pem to
>> make server.pem. I just tested it and it works :)
>
> Just made this part much easier. Simply list your key paths in a config
> file (letsencrypt.inc.php), and rslight will handle the rest setting up
> to use letsencrypt.
> Without a letsencrypt config file, rslight will create and set up a
> self-signed cert.

That's a great move. I'm reading the git commit right now.

--

G.K.

Re: Help create post-install cheatsheet for RSLite
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Help create post-install cheatsheet for RSLite
Date: Sun, 8 Jan 2023 23:07:41 +0000
Organization: Rocksolid Light
Message-ID: <a51ffce6f9747655592c9ac929b51e41@news.novabbs.org>
References: <tp7lqg$rm5o$1@news.mixmin.net> <2024cba56123a20dab059e0ac5a6b9f6@news.novabbs.org> <d81cd78ea06dd9a415fdd0fc605b0c08@news.novabbs.org> <fbde63528ef039026ab877a3cf5f4476@news.novabbs.org> <tpf4lh$22ffr$2@news.mixmin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="24445"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.7.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$QdSUzkiiQD9WyHoTDv.sDeJBvKLXiintoBrYdjnUq/JvYKbG0MZd6
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|
 by: Retro Guy - Sun, 8 Jan 2023 23:07 UTC

G.K. wrote:

> On 1/8/23 11:05, Retro Guy wrote:
>> Retro Guy wrote:
>>

>> Just made this part much easier. Simply list your key paths in a config
>> file (letsencrypt.inc.php), and rslight will handle the rest setting up
>> to use letsencrypt.
>> Without a letsencrypt config file, rslight will create and set up a
>> self-signed cert.

> That's a great move. I'm reading the git commit right now.

I now see the typo (in comment) and the redundant variable assignment in
commit, but not a big deal. I'll fix those later.

--
Retro Guy

1
server_pubkey.txt

rocksolid light 0.9.5
clearnet tor