Rocksolid Light

Welcome to novaBBS

register   nodelist   faq  

Latest changes: 'View all headers' link for messages. 'Latest' poster and link available for each thread.


rocksolid / Rocksolid Nodes / Re: hey, what do know ? vichan supports nntp

SubjectAuthor
* Re: hey, what do know ? vichan supports nntpRetro Guy
`* Re: hey, what do know ? vichan supports nntpanonymous
 `* Re: hey, what do know ? vichan supports nntpanonymous
  `* Re: hey, what do know ? vichan supports nntpanonymous
   +* Re: hey, what do know ? vichan supports nntpanonymous
   |`* Re: hey, what do know ? vichan supports nntpanonymous
   | `* Re: hey, what do know ? vichan supports nntpanonymous
   |  `* Re: hey, what do know ? vichan supports nntpanonymous
   |   `* Re: hey, what do know ? vichan supports nntpRetro Guy
   |    `* Re: hey, what do know ? vichan supports nntpanonymous
   |     `* Re: hey, what do know ? vichan supports nntpanonymous
   |      `* Re: hey, what do know ? vichan supports nntpanonymous
   |       `* Re: hey, what do know ? vichan supports nntpanonymous
   |        `* Re: hey, what do know ? vichan supports nntpRetro Guy
   |         `* Re: hey, what do know ? vichan supports nntpanonymous
   |          `* Re: hey, what do know ? vichan supports nntpanonymous
   |           `* Re: hey, what do know ? vichan supports nntpRetro Guy
   |            `* Re: hey, what do know ? vichan supports nntpanonymous
   |             `* Re: hey, what do know ? vichan supports nntpanonymous
   |              `* Re: hey, what do know ? vichan supports nntpRetro Guy
   |               `* Re: hey, what do know ? vichan supports nntpanon
   |                `* Re: hey, what do know ? vichan supports nntpRetro Guy
   |                 `* Re: hey, what do know ? vichan supports nntpanonymous
   |                  `* Re: hey, what do know ? vichan supports nntpanonymous
   |                   `* Re: hey, what do know ? vichan supports nntpanonymous
   |                    `* Re: hey, what do know ? vichan supports nntpanonymous
   |                     `* Re: hey, what do know ? vichan supports nntpRetro Guy
   |                      `* Re: hey, what do know ? vichan supports nntpanonymous
   |                       +* Re: hey, what do know ? vichan supports nntpanonymous
   |                       |+- Re: hey, what do know ? vichan supports nntpanonymous
   |                       |`- Re: hey, what do know ? vichan supports nntpRetro Guy
   |                       `* Re: hey, what do know ? vichan supports nntpRetro Guy
   |                        `- Re: hey, what do know ? vichan supports nntpanonymous
   `- Re: hey, what do know ? vichan supports nntpRetro Guy

Pages:1234
Subject: Re: hey, what do know ? vichan supports nntp
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Organization: Rocksolid
Date: Sat, 16 May 2020 08:17 UTC
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
View all headers
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



Subject: Re: hey, what do know ? vichan supports nntp
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Sat, 16 May 2020 16:46 UTC
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
View all headers
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


Subject: Re: hey, what do know ? vichan supports nntp
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Sat, 16 May 2020 17:07 UTC
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
View all headers
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


Subject: Re: hey, what do know ? vichan supports nntp
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Sat, 16 May 2020 18:01 UTC
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
View all headers
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


Subject: Re: hey, what do know ? vichan supports nntp
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Sat, 16 May 2020 18:05 UTC
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
View all headers
-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


Subject: Re: hey, what do know ? vichan supports nntp
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Sat, 16 May 2020 19:26 UTC
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
View all headers
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


Subject: Re: hey, what do know ? vichan supports nntp
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Sat, 16 May 2020 20:25 UTC
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
View all headers
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


Subject: Re: hey, what do know ? vichan supports nntp
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Sat, 16 May 2020 20:47 UTC
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
View all headers
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


Subject: Re: hey, what do know ? vichan supports nntp
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Sat, 16 May 2020 23:49 UTC
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
View all headers
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


Subject: Re: hey, what do know ? vichan supports nntp
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Sun, 17 May 2020 00:04 UTC
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: Sun, 17 May 2020 00:04 UTC
Organization: Rocksolid Light
Message-ID: <21ccbadfaaabeff5c95cd3e7526fc37e$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> <f7d56637d486a71951cd87ff55181941$1@z5bqfv5v75kxy7pj.onion> <ae192c4892344f1c81d9158e2c909933$1@z5bqfv5v75kxy7pj.onion> <107cc61f0c42b36e4efad0880ff887d3$1@z5bqfv5v75kxy7pj.onion> <a5f9837619c6bbc8ae67608883c27443$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="4507"; 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$6k5NCypC9iz.yFql3rYh4..rIWJrHSbVtqNrQLm0SLoXrFFJYyMLK
View all headers
anonymous wrote:

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,

Is this post.php in vichan?

Looking at this file, I agree it's probably better to send it as vichan expects (via http, whether get or post), instead of trying to insert a complete message as this would require major modification to this file (not fun).

If we can write one function to take a complete article, and break it into what's needed to send it as a post request for vichan, spoolnews can call that function as it's writing to it's own spool. A simple:

if($isset($enable_vichan) && $enable_vichan === true) {
    vichan_post($article;
}

function vichan_post($article) {
    read $article and break it into pieces necessary to send to vichan;
    send to vichan;
}

We could also modify any headers as necessary here, before sending so vichan doesn't reject the post (like stripping down to one Reference and one Newsgroup if necessary).

Retro Guy

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


Pages:1234
rocksolid light 0.6.6
clearnet i2p tor