Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Happiness adds and multiplies as we divide it with others.


rocksolid / Rocksolid Nodes / Re: rslight as nntp server

SubjectAuthor
* rslight with leafnodeRetro Guy
`* Re: rslight with leafnodeanon
 `* Re: rslight with leafnodeRetro Guy
  +* Re: rslight with leafnodeRetro Guy
  |`* Re: rslight with leafnodeRetro Guy
  | `* Re: rslight with leafnodeanon
  |  `* Re: rslight with leafnodeRetro Guy
  |   +- Re: rslight with leafnodeRetro Guy
  |   `* Re: rslight with leafnodeMei
  |    `* Re: rslight with leafnodeRetro Guy
  |     `* Re: rslight with leafnodeMei
  |      `- Re: rslight with leafnodeRetro Guy
  +- Re: rslight with leafnodeRetro Guy
  `* Re: rslight with leafnodeRetro Guy
   `* rslight as nntp serverAnonUser
    `* Re: rslight as nntp serveranon
     `* Re: rslight as nntp serverRetro Guy
      `* Re: rslight as nntp serverRetro Guy
       `* Re: rslight as nntp serverRetro Guy
        `* Re: rslight as nntp serverRetro Guy
         `* Re: rslight as nntp serverRetro Guy
          `* Re: rslight as nntp serverRetro Guy
           `* Re: rslight as nntp serverRetro Guy
            `* Re: rslight as nntp serverRetro Guy
             +* Re: rslight as nntp serveranon
             |`- Re: rslight as nntp serverRetro Guy
             `* Re: rslight as nntp serverRetro Guy
              `* Re: rslight as nntp serverRetro Guy
               `* Re: rslight as nntp serverRetro Guy
                `* Re: rslight as nntp serverRetro Guy
                 `* Re: rslight as nntp serverRetro Guy
                  `- Re: rslight as nntp serverRetro Guy

Pages:12
Subject: Re: rslight as nntp server
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: New rslight site
Date: Thu, 5 Mar 2020 07:25 UTC
References: 1 2 3 4 5 6 7
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@example.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: rslight as nntp server
Date: Thu, 5 Mar 2020 07:25:06 -0000 (UTC)
Organization: New rslight site
Message-ID: <2335a159073c39cec35dad370457ce11$1@192.168.0.220>
References: <b2b3e7eb8142c516e9886ef0c64ef8cd$1@www.rocksolidbbs.com> <4f0e8abc6b5bfbf74e727c99aa3c25f3$1@www.rocksolidbbs.com> <136ac44d1cc0c2b272af1896c93d7898$1@news.novabbs.com> <d3b14c411e14ad6be5129cb750c4cdc5$1@news.novabbs.com> <5e44d0e5b22fc1790c6f3a42953a6eb9$1@news.novabbs.com> <a0b57d096412eb9118d7810c005eabbd$1@news.novabbs.com> <4e373d57115f3982865e2ba530cfe35b$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 5 Mar 2020 07:25:06 -0000 (UTC)
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="25268"; mail-complaints-to="usenet@i2pn2-novalink.localdomain"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$pWOPqDBrsz2sA9gcB4eeMe/2jzzvi7I3.2qSeg6nYuMW.gcSXyUCm
View all headers
Posting seems to be working fine now, with rslight, knode or pan as a newsreader.

It works similar to leafnode, using two separate programs or scripts to operate:

spoolnews.php collects articles from a remote server and creates a local news spool, creates overview information, and group/description information. This file also sends articles posted locally each time it is run (from cron is the idea).

nntp.php is the nntp server. It handles all negotiation and communication with clients, and reads articles, overview etc from the files created by spoolnews. When you post an article locally, it is created locally for spoolnews to send on its next run.

If you set in your config file to use the local nntp server, spoolnews.php will start it on it's next run if it's not already running, so no need to start it separately. I don't want the end user to do a million little things, if they can be handled by just running one cron job.

nntp.php runs as a daemon, and spawns clients as necessary, that will die after use, so multiple server connections are accepted.

I'm sure there are plenty of bugs, but right now it is functioning as designed, I just need to keep using it to see what breaks. This message is being sent using it (as were a lot of test messages I made using a secondary test group).

Retro Guy

--
Posted on: Rocksolid Light test site
192.168.0.220


Subject: Re: rslight as nntp server
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: New rslight site
Date: Thu, 5 Mar 2020 22:25 UTC
References: 1 2 3 4 5 6 7 8
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@example.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: rslight as nntp server
Date: Thu, 5 Mar 2020 22:25:02 -0000 (UTC)
Organization: New rslight site
Message-ID: <68f425138cb560e679c1eaf140fbb600$1@192.168.0.220>
References: <b2b3e7eb8142c516e9886ef0c64ef8cd$1@www.rocksolidbbs.com> <4f0e8abc6b5bfbf74e727c99aa3c25f3$1@www.rocksolidbbs.com> <136ac44d1cc0c2b272af1896c93d7898$1@news.novabbs.com> <d3b14c411e14ad6be5129cb750c4cdc5$1@news.novabbs.com> <5e44d0e5b22fc1790c6f3a42953a6eb9$1@news.novabbs.com> <a0b57d096412eb9118d7810c005eabbd$1@news.novabbs.com> <4e373d57115f3982865e2ba530cfe35b$1@news.novabbs.com> <2335a159073c39cec35dad370457ce11$1@192.168.0.220>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 5 Mar 2020 22:25:02 -0000 (UTC)
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="19743"; mail-complaints-to="usenet@i2pn2-novalink.localdomain"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$P01rzHXUbQphEoxFEcDuCubNwnkKmk1cds7./8015jZOq9ELXZUYS
View all headers
It looks like chaining rslight sites is working.

This post is from a rslight site that is only connected to another rslight site. It's only access to inn is through the other site.

I plan to create an option in settings to set any rslight site as a "Hub", which would mean no external nntp server is necessary at all, you would be able to connect two or more rslight sites and have a complete network.

This would also allow one rslight site to operate as an independent forum, with no connections to other sites at all.

Lot's more testing to do, but it's working.

Retro Guy

--
Posted on: Rocksolid Light chained test site
192.168.0.220


Subject: Re: rslight as nntp server
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: New rslight site
Date: Fri, 6 Mar 2020 08:40 UTC
References: 1 2 3 4 5 6 7 8 9
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@example.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: rslight as nntp server
Date: Fri, 6 Mar 2020 08:40:04 -0000 (UTC)
Organization: New rslight site
Message-ID: <15778df1621f56a04065539a6bab7b5b$1@192.168.0.220>
References: <b2b3e7eb8142c516e9886ef0c64ef8cd$1@www.rocksolidbbs.com> <4f0e8abc6b5bfbf74e727c99aa3c25f3$1@www.rocksolidbbs.com> <136ac44d1cc0c2b272af1896c93d7898$1@news.novabbs.com> <d3b14c411e14ad6be5129cb750c4cdc5$1@news.novabbs.com> <5e44d0e5b22fc1790c6f3a42953a6eb9$1@news.novabbs.com> <a0b57d096412eb9118d7810c005eabbd$1@news.novabbs.com> <4e373d57115f3982865e2ba530cfe35b$1@news.novabbs.com> <2335a159073c39cec35dad370457ce11$1@192.168.0.220> <68f425138cb560e679c1eaf140fbb600$1@192.168.0.220>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 6 Mar 2020 08:40:04 -0000 (UTC)
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="29389"; mail-complaints-to="usenet@i2pn2-novalink.localdomain"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$cj86mN2QjTy7wCZsBBGquO8uT9KHI1t5HlsuAKE1OuGzAU7wxazi6
View all headers
Retro Guy wrote:

It looks like chaining rslight sites is working.

This post is from a rslight site that is only connected to another rslight site. It's only access to inn is through the other site.

This seems to be working fine. This post (if you ever see it, lol), will travel through two other rslight sites before reaching an inn server.

I plan to create an option in settings to set any rslight site as a "Hub", which would mean no external nntp server is necessary at all, you would be able to connect two or more rslight sites and have a complete network.

I believe I have working now independent article numbers. Previously, the article numbers matched the server you connect to, so if you change servers you would need to delete your spool and reload the articles from the new server.

On my test site, the 'newspool' link is where the article numbers are independent of the server. I've loaded articles in that area by loading some, changing servers, loading more, etc. for a total of three upstream servers. It seems to be working fine, but of course testing will hopefully show what might need to be improved.

This way, your upstream server can go away, and you just connect to another one (or an rslight site as your upstream server). All seems to be working so far.

The idea is to make federation as simple as possible, and reliable.

Oh, one thing I did to test against fudforum is to load some newer articles first, then pull old articles (2.5 years) from my Synchronet server. Unlike fudforum, the articles stay sorted by posted date, not just newest received on top. I need to see what effect this has on some newsreaders, but knode seems fine with it.

Time to eat!

Retro Guy


--
Posted on: Rocksolid Light test site
192.168.0.220


Subject: Re: rslight as nntp server
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Fri, 13 Mar 2020 10:00 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: rslight as nntp server
Date: Fri, 13 Mar 2020 10:00:08 -0000 (UTC)
Organization: Rocksolid Light
Message-ID: <c784bd6778a7cad0ed64d90ace224a55$1@news.novabbs.com>
References: <b2b3e7eb8142c516e9886ef0c64ef8cd$1@www.rocksolidbbs.com> <4f0e8abc6b5bfbf74e727c99aa3c25f3$1@www.rocksolidbbs.com> <136ac44d1cc0c2b272af1896c93d7898$1@news.novabbs.com> <d3b14c411e14ad6be5129cb750c4cdc5$1@news.novabbs.com> <5e44d0e5b22fc1790c6f3a42953a6eb9$1@news.novabbs.com> <a0b57d096412eb9118d7810c005eabbd$1@news.novabbs.com> <4e373d57115f3982865e2ba530cfe35b$1@news.novabbs.com> <2335a159073c39cec35dad370457ce11$1@192.168.0.220> <68f425138cb560e679c1eaf140fbb600$1@192.168.0.220> <15778df1621f56a04065539a6bab7b5b$1@192.168.0.220>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 13 Mar 2020 10:00:08 -0000 (UTC)
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="14534"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$5T4lFDPR/.Gxykr56QzFq.urvnKNHtuI71UaQ0rbYGQ8wCPXPgrXu
View all headers
Ok, auth works now. I previously had it just authorizing all users so I could work on the code. Now it's properly verifying. It's designed to allow reading to all, but auth is required to post.

Tested with rslight and three different newsreaders and all seems ok.

I'll be cleaning up the config files next (making them simple to follow), and bringing a few rarely used files up to date (like the display page for decrypted messages and a couple of others).

Retro Guy

--
Posted on: Rocksolid Light
news.novabbs.com


Subject: Re: rslight as nntp server
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Sun, 15 Mar 2020 23:56 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: rslight as nntp server
Date: Sun, 15 Mar 2020 23:56:02 -0000 (UTC)
Organization: Rocksolid Light
Message-ID: <e7ec27d51bef924f5555051ffa5f372e$1@news.novabbs.com>
References: <b2b3e7eb8142c516e9886ef0c64ef8cd$1@www.rocksolidbbs.com> <4f0e8abc6b5bfbf74e727c99aa3c25f3$1@www.rocksolidbbs.com> <136ac44d1cc0c2b272af1896c93d7898$1@news.novabbs.com> <d3b14c411e14ad6be5129cb750c4cdc5$1@news.novabbs.com> <5e44d0e5b22fc1790c6f3a42953a6eb9$1@news.novabbs.com> <a0b57d096412eb9118d7810c005eabbd$1@news.novabbs.com> <4e373d57115f3982865e2ba530cfe35b$1@news.novabbs.com> <2335a159073c39cec35dad370457ce11$1@192.168.0.220> <68f425138cb560e679c1eaf140fbb600$1@192.168.0.220> <15778df1621f56a04065539a6bab7b5b$1@192.168.0.220> <c784bd6778a7cad0ed64d90ace224a55$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 15 Mar 2020 23:56:02 -0000 (UTC)
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="32323"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$xfcOD1UXgfBp9weeRVNxq.Q/AzPSNZGqDo5B/VW2lye27K.mgJDXK
View all headers
The rslight nntp server seems to be working very well, but configuration is quite complex.

I'll be working to consolidate config to an easy file to understand, and also moving the spool directory to /var/spool/rslight, as even though I understand how it all works, I still have messed up my own spool since it's so easy to access when working in the /var/www section.

When done, there will be nothing in /var/www area that is in any way different from just extracting the installation tarball. All config will be in /etc/rslight and all spools will be in /var/spool/rslight. To upgrade, just extract the new version over what's already in /var/www.

Getting the nntp server and spoolnews to work together well was the hard part, but seems to be doing great, now just making install easy (by a script hopefully).

Retro Guy

--
Posted on: Rocksolid Light
news.novabbs.com


Subject: Re: rslight as nntp server
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Mon, 20 Apr 2020 10:23 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12
Attachments: rtin2.png (image/png)
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: rslight as nntp server
Date: Mon, 20 Apr 2020 10:23 UTC
Organization: Rocksolid Light
Message-ID: <f0723c65ebc7922053e11cda1dbd12a3$1@news.novabbs.com>
References: <b2b3e7eb8142c516e9886ef0c64ef8cd$1@www.rocksolidbbs.com> <4f0e8abc6b5bfbf74e727c99aa3c25f3$1@www.rocksolidbbs.com> <136ac44d1cc0c2b272af1896c93d7898$1@news.novabbs.com> <d3b14c411e14ad6be5129cb750c4cdc5$1@news.novabbs.com> <5e44d0e5b22fc1790c6f3a42953a6eb9$1@news.novabbs.com> <a0b57d096412eb9118d7810c005eabbd$1@news.novabbs.com> <4e373d57115f3982865e2ba530cfe35b$1@news.novabbs.com> <2335a159073c39cec35dad370457ce11$1@192.168.0.220> <68f425138cb560e679c1eaf140fbb600$1@192.168.0.220> <15778df1621f56a04065539a6bab7b5b$1@192.168.0.220> <c784bd6778a7cad0ed64d90ace224a55$1@news.novabbs.com> <e7ec27d51bef924f5555051ffa5f372e$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: multipart/mixed;boundary="------------5e9d783ba12217.48438959"
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="14427"; mail-complaints-to="usenet@i2pn2.org"
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Spam-Level: **
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$DBfUTWP3NxBJaXFU7cIwAODnYtmduU8VNC7NkzFInIaM3.RSzCrQu
View all headers
The rslight nntp server is working very nicely.

Here (attached) is reading news using tin.

Retro Guy




Attachments: rtin2.png 
Pages:12
rocksolid light 0.7.2
clearneti2ptor