Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Brain fried -- Core dumped


computers / rocksolid.nodes / Re: hey, what do know ? vichan supports nntp

SubjectAuthor
* hey, what do know ? vichan supports nntpanon
+* hey, what do know ? vichan supports nntpanon
|`* hey, what do know ? vichan supports nntpRetro Guy
| `* hey, what do know ? vichan supports nntpanon
|  `* hey, what do know ? vichan supports nntpRetro Guy
|   `* hey, what do know ? vichan supports nntpanon
|    `* hey, what do know ? vichan supports nntpanon
|     `* hey, what do know ? vichan supports nntpRetro Guy
|      `* hey, what do know ? vichan supports nntpanon
|       `* hey, what do know ? vichan supports nntpanon
|        +* hey, what do know ? vichan supports nntpanon
|        |`* hey, what do know ? vichan supports nntpanonymous
|        | +* hey, what do know ? vichan supports nntpRetro Guy
|        | |`* hey, what do know ? vichan supports nntpanon
|        | | `* hey, what do know ? vichan supports nntpRetro Guy
|        | |  `* hey, what do know ? vichan supports nntpanonymous
|        | |   `* hey, what do know ? vichan supports nntpRetro Guy
|        | |    `* hey, what do know ? vichan supports nntpanonymous
|        | |     `* hey, what do know ? vichan supports nntpanon
|        | |      +* hey, what do you know: vichan supports nntpanon
|        | |      |+- hey, what do you know: vichan supports nntpRetro Guy
|        | |      |`* hey, what do you know: vichan supports nntpanon
|        | |      | `- hey, what do you know: vichan supports nntpRetro Guy
|        | |      `- hey, what do know ? vichan supports nntpRetro Guy
|        | `* hey, what do know ? vichan supports nntpRetro Guy
|        |  `* hey, what do know ? vichan supports nntpanonymous
|        |   `* hey, what do know ? vichan supports nntpanonymous
|        |    `* hey, what do know ? vichan supports nntpanonymous
|        |     +* hey, what do know ? vichan supports nntpanonymous
|        |     |`* hey, what do know ? vichan supports nntpanonymous
|        |     | `* hey, what do know ? vichan supports nntpanonymous
|        |     |  `* hey, what do know ? vichan supports nntpanonymous
|        |     |   `* hey, what do know ? vichan supports nntpRetro Guy
|        |     |    `* hey, what do know ? vichan supports nntpanonymous
|        |     |     `* hey, what do know ? vichan supports nntpanonymous
|        |     |      `* hey, what do know ? vichan supports nntpanonymous
|        |     |       `* hey, what do know ? vichan supports nntpanonymous
|        |     |        `* hey, what do know ? vichan supports nntpRetro Guy
|        |     |         `* hey, what do know ? vichan supports nntpanonymous
|        |     |          `* hey, what do know ? vichan supports nntpanonymous
|        |     |           `* hey, what do know ? vichan supports nntpRetro Guy
|        |     |            `* hey, what do know ? vichan supports nntpanonymous
|        |     |             `* hey, what do know ? vichan supports nntpanonymous
|        |     |              `* hey, what do know ? vichan supports nntpRetro Guy
|        |     |               `* hey, what do know ? vichan supports nntpanon
|        |     |                `* hey, what do know ? vichan supports nntpRetro Guy
|        |     |                 `* hey, what do know ? vichan supports nntpanonymous
|        |     |                  `* hey, what do know ? vichan supports nntpanonymous
|        |     |                   `* hey, what do know ? vichan supports nntpanonymous
|        |     |                    `* hey, what do know ? vichan supports nntpanonymous
|        |     |                     `* hey, what do know ? vichan supports nntpRetro Guy
|        |     |                      `* hey, what do know ? vichan supports nntpanonymous
|        |     |                       +* hey, what do know ? vichan supports nntpanonymous
|        |     |                       |+- hey, what do know ? vichan supports nntpanonymous
|        |     |                       |`- hey, what do know ? vichan supports nntpRetro Guy
|        |     |                       `* hey, what do know ? vichan supports nntpRetro Guy
|        |     |                        `- hey, what do know ? vichan supports nntpanonymous
|        |     `- hey, what do know ? vichan supports nntpRetro Guy
|        `- hey, what do know ? vichan supports nntpRetro Guy
+- hey, what do know ? vichan supports nntpanon
+* hey, what do know ? vichan supports nntpanon
|`* hey, what do know ? vichan supports nntpanonymous
| +- hey, what do you know....anon
| `* hey, what do know ? vichan supports nntpanonymous
|  `* hey, what do know ? vichan supports nntpRetro Guy
|   `- hey, what do know ? vichan supports nntpanon
+* basics are workingAnonymous
|`- basics are workingRetro Guy
+* guess i will open for business soonAnonymous
|+* guess i will open for business soonMei
||`- guess i will open for business soonRetro Guy
|`- guess i will open for business soonRetro Guy
+- opsec check is goodAnonymous
+- > goo to go.Anonymous
+* yes that should workAnonymous
|`- yes that should workRetro Guy
+* cron or not ?Anonymous
|`- cron or not ?Retro Guy
+- themes on def2.i2pAnonymous
`* ok, ok, i switched the default themeAnonymous
 `* ok, ok, i switched the default themeMei
  `- ok, ok, i switched the default themeanon

Pages:1234
Re: hey, what do know ? vichan supports nntp

<d1faafa624cda10417914a17419af431@def4>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Message-ID: <d1faafa624cda10417914a17419af431@def4>
Subject: Re: hey, what do know ? vichan supports nntp
Date: Thu, 14 May 2020 15:15:02+0000
Organization: def5
In-Reply-To: <334946c5d9ff842f8a9e338e63adcb1a@def4>
References: <334946c5d9ff842f8a9e338e63adcb1a@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 14 May 2020 15:15 UTC

so vichan has a very simple to use api, see here for example:
https://lainchan.org/%CE%A9/catalog.json
so i guess all one needs to do is to write an interface from that json to ./post.php on rslight, generating and translating some information like threading and message id and so forth.
this would be to get messages from a vichan instance to a rslight instance.
for the other way round, i will first start with the buildin nntp option of vichan, and if it does not work, and replace it by the rslight nntp client code.
altogether this seems to be a simple excercise....

cheers

trw

Posted on def4

Re: hey, what do know ? vichan supports nntp

<a390a213fa3e1af81b3d8c884f62ef13@def4>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Message-ID: <a390a213fa3e1af81b3d8c884f62ef13@def4>
Subject: Re: hey, what do know ? vichan supports nntp
Date: Thu, 14 May 2020 16:27:27+0000
Organization: def5
In-Reply-To: <d1faafa624cda10417914a17419af431@def4>
References: <d1faafa624cda10417914a17419af431@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 14 May 2020 16:27 UTC

https://github.com/vichan-devel/vichan/blob/master/inc/nntpchan/nntpchan.php

That one should take care of posting to an nntp server.

Posted on def4

Re: hey, what do know ? vichan supports nntp

<a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Thu, 14 May 2020 20:47 UTC
Organization: def2
Message-ID: <a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@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="14402"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$oLmjoKhGTV.hKELo9hPPgOttSp.NTrGkw/zkbrdekVCuiz2Goj0cy
 by: anonymous - Thu, 14 May 2020 20:47 UTC

and here is where the hacking starts:

function nntp_publish($msg, $id) {
global $config;
$server = $config["nntpchan"]["server"];
$s = fsockopen("tcp://$server");
fgets($s);
fputs($s, "MODE STREAMrn");
fgets($s);
fputs($s, "TAKETHIS $idrn");
fputs($s, $msg);
fputs($s, "rn.rn");
fgets($s);
fputs($s, "QUITrn");
fclose($s);
}

they have no auth in this, and i seem to remember that this was solved by some ssl certificates or other (in the case of overchan). so if i just replace this function with the appropriate counterpart from rslight/post.php, that should be it.

I have an instance of vichan running on the same machine as rslight now, and it should be possible to just use the rslight news server directly.

cheers

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: hey, what do know ? vichan supports nntp

<c81221b1f4fd099c71053cf51bd60a72$1@rslight.i2p>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Thu, 14 May 2020 23:55:05 -0700
Organization: Rocksolid
Lines: 6
Message-ID: <c81221b1f4fd099c71053cf51bd60a72$1@rslight.i2p>
References: <334946c5d9ff842f8a9e338e63adcb1a@def4> <d1faafa624cda10417914a17419af431@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="13073"; 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:55 UTC

anon wrote:

> work, and replace it by the rslight nntp client code. altogether this
> seems to be a simple excercise....

....said every programmer in history :)

Re: hey, what do know ? vichan supports nntp

<154276e6dcdb76f64a817816fa16fe6f$1@rslight.i2p>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Fri, 15 May 2020 00:04:09 -0700
Organization: Rocksolid
Lines: 49
Message-ID: <154276e6dcdb76f64a817816fa16fe6f$1@rslight.i2p>
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$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="13783"; 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:04 UTC

anonymous wrote:

> and here is where the hacking starts:
>
> function nntp_publish($msg, $id) {
> global $config;
> $server = $config["nntpchan"]["server"];
> $s = fsockopen("tcp://$server");
> fgets($s);
> fputs($s, "MODE STREAMrn");
> fgets($s);
> fputs($s, "TAKETHIS $idrn");
> fputs($s, $msg);
> fputs($s, "rn.rn");
> fgets($s);
> fputs($s, "QUITrn");
> fclose($s);
> }
>
>
> they have no auth in this, and i seem to remember that this was solved by
> some ssl certificates or other (in the case of overchan). so if i just
> replace this function with the appropriate counterpart from
> rslight/post.php, that should be it.

Yeah, no auth at all. It's a simple function it seems, so adding auth
shouldn't be difficult at all:

fputs($s,"AUTHINFO USER $server_auth_user\r\n");
$weg=line_read($s);
fputs($s,"AUTHINFO PASS $server_auth_pass\r\n");
$weg=line_read($s);
if (substr($weg,0,3) != "281" {
AUTH FAILED
can't do stuff...
} else {
IT DIDN"T FAIL, YAY!
do stuff...
}

> I have an instance of vichan running on the same machine as rslight now,
> and it should be possible to just use the rslight news server directly.

Do you know if this is sending one message at a time? If so, STREAM isn't
really necessary and could easily be MODE READER. If it's more than one
message, then I can add STREAM to nntp.php
rslight news server doesn't currently support MODE STREAM (I didn't need
it), but it can be added.

Retro Guy

Re: hey, what do know ? vichan supports nntp

<a7165d2fef4e3a1505130c7019fc3239@def4>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Message-ID: <a7165d2fef4e3a1505130c7019fc3239@def4>
Subject: Re: hey, what do know ? vichan supports nntp
Date: Fri, 15 May 2020 10:14:31+0000
Organization: def5
In-Reply-To: <154276e6dcdb76f64a817816fa16fe6f$1@rslight.i2p>
References: <154276e6dcdb76f64a817816fa16fe6f$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Fri, 15 May 2020 10:14 UTC

>Do you know if this is sending one message at a time?

from the way the code is written, i would say yes (post.php is called when you make a post), can't be sure though.
i will try around a little. if need be, i can also connect to one of the inn servers (i mean if i need stream right now).

cheers

trw

Posted on def4

Re: hey, what do know ? vichan supports nntp

<b9897bf89845aed7c76f8b685400444c$1@rslight.i2p>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Fri, 15 May 2020 02:15:53 -0700
Organization: Rocksolid
Lines: 17
Message-ID: <b9897bf89845aed7c76f8b685400444c$1@rslight.i2p>
References: <154276e6dcdb76f64a817816fa16fe6f$1@rslight.i2p> <a7165d2fef4e3a1505130c7019fc3239@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="29178"; 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 09:15 UTC

anon wrote:

>
>>Do you know if this is sending one message at a time?
>
> from the way the code is written, i would say yes (post.php is called when
> you make a post), can't be sure though. i will try around a little. if
> need be, i can also connect to one of the inn servers (i mean if i need
> stream right now).

Sounds good. I'll add mode stream soon anyway so it's able to connect if it
really requires stream.

I need to get a copy of vichan (post.php really) and take a look at it. I
can do that in a few days.

Retro Guy

Re: hey, what do know ? vichan supports nntp

<8eb12a87505f8e551cbbfc7043ad2a24$1@z5bqfv5v75kxy7pj.onion>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Fri, 15 May 2020 09:57 UTC
Organization: def2
Message-ID: <8eb12a87505f8e551cbbfc7043ad2a24$1@z5bqfv5v75kxy7pj.onion>
References: <154276e6dcdb76f64a817816fa16fe6f$1@rslight.i2p> <a7165d2fef4e3a1505130c7019fc3239@def4> <b9897bf89845aed7c76f8b685400444c$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="818"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$cQ6rDsjrZzO3/OcpchOVBOsRdpVQShcHLbqcSuW/X0Od5EsBnTo2.
 by: anonymous - Fri, 15 May 2020 09:57 UTC

I can upload it somewhere, if you want me to. but you can also get everything from github (be sure to take the devel version, though).
If I understand post.php right, the inserting of messages (from another node into the vichan instance) is solved by using http. You just hand over all the parameters in a get request and post.php imports the message. That would be very nice (don't understand how attachments wor with that, yet).
So in this case you could post with wget or curl. Very nice.

Hope I can spend some time on this soon.

cheers

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: hey, what do know ? vichan supports nntp

<144d619b4538c15b850d245a2196303e$1@rslight.i2p>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Fri, 15 May 2020 03:19:56 -0700
Organization: Rocksolid
Lines: 21
Message-ID: <144d619b4538c15b850d245a2196303e$1@rslight.i2p>
References: <154276e6dcdb76f64a817816fa16fe6f$1@rslight.i2p> <a7165d2fef4e3a1505130c7019fc3239@def4> <b9897bf89845aed7c76f8b685400444c$1@rslight.i2p> <8eb12a87505f8e551cbbfc7043ad2a24$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="3599"; 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 10:19 UTC

anonymous wrote:

> I can upload it somewhere, if you want me to. but you can also get
> everything from github (be sure to take the devel version, though). If I
> understand post.php right, the inserting of messages (from another node
> into the vichan instance) is solved by using http. You just hand over all
> the parameters in a get request and post.php imports the message. That
> would be very nice (don't understand how attachments wor with that, yet).
> So in this case you could post with wget or curl. Very nice.

I'll download it soon (the devel version) and take a look.

Sounds like a simple matter of maybe just one function to send via http, or
a simple script on the vichan end to pull articles via nntp, then just
forward them via http to vichan. spoolnews.php could be easily modified to
do that.

This would require no changes on the remote end, it doesn't even need to
care if it's vichan getting messages, or some other nntp server.

Retro Guy

Re: hey, what do know ? vichan supports nntp

<03feef1a9762e00c98c521184978c29d$1@z5bqfv5v75kxy7pj.onion>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Fri, 15 May 2020 20:07 UTC
Organization: def2
Message-ID: <03feef1a9762e00c98c521184978c29d$1@z5bqfv5v75kxy7pj.onion>
References: <154276e6dcdb76f64a817816fa16fe6f$1@rslight.i2p> <a7165d2fef4e3a1505130c7019fc3239@def4> <b9897bf89845aed7c76f8b685400444c$1@rslight.i2p> <8eb12a87505f8e551cbbfc7043ad2a24$1@z5bqfv5v75kxy7pj.onion> <144d619b4538c15b850d245a2196303e$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="10931"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$w4ndFV0eCydPfz0BS3XMteGocgvg3LKQXAftZHQB4kA.NgV1L2FnK
 by: anonymous - Fri, 15 May 2020 20:07 UTC

the big question for me is: push or pull ? I think pull makes more sense for this kind of deployment, it will have a higher latency, but be more reliable and not require any changes on any existing node (or newsserver).
so the installation instructions would be something like:
-get vichan to run
-get the rslight nntp server and spoolnews, and install them on the same machine
-set up a cronjob to update
-patch post.php (or replace it with some patched version)

that sound really nice.

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: hey, what do know ? vichan supports nntp

<4d8c8c1eecefe59c0b27e5a09370a4b1@def4>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Message-ID: <4d8c8c1eecefe59c0b27e5a09370a4b1@def4>
Subject: Re: hey, what do know ? vichan supports nntp
Date: Fri, 15 May 2020 22:52:31+0000
Organization: def5
In-Reply-To: <03feef1a9762e00c98c521184978c29d$1@z5bqfv5v75kxy7pj.onion>
References: <03feef1a9762e00c98c521184978c29d$1@z5bqfv5v75kxy7pj.onion>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Fri, 15 May 2020 22:52 UTC

if i enter MODE READER on the rslight nntp server, it says:
200 Rocksolid Light NNRP Server ready (no posting)
seems like posting in this mode does not work ?

Posted on def4

Re: hey, what do you know: vichan supports nntp

<e1cece3cd885d6d6e2fae84d9cf1d639@def4>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Message-ID: <e1cece3cd885d6d6e2fae84d9cf1d639@def4>
Subject: Re: hey, what do you know: vichan supports nntp
Date: Fri, 15 May 2020 23:42:38+0000
Organization: def5
In-Reply-To: <4d8c8c1eecefe59c0b27e5a09370a4b1@def4>
References: <4d8c8c1eecefe59c0b27e5a09370a4b1@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Fri, 15 May 2020 23:42 UTC

fputs($s,"AUTHINFO USER $server_auth_user
");
$weg=line_read($s);
fputs($s,"AUTHINFO PASS $server_auth_pass
");
$weg=line_read($s);
if (substr($weg,0,3) != "281" {
AUTH FAILED
can't do stuff...
} else {
IT DIDN"T FAIL, YAY!
do stuff...
}

And I guess the "do stuff" would be some variant of message_post and message_post_with_attachment from /lib/post.inc.php. not sure it is better to just put that code into the vichan function, or to call some function in the rslight framework. i guess the latter, this way we can do minimal changes on the vichan code.
actually, the way this is done in vi might be superior, because the whole message is already composed and then sent in one go (instead of composing and sending the individual pieces).
now it gets a bit tricky, i have to read up a bit on nntp before i can continue.

cheers

trw

Posted on def4

Re: hey, what do know ? vichan supports nntp

<420a05414ef9458643668937286dd008$1@rslight.i2p>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Fri, 15 May 2020 15:40:17 -0700
Organization: Rocksolid
Lines: 11
Message-ID: <420a05414ef9458643668937286dd008$1@rslight.i2p>
References: <03feef1a9762e00c98c521184978c29d$1@z5bqfv5v75kxy7pj.onion> <4d8c8c1eecefe59c0b27e5a09370a4b1@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="29051"; 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 22:40 UTC

anon wrote:

>
> if i enter MODE READER on the rslight nntp server, it says:
> 200 Rocksolid Light NNRP Server ready (no posting)
> seems like posting in this mode does not work ?

It doesn't actually change anything, it just sends the '200' reply.

You can post once authenticated. Try the same commands with an inn server
and you should see almost exactly the same response.

Re: hey, what do you know: vichan supports nntp

<1df84088c53e8cd94c39faee678d0046$1@rslight.i2p>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do you know: vichan supports nntp
Date: Fri, 15 May 2020 15:48:59 -0700
Organization: Rocksolid
Lines: 69
Message-ID: <1df84088c53e8cd94c39faee678d0046$1@rslight.i2p>
References: <4d8c8c1eecefe59c0b27e5a09370a4b1@def4> <e1cece3cd885d6d6e2fae84d9cf1d639@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="29482"; 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 22:48 UTC

anon wrote:

>
> fputs($s,"AUTHINFO USER $server_auth_user
> ");
> $weg=line_read($s);
> fputs($s,"AUTHINFO PASS $server_auth_pass
> ");
> $weg=line_read($s);
> if (substr($weg,0,3) != "281" {
> AUTH FAILED
> can't do stuff...
> } else {
> IT DIDN"T FAIL, YAY!
> do stuff...
> }
>
> And I guess the "do stuff" would be some variant of message_post and
> message_post_with_attachment from /lib/post.inc.php. not sure it is better
> to just put that code into the vichan function, or to call some function
> in the rslight framework. i guess the latter, this way we can do minimal
> changes on the vichan code. actually, the way this is done in vi might be
> superior, because the whole message is already composed and then sent in
> one go (instead of composing and sending the individual pieces). now it
> gets a bit tricky, i have to read up a bit on nntp before i can continue.

Yes, rslight builds the message. I wouldn't use message_post with vichan,
it's not necessary. If the message is already built, it's easy to post
straight to the nntp server. See the 'post_articles' function in send.php.
It just sends messages sitting in a folder but as long as it has a message
it's a simple matter to send it:

if(!is_file($outgoing_dir.$message)) {
continue;
}
echo "Sending: ".$outgoing_dir.$message."\r\n";
fputs($ns, "MODE READER\r\n");
$response = line_read($ns);
if (strcmp(substr($response,0,3),"200") != 0) {
file_put_contents($logfile, "\n".format_log_date()." ".
$config_name." Unexpected response to MODE command: ".$respon
se, FILE_APPEND);
return $response;
}
fputs($ns, "POST\r\n");
$response = line_read($ns);
if (strcmp(substr($response,0,3),"340") != 0) {
file_put_contents($logfile, "\n".format_log_date()." ".$config_name."
Unexpected response to POST command: ".$response
, FILE_APPEND);
return $response;
}
$message_fp = fopen($outgoing_dir.$message, "rb");
while (($msgline = fgets($message_fp, 4096)) !== false) {
fputs($ns, $msgline);
}
fputs($ns, ".\r\n");
fclose($message_fp);
$response = line_read($ns);
if (strcmp(substr($response,0,3),"240") == 0) {
unlink($outgoing_dir.$message);
file_put_contents($logfile, "\n".format_log_date()." ".$config_name."
Posted: ".$message.": ".$response, FILE_APPEND);
} else {
file_put_contents($logfile, "\n".format_log_date()." ".$config_name."
Failed to POST: ".$message.": ".$response, FILE_
APPEND);
continue;
}

Re: hey, what do you know: vichan supports nntp

<76700fca6e0a633662cda718febde860@def4>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Message-ID: <76700fca6e0a633662cda718febde860@def4>
Subject: Re: hey, what do you know: vichan supports nntp
Date: Sat, 16 May 2020 00:13:26+0000
Organization: def5
In-Reply-To: <e1cece3cd885d6d6e2fae84d9cf1d639@def4>
References: <e1cece3cd885d6d6e2fae84d9cf1d639@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Sat, 16 May 2020 00:13 UTC

>See the 'post_articles' function in send.php.

I don't have any send.php, ok, strike that, i found it.

why do need to put the scripts in /etc/rslight/ ? (rant over).

i guess in your example there would have to be some auth before ? and then you would need to import a whole bunch of libs again to do it in the rslight way ? or directly like you have written before.
maybe the easiest way is the best here: just drop the message in the spool, and let rslight take care of the rest ?

Posted on def4

Re: hey, what do you know: vichan supports nntp

<bed98f9658f222c30bf6c8342129ad45$1@rslight.i2p>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do you know: vichan supports nntp
Date: Fri, 15 May 2020 16:32:52 -0700
Organization: Rocksolid
Lines: 24
Message-ID: <bed98f9658f222c30bf6c8342129ad45$1@rslight.i2p>
References: <e1cece3cd885d6d6e2fae84d9cf1d639@def4> <76700fca6e0a633662cda718febde860@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="1436"; 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 23:32 UTC

anon wrote:

>
>>See the 'post_articles' function in send.php.
>
> I don't have any send.php, ok, strike that, i found it.
>
> why do need to put the scripts in /etc/rslight/ ? (rant over).

Well, they need to be somewhere :) That's just where I settled as I didn't
want yet another directory to be necessary. I don't want them accessible by
a browser also.

> i guess in your example there would have to be some auth before ? and then
> you would need to import a whole bunch of libs again to do it in the
> rslight way ? or directly like you have written before. maybe the easiest
> way is the best here: just drop the message in the spool, and let rslight
> take care of the rest ?

Yes, if you drop a properly formatted message in the spool
/var/spool/rslight/rocksolid/outgoing, it should be sent.

Since vichan makes a full message with headers, I don't think there is going
to be much difficulty to send it by several different methods.

Re: hey, what do know ? vichan supports nntp

<75cfd107a0bfe9a820be859f6cf8cf23$1@rslight.i2p>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sat, 16 May 2020 01:17:03 -0700
Organization: Rocksolid
Lines: 37
Message-ID: <75cfd107a0bfe9a820be859f6cf8cf23$1@rslight.i2p>
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$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="21508"; 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 - Sat, 16 May 2020 08:17 UTC

anonymous wrote:

> and here is where the hacking starts:
>
> function nntp_publish($msg, $id) {
> global $config;
> $server = $config["nntpchan"]["server"];
> $s = fsockopen("tcp://$server");
> fgets($s);
> fputs($s, "MODE STREAMrn");
> fgets($s);
> fputs($s, "TAKETHIS $idrn");
> fputs($s, $msg);
> fputs($s, "rn.rn");
> fgets($s);
> fputs($s, "QUITrn");
> fclose($s);
> }

It might help a lot to see exactly how vichan formats a post it wants to
send via nntp. Maybe if we temporarily change this function to:

function nntp_publish($msg, $id) {
$save_postfh = fopen("/tmp/vichanpost.txt", 'w');
fputs($save_postfh, $msg);
fclose($save_postfh);
}

then we have a saved copy of a post to look at. If we need to modify it to
post properly to inn, rslight etc., we can modify it right in this function
before sending it (for example, maybe we need to add a Message-ID or convert
line breaks, etc.) Maybe adding auth here might be a good place also.

It also looks like this function doesn't return anything so vichan has no
way of knowing if the posting was successful (looks like that anyway).

Retro Guy

Re: hey, what do know ? vichan supports nntp

<be376db2cbfa3b8a1d806963fe77b0ed$1@z5bqfv5v75kxy7pj.onion>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sat, 16 May 2020 16:46 UTC
Organization: def2
Message-ID: <be376db2cbfa3b8a1d806963fe77b0ed$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion> <75cfd107a0bfe9a820be859f6cf8cf23$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="19264"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$H9zL.OgoglT0thRKHJGY2e7Z1bXyMd./3SBZCEu28tIAn2QS0VrzO
 by: anonymous - Sat, 16 May 2020 16:46 UTC

this is a text message generated by vichan:

--------------------------------------------
Message-Id: <ts.6.3iy3w3@anon.com>
Newsgroups: rocksolid.nodes
Date: Sat, 16 May 2020 09:37:58 -0700
Subject: and the reply
From: Anonymous <poster@anon.com>
References: <ts.3.3xowan@anon.com>
Content-Type: text/plain; charset=UTF-8

reply

--------------------------------------------
That should do, doesn't look anything strange.
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: hey, what do know ? vichan supports nntp

<189aa9e174ef124885b70b788c103036$1@z5bqfv5v75kxy7pj.onion>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sat, 16 May 2020 17:07 UTC
Organization: def2
Message-ID: <189aa9e174ef124885b70b788c103036$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion> <75cfd107a0bfe9a820be859f6cf8cf23$1@rslight.i2p> <be376db2cbfa3b8a1d806963fe77b0ed$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="21527"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$v0bMWNPOIFnsHywFTlrW7e095JJwnkwxayVa6XsWIVujFR6zdn.5q
 by: anonymous - Sat, 16 May 2020 17:07 UTC

and this is a message with a picture attached:

Message-Id: <ts.7.geb57@anon.com>
Newsgroups: rocksolid.nodes
Date: Sat, 16 May 2020 09:55:47 -0700
Subject: and one with a picture
From: Anonymous <poster@anon.com>
References: <ts.3.3xowan@anon.com>
Content-Type: multipart/mixed; boundary=1e4369a05339eca512b691687b1adb267f4539a1
Mime-Version: 1.0

--1e4369a05339eca512b691687b1adb267f4539a1

(lots of b64 encoded chars here)-----------------------------------------------
AABAVgMAAAAAZDUAAAAAZDUAAAAAQFYDAAAAQFYDAAAAAGQ1AAAAAEBWAwAAAEBWAwAAAABkNQAAAABkNQAAAABAVgMAAAAAZDUAAAAAZDUAAAAAQFYDAAAAQFYDAAAAAGQ1AAAAAEBWAwAAAEBWAwAAAABkNQAAAABkNQAAAABAVgMAAAAAZDUAAAAAZDUAAAAAQFYDAAAAQFYDAAAAAGQ1AAAAAEBWAwAAAEBWAwAAAABkNQAAAABkNQAAAABAVgMAAAAAZDUAAAAAZDUAAAAAuF8kRPTf/svPlk5SjbX/UPyLpVOCPo6WAoDH1S9/9T4aAQA2blb7b//lZ//bf/rN0km+ItOPRn+9dIpCxdBSAAAAAA8eroECAAAAIKsBAAAAALIaAAAAALIaAAAAACCrAQAAACCrAQAAAACyGgAAAAAgqwEAAAAgqwEAAAAAshoAAAAAshoAAAAAIKsBAAAAALIaAAAAALIaAAAAACCrAQAAACCrAQAAAACyGgAAAAAgqwEAAAAgqwEAAAAAshoAAAAAshoAAAAAbBx/M/jtl3dMUo21/1C8b+mUoI+jpQAA4PGgUDE0Amw0b7zx69Onf3HHlHhW2/lMwx1z+4pMPxq9gG4NAACPJQxAwAZ0+vQvFsPZHXANFAAAAGDjQlYDAAAAQFYDAAAAAGQ1AAAAAGQ1AAAAAEBWAwAAAEBWAwAAAABkNQAAAABAVgMAAABAVgMAAAAAZDUAAAAAZDUAAAAAQFYDAAAAAGQ1AAAAAGQ1AAAAAEBWAwAAAEBWAwAAAABkNQAAAABAVgMAAABAVgMAAAAAZDUAAAAAZDUAAAAAQFYDAAAAAGQ1AAAAAGQ1AAAAAEBWAwAAAEBWAwAAAABkNQAAAABAVgMAAABAVgMAAAAAZDUAAAAAZDUAAAAAQFYDAAAAAGQ1AAAAAGQ1AAAAAEBWAwAAAEBWAwAAAABkNQAAAABAVgMAAABAVgMAAAAAZDUAAAAAZDUAAAAAQFYDAAAAAGQ1AAAAAGQ1AAAAAEBWAwAAAEBWAwAAAABkNQAAAABAVgMAAABAVgMAAAAAZDUAAAAAZDUAAAAAQFYDAAAAAGQ1AAAAAGQ1AAAAAEBWAwAAAEBWAwAAAABkNQAAAABAVgMAAABAVgMAAAAAZDUAAAAAZDUAAAAAQFYDAAAAAGQ1AAAAgI3s/wdQfeE
tK64S+QAAAABJRU5ErkJggg==
--1e4369a05339eca512b691687b1adb267f4539a1--

-------------------------------------------------------------------------------
looks good as well.

i will try and just put the files in the outspool.

cheers

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: hey, what do know ? vichan supports nntp

<6ec5bc71b514f58f97133ee8a54d21b8$1@z5bqfv5v75kxy7pj.onion>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sat, 16 May 2020 18:01 UTC
Organization: def2
Message-ID: <6ec5bc71b514f58f97133ee8a54d21b8$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion> <75cfd107a0bfe9a820be859f6cf8cf23$1@rslight.i2p> <be376db2cbfa3b8a1d806963fe77b0ed$1@z5bqfv5v75kxy7pj.onion> <189aa9e174ef124885b70b788c103036$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="28263"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$IFUUCbTimRCuIIJpj6bmCuuoLd8XPM57yTf1GRrIHzzUGSvmrFtvi
 by: anonymous - Sat, 16 May 2020 18:01 UTC

ok, just inserting those two into the outspool of rslight made them appear on rocksolid.shared.test (this was the defined group). works out of the box.

to do:

-threading is broken (guess the header is not correct by our standards)
-attachment is lost (guess the b64 way of doing things is not overall appreciated)

but wow, here i thought i needed to actually code something, and instead it just works and merely needs some tweaks. great.

btw, i can see now why the software was appreciated so widely, it is just done very nicely, lots of features and still easy to use (and being able to see and understand what is under the hood). one of the nicer features for developmnt is the debug output to the webserver. just very convenient.

this is gonna be great.

cheers

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: hey, what do know ? vichan supports nntp

<f7d56637d486a71951cd87ff55181941$1@z5bqfv5v75kxy7pj.onion>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sat, 16 May 2020 18:05 UTC
Organization: def2
Message-ID: <f7d56637d486a71951cd87ff55181941$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion> <75cfd107a0bfe9a820be859f6cf8cf23$1@rslight.i2p> <be376db2cbfa3b8a1d806963fe77b0ed$1@z5bqfv5v75kxy7pj.onion> <189aa9e174ef124885b70b788c103036$1@z5bqfv5v75kxy7pj.onion> <6ec5bc71b514f58f97133ee8a54d21b8$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="28950"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$CLlJ7dh/lJFEi.oHRLjTAeSeoGHzI2CAu3yfb.ov0hY2Z1FQtO83m
 by: anonymous - Sat, 16 May 2020 18:05 UTC

>-attachment is lost (guess the b64 way of doing things is not overall appreciated)

actually, the attached pic displays on rslight, but the name is lost. bbs and ff cannot apparently not read it correctly and don't recognize that there is an attachment.
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: hey, what do know ? vichan supports nntp

<ae192c4892344f1c81d9158e2c909933$1@z5bqfv5v75kxy7pj.onion>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sat, 16 May 2020 19:26 UTC
Organization: def2
Message-ID: <ae192c4892344f1c81d9158e2c909933$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion> <75cfd107a0bfe9a820be859f6cf8cf23$1@rslight.i2p> <be376db2cbfa3b8a1d806963fe77b0ed$1@z5bqfv5v75kxy7pj.onion> <189aa9e174ef124885b70b788c103036$1@z5bqfv5v75kxy7pj.onion> <6ec5bc71b514f58f97133ee8a54d21b8$1@z5bqfv5v75kxy7pj.onion> <f7d56637d486a71951cd87ff55181941$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="6171"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$zQ90dJ0zLbcdQ06ZK2rHrOuwcuI/EO3jjiP4LwvOg/ubqpAhQ0uH2
 by: anonymous - Sat, 16 May 2020 19:26 UTC

ok, and threading works as well, but the start of the tread must be present for it to work, as all messages in the thread refer to it (not to each other).

looks really good. now the other way round.

cheers

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: hey, what do know ? vichan supports nntp

<107cc61f0c42b36e4efad0880ff887d3$1@z5bqfv5v75kxy7pj.onion>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sat, 16 May 2020 20:25 UTC
Organization: def2
Message-ID: <107cc61f0c42b36e4efad0880ff887d3$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion> <75cfd107a0bfe9a820be859f6cf8cf23$1@rslight.i2p> <be376db2cbfa3b8a1d806963fe77b0ed$1@z5bqfv5v75kxy7pj.onion> <189aa9e174ef124885b70b788c103036$1@z5bqfv5v75kxy7pj.onion> <6ec5bc71b514f58f97133ee8a54d21b8$1@z5bqfv5v75kxy7pj.onion> <f7d56637d486a71951cd87ff55181941$1@z5bqfv5v75kxy7pj.onion> <ae192c4892344f1c81d9158e2c909933$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="13714"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$03FH0NaaEwVKSwOYQ3iy1ONvw/svecPURMwkHnNmLLwNJSU6nyJgO
 by: anonymous - Sat, 16 May 2020 20:25 UTC

while this should be easy enough, it is not. they used a get request to sent over all the parameters for the message, including the body. and also the attachments.
to use a get request to post information is somewhat bad style, but ok. but for the hell of it, i cannot figure out how they did binary uploads with a get request. guess i will use post instead of get, and insert the commands somewhere in spoolnews.
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: hey, what do know ? vichan supports nntp

<a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion>

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sat, 16 May 2020 20:47 UTC
Organization: def2
Message-ID: <a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion> <75cfd107a0bfe9a820be859f6cf8cf23$1@rslight.i2p> <be376db2cbfa3b8a1d806963fe77b0ed$1@z5bqfv5v75kxy7pj.onion> <189aa9e174ef124885b70b788c103036$1@z5bqfv5v75kxy7pj.onion> <6ec5bc71b514f58f97133ee8a54d21b8$1@z5bqfv5v75kxy7pj.onion> <f7d56637d486a71951cd87ff55181941$1@z5bqfv5v75kxy7pj.onion> <ae192c4892344f1c81d9158e2c909933$1@z5bqfv5v75kxy7pj.onion> <107cc61f0c42b36e4efad0880ff887d3$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="16418"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$SnZZl1P3Oi7pNO4mkaUq7.y0xx9Ur5smDy2oeVxiqiyT7yToRquoy
 by: anonymous - Sat, 16 May 2020 20:47 UTC

this will take me a while to figure out, the function in question is >800 lines.
i hoped to look up the code that nntpchan used, but to my surprise it is no longer on github,
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: hey, what do know ? vichan supports nntp

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

  copy mid

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

  copy link   Newsgroups: rocksolid.nodes
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sat, 16 May 2020 23:49 UTC
Organization: Rocksolid Light
Message-ID: <5b637a4aa971c47f3b244cc5bcc7f85d$1@news.novabbs.com>
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion> <75cfd107a0bfe9a820be859f6cf8cf23$1@rslight.i2p> <be376db2cbfa3b8a1d806963fe77b0ed$1@z5bqfv5v75kxy7pj.onion> <189aa9e174ef124885b70b788c103036$1@z5bqfv5v75kxy7pj.onion> <6ec5bc71b514f58f97133ee8a54d21b8$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="retrobbs1";
logging-data="3069"; 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$nuyZkwe256oy8yF7ie1K0uQ82eKXHxp6zxLsK4ek4Kt6Nu4ek0ySi
 by: Retro Guy - Sat, 16 May 2020 23:49 UTC

anonymous wrote:

> ok, just inserting those two into the outspool of rslight made them appear on rocksolid.shared.test (this was the defined group). works out of the box.

Nice! The format of the messages looks good, shouldn't be a problem.

> to do:

> -threading is broken (guess the header is not correct by our standards)

As I posted in r.s.test, it may be that vichan only wants one Reference.

> -attachment is lost (guess the b64 way of doing things is not overall appreciated)

I tried a header change in a test spool on the message, but still 'unnamed'. I'll look a bit more into this.

Retro Guy

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

Pages:1234
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor