🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes
Article #278

Re: hey, what do know ? vichan supports nntp

#278
From: anonymous
Date: Wed, 20 May 2020 23:16
13 lines
2863 bytes
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
Technical Details
Message-ID: <08a44ea492d98d0db82c7375e1028267$1@z5bqfv5v75kxy7pj.onion>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <08a44ea492d98d0db82c7375e1028267$1@z5bqfv5v75kxy7pj.onion>
Subject: Re: hey, what do know ? vichan supports nntp
Date: Wed, 20 May 2020 23:16:00 +0000
From: anonymous@anon.com (anonymous)
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>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
Newsgroups: rocksolid.nodes
Organization: def2
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