🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by John F. Morse Sat, 11 Apr 2009 00:09
Encrypt NNTP-Posting-Host?
#80544
Author: John F. Morse
Date: Sat, 11 Apr 2009 00:09
15 lines
1579 bytes
Some NSPs (e.g. using Typhoon) encrypt the NNTP-Posting-Host so the real 
domain and/or IP is not discernible.

Can INN do this, and if so, how?

I had one user preferring more privacy so I set "addnntppostinghost: 
false" in inn.conf, but if it could be encrypted, I'd turn it back to true.


-- 
John 

No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.

The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: Encrypt NNTP-Posting-Host?
#80545
Author: Russ Allbery
Date: Sat, 11 Apr 2009 00:29
21 lines
1922 bytes
"John F. Morse" <xanadu.bbs@example.invalid> writes:

> Some NSPs (e.g. using Typhoon) encrypt the NNTP-Posting-Host so the real
> domain and/or IP is not discernible.
>
> Can INN do this, and if so, how?
>
> I had one user preferring more privacy so I set "addnntppostinghost:
> false" in inn.conf, but if it could be encrypted, I'd turn it back to
> true.

INN won't ever support encrypting NNTP-Posting-Host since the field is
being phased out in favor of Injection-Info.  INN should eventually, but
doesn't yet, support opaque tokens for the logging-data field of
Injection-Info.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Encrypt NNTP-Posting-Host?
#80546
Author: John F. Morse
Date: Sat, 11 Apr 2009 00:41
72 lines
3665 bytes
Russ Allbery wrote:
> "John F. Morse" <xanadu.bbs@example.invalid> writes:
>
>   
>> Some NSPs (e.g. using Typhoon) encrypt the NNTP-Posting-Host so the real
>> domain and/or IP is not discernible.
>>
>> Can INN do this, and if so, how?
>>
>> I had one user preferring more privacy so I set "addnntppostinghost:
>> false" in inn.conf, but if it could be encrypted, I'd turn it back to
>> true.
>>     
>
> INN won't ever support encrypting NNTP-Posting-Host since the field is
> being phased out in favor of Injection-Info.  INN should eventually, but
> doesn't yet, support opaque tokens for the logging-data field of
> Injection-Info.
>   


Thanks, Russ.

While I have your attention....

inn.conf (5) under "Posting" has:

 addnntppostingdate
           Whether to add an NNTP-Posting-Date: header to all local posts.
           This is a boolean value and the default is true.  Note that INN
           either does not add this header or adds the name or IP address of
           the client.  There is no intrinsic support for obfuscating 
the name
           of the client.  That has to be done with a user-written Perl 
filter,
           if desired.

 addnntppostinghost
           Whether to add an NNTP-Posting-Host: header to all local 
posts giv-
           ing the FQDN or IP address of the system from which the post was
           received.  This is a boolean value and the default is true.


Is that correct? Or should it (the Note) be:


 addnntppostingdate
           Whether to add an NNTP-Posting-Date: header to all local posts.
           This is a boolean value and the default is true.

 addnntppostinghost
           Whether to add an NNTP-Posting-Host: header to all local 
posts giv-
           ing the FQDN or IP address of the system from which the post was
           received.  This is a boolean value and the default is true.  
Note that
           INN either does not add this header or adds the name or IP 
address
           of the client.  There is no intrinsic support for obfuscating the
           name of the client.  That has to be done with a user-written Perl
           filter, if desired.


(This is from INN 2.4.3.)

-- 
John 

No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.

The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: Encrypt NNTP-Posting-Host?
#80547
Author: D. Stussy
Date: Sat, 11 Apr 2009 01:21
17 lines
1648 bytes
"John F. Morse" <xanadu.bbs@example.invalid> wrote in message
news:gron3g$imm$1@optima7.xanadu-bbs.net...
> Some NSPs (e.g. using Typhoon) encrypt the NNTP-Posting-Host so the real
> domain and/or IP is not discernible.
>
> Can INN do this, and if so, how?
>
> I had one user preferring more privacy so I set "addnntppostinghost:
> false" in inn.conf, but if it could be encrypted, I'd turn it back to
true.

As a privacy issue, I don't see the purpose of encrypting it vs. omitting
it to begin with?

The originating server will know where the post came from via its logs.

Re: Encrypt NNTP-Posting-Host?
#80548
Author: Russ Allbery
Date: Sat, 11 Apr 2009 01:38
32 lines
2258 bytes
"John F. Morse" <xanadu.bbs@example.invalid> writes:

> While I have your attention....
>
> inn.conf (5) under "Posting" has:

> addnntppostingdate
>           Whether to add an NNTP-Posting-Date: header to all local posts.
>           This is a boolean value and the default is true.  Note that INN
>           either does not add this header or adds the name or IP address of
>           the client.  There is no intrinsic support for obfuscating the
> name
>           of the client.  That has to be done with a user-written Perl
> filter,
>           if desired.
>
> addnntppostinghost
>           Whether to add an NNTP-Posting-Host: header to all local posts
> giv-
>           ing the FQDN or IP address of the system from which the post was
>           received.  This is a boolean value and the default is true.
>
> Is that correct?

Yeah, the note is in the wrong place.  Good catch.  I just fixed for the
upcoming 2.5.0 release in Subversion.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Encrypt NNTP-Posting-Host?
#80549
Author: John F. Morse
Date: Sat, 11 Apr 2009 01:50
32 lines
2143 bytes
D. Stussy wrote:
> "John F. Morse" <xanadu.bbs@example.invalid> wrote in message
> news:gron3g$imm$1@optima7.xanadu-bbs.net...
>   
>> Some NSPs (e.g. using Typhoon) encrypt the NNTP-Posting-Host so the real
>> domain and/or IP is not discernible.
>>
>> Can INN do this, and if so, how?
>>
>> I had one user preferring more privacy so I set "addnntppostinghost:
>> false" in inn.conf, but if it could be encrypted, I'd turn it back to
>>     
> true.
>
> As a privacy issue, I don't see the purpose of encrypting it vs. omitting
> it to begin with?
>
> The originating server will know where the post came from via its logs.
>   


I see your point.

That makes me wonder then why it was ever used? ;-)


-- 
John 

No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.

The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: Encrypt NNTP-Posting-Host?
#80550
Author: Julien ÉLIE
Date: Sat, 11 Apr 2009 08:04
18 lines
1829 bytes
Hi D. Stussy,

> As a privacy issue, I don't see the purpose of encrypting it vs. omitting
> it to begin with?
>
> The originating server will know where the post came from via its logs.

If the post dates back to two years ago, it is possible that you do not
have the corresponding logs.  However, you might still be able to decrypt
the content of the NNTP-Posting-Host: header.

(That's a reason I see -- there might be better ones!)

-- 
Julien ÉLIE

« Bah ! Il est parti sur un coup de tête... » (Astérix) 
Re: Encrypt NNTP-Posting-Host?
#80552
Author: John F. Morse
Date: Sat, 11 Apr 2009 13:25
34 lines
2227 bytes
Julien ÉLIE wrote:
> Hi D. Stussy,
>
>> As a privacy issue, I don't see the purpose of encrypting it vs. 
>> omitting
>> it to begin with?
>>
>> The originating server will know where the post came from via its logs.
>
> If the post dates back to two years ago, it is possible that you do not
> have the corresponding logs.  However, you might still be able to decrypt
> the content of the NNTP-Posting-Host: header.
>
> (That's a reason I see -- there might be better ones!)
>


That is the same idea I had, Julien. But in my case, any log older than 
three days is gone.

Encrypting with a local key would allow the news administrator to 
decrypt the information with his key.

This NNTP-Posting-Host could be something useful for proof whether 
someone's claim that they didn't post a certain message was truthful or not.

The way things are going, it won't be long before the politicians 
require us to keep logs for their inspection. Not too bad if they are 
going to reimburse us for the work and storage costs associated with 
spying on Usenet. ;-)


-- 
John
Re: Encrypt NNTP-Posting-Host?
#80553
Author: David Canzi
Date: Sat, 11 Apr 2009 16:05
22 lines
1848 bytes
In article <grpj27$g2t$1@news.trigofacile.com>,
Julien ÉLIE  <iulius@nom-de-mon-site.com.invalid> wrote:
>Hi D. Stussy,
>
>> As a privacy issue, I don't see the purpose of encrypting it vs. omitting
>> it to begin with?
>>
>> The originating server will know where the post came from via its logs.
>
>If the post dates back to two years ago, it is possible that you do not
>have the corresponding logs.  However, you might still be able to decrypt
>the content of the NNTP-Posting-Host: header.
>
>(That's a reason I see -- there might be better ones!)

In the event of spamming or flooding, an encrypted posting host
header allows automated tools to determine which articles come
from the abuser and which articles come from other customers of
the same provider.

-- 
David Canzi
Re: Encrypt NNTP-Posting-Host?
#80554
Author: Curt Welch
Date: Sat, 11 Apr 2009 18:14
68 lines
4633 bytes
"John F. Morse" <xanadu.bbs@example.invalid> wrote:
> Julien ÉLIE wrote:
> > Hi D. Stussy,
> >
> >> As a privacy issue, I don't see the purpose of encrypting it vs.
> >> omitting
> >> it to begin with?
> >>
> >> The originating server will know where the post came from via its
> >> logs.
> >
> > If the post dates back to two years ago, it is possible that you do not
> > have the corresponding logs.  However, you might still be able to
> > decrypt the content of the NNTP-Posting-Host: header.
> >
> > (That's a reason I see -- there might be better ones!)
> >
>
> That is the same idea I had, Julien. But in my case, any log older than
> three days is gone.
>
> Encrypting with a local key would allow the news administrator to
> decrypt the information with his key.
>
> This NNTP-Posting-Host could be something useful for proof whether
> someone's claim that they didn't post a certain message was truthful or
> not.
>
> The way things are going, it won't be long before the politicians
> require us to keep logs for their inspection. Not too bad if they are
> going to reimburse us for the work and storage costs associated with
> spying on Usenet. ;-)

The point is that if you put the data in the article, you don't have to
keep logs.  Your news spool becomes the log - as well as all the news
spools and archives of the internet the article may make it's way into. And
at the same time, you never have to worry about how long you have saved the
logs.  When the data is in the article, the "log" expires at the same time
the article does. :)

The only reason you typically look at the log data (in this case) is when
someone is complaining about a post from your server.  With encrypted data
in the article, it's fairly easy to verify that the article in question did
in fact come from your server (even after it's expired from your spools),
and you can easily identify which account was used to post it, without
having to search logs because the log data you need, is right there in the
abuse complaint.

However, when used like that, there's an important security issue that
Diablo gets wrong.  You can forge a post simply by copying the encrypted
header from a real message, to a fake one, and it becomes difficult to
detect when that's happened if you don't have posting server logs to back
it up.  The date is often in the encrypted data, so that must match (or be
close to) the Date: header, but that's easy to forge as well.  To reduce
this problem, a hash of the message id needs to be put into encrypted data.
Standard Diablo at least doesn't do that and it should.  With that, you
have some guarantee that the message-id of the complaint matches what was
really posted.  And by knowing the real message-id, you can search other
long retention servers or archives for a third-party verification of the
content of the "real" message.

The downside to the encrypted header approach of course, is that if your
encryption algorithm/key becomes exposed to the public, you risk having all
your logs exposed to the public.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: Encrypt NNTP-Posting-Host?
#80555
Author: Garrett Wollman
Date: Sat, 11 Apr 2009 21:16
18 lines
1907 bytes
In article <20090411141113.432$lQ@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:

>The downside to the encrypted header approach of course, is that if your
>encryption algorithm/key becomes exposed to the public, you risk having all
>your logs exposed to the public.

The other downside is that, even if you keep the key private, you risk
having all your logs exposed to law enforcement, who can compel you to
assist them.

-GAWollman

-- 
Garrett A. Wollman   | The real tragedy of human existence is not that we are
wollman@csail.mit.edu| nasty by nature, but that a cruel structural asymmetry
Opinions not those   | grants to rare events of meanness such power to shape
of MIT or CSAIL.     | our history. - S.J. Gould, Ten Thousand Acts of Kindness
Re: Encrypt NNTP-Posting-Host?
#80556
Author: Julien ÉLIE
Date: Sat, 11 Apr 2009 23:01
27 lines
2419 bytes
Hi Curt,

> You can forge a post simply by copying the encrypted
> header from a real message, to a fake one, and it becomes difficult to
> detect when that's happened if you don't have posting server logs to back
> it up.  The date is often in the encrypted data, so that must match (or be
> close to) the Date: header, but that's easy to forge as well.  To reduce
> this problem, a hash of the message id needs to be put into encrypted data.

Thanks for the piece of advice!


> The downside to the encrypted header approach of course, is that if your
> encryption algorithm/key becomes exposed to the public, you risk having all
> your logs exposed to the public.

One can change the key from time to time in order to limit the period
of exposure if (of course) only *one* key is compromised.
It is what Alexander does, as I can see here:

    http://albasani.net/technical/x-trace.html.en

-- 
Julien ÉLIE

« J'aime le travail, je passerais des heures à le regarder. » 
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