Rocksolid Light

Welcome to novaBBS

register   nodelist   faq  

Your account also provides newsreader access to all groups at news.i2pn2.org port 119 or 563 (TLS)


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: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Sun, 17 May 2020 16:46 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: anonymous@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sun, 17 May 2020 16:46 UTC
Organization: def2
Message-ID: <c9e36818f5f202c43882d29e4e4f2454$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> <a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com>
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="7833"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$v/mkM.k4kmKmyL4KofcgGu4F5LGj7tCLlRxLq0yc60JgW9QFpZsHm
Xref: rslight2 rocksolid.nodes:15
Message-ID: <c9e36818f5f202c43882d29e4e4f2454$1@z5bqfv5v75kxy7pj.onion>

Is this post.php in vichan?

yes.

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).

yes, i concur.
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.

yes, i had that in mind too. it comes down to :
-parsing the message
-sending a post stream including the attachments (if any), probably using curl
-modying post.php on vichan to accept a message number from the post stream instead of creating it itself

doesn't reject the post (like stripping down to one Reference and one group

either that or we modify vichan. guess it is better to modify the message.


















--
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: Sun, 17 May 2020 18:27 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: anonymous@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sun, 17 May 2020 18:27 UTC
Organization: def2
Message-ID: <fbdddf8e34b0650369684bc23b548b2c$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> <a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com> <c9e36818f5f202c43882d29e4e4f2454$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="19612"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$WZRikllEFoi7M.JAfAsGVOHFS9K4k46wDciaDlGInVbPgoBPyq8gm
Xref: rslight2 rocksolid.nodes:16
Message-ID: <fbdddf8e34b0650369684bc23b548b2c$1@z5bqfv5v75kxy7pj.onion>
maybe i will go the full 9 yards and make a hacked version of vichans post.php, i am just not sure yet what it would mean to include and run it from rslights side. i guess part of the environment would be different...but i just like the idea to skip the webserver and operate directly on the php code of vichan (via the webserver it is easier, of course...). --
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: Sun, 17 May 2020 19:30 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: anonymous@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sun, 17 May 2020 19:30 UTC
Organization: def2
Message-ID: <ef7724d12ab89e972d55d14d240811f6$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> <a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com> <c9e36818f5f202c43882d29e4e4f2454$1@z5bqfv5v75kxy7pj.onion> <fbdddf8e34b0650369684bc23b548b2c$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="26923"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$KBDQYiKTcjCK9KvNtRYW/uazeJ1JGKWYi1fXRQ1K4UykcXqjAiuHa
Xref: rslight2 rocksolid.nodes:17
Message-ID: <ef7724d12ab89e972d55d14d240811f6$1@z5bqfv5v75kxy7pj.onion>
these are the parameters that post.php expects for importing messages:
$_GET['Newsgroups']
$_GET['Message-Id']
$_GET['References']
$_GET['Date'])
$_GET['Content-Type']
$_GET['Subject']
$_GET['From']
$_GET['X_Sage']
So no need to change anything for the message id, it already uses it.
Even for text only messages though the content is written raw in the request body, just as files, i guess. Seeing that both the files and the message are already present as local files, maybe i can redirect this.
--
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: Sun, 17 May 2020 20:40 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: anonymous@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sun, 17 May 2020 20:40 UTC
Organization: def2
Message-ID: <166c2a01a3e76ee4a0eac92cb5036f43$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> <a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com> <c9e36818f5f202c43882d29e4e4f2454$1@z5bqfv5v75kxy7pj.onion> <fbdddf8e34b0650369684bc23b548b2c$1@z5bqfv5v75kxy7pj.onion> <ef7724d12ab89e972d55d14d240811f6$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="2261"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$t2F1sNxLrMFiXhAHj1dw4uJx83moMOkOUHAHb7iBXlwcizjcalSIC
Xref: rslight2 rocksolid.nodes:18
Message-ID: <166c2a01a3e76ee4a0eac92cb5036f43$1@z5bqfv5v75kxy7pj.onion>
i guess the best would be to insert the function to post to vichan in spoolnews.php, function get_articles line 233 and following. all the data from the current message is nicely parsed at this point and can just be forwarded to vichan.
--
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: Mon, 18 May 2020 10:28 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Mon, 18 May 2020 10:28 UTC
Organization: Rocksolid Light
Message-ID: <38733f0b7fbd08ae5be319e3a0142eec$1@news.novabbs.com>
References: <d1faafa624cda10417914a17419af431@def4> <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> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com> <c9e36818f5f202c43882d29e4e4f2454$1@z5bqfv5v75kxy7pj.onion> <fbdddf8e34b0650369684bc23b548b2c$1@z5bqfv5v75kxy7pj.onion> <ef7724d12ab89e972d55d14d240811f6$1@z5bqfv5v75kxy7pj.onion> <166c2a01a3e76ee4a0eac92cb5036f43$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="29156"; 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$PIFSIfWGqCY8eK1sEZKFoe/J3k4UvPyt2eS0vTO27kWzsAUXzfeN6
Xref: rslight2 rocksolid.nodes:19
Message-ID: <38733f0b7fbd08ae5be319e3a0142eec$1@news.novabbs.com>
anonymous wrote:

i guess the best would be to insert the function to post to vichan in spoolnews.php, function get_articles line 233 and following. all the data from the current message is nicely parsed at this point and can just be forwarded to vichan.

These are the variables that contain the data for these requests in spoolnews.php (function get_articles) near where you specified:

$_GET['Newsgroups'] = $group
$_GET['Message-Id'] = $mid[1]
$_GET['References'] = $references (all of them)
$_GET['Date'] = $finddate[1] is a date string from the message
$article_date is a unix timestamp of same date
$_GET['Content-Type'] = not currently extracted in spoolnews, but can be
$_GET['Subject'] = $subject[1]
$_GET['From'] = $from[1]
$_GET['X_Sage'] = I'm guessing this header won't be in messages sent to vichan
unless from another vichan instance

Do you want to switch to a POST request? Since GET has length restrictions, it might be best, but requres changes in vichan (post.php)

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


Subject: Re: hey, what do know ? vichan supports nntp
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Mon, 18 May 2020 12:26 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: anonymous@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Mon, 18 May 2020 12:26 UTC
Organization: def2
Message-ID: <449cd5288e0197e06cddd4f43ac0665d$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <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> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com> <c9e36818f5f202c43882d29e4e4f2454$1@z5bqfv5v75kxy7pj.onion> <fbdddf8e34b0650369684bc23b548b2c$1@z5bqfv5v75kxy7pj.onion> <ef7724d12ab89e972d55d14d240811f6$1@z5bqfv5v75kxy7pj.onion> <166c2a01a3e76ee4a0eac92cb5036f43$1@z5bqfv5v75kxy7pj.onion> <38733f0b7fbd08ae5be319e3a0142eec$1@news.novabbs.com>
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="11004"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$3vn83bvB/RAOERpLLC/cxOiVJ13K0QtgKslgpUnGf3o34zYKwFk8O
Xref: rslight2 rocksolid.nodes:20
Message-ID: <449cd5288e0197e06cddd4f43ac0665d$1@z5bqfv5v75kxy7pj.onion>
thanks for digging that out.
x-sage is vichan specific and can be omitted.

i decided to try the GET method first, just to test quickly if this would work. after that i guess it must be post (unless i figure how to put the message and attachments in the GET request body).
--
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: Wed, 20 May 2020 23:16 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: anonymous@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Wed, 20 May 2020 23:16 UTC
Organization: def2
Message-ID: <08a44ea492d98d0db82c7375e1028267$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <189aa9e174ef124885b70b788c103036$1@z5bqfv5v75kxy7pj.onion> <6ec5bc71b514f58f97133ee8a54d21b8$1@z5bqfv5v75kxy7pj.onion> <f7d56637d486a71951cd87ff55181941$1@z5bqfv5v75kxy7pj.onion> <ae192c4892344f1c81d9158e2c909933$1@z5bqfv5v75kxy7pj.onion> <107cc61f0c42b36e4efad0880ff887d3$1@z5bqfv5v75kxy7pj.onion> <a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com> <c9e36818f5f202c43882d29e4e4f2454$1@z5bqfv5v75kxy7pj.onion> <fbdddf8e34b0650369684bc23b548b2c$1@z5bqfv5v75kxy7pj.onion> <ef7724d12ab89e972d55d14d240811f6$1@z5bqfv5v75kxy7pj.onion> <166c2a01a3e76ee4a0eac92cb5036f43$1@z5bqfv5v75kxy7pj.onion> <38733f0b7fbd08ae5be319e3a0142eec$1@news.novabbs.com> <449cd5288e0197e06cddd4f43ac0665d$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="20930"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$QhoK2g5RDgUrHzwlOr5Szef8h3Y47jRyiTU9jBk.oJoM.a5KBDr6C
Xref: rslight2 rocksolid.nodes:21
Message-ID: <08a44ea492d98d0db82c7375e1028267$1@z5bqfv5v75kxy7pj.onion>
ok, will skip the testing bullshit and get right to POST method. i could cut post.php to some 730 lines that are needed for this, out of which i need to modify some 13 lines to read POST instead of GET. Then will use something like this here:
https://www.codexworld.com/post-receive-json-data-using-php-curl/
to send over the data. so this means b64 encoding for the attachments.

i checked some sources now, and while it is technically feasible to put large texts and files into GET request bodies, it goes against all standards and almost everybody advised against it. never mind that a GET request per definition should have not have any impact on the servers state. so i really wonder why it was designed like that. maybe there is some sneaky scheme here that i just don't get :-).

i also dug out the old sources of nntp chan (which was a little tricky), and checked the way they do it. but to my surprise all i could find was the nntp way of exchanging messages (so between two nntp instances), but not the way that is implemented in vichan, using http.

well never mind, i will hack that into shape, i think. :-)
--
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: Thu, 21 May 2020 08:50 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Thu, 21 May 2020 08:50 UTC
Organization: Rocksolid Light
Message-ID: <27f4fd62255c768a08f9d1bdb7735345$1@news.novabbs.com>
References: <d1faafa624cda10417914a17419af431@def4> <189aa9e174ef124885b70b788c103036$1@z5bqfv5v75kxy7pj.onion> <6ec5bc71b514f58f97133ee8a54d21b8$1@z5bqfv5v75kxy7pj.onion> <f7d56637d486a71951cd87ff55181941$1@z5bqfv5v75kxy7pj.onion> <ae192c4892344f1c81d9158e2c909933$1@z5bqfv5v75kxy7pj.onion> <107cc61f0c42b36e4efad0880ff887d3$1@z5bqfv5v75kxy7pj.onion> <a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com> <c9e36818f5f202c43882d29e4e4f2454$1@z5bqfv5v75kxy7pj.onion> <fbdddf8e34b0650369684bc23b548b2c$1@z5bqfv5v75kxy7pj.onion> <ef7724d12ab89e972d55d14d240811f6$1@z5bqfv5v75kxy7pj.onion> <166c2a01a3e76ee4a0eac92cb5036f43$1@z5bqfv5v75kxy7pj.onion> <38733f0b7fbd08ae5be319e3a0142eec$1@news.novabbs.com> <449cd5288e0197e06cddd4f43ac0665d$1@z5bqfv5v75kxy7pj.onion> <08a44ea492d98d0db82c7375e1028267$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="17255"; 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$nO4E06z/VizftEqVlNsXh.S6KDYWTjpjToQvgNiFKi1rfOU.0vh4a
Xref: rslight2 rocksolid.nodes:22
Message-ID: <27f4fd62255c768a08f9d1bdb7735345$1@news.novabbs.com>
anonymous wrote:

i also dug out the old sources of nntp chan (which was a little tricky), and checked the way they do it. but to my surprise all i could find was the nntp way of exchanging messages (so between two nntp instances), but not the way that is implemented in vichan, using http.

If you plan to run vichan as dependent on the rslight nntp server, you would have a news server local that you could talk to. rslight would be the "other" nntp instance. Is that of any value?

This is how rslight works. Newsportal could only send/receive from a nntp server, so now it sends/receives from it's own built in nntp server, but the code for the interface is really just talking to any nntp server, I just happen to have placed one on the same machine. That's why you can run it without the built in server, and it doesn't know the difference (it's just way slower).

well never mind, i will hack that into shape, i think. :-)

Good luck! We're all counting on you! (movie quote, lol)

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


Subject: Re: hey, what do know ? vichan supports nntp
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Thu, 21 May 2020 19:04 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: anonymous@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Thu, 21 May 2020 19:04 UTC
Organization: def2
Message-ID: <d330ee88cc1cc9997b0391cddd84fdf2$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <f7d56637d486a71951cd87ff55181941$1@z5bqfv5v75kxy7pj.onion> <ae192c4892344f1c81d9158e2c909933$1@z5bqfv5v75kxy7pj.onion> <107cc61f0c42b36e4efad0880ff887d3$1@z5bqfv5v75kxy7pj.onion> <a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com> <c9e36818f5f202c43882d29e4e4f2454$1@z5bqfv5v75kxy7pj.onion> <fbdddf8e34b0650369684bc23b548b2c$1@z5bqfv5v75kxy7pj.onion> <ef7724d12ab89e972d55d14d240811f6$1@z5bqfv5v75kxy7pj.onion> <166c2a01a3e76ee4a0eac92cb5036f43$1@z5bqfv5v75kxy7pj.onion> <38733f0b7fbd08ae5be319e3a0142eec$1@news.novabbs.com> <449cd5288e0197e06cddd4f43ac0665d$1@z5bqfv5v75kxy7pj.onion> <08a44ea492d98d0db82c7375e1028267$1@z5bqfv5v75kxy7pj.onion> <27f4fd62255c768a08f9d1bdb7735345$1@news.novabbs.com>
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="32424"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$gCWJI/gdfh09cGFs48BixeJ1LO5ljTGsQRFhAcKAV3TeWeYo7q1Sq
Xref: rslight2 rocksolid.nodes:23
Message-ID: <d330ee88cc1cc9997b0391cddd84fdf2$1@z5bqfv5v75kxy7pj.onion>
ok, i did a proof of concept for posting, this works. in the end i skipped the webserver and stuff with curl, and just handed over the message as a file which the modified post.php parses (json encoded). so far so good. as long as both nntp server and vichan run on the same machine, this is a viable solution.

now for the files (so far it is text only).

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: Thu, 21 May 2020 19:20 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: anonymous@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Thu, 21 May 2020 19:20 UTC
Organization: def2
Message-ID: <9e98759350f09932564b5389d4f094f0$1@z5bqfv5v75kxy7pj.onion>
References: <d1faafa624cda10417914a17419af431@def4> <f7d56637d486a71951cd87ff55181941$1@z5bqfv5v75kxy7pj.onion> <ae192c4892344f1c81d9158e2c909933$1@z5bqfv5v75kxy7pj.onion> <107cc61f0c42b36e4efad0880ff887d3$1@z5bqfv5v75kxy7pj.onion> <a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com> <c9e36818f5f202c43882d29e4e4f2454$1@z5bqfv5v75kxy7pj.onion> <fbdddf8e34b0650369684bc23b548b2c$1@z5bqfv5v75kxy7pj.onion> <ef7724d12ab89e972d55d14d240811f6$1@z5bqfv5v75kxy7pj.onion> <166c2a01a3e76ee4a0eac92cb5036f43$1@z5bqfv5v75kxy7pj.onion> <38733f0b7fbd08ae5be319e3a0142eec$1@news.novabbs.com> <449cd5288e0197e06cddd4f43ac0665d$1@z5bqfv5v75kxy7pj.onion> <08a44ea492d98d0db82c7375e1028267$1@z5bqfv5v75kxy7pj.onion> <27f4fd62255c768a08f9d1bdb7735345$1@news.novabbs.com> <d330ee88cc1cc9997b0391cddd84fdf2$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="1967"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$tdJPZQLCmWhC9..sJO0zPe7V21jji65COS/yCzyT3B0XWOLwlN5QW
Xref: rslight2 rocksolid.nodes:24
Message-ID: <9e98759350f09932564b5389d4f094f0$1@z5bqfv5v75kxy7pj.onion>
If you plan to run vichan as dependent on the rslight nntp server,

Yes, that is the plan. And I would also keep rslight running on the tor side.


you would have a news server local that you could talk to. rslight would be the "other" nntp instance. Is that of any value?

Yes, absolutely. Right now the syncing from vichan to the news server works by just dropping the message in the outspool. Works well, and will most like stay that way.
The original way (for which I only have half the code from the vichan sources) worked based on ip addresses, which is not good in my case anyway.
The other way round (so from rslight to vichan) will work like I described in the message before, there is just no need for any complicated constructs if both applications are running on the same machine.

The nntp to nntp connection to update vichan is something I would not use if I have easier ways, and it seems I do (I leave it to rslight, and just read and write files).
So eventually this mod for vichan would be a plugin to an rslight installation.

And about forking: I guess that is little heavy for me, but I will upload my mods somewhere eventually (once this it is done well enough to see the light of day, so a little down the road).

cheers

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion


Pages:1234
rocksolid light 0.6.6
clearnet i2p tor