Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Bus error -- driver executed.


devel / rocksolid.programming / Re: vichan to do list

SubjectAuthor
* vichan to do listAnonymous
+- threadsAnonymous
+* subjectAnonymous
|`* subjectRetro Guy
| `* subjectRetro Guy
|  `* subjectRetro Guy
|   `- subjectanon
+* status updateAnonymous
|`* status updateRetro Guy
| `* status updateRetro Guy
|  +- status updateRetro Guy
|  `* status updateanon
|   +* status updateanon
|   |`* status updateRetro Guy
|   | `* status updateanon
|   |  `* status updateanon
|   |   `* status updateRetro Guy
|   |    +- status updateRetro Guy
|   |    `* status updateanon
|   |     `* status updateRetro Guy
|   |      `- status updateRetro Guy
|   `- status updateRetro Guy
+* vichan to do listanon
|+- vichan to do listRetro Guy
|`* vichan to do listanon
| `* vichan to do listRetro Guy
|  `* vichan to do listRetro Guy
|   `* vichan to do listRetro Guy
|    `* vichan to do listanonymous
|     `* vichan to do listRetro Guy
|      `* vichan to do listanon
|       `* vichan to do listRetro Guy
|        `* vichan to do listRetro Guy
|         `* vichan to do listRetro Guy
|          `* vichan to do listanon
|           +- vichan to do listanon
|           `* vichan to do listRetro Guy
|            `* vichan to do listRetro Guy
|             `* vichan to do listanonymous
|              `* vichan to do listanonymous
|               +- vichan to do listanonymous
|               `- vichan to do listRetro Guy
+* vichan to do listanon
|`* vichan to do listanon
| `- vichan to do listMarc SCHAEFER
+* vichan to do listanon
|`- vichan to do listRetro Guy
+* i just uploaded my code hereAnonymous
|`- i just uploaded my code hereRetro Guy
+- so far seems to workAnonymous
+- alright, multi server updateAnonymous
+* posting to new serverAnonymous
|`- posting to new serverRetro Guy
+- errorAnonymous
+* posting articlesAnonymous
|`- posting articlesRetro Guy
+* alright, i have it goingAnonymous
|`* alright, i have it goingRetro Guy
| `- alright, i have it goingRetro Guy
+* overchanAnonymous
|`- overchanRetro Guy
+- send to rslightAnonymous
+- btw, what about your vichan ?Anonymous
+* jsonAnonymous
|`- jsonMarc SCHAEFER
+- jsonAnonymous
+- date problemsAnonymous
+- ok, fixed the dateAnonymous
+* almost donetrw
|`- almost doneRetro Guy
+- almost doneAnonymous
`* latest codeAnonymous
 `* latest codeRetro Guy
  `* latest codeRetro Guy
   `* latest codeanon
    `* latest codeRetro Guy
     `* latest codeanon
      `* latest codeanon
       `* latest codeanon
        `* latest codeanon
         `- latest codereshmakavi

Pages:1234
Re: vichan to do list

<122d290ef8ebd1e4fedd20514f3aa4fc$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=567&group=rocksolid.programming#567

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Thu, 4 Jun 2020 10:52 UTC
Organization: Rocksolid Light
Message-ID: <122d290ef8ebd1e4fedd20514f3aa4fc$1@www.novabbs.com>
References: <da6b24f5d7c4dd19a8a2d16f33dff6f9@def4> <2e515d7a51163f1bba75ee8fc75c37f3@def4>
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="1790"; 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$dAyTTVtbd1gGFV3ZK5qs6eXC40NHMDsMbQB97LH.Mtw8.VrYHFaXS
 by: Retro Guy - Thu, 4 Jun 2020 10:52 UTC

anon wrote:

>>cm6lpdymfvvndq3wxpu676m7wd2cjimhy7axdlebdejbv7uk3hcq.b32.i2p

>>200 Rocksolid Light NNTP Server ready (no posting)
>>group rocksolid.shared.test
>>211 170 1 170 rocksolid.shared.test
>>vichan 90

> this gives me syntax error. but i appreciate this:

>>help
>>100 Sorry, can't help

> lol

Oh, I removed the VICHAN command from the nntp server after you mentioned you didn't want to use different commands. I can put it back if you like.

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

Re: vichan to do list

<06c8da20301c4019b4bdd9af4afd084e$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=568&group=rocksolid.programming#568

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Thu, 4 Jun 2020 10:57 UTC
Organization: Rocksolid Light
Message-ID: <06c8da20301c4019b4bdd9af4afd084e$1@www.novabbs.com>
References: <da6b24f5d7c4dd19a8a2d16f33dff6f9@def4> <2e515d7a51163f1bba75ee8fc75c37f3@def4> <122d290ef8ebd1e4fedd20514f3aa4fc$1@www.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="retrobbs1";
logging-data="2385"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Spam-Level: *
X-Rslight-Site: $2y$10$VlCvLB0p3iQu1kWL7KFAYua937727xym8wBhekEGKpQ9VcwuLf9Ui
 by: Retro Guy - Thu, 4 Jun 2020 10:57 UTC

Retro Guy wrote:

> anon wrote:

>>>cm6lpdymfvvndq3wxpu676m7wd2cjimhy7axdlebdejbv7uk3hcq.b32.i2p

>>>200 Rocksolid Light NNTP Server ready (no posting)
>>>group rocksolid.shared.test
>>>211 170 1 170 rocksolid.shared.test
>>>vichan 90

>> this gives me syntax error. but i appreciate this:

>>>help
>>>100 Sorry, can't help

>> lol

> Oh, I removed the VICHAN command from the nntp server after you mentioned you didn't want to use different commands. I can put it back if you like.

Just added it back if you would like to check it out:

200 Rocksolid Light NNTP Server ready (no posting)
group rocksolid.shared.test
211 176 1 176 rocksolid.shared.test
vichan 90
O:11:"messageType":2:{s:6:"header";O:10:"headerType":26:{s:6:"number";N;s:2:"id";s:24:"<ts.338.39ms37@anon.com>";s:4:"from";s:15:"poster@anon.com";s:4:"name";s:9:"Anonymous";s:7:"subject";s:3:"yes";s:10:"newsgroups";s:21:"rocksolid.shared.test";s:8:"followup";N;s:4:"date";i:1590584048;s:11:"date_thread";N;s:12:"organization";s:16:"i2pn2 (i2pn.org)";s:10:"xnoarchive";N;s:10:"references";a:1:{i:0;s:59:"<635faa159efe9999f6f2b469d70207e6$1@z5bqfv5v75kxy7pj.onion>";}s:13:"bestreference";N;s:25:"content_transfer_encoding";s:4:"8bit";s:12:"mime_version";N;s:12:"content_type";a:1:{i:0;s:10:"text/plain";}s:20:"content_type_charset";a:1:{i:0;s:5:"utf-8";}s:17:"content_type_name";a:1:{i:0;s:7:"unnamed";}s:21:"content_type_boundary";N;s:19:"content_type_format";a:1:{i:0;s:5:"fixed";}s:7:"answers";N;s:8:"isAnswer";b:0;s:8:"username";s:6:"poster";s:10:"user_agent";N;s:7:"isReply";N;s:10:"threadsize";N;}s:4:"body";a:1:{i:0;s:18:"all still working
";}}

Retro Guy

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

Re: vichan to do list

<ed10204ebad19e577282c704b398b6c6$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=569&group=rocksolid.programming#569

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Thu, 4 Jun 2020 11:02 UTC
Organization: Rocksolid Light
Message-ID: <ed10204ebad19e577282c704b398b6c6$1@www.novabbs.com>
References: <da6b24f5d7c4dd19a8a2d16f33dff6f9@def4> <2e515d7a51163f1bba75ee8fc75c37f3@def4> <122d290ef8ebd1e4fedd20514f3aa4fc$1@www.novabbs.com> <06c8da20301c4019b4bdd9af4afd084e$1@www.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="retrobbs1";
logging-data="2773"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Spam-Level: *
X-Rslight-Site: $2y$10$MAMFziIHekGFL3vhIoLTIO9FMTnJvFgEt.wStXJ8SEiLH91R.R5Xu
 by: Retro Guy - Thu, 4 Jun 2020 11:02 UTC

Retro Guy wrote:

> Retro Guy wrote:

>> anon wrote:

>>>>cm6lpdymfvvndq3wxpu676m7wd2cjimhy7axdlebdejbv7uk3hcq.b32.i2p

>>>>200 Rocksolid Light NNTP Server ready (no posting)
>>>>group rocksolid.shared.test
>>>>211 170 1 170 rocksolid.shared.test
>>>>vichan 90

>>> this gives me syntax error. but i appreciate this:

>>>>help
>>>>100 Sorry, can't help

>>> lol

>> Oh, I removed the VICHAN command from the nntp server after you mentioned you didn't want to use different commands. I can put it back if you like.

> Just added it back if you would like to check it out:

> 200 Rocksolid Light NNTP Server ready (no posting)
> group rocksolid.shared.test
> 211 176 1 176 rocksolid.shared.test
> vichan 90
> O:11:"messageType":2:{s:6:"header";O:10:"headerType":26:{s:6:"number";N;s:2:"id";s:24:"<ts.338.39ms37@anon.com>";s:4:"from";s:15:"poster@anon.com";s:4:"name";s:9:"Anonymous";s:7:"subject";s:3:"yes";s:10:"newsgroups";s:21:"rocksolid.shared.test";s:8:"followup";N;s:4:"date";i:1590584048;s:11:"date_thread";N;s:12:"organization";s:16:"i2pn2 (i2pn.org)";s:10:"xnoarchive";N;s:10:"references";a:1:{i:0;s:59:"<635faa159efe9999f6f2b469d70207e6$1@z5bqfv5v75kxy7pj.onion>";}s:13:"bestreference";N;s:25:"content_transfer_encoding";s:4:"8bit";s:12:"mime_version";N;s:12:"content_type";a:1:{i:0;s:10:"text/plain";}s:20:"content_type_charset";a:1:{i:0;s:5:"utf-8";}s:17:"content_type_name";a:1:{i:0;s:7:"unnamed";}s:21:"content_type_boundary";N;s:19:"content_type_format";a:1:{i:0;s:5:"fixed";}s:7:"answers";N;s:8:"isAnswer";b:0;s:8:"username";s:6:"poster";s:10:"user_agent";N;s:7:"isReply";N;s:10:"threadsize";N;}s:4:"body";a:1:{i:0;s:18:"all still working
> ";}}

> Retro Guy

This calls the vichan.php script I put up for download, and sends out the result in reply to the ViCHAN command. This command is not in the nntp.php I have on the download site. If you want it I'll send this copy also. It will require vichan.php to be in the scripts/ directory.

It's there now as vichan_nntp.php,txt. You'll need to rename it to 'nntp.php'.

Retro Guy

Retro Guy

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

Re: vichan to do list

<35db30288bbd4e1413b8b0eaa046e842@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=570&group=rocksolid.programming#570

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <35db30288bbd4e1413b8b0eaa046e842@def4>
Subject: Re: vichan to do list
Date: Thu, 04 Jun 2020 12:27:04+0000
Organization: def5
In-Reply-To: <code.100.gmepn@anon.com>
References: <code.100.gmepn@anon.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 4 Jun 2020 12:27 UTC

actually, the messages are mime encoded so vichan should be able to parse them if they are sent correctly. that would be the best way imo (to let vichan do the parsing).
if i could just read the code that was used to upload.

Posted on def4

Re: vichan to do list

<baaa76a54beb2e083eff23bc515a509e@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=571&group=rocksolid.programming#571

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!i2pn.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <baaa76a54beb2e083eff23bc515a509e@def4>
Subject: Re: vichan to do list
Date: Thu, 04 Jun 2020 13:22:25+0000
Organization: def5
In-Reply-To: <35db30288bbd4e1413b8b0eaa046e842@def4>
References: <35db30288bbd4e1413b8b0eaa046e842@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 4 Jun 2020 13:22 UTC

i will try that soon. meanwhile, here is what a request to vichans post.php looks like:

POST /post.php HTTP/1.1
Host: xxxxxxxxxxxxxxxx.onion
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://xxxxxxxxxxxxxxxx.onion/ts/index.html
Content-Type: multipart/form-data; boundary=---------------------------234374660515071969761262837861
Content-Length: 16935
Connection: keep-alive
Upgrade-Insecure-Requests: 1

-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="nke73c⛻lgoujxyd8⛆4asvr6wf92ih0t"

♦M+<Q4]#(X7J☳FLzh*q,⛻-x8'⚜☯AHac☀IS
-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="q"

M3Ce⚋tv+&hA `!>1j;q
-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="board"

ts
-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="t82o♁kq5970cs3♠dpujmbwvz"

66873
-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="page"

1
-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="lastname"

-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="subject"

testing some
-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="post"

Post
-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="url"

♊TK@!mr2=QM4J:).0I65ny,⛳oWa
-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="body"

here is some text
-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="text"

2nP.e0mZ_C{,)E?Q>d!1♭b@V|J7<
-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="file"; filename="woman-e1590571316950-380x214.jpg"
Content-Type: image/jpeg

<FF><D8><FF><E0>^@^PJFIF^@^A^A^A^@H^@H^@^@<FF><DB>^@C^@^H^F^F^G^F^E^H^G^G^G
^L^T^M^L^K^K^L^Y^R^S^O^T^]^Z^_^^^]^Z^\^\ $.' ",#^\^\
| |cut out the rest here
|

-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="password"

-----------------------------234374660515071969761262837861
Content-Disposition: form-data; name="hash"

9f9927bd6ca11c6b4379c17b9273cab58fadefb3
-----------------------------234374660515071969761262837861--

note all the fields that are disregarded later, just to catch spambots. :-)

if i can rewrite that with php and send it as raw http i think we might be able to use the native post.php of vichan (with some minor adaptions).
but for shortterm, i will try your script soon.

cheers

trw

Posted on def4

Re: vichan to do list

<3a7f86c13222580b23d797cffa6ad48b$1@z5bqfv5v75kxy7pj.onion>

 copy mid

https://novabbs.com/devel/article-flat.php?id=572&group=rocksolid.programming#572

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Thu, 4 Jun 2020 12:23 UTC
Organization: def2
Message-ID: <3a7f86c13222580b23d797cffa6ad48b$1@z5bqfv5v75kxy7pj.onion>
References: <da6b24f5d7c4dd19a8a2d16f33dff6f9@def4> <2e515d7a51163f1bba75ee8fc75c37f3@def4> <122d290ef8ebd1e4fedd20514f3aa4fc$1@www.novabbs.com> <06c8da20301c4019b4bdd9af4afd084e$1@www.novabbs.com> <ed10204ebad19e577282c704b398b6c6$1@www.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="12627"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$/DlPU2bboJKAMfJMe4uMpOsN7HdLAnPKC3PJ6KiDPwwgXqE8UGV76
 by: anonymous - Thu, 4 Jun 2020 12:23 UTC

i have downloaded, renamed the script and put the other script in /scripts, but
vichan 1
just gives me a blank line.
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: vichan to do list

<4342f451a0677ca814f59ec157e8efbb$1@news.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=573&group=rocksolid.programming#573

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Thu, 4 Jun 2020 13:04 UTC
Organization: Rocksolid Light
Message-ID: <4342f451a0677ca814f59ec157e8efbb$1@news.novabbs.com>
References: <da6b24f5d7c4dd19a8a2d16f33dff6f9@def4> <2e515d7a51163f1bba75ee8fc75c37f3@def4> <122d290ef8ebd1e4fedd20514f3aa4fc$1@www.novabbs.com> <06c8da20301c4019b4bdd9af4afd084e$1@www.novabbs.com> <ed10204ebad19e577282c704b398b6c6$1@www.novabbs.com> <3a7f86c13222580b23d797cffa6ad48b$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="17995"; 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$rLWRJZx4YqSYC9U203uK0uyvhAdRfQ/kS8vQXkpddDBt38Cv6ws5a
 by: Retro Guy - Thu, 4 Jun 2020 13:04 UTC

anonymous wrote:

> i have downloaded, renamed the script and put the other script in /scripts, but
> vichan 1
> just gives me a blank line.

I'm not at my main computer right now, so I can't look at it. The script, vichan.php, expects to be in /etc/rslight/scripts, and expects articles in /var/spool/rslight/articles

If you run ./vichan.php 90 rocksolid.shared.test, it should output the result.

If not, it's something simple, but I'm not where I can offer more info atm. It works fine on my end (I run it on my test system).

Feel free to try the VICHAN command again on the test server nntp server.

Retro Guy

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

Re: vichan to do list

<c947b368b55b23c02687c99f8c57f52c@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=574&group=rocksolid.programming#574

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <c947b368b55b23c02687c99f8c57f52c@def4>
Subject: Re: vichan to do list
Date: Thu, 04 Jun 2020 17:39:53+0000
Organization: def5
In-Reply-To: <4342f451a0677ca814f59ec157e8efbb$1@news.novabbs.com>
References: <4342f451a0677ca814f59ec157e8efbb$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 4 Jun 2020 17:39 UTC

>Feel free to try the VICHAN command again on the test server nntp server.

I could reach your server now, and tried it. It works well for articles with text only, for articles with attachments it returns nothing.

See this, for example:

vichan <ts.368.2r2bix@anon.com>

cheers

trw

Posted on def4

Re: vichan to do list

<4bce3cf6d4a636b2c7ffefeb348737ed@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=575&group=rocksolid.programming#575

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <4bce3cf6d4a636b2c7ffefeb348737ed@def4>
Subject: Re: vichan to do list
Date: Thu, 04 Jun 2020 20:32:28+0000
Organization: def5
In-Reply-To: <code.100.gmepn@anon.com>
References: <code.100.gmepn@anon.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 4 Jun 2020 20:32 UTC

the error is in line 97, the new function is called vichan_message_read. working now :-)

cheers

trw

Posted on def4

Re: vichan to do list

<83c614c799fb97d6970ffb30fa38ee1e$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=576&group=rocksolid.programming#576

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Thu, 4 Jun 2020 23:07 UTC
Organization: Rocksolid Light
Message-ID: <83c614c799fb97d6970ffb30fa38ee1e$1@www.novabbs.com>
References: <code.100.gmepn@anon.com> <4bce3cf6d4a636b2c7ffefeb348737ed@def4>
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="30204"; 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$o8i6iMsdTd0GU10UvaMpUeN7OQK5q0hDNqD5kyaHZWgVgPO77riDW
 by: Retro Guy - Thu, 4 Jun 2020 23:07 UTC

anon wrote:

> the error is in line 97, the new function is called vichan_message_read. working now :-)

Oops, forgot to change that, thanks!

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

Re: vichan to do list

<429ab95693912b81558524ae2cc7cff9$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=577&group=rocksolid.programming#577

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Thu, 4 Jun 2020 23:18 UTC
Organization: Rocksolid Light
Message-ID: <429ab95693912b81558524ae2cc7cff9$1@www.novabbs.com>
References: <4342f451a0677ca814f59ec157e8efbb$1@news.novabbs.com> <c947b368b55b23c02687c99f8c57f52c@def4>
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="31749"; 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$hUa41I5uk2dMqW172EOgQOaYsuj6dtZUDlYHrHhu5p5b4vq.ZDJOi
 by: Retro Guy - Thu, 4 Jun 2020 23:18 UTC

anon wrote:

>>Feel free to try the VICHAN command again on the test server nntp server.

> I could reach your server now, and tried it. It works well for articles with text only, for articles with attachments it returns nothing.

> See this, for example:

> vichan <ts.368.2r2bix@anon.com>

> cheers

> trw

It also currently only accepts an article number, not message-id. I didn't put a lot of effort into implementing the command until we decide whether we want it. If so, adding message-id is easy, I already do it for the article command.

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

Re: vichan to do list

<933b89efd802114bbb8a457bc013d706$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=578&group=rocksolid.programming#578

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Fri, 5 Jun 2020 06:14 UTC
Organization: Rocksolid Light
Message-ID: <933b89efd802114bbb8a457bc013d706$1@www.novabbs.com>
References: <4342f451a0677ca814f59ec157e8efbb$1@news.novabbs.com> <c947b368b55b23c02687c99f8c57f52c@def4> <429ab95693912b81558524ae2cc7cff9$1@www.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="retrobbs1";
logging-data="13630"; 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$3ar7dT7SSW/BaPbAZcjYterBmYtNMrmXKVIuLDRWC4oIUqggU27MW
 by: Retro Guy - Fri, 5 Jun 2020 06:14 UTC

Retro Guy wrote:

> anon wrote:

>>>Feel free to try the VICHAN command again on the test server nntp server.

>> I could reach your server now, and tried it. It works well for articles with text only, for articles with attachments it returns nothing.

>> See this, for example:

>> vichan <ts.368.2r2bix@anon.com>

>> cheers

>> trw

> It also currently only accepts an article number, not message-id. I didn't put a lot of effort into implementing the command until we decide whether we want it. If so, adding message-id is easy, I already do it for the article command.

I have added ability to pull article by message-id for each command:
ARTICLE
BODY
HEAD
VICHAN

Also, I have applied your fix to vichan.php, thanks!

This is running on the test site right now.

Retro Guy

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

Re: vichan to do list

<8281c98ee1ac5b5ceabed364fcd4d3e8$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=579&group=rocksolid.programming#579

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Fri, 5 Jun 2020 06:20 UTC
Organization: Rocksolid Light
Message-ID: <8281c98ee1ac5b5ceabed364fcd4d3e8$1@www.novabbs.com>
References: <4342f451a0677ca814f59ec157e8efbb$1@news.novabbs.com> <c947b368b55b23c02687c99f8c57f52c@def4> <429ab95693912b81558524ae2cc7cff9$1@www.novabbs.com> <933b89efd802114bbb8a457bc013d706$1@www.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="retrobbs1";
logging-data="14217"; 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$rhQUEIVfS56YBXWqyYa2KuvHcDxjenNJSLc5itRuTYskmRO0QQehC
 by: Retro Guy - Fri, 5 Jun 2020 06:20 UTC

Retro Guy wrote:

> Retro Guy wrote:

>> anon wrote:

>>>>Feel free to try the VICHAN command again on the test server nntp server.

>>> I could reach your server now, and tried it. It works well for articles with text only, for articles with attachments it returns nothing.

>>> See this, for example:

>>> vichan <ts.368.2r2bix@anon.com>

>>> cheers

>>> trw

>> It also currently only accepts an article number, not message-id. I didn't put a lot of effort into implementing the command until we decide whether we want it. If so, adding message-id is easy, I already do it for the article command.

> I have added ability to pull article by message-id for each command:
> ARTICLE
> BODY
> HEAD
> VICHAN

> Also, I have applied your fix to vichan.php, thanks!

> This is running on the test site right now.

I've just uploaded nntp.php and vichan.php to the download site. I moved this stuff into a subdir '/testing'.

vichan.php contains your fix.
nntp.php supports vichan, and search by message-id

Retro Guy

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

Re: vichan to do list

<18c64d125abf52e255b159d2e628c2d9@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=580&group=rocksolid.programming#580

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <18c64d125abf52e255b159d2e628c2d9@def4>
Subject: Re: vichan to do list
Date: Sat, 06 Jun 2020 01:01:12+0000
Organization: def5
In-Reply-To: <8281c98ee1ac5b5ceabed364fcd4d3e8$1@www.novabbs.com>
References: <8281c98ee1ac5b5ceabed364fcd4d3e8$1@www.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Sat, 6 Jun 2020 01:01 UTC

a little update:

the good part: i could integrate your code, and together with the other lib i could build a solution that works locally without interfering with rslight (to be confirmed, of course).
that could be made into a solution that runs also without a local newsserver if vichan_message_read could get the article from a news server instead of reading it from the spool.
Also, I managed now to give the articles directly to vichan, without writing it to disk first and I can also capture the reply and do something with it, like syncing again later in case of errors (not implemented yet). All this makes the syncing faster and more reliable.
On the bad side, I have apparently trashed my vichan installation with all the hacking and trying i did, and I can't figure out what I broke exactly. So this will take some more time, until I know all the ins and outs of this software.

cheers

trw

Posted on def4

Re: vichan to do list

<c13b806b90243bc31f5103e158a8ee86@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=581&group=rocksolid.programming#581

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <c13b806b90243bc31f5103e158a8ee86@def4>
Subject: Re: vichan to do list
Date: Sat, 06 Jun 2020 01:30:13+0000
Organization: def5
In-Reply-To: <18c64d125abf52e255b159d2e628c2d9@def4>
References: <18c64d125abf52e255b159d2e628c2d9@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Sat, 6 Jun 2020 01:30 UTC

>On the bad side, I have apparently trashed my vichan

note to self: rtfm. was setting an option to true where a regex was expected.

Posted on def4

Re: vichan to do list

<586b7b48f82b55797ed2ce005c0e4ae2$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=582&group=rocksolid.programming#582

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Sat, 6 Jun 2020 07:31 UTC
Organization: Rocksolid Light
Message-ID: <586b7b48f82b55797ed2ce005c0e4ae2$1@www.novabbs.com>
References: <8281c98ee1ac5b5ceabed364fcd4d3e8$1@www.novabbs.com> <18c64d125abf52e255b159d2e628c2d9@def4>
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="5964"; 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$7CeGVeJ3Ja2iZtnxtQ.hb.mCYiRqutvtpSblnJZnpr44uq7xBSLCq
 by: Retro Guy - Sat, 6 Jun 2020 07:31 UTC

anon wrote:

> a little update:

> the good part: i could integrate your code, and together with the other lib i could build a solution that works locally without interfering with rslight (to be confirmed, of course).
> that could be made into a solution that runs also without a local newsserver if vichan_message_read could get the article from a news server instead of reading it from the spool.

That can be done pretty easily. What I don't know is how do you know what article number you want to retrieve? Do you keep track, or just ask for the next article and if it doesn't exist, quit?

> Also, I managed now to give the articles directly to vichan, without writing it to disk first and I can also capture the reply and do something with it, like syncing again later in case of errors (not implemented yet). All this makes the syncing faster and more reliable.

Are you sending now through nntp commands, or still placing in rslight outgoing spool?

> On the bad side, I have apparently trashed my vichan installation with all the hacking and trying i did, and I can't figure out what I broke exactly. So this will take some more time, until I know all the ins and outs of this software.

Done that before :)

Retro Guy

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

Re: vichan to do list

<c8d80df6de1ed8f40fd17b6862664c79$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=583&group=rocksolid.programming#583

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Sat, 6 Jun 2020 07:57 UTC
Organization: Rocksolid Light
Message-ID: <c8d80df6de1ed8f40fd17b6862664c79$1@www.novabbs.com>
References: <8281c98ee1ac5b5ceabed364fcd4d3e8$1@www.novabbs.com> <18c64d125abf52e255b159d2e628c2d9@def4> <586b7b48f82b55797ed2ce005c0e4ae2$1@www.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="retrobbs1";
logging-data="8862"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Spam-Level: *
X-Rslight-Site: $2y$10$hsiAmjQBmFgQQZjnuYdXe.Hz6awnoeguvHJAzlEiI859u6UTHjGPG
 by: Retro Guy - Sat, 6 Jun 2020 07:57 UTC

Retro Guy wrote:

> anon wrote:

>> a little update:

>> the good part: i could integrate your code, and together with the other lib i could build a solution that works locally without interfering with rslight (to be confirmed, of course).
>> that could be made into a solution that runs also without a local newsserver if vichan_message_read could get the article from a news server instead of reading it from the spool.

> That can be done pretty easily. What I don't know is how do you know what article number you want to retrieve? Do you keep track, or just ask for the next article and if it doesn't exist, quit?

I changed vichan.php to use a news server instead of a spool. It seems to be working fine:

$ ./vichan.php 91 rocksolid.shared.test
O:11:"messageType":2:{s:6:"header";O:10:"headerType":27:{s:6:"number";N;s:2:"id";s:59:"<635faa159efe9999f6f2b469d70207e6$1@z5bqfv5v75kxy7pj.onion>";s:4:"from";s:18:"anonymous@anon.com";s:4:"name";s:9:"anonymous";s:7:"subject";s:34:"testing after upgrade to rslight d";s:10:"newsgroups";s:21:"rocksolid.shared.test";s:8:"followup";N;s:4:"date";i:1590583800;s:11:"date_thread";N;s:12:"organization";s:4:"def2";s:10:"xnoarchive";N;s:10:"references";N;s:13:"bestreference";N;s:25:"content_transfer_encoding";s:4:"8bit";s:12:"mime_version";N;s:12:"content_type";a:1:{i:0;s:10:"text/plain";}s:20:"content_type_charset";a:1:{i:0;s:5:"utf-8";}s:17:"content_type_name";a:1:{i:0;s:7:"unnamed";}s:21:"content_type_boundary";N;s:19:"content_type_format";a:1:{i:0;s:6:"flowed";}s:7:"answers";N;s:8:"isAnswer";b:0;s:8:"username";s:9:"anonymous";s:10:"user_agent";s:45:"Rocksolid Light (news.novabbs.com/getrslight)";s:7:"isReply";N;s:10:"threadsize";N;s:12:"rslight_site";s:60:"$2y$10$iwF363fhTVNz2W/yh0h6kO99Zid/znmcJHaaT5rXt47tlJppHDmo2";}s:4:"body";a:1:{i:0;s:49:"well ?
--
Posted on def2
z5bqfv5v75kxy7pj.onion
";}}

This requests article 91 of rocksolid.shared.test. vichan.php then contacts a nntp server and requests the article, then converts it to output vichan can use. It does not look to a spool at all, so no local spool necessary.

I'll upload it now as vichan_nntp.php to the download directory. You will need to configure the server name and other info in the file before it will work (so it can contact the server).

Retro Guy

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

Re: vichan to do list

<d20918e70efdf4bd5ccf1ead31e29384$1@z5bqfv5v75kxy7pj.onion>

 copy mid

https://novabbs.com/devel/article-flat.php?id=584&group=rocksolid.programming#584

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Sat, 6 Jun 2020 12:24 UTC
Organization: def2
Message-ID: <d20918e70efdf4bd5ccf1ead31e29384$1@z5bqfv5v75kxy7pj.onion>
References: <8281c98ee1ac5b5ceabed364fcd4d3e8$1@www.novabbs.com> <18c64d125abf52e255b159d2e628c2d9@def4> <586b7b48f82b55797ed2ce005c0e4ae2$1@www.novabbs.com> <c8d80df6de1ed8f40fd17b6862664c79$1@www.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="7013"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$QuTLZd5I3g3xOkH42JTnrepe6yVpqUghLpbr19xTSdUqDcSzhuqhu
 by: anonymous - Sat, 6 Jun 2020 12:24 UTC

>That can be done pretty easily. What I don't know is how do you know what article number you want to retrieve? Do you keep track, or just ask for the next article and if it doesn't exist, quit?

I ask the server for the group listings and then just walk through all the articles that don't exist already in my local index file (so yes, i keep track of what i received on my end).

>Are you sending now through nntp commands, or still placing in rslight outgoing spool?

Talking about outgoing (so from vichan to rslight), i still use the spool. this is the next thing to change, though. after that change you can run vichan standalone and just connect to a remote news server.
In the text you were referring to I was talking about the opposite, getting articles into vichan. Before, I was just reading the oldest file in a defined directory, which was kind of lame. Now I have recoded the post routine and I post the articles directly (as a json object) to a php script that reads them from php://input and parses them (and then inserts them into vichan of course).
Doing this, you can also push articles from remote (so two instances of vichan could push directly messages to each other). Some work still to be done to achieve this, of course.
But I like the idea very much to have a way to cut out the middle man so to speak and sync messages directly via http, as it is much easier to setup and in some instances would also be faster (of course this cannot fully substitute syncing via news servers, because they are so much more reliable for this, but it could be a nice feature especially for new admins).

I will try out your new code now, and try to build something that I can share. If everything works as planned, it should be enough to add two scripts to an vichan installation to hook it up to our newsgroups.

cheers

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: vichan to do list

<c6a0d0a1f53e22955b82f0f5c39529e1$1@z5bqfv5v75kxy7pj.onion>

 copy mid

https://novabbs.com/devel/article-flat.php?id=585&group=rocksolid.programming#585

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Sat, 6 Jun 2020 12:36 UTC
Organization: def2
Message-ID: <c6a0d0a1f53e22955b82f0f5c39529e1$1@z5bqfv5v75kxy7pj.onion>
References: <8281c98ee1ac5b5ceabed364fcd4d3e8$1@www.novabbs.com> <18c64d125abf52e255b159d2e628c2d9@def4> <586b7b48f82b55797ed2ce005c0e4ae2$1@www.novabbs.com> <c8d80df6de1ed8f40fd17b6862664c79$1@www.novabbs.com> <d20918e70efdf4bd5ccf1ead31e29384$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="8247"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$aWh6tqKyBWNomyWDmf73KOV9NPGhGZPqdWBRUABbTQ.qYFP9ZNXXq
 by: anonymous - Sat, 6 Jun 2020 12:36 UTC

>vichan_nntp.php

it gives:

#!/usr/bin/php
b:0;

care to rename :-] ?

can't wait to try that, as it will also make it very easy to use several news servers for updating.

cheers

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion

Re: vichan to do list

<9166cace61fc86d0ac9ffab4184aa447$1@z5bqfv5v75kxy7pj.onion>

 copy mid

https://novabbs.com/devel/article-flat.php?id=586&group=rocksolid.programming#586

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Sat, 6 Jun 2020 15:03 UTC
Organization: def2
Message-ID: <9166cace61fc86d0ac9ffab4184aa447$1@z5bqfv5v75kxy7pj.onion>
References: <8281c98ee1ac5b5ceabed364fcd4d3e8$1@www.novabbs.com> <18c64d125abf52e255b159d2e628c2d9@def4> <586b7b48f82b55797ed2ce005c0e4ae2$1@www.novabbs.com> <c8d80df6de1ed8f40fd17b6862664c79$1@www.novabbs.com> <d20918e70efdf4bd5ccf1ead31e29384$1@z5bqfv5v75kxy7pj.onion> <c6a0d0a1f53e22955b82f0f5c39529e1$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="26693"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$4Myiqlrnlfot65L0gCY.ZeHBiTmIGzCvHPwHqzWSSMQBDdILg5K.i
 by: anonymous - Sat, 6 Jun 2020 15:03 UTC

meaning there is the executable (.php) in the download area, not the source (.txt).
--
Posted on def2
z5bqfv5v75kxy7pj.onion

i just uploaded my code here

<code.226.3lr0xx@anon.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=587&group=rocksolid.programming#587

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: pos...@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Subject: i just uploaded my code here
Date: Sat, 06 Jun 2020 14:23:38 -0700
Organization: i2pn2 (i2pn.org)
Message-ID: <code.226.3lr0xx@anon.com>
References: <code.100.gmepn@anon.com>
Content-Type: text/plain; charset=UTF-8
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="9145"; mail-complaints-to="usenet@i2pn2.org"
 by: Anonymous - Sat, 6 Jun 2020 21:23 UTC

-------------------------------------------------------------------------------------------------------------
Filenames: NNTP.php epost.php pull_articles.php vichan_mod.php
Download link:
http://ana5icnp3au4qy5i.onion/?n1jO6na7YLJ6eJivMjoZONkKnxu
-------------------------------------------------------------------------------------------------------------

A very early prototype really, just in case you would like to snoop through.

cheers

trw

--
Posted on def2.i2p

Re: vichan to do list

<0b1576f03172ababc800880c1f1e24ae$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=588&group=rocksolid.programming#588

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Sat, 6 Jun 2020 22:36 UTC
Organization: Rocksolid Light
Message-ID: <0b1576f03172ababc800880c1f1e24ae$1@www.novabbs.com>
References: <8281c98ee1ac5b5ceabed364fcd4d3e8$1@www.novabbs.com> <18c64d125abf52e255b159d2e628c2d9@def4> <586b7b48f82b55797ed2ce005c0e4ae2$1@www.novabbs.com> <c8d80df6de1ed8f40fd17b6862664c79$1@www.novabbs.com> <d20918e70efdf4bd5ccf1ead31e29384$1@z5bqfv5v75kxy7pj.onion> <c6a0d0a1f53e22955b82f0f5c39529e1$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="18257"; 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$/sD07H9r10hWs/uzNJeIWOD8WbuH8Rpyg932QSmv9Ama6maYNTL9m
 by: Retro Guy - Sat, 6 Jun 2020 22:36 UTC

anonymous wrote:

>>vichan_nntp.php

> it gives:

> #!/usr/bin/php
> b:0;

> care to rename :-] ?

> can't wait to try that, as it will also make it very easy to use several news servers for updating.

oops, sorry. It's changed now: vichan_nntp.php.txt

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

Re: i just uploaded my code here

<11174b96d41745760069555f2cfac1a9$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=589&group=rocksolid.programming#589

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: i just uploaded my code here
Date: Sun, 7 Jun 2020 06:02 UTC
Organization: Rocksolid Light
Message-ID: <11174b96d41745760069555f2cfac1a9$1@www.novabbs.com>
References: <code.100.gmepn@anon.com> <code.226.3lr0xx@anon.com>
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="28599"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Spam-Level: *
X-Rslight-Site: $2y$10$EmieRoNDOwJaUTnWhRWsA.ljeEMsOYT4xnqjPsZ4vZPmtEgbQdzuS
 by: Retro Guy - Sun, 7 Jun 2020 06:02 UTC

Anonymous wrote:

> -------------------------------------------------------------------------------------------------------------
> Filenames: NNTP.php epost.php pull_articles.php vichan_mod.php
> Download link:
> http://ana5icnp3au4qy5i.onion/?n1jO6na7YLJ6eJivMjoZONkKnxu
> -------------------------------------------------------------------------------------------------------------

> A very early prototype really, just in case you would like to snoop through.

Got it. Looks good, and I see where you are splicing in vichan_message_read.

If you use the new vichan file (vichan_nntp.php), you'll need to set:

$remote_server="127.0.0.1";
$remote_port="119";
$remote_auth_user="username";
$remote_auth_pass="password";

in the file. The vichan_message_read function is different only in that it pulls the article via nntp, not from the spool. There are additional functions in the script which it needs to accomplish this. The other existing functions are not changed.

After setting the values above, you should be able to call vichan_message_read exactly as you are now.

Retro Guy

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

so far seems to work

<code.229.13407h@anon.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=590&group=rocksolid.programming#590

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: pos...@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Subject: so far seems to work
Date: Sun, 07 Jun 2020 06:21:25 -0700
Organization: i2pn2 (i2pn.org)
Message-ID: <code.229.13407h@anon.com>
References: <code.100.gmepn@anon.com>
Content-Type: text/plain; charset=UTF-8
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="13450"; mail-complaints-to="usenet@i2pn2.org"
 by: Anonymous - Sun, 7 Jun 2020 13:21 UTC

i will make it so that the updates come from at least 3 different news servers, that should make it really fast and reliable and lower the load on each individual news server.
if i have relevant updates to my code, i will upload them to the location given earlier.
ideally, i think all code to pull the messages should reside in one file only, and maybe i can get rid of the NNTP.php lib as well, it should be possible to use yours for that.
next thing i will try is to actually use "send" over nntp to push messages to other servers instead of using the spool. when this is accomplished, vichan can run standalone.

cheers

trw

--
Posted on def2.i2p

alright, multi server update

<code.230.5vtp5@anon.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=591&group=rocksolid.programming#591

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: pos...@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Subject: alright, multi server update
Date: Sun, 07 Jun 2020 09:44:01 -0700
Organization: i2pn2 (i2pn.org)
Message-ID: <code.230.5vtp5@anon.com>
References: <code.100.gmepn@anon.com>
Content-Type: text/plain; charset=UTF-8
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="9180"; mail-complaints-to="usenet@i2pn2.org"
 by: Anonymous - Sun, 7 Jun 2020 16:44 UTC

so now i pull messages to vichan from

-my own inn2 server (def4)
-my own (local) rslight news server (def2)
-your inn2 server at dgqrm3...

i use one common index of threads per newsgroup in order not to retransmit anything, and separate files for all the watermarks (per group and server).

so far seems to be working fine. the server that is used for the current update run is chosen randomly.

of course this setup is still wasteful vs pushing the messages, especially in the case of your inn2 server (tell me if the load should be too heavy, than i have to put in some throttling).

latest code will be uploaded soon.

cheers

trw

--
Posted on def2.i2p

Pages:1234
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor