Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Your butt is mine." -- Michael Jackson, Bad


computers / rocksolid.nodes.announce / Re: rslight-0.6.5 available

SubjectAuthor
* rslight-0.6.5 availableRetro Guy
+* rslight-0.6.5 availableRetro Guy
|`* rslight-0.6.5 availableRetro Guy
| `* rslight-0.6.5 availableRetro Guy
|  `* rslight-0.6.5 availableRetro Guy
|   `* rslight-0.6.5 availableRetro Guy
|    `* rslight-0.6.5 availableanonymous
|     `* rslight-0.6.5 availableanon
|      `* rslight-0.6.5 availableRetro Guy
|       `* rslight-0.6.5 availableanon
|        +* rslight-0.6.5 availableRetro Guy
|        |`- rslight-0.6.5 availableRetro Guy
|        `* rslight-0.6.5 availableRetro Guy
|         `* rslight-0.6.5 availableRetro Guy
|          `* rslight-0.6.5 availableRetro Guy
|           `* rslight-0.6.5 availableRetro Guy
|            `* rslight-0.6.5 availableRetro Guy
|             `* rslight-0.6.5 availableRetro Guy
|              `* rslight-0.6.5 availableRetro Guy
|               `* rslight-0.6.5 availableRetro Guy
|                `* rslight-0.6.5 availableRetro Guy
|                 `* rslight-0.6.5 availableRetro Guy
|                  `* rslight-0.6.5 availableRetro Guy
|                   `* rslight-0.6.5 availableRetro Guy
|                    `* rslight-0.6.5 availableRetro Guy
|                     `* rslight-0.6.5 availableRetro Guy
|                      `* rslight-0.6.5 availableRetro Guy
|                       +* rslight-0.6.5 availableanon
|                       |`* rslight-0.6.5 availableRetro Guy
|                       | +- rslight-0.6.5 availableanonymous
|                       | `* rslight-0.6.5 availableqa
|                       |  `* rslight-0.6.5 availableanon
|                       |   +* rslight-0.6.5 availableanon
|                       |   |`* rslight-0.6.5 availableanonymous
|                       |   | +* rslight-0.6.5 availableanonymous
|                       |   | |`* rslight-0.6.5 availableRetro Guy
|                       |   | | `- rslight-0.6.5 availableRetro Guy
|                       |   | `- rslight-0.6.5 availableRetro Guy
|                       |   +- rslight-0.6.5 availableRetro Guy
|                       |   `* rslight-0.6.5 availableRetro Guy
|                       |    +- rslight-0.6.5 availableRetro Guy
|                       |    `- rslight-0.6.5 availableanon
|                       `* rslight-0.6.5 availableRetro Guy
|                        `* rslight-0.6.5 availableRetro Guy
|                         `* rslight-0.6.5 availableRetro Guy
|                          `* rslight-0.6.5 availableRetro Guy
|                           `* rslight-0.6.5 availableRetro Guy
|                            `* rslight-0.6.5 availableRetro Guy
|                             `* rslight-0.6.5 availableRetro Guy
|                              `* rslight-0.6.5 availableretro.guy
|                               `* rslight-0.6.5 availableretro.guy
|                                `- rslight-0.6.5 availableRetro Guy
+* rslight-0.6.5 availableanon
|+- rslight-0.6.5 availableRetro Guy
|`- rslight-0.6.5 availableRetro Guy
+- rslight-0.6.5 availableanon
+* syncronetAnonymous
|`- syncronetRetro Guy
+* account creationAnonymous
|`- account creationRetro Guy
+* ahaAnonymous
|`- ahaRetro Guy
`* thats funnyAnonymous
 `- thats funnyRetro Guy

Pages:123
Re: rslight-0.6.5 available

<f6483190eaaa11b8f63dbb45b431076e$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=121&group=rocksolid.nodes.announce#121

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Tue, 28 Apr 2020 18:21:29 -0700
Organization: Rocksolid
Lines: 19
Message-ID: <f6483190eaaa11b8f63dbb45b431076e$1@rslight.i2p>
References: <d85bc2d1f45aac32fa7a3b11ce798434$1@news.novabbs.com> <add37f36b4f8c82f1c4d8fd21fec8a09@def4> <76590d33134f45cf9093bddcd9623844$1@news.novabbs.com> <f716b7460912c1add6e805fe253421b2$1@news.novabbs.com> <ca4b6caafb675e65a49fa5e327976e6f$1@news.novabbs.com> <244f8a015dc5a3088d94335a7aa7d5b0$1@news.novabbs.com> <41a4e670586932a416750524c49c834f$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="9114"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Wed, 29 Apr 2020 01:21 UTC

rslight-0.6.5c.tgz is available, containing just some minor bug fixes.

Fixed debian-install script to replace 'md5' with 'md5sum' in all three
locations.

Fixed monitoring rslight.inc.php for changes so localuser and anonymous
passwords are updated.

Once def get their install running, I'll be glad to hear what could be
improved in installation, and I'll make those changes for the next version.

I'm not working on bug fixes now, until I hear about them. Right now I'm
testing the internal nntp server with different news readers to see how it
responds. This will help me adjust responses to make it work as expected.
It's really just written for rslight, and intercommunication between rslight
nodes, but it's nice to be able to use a reader (which I do, and am posting
with right now).

Retro Guy

Re: rslight-0.6.5 available

<44bf9134e0d3b721e435ccc958dbf852$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=122&group=rocksolid.nodes.announce#122

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Wed, 29 Apr 2020 00:34:44 -0700
Organization: Rocksolid
Lines: 30
Message-ID: <44bf9134e0d3b721e435ccc958dbf852$1@rslight.i2p>
References: <d85bc2d1f45aac32fa7a3b11ce798434$1@news.novabbs.com> <add37f36b4f8c82f1c4d8fd21fec8a09@def4> <76590d33134f45cf9093bddcd9623844$1@news.novabbs.com> <f716b7460912c1add6e805fe253421b2$1@news.novabbs.com> <ca4b6caafb675e65a49fa5e327976e6f$1@news.novabbs.com> <244f8a015dc5a3088d94335a7aa7d5b0$1@news.novabbs.com> <41a4e670586932a416750524c49c834f$1@news.novabbs.com> <f6483190eaaa11b8f63dbb45b431076e$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="7868"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Wed, 29 Apr 2020 07:34 UTC

Retro Guy wrote:

> rslight-0.6.5c.tgz is available, containing just some minor bug fixes.
>
> Fixed debian-install script to replace 'md5' with 'md5sum' in all three
> locations.
>
> Fixed monitoring rslight.inc.php for changes so localuser and anonymous
> passwords are updated.
>
> Once def get their install running, I'll be glad to hear what could be
> improved in installation, and I'll make those changes for the next
> version.
>
> I'm not working on bug fixes now, until I hear about them. Right now I'm
> testing the internal nntp server with different news readers to see how it
> responds. This will help me adjust responses to make it work as expected.
> It's really just written for rslight, and intercommunication between
> rslight nodes, but it's nice to be able to use a reader (which I do, and
> am posting with right now).

Here's what I've completed today, both related to the nntp server:

Added the ability to auto-create accounts when someone posts or
authenticates (like def's bbs software does). This feature is per 'section'
so it can be on in one section and off in another.

Provided a toggle to bind nntp server on one interface, or all interfaces.

Retro Guy

Re: rslight-0.6.5 available

<f6402fa0e2c73a9df6be903720de223d$1@news.novabbs.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=123&group=rocksolid.nodes.announce#123

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Thu, 30 Apr 2020 09:28 UTC
Organization: Rocksolid Light
Message-ID: <f6402fa0e2c73a9df6be903720de223d$1@news.novabbs.com>
References: <d85bc2d1f45aac32fa7a3b11ce798434$1@news.novabbs.com> <add37f36b4f8c82f1c4d8fd21fec8a09@def4> <76590d33134f45cf9093bddcd9623844$1@news.novabbs.com> <f716b7460912c1add6e805fe253421b2$1@news.novabbs.com> <ca4b6caafb675e65a49fa5e327976e6f$1@news.novabbs.com> <244f8a015dc5a3088d94335a7aa7d5b0$1@news.novabbs.com> <41a4e670586932a416750524c49c834f$1@news.novabbs.com> <f6483190eaaa11b8f63dbb45b431076e$1@rslight.i2p> <44bf9134e0d3b721e435ccc958dbf852$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="4553"; 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$3/qkWihld939OFr5iz68VeuuaCZT6aiz8A3rxscTsFwhqxbr8XmgW
 by: Retro Guy - Thu, 30 Apr 2020 09:28 UTC

Just made some minor css changes to hopefully make the post window easier to work with.

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

Re: rslight-0.6.5 available

<82e68151cfd0370e7ed7245261840164$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=124&group=rocksolid.nodes.announce#124

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Thu, 30 Apr 2020 02:30:41 -0700
Organization: Rocksolid
Lines: 9
Message-ID: <82e68151cfd0370e7ed7245261840164$1@rslight.i2p>
References: <d85bc2d1f45aac32fa7a3b11ce798434$1@news.novabbs.com> <add37f36b4f8c82f1c4d8fd21fec8a09@def4> <76590d33134f45cf9093bddcd9623844$1@news.novabbs.com> <f716b7460912c1add6e805fe253421b2$1@news.novabbs.com> <ca4b6caafb675e65a49fa5e327976e6f$1@news.novabbs.com> <244f8a015dc5a3088d94335a7aa7d5b0$1@news.novabbs.com> <41a4e670586932a416750524c49c834f$1@news.novabbs.com> <f6483190eaaa11b8f63dbb45b431076e$1@rslight.i2p> <44bf9134e0d3b721e435ccc958dbf852$1@rslight.i2p> <f6402fa0e2c73a9df6be903720de223d$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="5187"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Thu, 30 Apr 2020 09:30 UTC

Retro Guy wrote:

> Just made some minor css changes to hopefully make the post window easier
> to work with.
>
> Retro Guy

Meaning, work with on a small device. It shouldn't be different on a full
size screen.

Re: rslight-0.6.5 available

<5cdc92b5930f599df8079b116edaf25f$1@news.novabbs.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=125&group=rocksolid.nodes.announce#125

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Sat, 2 May 2020 09:19 UTC
Organization: Rocksolid Light
Message-ID: <5cdc92b5930f599df8079b116edaf25f$1@news.novabbs.com>
References: <d85bc2d1f45aac32fa7a3b11ce798434$1@news.novabbs.com> <add37f36b4f8c82f1c4d8fd21fec8a09@def4> <76590d33134f45cf9093bddcd9623844$1@news.novabbs.com> <f716b7460912c1add6e805fe253421b2$1@news.novabbs.com> <ca4b6caafb675e65a49fa5e327976e6f$1@news.novabbs.com> <244f8a015dc5a3088d94335a7aa7d5b0$1@news.novabbs.com> <41a4e670586932a416750524c49c834f$1@news.novabbs.com> <f6483190eaaa11b8f63dbb45b431076e$1@rslight.i2p> <44bf9134e0d3b721e435ccc958dbf852$1@rslight.i2p> <f6402fa0e2c73a9df6be903720de223d$1@news.novabbs.com> <82e68151cfd0370e7ed7245261840164$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="16061"; 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$ffoI/dj6yYTK0xZP18fZieSwHsEFQaYpVfK3Va2kdBqEaWLDo4tw6
 by: Retro Guy - Sat, 2 May 2020 09:19 UTC

I now have expire working for each section. Eventually a spool will just keep growing and taking up disk space, so this allows pruning based on date of each message.

You can set each section to a different expiration (in days), or disable expiration per section, or entirely. By default (if you don't set it at all) articles will not be expired.

Retro Guy

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

Re: rslight-0.6.5 available

<5be7f8331a4d4f83b989266f1691c548$1@example.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=132&group=rocksolid.nodes.announce#132

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!rocksolid2!.POSTED.ip68-2-45-86.ph.ph.cox.net!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Sat, 09 May 2020 02:58:59 -0700
Organization: Rocksolid
Lines: 9
Message-ID: <5be7f8331a4d4f83b989266f1691c548$1@example.com>
References: <d85bc2d1f45aac32fa7a3b11ce798434$1@news.novabbs.com> <add37f36b4f8c82f1c4d8fd21fec8a09@def4> <76590d33134f45cf9093bddcd9623844$1@news.novabbs.com> <f716b7460912c1add6e805fe253421b2$1@news.novabbs.com> <ca4b6caafb675e65a49fa5e327976e6f$1@news.novabbs.com> <244f8a015dc5a3088d94335a7aa7d5b0$1@news.novabbs.com> <41a4e670586932a416750524c49c834f$1@news.novabbs.com> <f6483190eaaa11b8f63dbb45b431076e$1@rslight.i2p> <44bf9134e0d3b721e435ccc958dbf852$1@rslight.i2p> <f6402fa0e2c73a9df6be903720de223d$1@news.novabbs.com> <82e68151cfd0370e7ed7245261840164$1@rslight.i2p> <5cdc92b5930f599df8079b116edaf25f$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: novabbs.com; posting-account="retrobbs1"; posting-host="ip68-2-45-86.ph.ph.cox.net:68.2.45.86";
logging-data="32448"; mail-complaints-to="usenet@novabbs.com"
User-Agent: KNode/4.14.1
 by: Retro Guy - Sat, 9 May 2020 09:58 UTC

Working on an improvement to Xref handling in the nntp server.

Changes won't affect rslight, only newsreaders (just pan right now, no
others). The end result is just a more accurate spool and better newsreader
support.

It's not done yet :)

Retro Guy

Re: rslight-0.6.5 available

<b0368b41270c88e610cfca749f6b306d$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=133&group=rocksolid.nodes.announce#133

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Sun, 10 May 2020 01:06:10 -0700
Organization: Rocksolid
Lines: 21
Message-ID: <b0368b41270c88e610cfca749f6b306d$1@rslight.i2p>
References: <d85bc2d1f45aac32fa7a3b11ce798434$1@news.novabbs.com> <add37f36b4f8c82f1c4d8fd21fec8a09@def4> <76590d33134f45cf9093bddcd9623844$1@news.novabbs.com> <f716b7460912c1add6e805fe253421b2$1@news.novabbs.com> <ca4b6caafb675e65a49fa5e327976e6f$1@news.novabbs.com> <244f8a015dc5a3088d94335a7aa7d5b0$1@news.novabbs.com> <41a4e670586932a416750524c49c834f$1@news.novabbs.com> <f6483190eaaa11b8f63dbb45b431076e$1@rslight.i2p> <44bf9134e0d3b721e435ccc958dbf852$1@rslight.i2p> <f6402fa0e2c73a9df6be903720de223d$1@news.novabbs.com> <82e68151cfd0370e7ed7245261840164$1@rslight.i2p> <5cdc92b5930f599df8079b116edaf25f$1@news.novabbs.com> <5be7f8331a4d4f83b989266f1691c548$1@example.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="16957"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Sun, 10 May 2020 08:06 UTC

Retro Guy wrote:

> Working on an improvement to Xref handling in the nntp server.
>
> Changes won't affect rslight, only newsreaders (just pan right now, no
> others). The end result is just a more accurate spool and better
> newsreader support.
>
> It's not done yet :)

Well, that seems to work fine. I'll keep testing for a while. I have one
instance with a new spool for testing, and another with the modifications
done and the spool unchanged. I need to see the effect of not upgrading the
spool, which should be ok, just pan won't work properly on the articles pre-
upgrade.

These changes are not in 0.6.5c, they're slated for 5d whenever I release
that. I'll probably include a simple "upgrade-spool" script in 0.6.5d to
bring the spool up to date, but it's really not necessary. We'll see.

Retro Guy

Re: rslight-0.6.5 available

<74d611e6e9c1a16f852d7766be2e2e8c$1@192.168.0.220>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=134&group=rocksolid.nodes.announce#134

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@example.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Mon, 11 May 2020 10:56 UTC
Organization: rslight Debian test site
Message-ID: <74d611e6e9c1a16f852d7766be2e2e8c$1@192.168.0.220>
References: <d85bc2d1f45aac32fa7a3b11ce798434$1@news.novabbs.com> <add37f36b4f8c82f1c4d8fd21fec8a09@def4> <76590d33134f45cf9093bddcd9623844$1@news.novabbs.com> <f716b7460912c1add6e805fe253421b2$1@news.novabbs.com> <ca4b6caafb675e65a49fa5e327976e6f$1@news.novabbs.com> <244f8a015dc5a3088d94335a7aa7d5b0$1@news.novabbs.com> <41a4e670586932a416750524c49c834f$1@news.novabbs.com> <f6483190eaaa11b8f63dbb45b431076e$1@rslight.i2p> <44bf9134e0d3b721e435ccc958dbf852$1@rslight.i2p> <f6402fa0e2c73a9df6be903720de223d$1@news.novabbs.com> <82e68151cfd0370e7ed7245261840164$1@rslight.i2p> <5cdc92b5930f599df8079b116edaf25f$1@news.novabbs.com> <5be7f8331a4d4f83b989266f1691c548$1@example.com> <b0368b41270c88e610cfca749f6b306d$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="22117"; 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-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on i2pwall.i2p
X-Rslight-Site: $2y$10$yjsc6ZK5a960MX7rDc/dqeH5nVN3udUnQph1nAqShhjANp.ZI9.Mu
 by: Retro Guy - Mon, 11 May 2020 10:56 UTC

Ok, Xref changes seem fine on the two test servers, with and without updating the spool. I still plan to consider a script to modify an existing spool so pan will work on any rslight site right away.

I've just finalised modifications to nntp.php to provide descriptions that all the test newsreaders I'm using can use (which is working).

I decided to default to descriptions in your own groups file, and use descriptions retrieved from other servers only if you have no description in your file for a group.

I defaulted this direction to avoid the chance that someone would think it's fun to change the descriptions on their server and have it shared to all others. That could be a mess, so if someone does that, you won't see it unless you have no local description. Plus, you are able to customise group descriptions for your own site.

I've decided to have the nntp server send out articles to it's upstream server that include all newsgroups in the Newsgroups: header. rslight only posts to the group you are reading from, and drops other groups (which is by design, it's forum style), but if you post directly to the nntp server, the crossposted groups remain. Once the message hits a server that carries each (or all) groups, the messages get posted to those groups also.

I'm running these changes on two test sites, and rslight.i2p right now.

Retro Guy

--
Posted on: rslight Debian test site
192.168.0.220

Re: rslight-0.6.5 available

<54c1347a277bbd4c66fbca23ad887095$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=135&group=rocksolid.nodes.announce#135

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Tue, 12 May 2020 16:48:19 -0700
Organization: Rocksolid
Lines: 13
Message-ID: <54c1347a277bbd4c66fbca23ad887095$1@rslight.i2p>
References: <d85bc2d1f45aac32fa7a3b11ce798434$1@news.novabbs.com> <add37f36b4f8c82f1c4d8fd21fec8a09@def4> <76590d33134f45cf9093bddcd9623844$1@news.novabbs.com> <f716b7460912c1add6e805fe253421b2$1@news.novabbs.com> <ca4b6caafb675e65a49fa5e327976e6f$1@news.novabbs.com> <244f8a015dc5a3088d94335a7aa7d5b0$1@news.novabbs.com> <41a4e670586932a416750524c49c834f$1@news.novabbs.com> <f6483190eaaa11b8f63dbb45b431076e$1@rslight.i2p> <44bf9134e0d3b721e435ccc958dbf852$1@rslight.i2p> <f6402fa0e2c73a9df6be903720de223d$1@news.novabbs.com> <82e68151cfd0370e7ed7245261840164$1@rslight.i2p> <5cdc92b5930f599df8079b116edaf25f$1@news.novabbs.com> <5be7f8331a4d4f83b989266f1691c548$1@example.com> <b0368b41270c88e610cfca749f6b306d$1@rslight.i2p> <74d611e6e9c1a16f852d7766be2e2e8c$1@192.168.0.220>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="9924"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Tue, 12 May 2020 23:48 UTC

Adding support now for the STAT command in rslight nntp server.

I plan to pull articles (spoolnews) and check against message-id database
(which I already do) to avoid duplicates, so STAT will make that much faster
and use much less bandwidth.

It's easy to pull this way, but nntp.php needs to support it also as it's
meant to be able to be upstream from another rslight instance.

Note: It does check if the server supports it, and reverts to pulling
headers or messages if it does not, so no failures, just would like to
reduce bandwidth as much as possible.

Retro Guy

Re: rslight-0.6.5 available

<1509b316093cc90bc1badbb23ce5e60b$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=136&group=rocksolid.nodes.announce#136

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Wed, 13 May 2020 02:00:56 -0700
Organization: Rocksolid
Lines: 26
Message-ID: <1509b316093cc90bc1badbb23ce5e60b$1@rslight.i2p>
References: <d85bc2d1f45aac32fa7a3b11ce798434$1@news.novabbs.com> <add37f36b4f8c82f1c4d8fd21fec8a09@def4> <76590d33134f45cf9093bddcd9623844$1@news.novabbs.com> <f716b7460912c1add6e805fe253421b2$1@news.novabbs.com> <ca4b6caafb675e65a49fa5e327976e6f$1@news.novabbs.com> <244f8a015dc5a3088d94335a7aa7d5b0$1@news.novabbs.com> <41a4e670586932a416750524c49c834f$1@news.novabbs.com> <f6483190eaaa11b8f63dbb45b431076e$1@rslight.i2p> <44bf9134e0d3b721e435ccc958dbf852$1@rslight.i2p> <f6402fa0e2c73a9df6be903720de223d$1@news.novabbs.com> <82e68151cfd0370e7ed7245261840164$1@rslight.i2p> <5cdc92b5930f599df8079b116edaf25f$1@news.novabbs.com> <5be7f8331a4d4f83b989266f1691c548$1@example.com> <b0368b41270c88e610cfca749f6b306d$1@rslight.i2p> <74d611e6e9c1a16f852d7766be2e2e8c$1@192.168.0.220> <54c1347a277bbd4c66fbca23ad887095$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="32514"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Spam-Level: *
 by: Retro Guy - Wed, 13 May 2020 09:00 UTC

The rslight nntp server currently supports the following commands:

MODE (always reader, but supports responding to the command)
LIST (including NEWSGROUPS, ACTIVE and overview.fmt)
POST
NEWGROUPS (this just sends the group list, ignoring dates)
AUTHINFO (user and pass)
STAT (sends msgid of article, does not set a pointer)
ARTICLE
HEAD
GROUP
XGTITLE
XOVER
HELP (simply responds with "100 Sorry, can't help")
QUIT

Additional supported features (disabled by default):
AUTOMATIC account creation
SPAMASSASSIN integration (requires spamc)
NOCEM support (requires gnupg)

The goal is not to build a full featured nntp server, just to support what
is needed for rslight and similar projects. Features have been and will be
added "as needed".

Retro Guy

Re: rslight-0.6.5 available

<7f513626d8630b4bf9b913d3467bb402@def4>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=137&group=rocksolid.nodes.announce#137

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes.announce
Message-ID: <7f513626d8630b4bf9b913d3467bb402@def4>
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 00:15:30+0000
Organization: def5
In-Reply-To: <1509b316093cc90bc1badbb23ce5e60b$1@rslight.i2p>
References: <1509b316093cc90bc1badbb23ce5e60b$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 14 May 2020 00:15 UTC

>The goal is not to build a full featured nntp server, just to support

Looking at the feature list, you still seem to be reaching what is not your goal :-), although I have never read the complete RFC for news and nntp, so i would'nt know...but looks pretty long already to me...

Posted on def4

Re: rslight-0.6.5 available

<30c11e43b86ba86cfca959923c61f287$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=138&group=rocksolid.nodes.announce#138

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Wed, 13 May 2020 20:45:56 -0700
Organization: Rocksolid
Lines: 25
Message-ID: <30c11e43b86ba86cfca959923c61f287$1@rslight.i2p>
References: <1509b316093cc90bc1badbb23ce5e60b$1@rslight.i2p> <7f513626d8630b4bf9b913d3467bb402@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="32203"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Thu, 14 May 2020 03:45 UTC

anon wrote:

>
>>The goal is not to build a full featured nntp server, just to support
>
> Looking at the feature list, you still seem to be reaching what is not
> your goal :-), although I have never read the complete RFC for news and
> nntp, so i would'nt know...but looks pretty long already to me...
>
Lol, that's kind of true.

I started with just supporting rslight, then decided it would be nice to
connect with a newsreader. In adding support for Knode, Pan etc, I ended up
supporting a few more commands, which isn't a bad thing :)

I added STAT yesterday to speed up pulling articles. Today I tweaked
spoolnews.php to use it, and it's WAY faster than before (since it pulls
just one line to check instead of a full header).

I have plans to add features in the future (like admin to admin messaging,
or file sharing or whatever), but right now still focusing on bug fixes and
reducing bandwidth (which I just had a major win on today).

Retro Guy

Re: rslight-0.6.5 available

<73b966b51eac7dc615fdea01355a3864@def4>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=139&group=rocksolid.nodes.announce#139

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes.announce
Message-ID: <73b966b51eac7dc615fdea01355a3864@def4>
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 13:40:07+0000
Organization: def5
In-Reply-To: <9035ad9eaee53d38a126cbf154c9149b$1@news.novabbs.com>
References: <9035ad9eaee53d38a126cbf154c9149b$1@news.novabbs.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;boundary="------------2D7B91D89218F6D0182BBE7B"
 by: anon - Thu, 14 May 2020 13:40 UTC
Attachments: "rslight_error.png" (image/png)

reposting here:
ok, i finally got it up and running on def2. three cheers.
so def2 is back in business, and i will try to build vichan on the same machine, using the local nntp server.

will write more about the installation later.

cheers

trw
--
Posted on def2
def2.i2p

That post was done on def2, from a fresh installation of the version c.
For some reason it gives me an error message when posting, but taking the post nevertheless (see screenshot).

cheers

trw

Posted on def4

Attachments:  
Re: rslight-0.6.5 available

<9c4461bf58067411bc44e1c1c82fa202$1@def2.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=140&group=rocksolid.nodes.announce#140

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 12:27 UTC
Organization: def2
Message-ID: <9c4461bf58067411bc44e1c1c82fa202$1@def2.i2p>
References: <1509b316093cc90bc1badbb23ce5e60b$1@rslight.i2p> <7f513626d8630b4bf9b913d3467bb402@def4> <30c11e43b86ba86cfca959923c61f287$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="24010"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$XVT1rW9GLNKo8DGf7V6iHe5V7cY2dyikG3nLXY34JRFszAr5GCXtO
 by: anonymous - Thu, 14 May 2020 12:27 UTC

ok, i finally got it up and running on def2. three cheers.
so def2 is back in business, and i will try to build vichan on the same machine, using the local nntp server.

will write more about the installation later.

cheers

trw
--
Posted on def2
def2.i2p

Re: rslight-0.6.5 available

<16adcc6170ae9f16487cce34d259ae32$1@def2.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=141&group=rocksolid.nodes.announce#141

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: qa...@anon.com (qa)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 12:27 UTC
Organization: def2
Message-ID: <16adcc6170ae9f16487cce34d259ae32$1@def2.i2p>
References: <1509b316093cc90bc1badbb23ce5e60b$1@rslight.i2p> <7f513626d8630b4bf9b913d3467bb402@def4> <30c11e43b86ba86cfca959923c61f287$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="24010"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$truDfGG.XCq5H46Is3nDue3qIIBfN3xrwaSBQmteVf/11SOHn/hqe
 by: qa - Thu, 14 May 2020 12:27 UTC

ok, i finally got it up and running on def2. three cheers.
so def2 is back in business, and i will try to build vichan on the same machine, using the local nntp server.

will write more about the installation later.

cheers

trw
--
Posted on def2
def2.i2p

Re: rslight-0.6.5 available

<661fb2ca4ddc821f70279aaed18f195c@def4>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=142&group=rocksolid.nodes.announce#142

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!i2pn.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes.announce
Message-ID: <661fb2ca4ddc821f70279aaed18f195c@def4>
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 14:37:27+0000
Organization: def5
In-Reply-To: <16adcc6170ae9f16487cce34d259ae32$1@def2.i2p>
References: <16adcc6170ae9f16487cce34d259ae32$1@def2.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 14 May 2020 14:37 UTC

so, this is nice, it runs like it should, just this one bug with the error message on posting.

i used standard directories this time, as I suspected this could be a problem. the sed command displayed the same error message as last time (and this is a different machine, with a different debian). the files are updated anyway.
after installation i needed to copy the groups.txt from /rocksolid to groups.txt in /spoolnews before anything happened. after that went well.
finally i went a bit bananas on the logo to celebrate :-)

so very nice work, this gets easier and easier.

the questions i have:

1) the cron.php calls all the other scripts, if I understand well. How do you avoid two update runs at the same time ?

2) talking about integrating other stuff, what would be the best interface ? i guess just calling the server, huh ? or directly manipulating the spool ?

cheers and thanks,

trw

Posted on def4

Re: rslight-0.6.5 available

<05a8f42d888a0b385ca797d0347edce5@def4>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=143&group=rocksolid.nodes.announce#143

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes.announce
Message-ID: <05a8f42d888a0b385ca797d0347edce5@def4>
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 18:22:59+0000
Organization: def5
In-Reply-To: <661fb2ca4ddc821f70279aaed18f195c@def4>
References: <661fb2ca4ddc821f70279aaed18f195c@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 14 May 2020 18:22 UTC

this is where it happens, just don't understand why, apparently there is an error reported that does not happen or is not relevant:

if ((substr($message,0,3)=="240") ||
(substr($message,0,7)=="441 435")) {
?>

<h1 class="np_post_headline"><?php echo $text_post["message_posted"];?></h1>

<p><?php echo $text_post["message_posted2"];?></p>

<?php
// This returns to multiple groups if crossposting, which does not work. FIXME
// Try to return to just the first group in the list
$returngroup=explode(',',$newsgroups);
?>

<p><a href="<?php echo $file_thread.'?group='.urlencode($returngroup[0]).'">'.$text_post["button_back"].'</a> '
.$text_post["button_back2"].' '.group_display_name($returngroup[0]) ?></p>
<?php
} else {
// article not accepted by the newsserver
$type="retry";
$error=$text_post["error_newsserver"]."<br><pre>$message</pre>";
}
} else {
echo $text_post["error_readonly"];
}

Posted on def4

Re: rslight-0.6.5 available

<00d5138f394526dc667366c711d4e618$1@z5bqfv5v75kxy7pj.onion>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=144&group=rocksolid.nodes.announce#144

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 18:51 UTC
Organization: def2
Message-ID: <00d5138f394526dc667366c711d4e618$1@z5bqfv5v75kxy7pj.onion>
References: <661fb2ca4ddc821f70279aaed18f195c@def4> <05a8f42d888a0b385ca797d0347edce5@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="32728"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$FoHQUsBqxDZIeN1T9l3mmuDfK7NvjrGFxwQjEaGUSmUhrCdjhmzv.
 by: anonymous - Thu, 14 May 2020 18:51 UTC

what do the first two lines do ? you check if you have either success (240) or failure (441) ?
or i don't understand the code right...

-----
From here: https://tools.ietf.org/html/rfc3977

6.3. Article Posting

Article posting is done in one of two ways: individual article
posting from news-reading clients using POST, and article transfer
from other news servers using IHAVE.

6.3.1. POST

6.3.1.1. Usage

Indicating capability: POST

This command MUST NOT be pipelined.

Syntax
POST

Responses

Initial responses
340 Send article to be posted
440 Posting not permitted

Subsequent responses
240 Article received OK
441 Posting failed
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: rslight-0.6.5 available

<5482610b11454350ef6315b5af321c57$1@z5bqfv5v75kxy7pj.onion>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=145&group=rocksolid.nodes.announce#145

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 18:54 UTC
Organization: def2
Message-ID: <5482610b11454350ef6315b5af321c57$1@z5bqfv5v75kxy7pj.onion>
References: <661fb2ca4ddc821f70279aaed18f195c@def4> <05a8f42d888a0b385ca797d0347edce5@def4> <00d5138f394526dc667366c711d4e618$1@z5bqfv5v75kxy7pj.onion>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="475"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$JbLGdTmP0/9W54vj41YGU.GdlvATEbBBjGTPKwYwA5LSrzcGtDX7m
 by: anonymous - Thu, 14 May 2020 18:54 UTC

> just this one bug with the error message on posting.

ok, this seems to be history now. would be interesting why it showed up.

what's with the identifier in the footer (displaying from which side you posted) ? It's kind of a neat feature, i am just not sure if i want it on all the time.

cheers

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: rslight-0.6.5 available

<49768fdf9bdbd3c5f4a0d8f44237c96f$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=146&group=rocksolid.nodes.announce#146

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 16:26:41 -0700
Organization: Rocksolid
Lines: 27
Message-ID: <49768fdf9bdbd3c5f4a0d8f44237c96f$1@rslight.i2p>
References: <661fb2ca4ddc821f70279aaed18f195c@def4> <05a8f42d888a0b385ca797d0347edce5@def4> <00d5138f394526dc667366c711d4e618$1@z5bqfv5v75kxy7pj.onion> <5482610b11454350ef6315b5af321c57$1@z5bqfv5v75kxy7pj.onion>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="32571"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Thu, 14 May 2020 23:26 UTC

anonymous wrote:

>> just this one bug with the error message on posting.
>
> ok, this seems to be history now. would be interesting why it showed up.
>
> what's with the identifier in the footer (displaying from which side you
> posted) ? It's kind of a neat feature, i am just not sure if i want it on
> all the time.

Awesome, I'm glad def2 is back! :)

The footer can be disabled in /etc/rslight/rslight.inc.php by setting:
$postfooter="";

I have to go off to work now, but will be back later and answer questions,
but here's a couple of notes:

The response you referenced in another post to response codes is from
newsportal, I need to check and see what it's checking for.

If you are looking for nntp CLIENT code, look in spoolnews.php, that's the
client. nntp.php is the server.

I'll be back later!

Retro Guy

Re: rslight-0.6.5 available

<da125000177b26ba92c1fcc908299644$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=147&group=rocksolid.nodes.announce#147

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 23:27:20 -0700
Organization: Rocksolid
Lines: 63
Message-ID: <da125000177b26ba92c1fcc908299644$1@rslight.i2p>
References: <16adcc6170ae9f16487cce34d259ae32$1@def2.i2p> <661fb2ca4ddc821f70279aaed18f195c@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="9870"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Fri, 15 May 2020 06:27 UTC

anon wrote:

>
> so, this is nice, it runs like it should, just this one bug with the error
> message on posting.

I'll check the newsportal code to see what specifically leads to that error.
I know that a badly formatted message can do that, but rslight shouldn't do
that. A message that is too big can also (big attachment). I saw your
message with the code snippet, so I'll take a look.

> that went well. finally i went a bit bananas on the logo to celebrate :-)

I like that logo :) Also, in /var/www/html/common/, there is a 'mods'
directory (or there should be anyway). You should be able to put a custom
logo in mods/images/, and a custom header.php or style.css in mods/

Either way, overwrite the original or use the mods directory, it should
work. Obviously, if it's in mods, it is used instead of the original files.

> so very nice work, this gets easier and easier.

Thanks! I still don't know why sed produces an error (but works anyway) on
debian. It doesn't do that on freebsd.

> the questions i have:
>
> 1) the cron.php calls all the other scripts, if I understand well. How do
> you avoid two update runs at the same time ?

The scripts write a lock file in /tmp. If the scripts read/write the same
data as other scripts, they use the same lock file. Even if you run cron
every minute and it's not done the next time, the scripts will just exit on
seeing the pid in the lock file is still running.

> 2) talking about integrating other stuff, what would be the best interface
> ? i guess just calling the server, huh ? or directly manipulating the
> spool ?

rslight works by posting via the nntp server, and reading directly from the
spool files, but also asking the server for some data to provide xover
information.

Writing to the spool files to post is not a good idea, as the xover data
will not be written (unless you write that also). You can post by just using
the nntp server to POST, or you can drop a ready to go message in
/var/spool/rslight/rocksolid/outgoing/

If you drop a message there, it will be sent to your upstream server on the
next cron.php run, then will show up on your system when spoolnews.php grabs
it from upstream and adds it to the spool.

I do have a function in nntp.php (insert_article), that can be used to
insert the article right away in the local system so you don't need to wait
for it to be pulled back by spoolnews. This is how the nntp server makes the
message available immediately.

Creating a custom function for vichan shouln't be hard to do, so it should
be able to post immediately also.

I'm going to read more of your messages now before I toss out more ideas.

Retro Guy

Re: rslight-0.6.5 available

<344b7d1a6652b2d0be83cdf16cfc675f$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=148&group=rocksolid.nodes.announce#148

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 23:47:06 -0700
Organization: Rocksolid
Lines: 19
Message-ID: <344b7d1a6652b2d0be83cdf16cfc675f$1@rslight.i2p>
References: <661fb2ca4ddc821f70279aaed18f195c@def4> <05a8f42d888a0b385ca797d0347edce5@def4> <00d5138f394526dc667366c711d4e618$1@z5bqfv5v75kxy7pj.onion>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="12020"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Fri, 15 May 2020 06:47 UTC

anonymous wrote:

> what do the first two lines do ? you check if you have either success
> (240) or failure (441) ? or i don't understand the code right...

You understand the code as much as I do lol! It doesn't really make sense as
it seems to say "if it succeeded or failed do this, else..." strange.

nntp.php will never send "441 435", but of course will send "240" or "441"

435 can mean "Bad Message-ID", but nntp.php doesn't send that ever. You can
get that from upstream, and it will show up in
/var/spool/rslight/log/spoolnews.log

I need to look more closely at this code, it's carried over from newsportal
and I'm guessing there is some point to it so I don't want to just quickly
change it.

Retro Guy

Re: rslight-0.6.5 available

<2738227ca4d9adbe9a34c58658eaab5e$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=149&group=rocksolid.nodes.announce#149

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Thu, 14 May 2020 23:51:18 -0700
Organization: Rocksolid
Lines: 34
Message-ID: <2738227ca4d9adbe9a34c58658eaab5e$1@rslight.i2p>
References: <661fb2ca4ddc821f70279aaed18f195c@def4> <05a8f42d888a0b385ca797d0347edce5@def4> <00d5138f394526dc667366c711d4e618$1@z5bqfv5v75kxy7pj.onion> <5482610b11454350ef6315b5af321c57$1@z5bqfv5v75kxy7pj.onion> <49768fdf9bdbd3c5f4a0d8f44237c96f$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="12589"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Fri, 15 May 2020 06:51 UTC

Retro Guy wrote:

> anonymous wrote:
>
>>> just this one bug with the error message on posting.
>>
>> ok, this seems to be history now. would be interesting why it showed up.
>>
>> what's with the identifier in the footer (displaying from which side you
>> posted) ? It's kind of a neat feature, i am just not sure if i want it on
>> all the time.
>
> Awesome, I'm glad def2 is back! :)
>
> The footer can be disabled in /etc/rslight/rslight.inc.php by setting:
> $postfooter="";

Also, you can remove the domain name part and still have a footer by editing
/var/www/html/rocksolid/lib/post.inc.php near line 219:

if ((isset($postfooter)) && ($postfooter!="")) {
$body.="\n-- \n".$postfooter."\n".$_SERVER['HTTP_HOST'];
}

just change the $body line to:
$body.="\n-- \n".$postfooter;

I should add this as a toggle in config. I'll do that in a future version as
if you change post.inc.php it will be overwritten by an upgrade.

But again, just set $postfooter="" in rslight.inc.php to disable completely
if you wish.

Retro Guy

Re: rslight-0.6.5 available

<8ac478cfcb272f7685f776452e0b8413$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=150&group=rocksolid.nodes.announce#150

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Fri, 15 May 2020 00:27:53 -0700
Organization: Rocksolid
Lines: 5
Message-ID: <8ac478cfcb272f7685f776452e0b8413$1@rslight.i2p>
References: <16adcc6170ae9f16487cce34d259ae32$1@def2.i2p> <661fb2ca4ddc821f70279aaed18f195c@def4> <dbb0d35395bf4660368278783df00260$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="16533"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Fri, 15 May 2020 07:27 UTC

Also, if you want to add any of the sections you see on rslight.i2p (and
have on def3), just let me know and I can send you the groups.txt files for
them. That's probably easier than retyping them all.

Retro Guy

Re: rslight-0.6.5 available

<dbb0d35395bf4660368278783df00260$1@rslight.i2p>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=151&group=rocksolid.nodes.announce#151

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: rslight-0.6.5 available
Date: Fri, 15 May 2020 00:25:48 -0700
Organization: Rocksolid
Lines: 33
Message-ID: <dbb0d35395bf4660368278783df00260$1@rslight.i2p>
References: <16adcc6170ae9f16487cce34d259ae32$1@def2.i2p> <661fb2ca4ddc821f70279aaed18f195c@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="16533"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
 by: Retro Guy - Fri, 15 May 2020 07:25 UTC

anon wrote:

>
> so, this is nice, it runs like it should, just this one bug with the error
> message on posting.
>
> i used standard directories this time, as I suspected this could be a
> problem. the sed command displayed the same error message as last time
> (and this is a different machine, with a different debian). the files are
> updated anyway. after installation i needed to copy the groups.txt from
> /rocksolid to groups.txt in /spoolnews before anything happened. after
> that went well. finally i went a bit bananas on the logo to celebrate :-)

That's odd, it shouldn't be necessary. The groups.txt in
/etc/rslight/<section>/groups.txt should be specific to the section.

The groups.txt on all my systems in /etc/rslight/spoolnews only contains
groups I want on the nntp server, but don't want to display on the site
(like rocksolid.spam).

All the groups.txt files get added together and placed in
/var/spool/rslight/spoolnews/groups.txt If that's the file you're talking
about then either the wrong permissions are set for the directory (so it
can't be written), or for some reason cron.php isn't creating the file (see
near the top of cron.php).

I haven't seen this issue myself, I'll have to consider what it might be,
please just let me know which spoolnews/groups.txt file, in
/var/spool/rslight or /etc/rslight

Thanks!

Retro Guy

Pages:123
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor