🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by DataPacRat Tue, 26 Jul 2016 19:13
Serving private newsgroups over Tor?
#87487
Author: DataPacRat
Date: Tue, 26 Jul 2016 19:13
63 lines
3990 bytes
 Q!2g&Cp1wYsh-4c`inmRg?#b~vv!M,gY2Epp1w&+Xf)9AC/<nD=ApWE<XiRWV0iot"XEAGJdzRO
	Snw
 wXz&Qs@3KkM8Zq|#pgojF8;<"Ng1ws.'9:v*G&O,(7$ez>/VG<.>R]$:mDN9B'9-ie4
Organization: DataPacRat's Warren
User-Agent: Pan/0.140 (Chocolate Salty Balls; GIT 3663720
 git://git.gnome.org/pan2)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

I'm thinking of solving a comm problem by serving some private newsgroups 
(focusing on text, not binaries) through .onion "hidden services" on a 
few servers, and accessing them with standard usenet clients run through 
Tor socks proxies.

How good or bad an idea is this? What complications should I think about 
before I even start? How much of the whole arrangement can be run with 
out-of-the-box, freshly-downloaded software that I don't have to learn a 
whole new scripting language to configure? Anyone here know of a good 
Android usenet reader that can be proxied through Orbot? Is there a way 
to configure INN to accept posts with non-email "From" headers, such as 
ricochet addresses (eg, ricochet:rs7ce36jsj24ogfw)?

I'd appreciate any and all constructive comments.




In case you're wondering: the primary problem I'm trying to solve is long-
term data retention. That is, I want to have the option of searching 
through messages I post today, 15 years from now. Given format revisions, 
this almost certainly guarantees my solution involves storing it in 
plaintext. One major sub-problem: I don't want to rely on any one 
company's services, such as in case Google decides to toss Hangouts into 
the same bin they did with Reader. I also don't want to rely on any 
particular hard-drive remaining intact. These three wants lead me to the 
potential solution of nntp, with the servers' expiry dates for articles 
set to 'never'. (And, if I use INN as the server, using the 'tradspool' 
storage format.)

I'm thinking of plugging that into Tor for what seems to be an uncommon 
reason: I don't want to rely on any particular Dynamic DNS company for 
persistent host-names. Firing up a newsreader and pointing it to a .onion 
address seems like it could be a handy way of avoiding dealing with non-
static IPs. I'm not particularly concerned about hiding the posts from 
Three-Letter-Agencies, though any additional security Tor provides to un-
advertised .onion URLs from script-kiddies and spammers on what are 
supposed to be private newsgroups would be a nice bonus.

And... that's about it. If-and-when I can get the basic system running on 
a desktop, I have some fond thoughts of cobbling together some Raspberry 
Pi usenet-over-tor-over-wifi servers to drop off in various places to 
serve as distributed backups... at least until some brand-new "3D-printed 
mesh-network run by solar-powered quadcopter" fad comes around and I get 
to come up with something new to migrate the old system onto. :)


Thank you for your time,
-- 
DataPacRat
"Then again, maybe I'm wrong."

Re: Serving private newsgroups over Tor?
#87490
Author: Paolo Amoroso
Date: Wed, 27 Jul 2016 07:56
57 lines
2637 bytes
Il 26/07/2016 21:13, DataPacRat ha scritto:

> How good or bad an idea is this? What complications should I think about
> before I even start?

it's possible

if you're planning to use some sort of authentication for your clients, 
your idea is 'not too hard' to setup.
an unauthenticated news service over tor is *not* a good idea unless you 
accept to write a lot of code in order to protect your site from abuses.


> How much of the whole arrangement can be run with
> out-of-the-box, freshly-downloaded software that I don't have to learn a
> whole new scripting language to configure?

a ready to use 'inn2 over tor' package doesn't exist.
inn debian package offers a good start point for beginners but you need 
to personalize that installation


Anyone here know of a good
> Android usenet reader that can be proxied through Orbot?

AFAIK NewsReader (but i'm unsure)

> Is there a way
> to configure INN to accept posts with non-email "From" headers, such as
> ricochet addresses (eg, ricochet:rs7ce36jsj24ogfw)?


it's impossible without modifying inn2 source code.


>
>
>
> In case you're wondering: the primary problem I'm trying to solve is long-
> term data retention.

data retention is *not* a problem since inn2 is able to handle a spool 
larger than 1 TB
at the same time, a server with a huge spool becomes slow when a lot of 
articles or overview data are requested with a single NNTP command.

>
> though any additional security Tor provides to un-
> advertised .onion URLs from script-kiddies and spammers on what are
> supposed to be private newsgroups would be a nice bonus.


be careful, Tor is the kiddies' paradise



Re: Serving private newsgroups over Tor?
#87493
Author: Julien ÉLIE
Date: Thu, 28 Jul 2016 20:29
37 lines
2471 bytes
Hi DataPacRat,

>  Q!2g&Cp1wYsh-4c`inmRg?#b~vv!M,gY2Epp1w&+Xf)9AC/<nD=ApWE<XiRWV0iot"XEAGJdzRO

Is there a problem with the generation of X-Face: header fields in your 
articles?  The news server seemed to assume a prematurate end of your 
headers.  Another possibility would be a bug in the news server (INN) 
that injected your article.



> Is there a way
> to configure INN to accept posts with non-email "From" headers, such as
> ricochet addresses (eg, ricochet:rs7ce36jsj24ogfw)?

You need rebuilding INN.  See my answer in the inn-workers mailing-list.



> And... that's about it. If-and-when I can get the basic system running on
> a desktop, I have some fond thoughts of cobbling together some Raspberry
> Pi usenet-over-tor-over-wifi servers to drop off in various places to
> serve as distributed backups...

I know people (in fr.comp.usenet.serveurs, almost an equivalent to 
news.software.nntp but in French language) who successfully installed 
INN on Raspberry Pi (using the inn2 Debian package).  So it would work 
(in case you had doubts).

-- 
Julien ÉLIE

« Le chemin le plus court d'un point à un autre est la ligne droite,
   Ă  condition que les deux points soient bien en face l'un de
   l'autre. » (Pierre Dac)

Re: Serving private newsgroups over Tor?
#87496
Author: DataPacRat
Date: Thu, 28 Jul 2016 22:03
50 lines
2953 bytes
On Thu, 28 Jul 2016 22:29:09 +0200, Julien ÉLIE wrote:

> Hi DataPacRat,
> 
>>  Q!2g&Cp1wYsh-4c`inmRg?#b~vv!M,gY2Epp1w&+Xf)9AC/
<nD=ApWE<XiRWV0iot"XEAGJdzRO
> 
> Is there a problem with the generation of X-Face: header fields in your
> articles?  The news server seemed to assume a prematurate end of your
> headers.  Another possibility would be a bug in the news server (INN)
> that injected your article.

After some investigation, it looks like the X-Face generator I used, 
http://www.dairiki.org/xface/xface.php , added a line-break in the middle 
of the field I copy-and-pasted into Pan. I'm trying out a new X-Face with 
a new image as of this post.


>> Is there a way to configure INN to accept posts with non-email "From"
>> headers, such as ricochet addresses (eg, ricochet:rs7ce36jsj24ogfw)?
> 
> You need rebuilding INN.  See my answer in the inn-workers mailing-list.

Seen, saved, and greatly appreciated.


>> And... that's about it. If-and-when I can get the basic system running
>> on a desktop, I have some fond thoughts of cobbling together some
>> Raspberry Pi usenet-over-tor-over-wifi servers to drop off in various
>> places to serve as distributed backups...
> 
> I know people (in fr.comp.usenet.serveurs, almost an equivalent to
> news.software.nntp but in French language)

(Google Translate is surprisingly handy, these days.)

> who successfully installed
> INN on Raspberry Pi (using the inn2 Debian package).  So it would work
> (in case you had doubts).

It's good to hear that. (Now I just have to get the initial setup 
working...)


Thank you for your time,
-- 
DataPacRat
"Then again, maybe I'm wrong."

Re: Serving private newsgroups over Tor?
#87501
Author: Julien ÉLIE
Date: Sun, 31 Jul 2016 13:24
45 lines
2915 bytes
Hi DataPacRat,

> After some investigation, it looks like the X-Face generator I used, 
> http://www.dairiki.org/xface/xface.php, added a line-break in the middle 
> of the field I copy-and-pasted into Pan. I'm trying out a new X-Face with 
> a new image as of this post.

Though better than before (no line-break in the middle of the field body),
the header is still invalid.

X-Face: 
 "w4jlJk|.-GST_W#G`[-f@-6n`x$r!Nlgb6BtE{@i%et0>^>XL*fVW@3MhN5"!|!7In{Fqj1q$8
	m1D=g5xT#yDd|],lbkA3h!usNyh{

The syntax is not valid per RFC 5536:
   o  Every line of a header field body (including the first and any
      that are subsequently folded) MUST contain at least one non-
      whitespace character.

The first line of the header is "X-Face: \r\n" and therefore the header
field body (after ": ") does not contain any non-whitespace character.
This syntax is invalid and will be checked by future versions of INN.



>>> Is there a way to configure INN to accept posts with non-email "From"
>>> headers, such as ricochet addresses (eg, ricochet:rs7ce36jsj24ogfw)?
>>
>> You need rebuilding INN.  See my answer in the inn-workers mailing-list.
> 
> Seen, saved, and greatly appreciated.

Also, please note that it will cause problems with moderated newsgroups.
If for instance your From: adress is a ricochet address, your message will
be transferred to a moderator who won't be able to post your article (when
approved) because he won't necessarily use a news server that does not check
the syntax of the From: address.

-- 
Julien ÉLIE

« – Par Poséidon ! Quel prodige !!!
  – Par Neptune ! Quel sans-gêne ! » (Astérix)

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads