🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
38 messages
38 total messages Started by Alex Birj Wed, 13 Mar 2002 10:27
Cancelling usenet messages in a reliable way (a proposal)
#57189
Author: Alex Birj
Date: Wed, 13 Mar 2002 10:27
42 lines
2551 bytes
Some considerations about cancelling Usenet messages:

I think Usenet need simple mechanism to support verifyable cancels that will 
force servers to cancel messages, I have a simple solution (should be supported 
on the server side) that will be achieved by adding a relatively short header 
field using symmetric cipher. Currently many servers don't support cancels 
because of possible forged cancels.

The scheme is the following:

for every posted message a random symmetric key is generated and kept by 
newsreader or written to a file.
 
random text is generated and encrypted with the key

length of the text=length of the key=symmetric cipher block length

then cancel id is generated from the base64th ciphertext+text (concatenation)

Cancel-ID: Base64(concatenation(ciphertext,text)) [Algorithm]

Default symmetric cipher algorithm may be RC5, but it would be possible to add 
other algorithm by defining its name explicitly.

When we want to cancel the message we should add the header:

Cancel-Key: Base64(key) [Algorithm]

the server will decrypt the ciphertext with the key and compare with the text 
if they coincide the cancel is approved.
also message-id is compared.

Currently it is quite safe to use 64bit key, the weakened RC5 challenge stands 
since 1997 unsolved ($10000 reward), it is also possible to use 128bit keys 
that are currently used for high-grade secure connections.

with 64 bit key 8+8=16 bytes will be encoded to 22 bytes base-64, for 128bit 
key - 44 bytes.

Alex

Re: Cancelling usenet messages in a reliable way (a proposal)
#57191
Author: Juergen Helbing
Date: Wed, 13 Mar 2002 13:57
24 lines
1318 bytes
Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:

>Cancel-ID: Base64(concatenation(ciphertext,text)) [Algorithm]
>Cancel-Key: Base64(key) [Algorithm]

This seems to be something as "protecting a message with PGP"
and "cancelling with another matching PGP message".

Nice idea. I really like it.

Cons:

All newsreaders need a change.
All news-servers need a change.
A NSP is no longer able to cancel messages from a misbehaving customer.
Spamfighting needs special solutions.

At least one server will still ignore such cancel messages.


-- 
Juergen

Re: Cancelling usenet messages in a reliable way (a proposal)
#57195
Author: Curt Welch
Date: Wed, 13 Mar 2002 14:53
61 lines
4428 bytes
Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
> Some considerations about cancelling Usenet messages:
>
> I think Usenet need simple mechanism to support verifyable cancels that
> will force servers to cancel messages, I have a simple solution (should
> be supported on the server side) that will be achieved by adding a
> relatively short header field using symmetric cipher. Currently many
> servers don't support cancels because of possible forged cancels.

Your system is one of many variations all called "Cancel Locks".  These
systems have been debated for at least 10 years now and I believe have
even made it into the code of some servers and some newsreaders.  Search
for it on Google.

You don't need to use encryption.  Any strong hash like MD5 will
work fine.  When the article is posted, a key is generated.  The MD5 of
of the key is calculated and included as the cancel lock on the article.
To get servers to cancel the article, you simply send the key along with
the cancel.  If the md5 of the key matches the lock, then the server will
cancel the article.

To prevent having to store keys for all your articles, you can use a simple
password combined with the message ID.  calculate an MD5 of your password
combined with the message-ID and use that as the key.  Run that through MD5
again to create the cancel lock.  To cancel any of your articles in the
future, all you have to know is your password and the message-id of the
article.

Some people didn't like the idea because they said it would stop other
people from canceling the article - like the admin of the server it came
from, or a copyright holder when copyrighted material was illegally posted,
or the moderator of a group.  A spammer for example could make up a random
cancel-lock to prevent anyone from canceling it.

The admin problem however can be solved by having the posting server add a
second cancel lock and defining the algorithm to work in a way which will
allow a cancel when a key is provided for any of the locks.

Servers get bit complex as well.  Not only do they need the cancel lock
code (which is simple and straight forward), but when they receive a cancel
for an article which does not exist on the server, it has to save the
cancel information and wait for the article to show up to see if it is
locked.  This is something unlike anything the servers currently have to
do.  And it means that pre-cancles with cancle-locks don't prevent you from
having to receive the article.  So you are forced to waste the bandwidth to
get the article and then just throw it away.

Of course now, becuase people didn't like cancel locks, we have a world
were all cancels are mostly broken and not even the author of the article
has the power to cancel it anymore.

Mostly however, I think people just don't see the need to cancel an article
as being that important.  If you think you might want to cancel your
article, you should never have posted it on Usenet in the first place.  Or
at least I think that's what people end up thinking and why cancel-locks
have not become a widely adopted standard.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Cancelling usenet messages in a reliable way (a proposal)
#57200
Author: Alex Birj
Date: Wed, 13 Mar 2002 16:46
148 lines
8575 bytes
I'll reply to both Juergen's and your message.

Combining 16 byte password (random data) with the message-id would work too, it 
looks better since we don't need to keep keys for all messages, MD5 hash is 
only 16 bytes, 22 byte base64 header. But we have a problem here:

http://www.rsasecurity.com/rsalabs/faq/3-6-6.html

"Van Oorschot and Wiener [VW94] have considered a brute-force search for 
collisions (see Question 2.1.6) in hash functions, and they estimate a 
collision search machine designed specifically for MD5 (costing $10 million in 
1994) could find a collision for MD5 in 24 days on average. The general 
techniques can be applied to other hash functions."

Not so good if it is applicable to our case (I don't know for sure but it looks 
so, we just need a collision).

If it is a problem maybe to have a 16 byte password, to generate MD5 from the 
padding+message-id and encrypt it with the password to get the symmetric key - 
likewise any other safe method can be used to prevent keeping keys for every 
message, in this scheme password won't be compromised through MD5 and will be 
isolated through encryption.

The symmetric key will be used like I described earlier, and as the text to use 
MD5 from another padding+message-id, so we end with 16 bytes but then we should 
break 128 bit cipher and not just to find a collision.

Then we have both advantages - computing text from the message id - not keeping 
it in the Cancel-ID headers and not keeping the key for every message. 

It all should be checked, but now for me it looks safe.

So now we add in the message headers:

Cancel-ID: Base64(ciphertext)

where text=MD5(function1(message-id))

and in the control cancel:

Cancel-Key: Base64(key)

where key=RC5(MD5(function2(message-id))) with 16 byte "password"

Compatibility with the current state of things:

I don't want to change anything in the current system, just to use it as an 
additional option by including one more header among article headers, if the 
header is not included - all remains like it is now, if it is included - the 
'strict' server will accept the article (since it doesn't accept cancels 
anyway), but then if there is a cancel it will delete the article, so bandwidth 
won't be affected comparing to the current state of things, but if option would 
become common probably something could be added to save bandwidth and reject it 
on the negotiation stage. 

So to cancel a message we send a usual control cancel message just we 
optionally add one more header for servers that understand it.

Also no change in newsreader software is required since the feature is 
optional, but I guess if the option will be implemented in servers newsreaders 
will include it.

The option would be especially valuable for the text newsgroups, since deleting 
is very basic function.

Then there will be no reason why such cancels won't be honored, for now the 
motivation for not respecting cancels is like that (teranews):

"Why can't I cancel a message I posted? 
There is no real way to delete something from Usenet once it has been posted. 
From the moment you posted your articles it was transferred to our peering 
machine and propagated to 40 other servers. Each one of these servers did the 
same thing and within 60 seconds your article had been stored on 10,000 news 
servers around the world. Some servers allow what is called a cancel message. 
It's a message that requests that a certain article be removed. This cancel 
message has to propagate just like the original message. It idea is that it 
will follow the same paths as the original message. Our server, as do many 
others, does not accept cancel messages due to the huge amount of abuse caused 
by these. Had we accepted the cancel message your posting would have only been 
deleted on our server and other servers that accept cancel messages. Your 
message would still have still been available on many other servers. Cancel 
messages are a waste of resources due to the high amount of abuse (anyone can 
cancel any post) and the low amount of effectiveness. We will never support 
cancel messages."

curt@kcwc.com (Curt Welch) wrote:
>Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
>> Some considerations about cancelling Usenet messages:
>>
>> I think Usenet need simple mechanism to support verifyable cancels that
>> will force servers to cancel messages, I have a simple solution (should
>> be supported on the server side) that will be achieved by adding a
>> relatively short header field using symmetric cipher. Currently many
>> servers don't support cancels because of possible forged cancels.
>
>Your system is one of many variations all called "Cancel Locks".  These
>systems have been debated for at least 10 years now and I believe have
>even made it into the code of some servers and some newsreaders.  Search
>for it on Google.
>
>You don't need to use encryption.  Any strong hash like MD5 will
>work fine.  When the article is posted, a key is generated.  The MD5 of
>of the key is calculated and included as the cancel lock on the article.
>To get servers to cancel the article, you simply send the key along with
>the cancel.  If the md5 of the key matches the lock, then the server will
>cancel the article.
>
>To prevent having to store keys for all your articles, you can use a simple
>password combined with the message ID.  calculate an MD5 of your password
>combined with the message-ID and use that as the key.  Run that through MD5
>again to create the cancel lock.  To cancel any of your articles in the
>future, all you have to know is your password and the message-id of the
>article.
>
>Some people didn't like the idea because they said it would stop other
>people from canceling the article - like the admin of the server it came
>from, or a copyright holder when copyrighted material was illegally posted,
>or the moderator of a group.  A spammer for example could make up a random
>cancel-lock to prevent anyone from canceling it.
>
>The admin problem however can be solved by having the posting server add a
>second cancel lock and defining the algorithm to work in a way which will
>allow a cancel when a key is provided for any of the locks.
>
>Servers get bit complex as well.  Not only do they need the cancel lock
>code (which is simple and straight forward), but when they receive a cancel
>for an article which does not exist on the server, it has to save the
>cancel information and wait for the article to show up to see if it is
>locked.  This is something unlike anything the servers currently have to
>do.  And it means that pre-cancles with cancle-locks don't prevent you from
>having to receive the article.  So you are forced to waste the bandwidth to
>get the article and then just throw it away.
>
>Of course now, becuase people didn't like cancel locks, we have a world
>were all cancels are mostly broken and not even the author of the article
>has the power to cancel it anymore.
>
>Mostly however, I think people just don't see the need to cancel an article
>as being that important.  If you think you might want to cancel your
>article, you should never have posted it on Usenet in the first place.  Or
>at least I think that's what people end up thinking and why cancel-locks
>have not become a widely adopted standard.
>
>-- 
>Curt Welch                                            http://CurtWelch.Com/
>curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Cancelling usenet messages in a reliable way (a proposal)
#57202
Author: Curt Welch
Date: Wed, 13 Mar 2002 17:54
44 lines
3338 bytes
Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
> I'll reply to both Juergen's and your message.
>
> Combining 16 byte password (random data) with the message-id would work
> too, it looks better since we don't need to keep keys for all messages,
> MD5 hash is only 16 bytes, 22 byte base64 header. But we have a problem
> here:
>
> http://www.rsasecurity.com/rsalabs/faq/3-6-6.html
>
> "Van Oorschot and Wiener [VW94] have considered a brute-force search for
> collisions (see Question 2.1.6) in hash functions, and they estimate a
> collision search machine designed specifically for MD5 (costing $10
> million in 1994) could find a collision for MD5 in 24 days on average.
> The general techniques can be applied to other hash functions."
>
> Not so good if it is applicable to our case (I don't know for sure but it
> looks so, we just need a collision).

That's not an issue.

I'm sorry, but if someone wants to build a $10M machine and let it run for
24 days to figure out how to cancel _one_ of my messages, then I have no
problem letting them cancel my message.  $10M for the right to cancel _one_
message on usenet every 24 days is NOT a problem.  It's not even close to
being a problem.

If the CPU power is doubled, or the cost is cut in half every year, then it
will take 24 years to reach $1-day.  I.e. for $1 you could build a machine
that had the power to cancel 1 message per day on usenet - 24 hours after
it was posted.  That's about the point of where you would have to change to
a hash with twice the number of bits and buy yourself another 24 years of
abuse free Usenet.

Remember, we are not trying to protect information.  We are just trying to
reduce the level of abuse.  If cancles are so hard to abuse, then they will
just go back to using floods and forgery which can not be protected
against. No one looking to cause trouble is going to spend $1 to send a
cancel when they can send a 100 post flood for free.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Cancelling usenet messages in a reliable way (a proposal)
#57207
Author: Russ Allbery
Date: Wed, 13 Mar 2002 20:12
36 lines
2728 bytes
In news.software.nntp, Alex Birj <alexande_nospam@tx.technion.ac.il> writes:

> Combining 16 byte password (random data) with the message-id would work
> too, it looks better since we don't need to keep keys for all messages,
> MD5 hash is only 16 bytes, 22 byte base64 header. But we have a problem
> here:

> http://www.rsasecurity.com/rsalabs/faq/3-6-6.html

> "Van Oorschot and Wiener [VW94] have considered a brute-force search for
> collisions (see Question 2.1.6) in hash functions, and they estimate a
> collision search machine designed specifically for MD5 (costing $10
> million in 1994) could find a collision for MD5 in 24 days on
> average. The general techniques can be applied to other hash functions."

You're reinventing cancel locks, which are indeed an excellent idea.
You're very much on the right track, but most of the work has already been
done.  See, for example, the header of my message.  The current cancel
lock draft switched to SHA-1 for exactly this reason.

For the current cancel lock draft, see:

    <http://www.landfield.com/usefor/>

If you have any additional suggestions or analysis after reading it over,
I'm sure that the authors would be very interested in your feedback.

The current status of this draft is that it's waiting for the base article
standard to be released before proceeding.

-- 
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: Cancelling usenet messages in a reliable way (a proposal)
#57210
Author: J.B. Moreno
Date: Wed, 13 Mar 2002 21:29
17 lines
1792 bytes
In article <20020313125411.090$mq@newsreader.com>,
 Curt Welch <curt@kcwc.com> wrote:

> That's not an issue.
> 
> I'm sorry, but if someone wants to build a $10M machine and let it run for
> 24 days to figure out how to cancel _one_ of my messages, then I have no
> problem letting them cancel my message.  $10M for the right to cancel _one_
> message on usenet every 24 days is NOT a problem.  It's not even close to
> being a problem.

For considerably less than that *I* will *sell* them the key to let
them cancel my messages...

-- 
J.B. Moreno
Re: Cancelling usenet messages in a reliable way (a proposal)
#57217
Author: Alex Birj
Date: Thu, 14 Mar 2002 04:41
54 lines
3806 bytes
I mean such algorithm cannot be considered secure enough, and given finding MD5 
collision problem against cracking full-blown 128bit cipher challenge without 
introducing additional overhead - the latter should be preferred, since it is 
much more difficult (at least 5* (2 power 64)  years - 64 bit weakened 
challenge stands for 5 years already and we have 64 more bits to exhaust). Who 
knows, maybe in 5 years you will be able to find MD5 collisions on your home 
computer within several days.

curt@kcwc.com (Curt Welch) wrote:
>Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
>> I'll reply to both Juergen's and your message.
>>
>> Combining 16 byte password (random data) with the message-id would work
>> too, it looks better since we don't need to keep keys for all messages,
>> MD5 hash is only 16 bytes, 22 byte base64 header. But we have a problem
>> here:
>>
>> http://www.rsasecurity.com/rsalabs/faq/3-6-6.html
>>
>> "Van Oorschot and Wiener [VW94] have considered a brute-force search for
>> collisions (see Question 2.1.6) in hash functions, and they estimate a
>> collision search machine designed specifically for MD5 (costing $10
>> million in 1994) could find a collision for MD5 in 24 days on average.
>> The general techniques can be applied to other hash functions."
>>
>> Not so good if it is applicable to our case (I don't know for sure but it
>> looks so, we just need a collision).
>
>That's not an issue.
>
>I'm sorry, but if someone wants to build a $10M machine and let it run for
>24 days to figure out how to cancel _one_ of my messages, then I have no
>problem letting them cancel my message.  $10M for the right to cancel _one_
>message on usenet every 24 days is NOT a problem.  It's not even close to
>being a problem.
>
>If the CPU power is doubled, or the cost is cut in half every year, then it
>will take 24 years to reach $1-day.  I.e. for $1 you could build a machine
>that had the power to cancel 1 message per day on usenet - 24 hours after
>it was posted.  That's about the point of where you would have to change to
>a hash with twice the number of bits and buy yourself another 24 years of
>abuse free Usenet.
>
>Remember, we are not trying to protect information.  We are just trying to
>reduce the level of abuse.  If cancles are so hard to abuse, then they will
>just go back to using floods and forgery which can not be protected
>against. No one looking to cause trouble is going to spend $1 to send a
>cancel when they can send a 100 post flood for free.
>
>-- 
>Curt Welch                                            http://CurtWelch.Com/
>curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Cancelling usenet messages in a reliable way (a proposal)
#57218
Author: Alex Birj
Date: Thu, 14 Mar 2002 04:46
43 lines
3024 bytes
Ok, I forward it to the author, it seems using ciphers gets much more secure 
lock (virtually unbreakable) and incurs less overhead than SHA1 (16 encoded 
bytes instead of 20 byte hash). It is better sometimes to reinvent something, 
since frequently you get different solution :).

Russ Allbery <rra@stanford.edu> wrote:
>In news.software.nntp, Alex Birj <alexande_nospam@tx.technion.ac.il> writes:
>
>> Combining 16 byte password (random data) with the message-id would work
>> too, it looks better since we don't need to keep keys for all messages,
>> MD5 hash is only 16 bytes, 22 byte base64 header. But we have a problem
>> here:
>
>> http://www.rsasecurity.com/rsalabs/faq/3-6-6.html
>
>> "Van Oorschot and Wiener [VW94] have considered a brute-force search for
>> collisions (see Question 2.1.6) in hash functions, and they estimate a
>> collision search machine designed specifically for MD5 (costing $10
>> million in 1994) could find a collision for MD5 in 24 days on
>> average. The general techniques can be applied to other hash functions."
>
>You're reinventing cancel locks, which are indeed an excellent idea.
>You're very much on the right track, but most of the work has already been
>done.  See, for example, the header of my message.  The current cancel
>lock draft switched to SHA-1 for exactly this reason.
>
>For the current cancel lock draft, see:
>
>    <http://www.landfield.com/usefor/>
>
>If you have any additional suggestions or analysis after reading it over,
>I'm sure that the authors would be very interested in your feedback.
>
>The current status of this draft is that it's waiting for the base article
>standard to be released before proceeding.
>
>-- 
>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: Cancelling usenet messages in a reliable way (a proposal)
#57219
Author: Alex Birj
Date: Thu, 14 Mar 2002 05:16
184 lines
9448 bytes
Corrections:

should be  message-id+padding and not padding+message-id, since in the latter 
case we would have the same MD5 when hash comes to message-id (padding should 
be some predefined random data of sufficient length - at least 16 bytes, maybe 
24 or 32).

instead of

where key=RC5(MD5(function2(message-id))) with 16 byte "password" 

should be

where key=RC5(MD5(function2(message-id))) 
(RC5 is invoked with the 16 byte "password" as the encryption key).

function1 is message-id+padding1

function2 is message-id+padding2

Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
>I'll reply to both Juergen's and your message.
>
>Combining 16 byte password (random data) with the message-id would work too, 
>it 
>looks better since we don't need to keep keys for all messages, MD5 hash is 
>only 16 bytes, 22 byte base64 header. But we have a problem here:
>
>http://www.rsasecurity.com/rsalabs/faq/3-6-6.html
>
>"Van Oorschot and Wiener [VW94] have considered a brute-force search for 
>collisions (see Question 2.1.6) in hash functions, and they estimate a 
>collision search machine designed specifically for MD5 (costing $10 million in 
>
>1994) could find a collision for MD5 in 24 days on average. The general 
>techniques can be applied to other hash functions."
>
>Not so good if it is applicable to our case (I don't know for sure but it 
>looks 
>so, we just need a collision).
>
>If it is a problem maybe to have a 16 byte password, to generate MD5 from the 
>padding+message-id and encrypt it with the password to get the symmetric key - 
>
>likewise any other safe method can be used to prevent keeping keys for every 
>message, in this scheme password won't be compromised through MD5 and will be 
>isolated through encryption.
>
>The symmetric key will be used like I described earlier, and as the text to 
>use 
>MD5 from another padding+message-id, so we end with 16 bytes but then we 
>should 
>break 128 bit cipher and not just to find a collision.
>
>Then we have both advantages - computing text from the message id - not 
>keeping 
>it in the Cancel-ID headers and not keeping the key for every message. 
>
>It all should be checked, but now for me it looks safe.
>
>So now we add in the message headers:
>
>Cancel-ID: Base64(ciphertext)
>
>where text=MD5(function1(message-id))
>
>and in the control cancel:
>
>Cancel-Key: Base64(key)
>
>where key=RC5(MD5(function2(message-id))) with 16 byte "password"
>
>Compatibility with the current state of things:
>
>I don't want to change anything in the current system, just to use it as an 
>additional option by including one more header among article headers, if the 
>header is not included - all remains like it is now, if it is included - the 
>'strict' server will accept the article (since it doesn't accept cancels 
>anyway), but then if there is a cancel it will delete the article, so 
>bandwidth 
>won't be affected comparing to the current state of things, but if option 
>would 
>become common probably something could be added to save bandwidth and reject 
>it 
>on the negotiation stage. 
>
>So to cancel a message we send a usual control cancel message just we 
>optionally add one more header for servers that understand it.
>
>Also no change in newsreader software is required since the feature is 
>optional, but I guess if the option will be implemented in servers newsreaders 
>
>will include it.
>
>The option would be especially valuable for the text newsgroups, since 
>deleting 
>is very basic function.
>
>Then there will be no reason why such cancels won't be honored, for now the 
>motivation for not respecting cancels is like that (teranews):
>
>"Why can't I cancel a message I posted? 
>There is no real way to delete something from Usenet once it has been posted. 
>From the moment you posted your articles it was transferred to our peering 
>machine and propagated to 40 other servers. Each one of these servers did the 
>same thing and within 60 seconds your article had been stored on 10,000 news 
>servers around the world. Some servers allow what is called a cancel message. 
>It's a message that requests that a certain article be removed. This cancel 
>message has to propagate just like the original message. It idea is that it 
>will follow the same paths as the original message. Our server, as do many 
>others, does not accept cancel messages due to the huge amount of abuse caused 
>
>by these. Had we accepted the cancel message your posting would have only been 
>
>deleted on our server and other servers that accept cancel messages. Your 
>message would still have still been available on many other servers. Cancel 
>messages are a waste of resources due to the high amount of abuse (anyone can 
>cancel any post) and the low amount of effectiveness. We will never support 
>cancel messages."
>
>curt@kcwc.com (Curt Welch) wrote:
>>Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
>>> Some considerations about cancelling Usenet messages:
>>>
>>> I think Usenet need simple mechanism to support verifyable cancels that
>>> will force servers to cancel messages, I have a simple solution (should
>>> be supported on the server side) that will be achieved by adding a
>>> relatively short header field using symmetric cipher. Currently many
>>> servers don't support cancels because of possible forged cancels.
>>
>>Your system is one of many variations all called "Cancel Locks".  These
>>systems have been debated for at least 10 years now and I believe have
>>even made it into the code of some servers and some newsreaders.  Search
>>for it on Google.
>>
>>You don't need to use encryption.  Any strong hash like MD5 will
>>work fine.  When the article is posted, a key is generated.  The MD5 of
>>of the key is calculated and included as the cancel lock on the article.
>>To get servers to cancel the article, you simply send the key along with
>>the cancel.  If the md5 of the key matches the lock, then the server will
>>cancel the article.
>>
>>To prevent having to store keys for all your articles, you can use a simple
>>password combined with the message ID.  calculate an MD5 of your password
>>combined with the message-ID and use that as the key.  Run that through MD5
>>again to create the cancel lock.  To cancel any of your articles in the
>>future, all you have to know is your password and the message-id of the
>>article.
>>
>>Some people didn't like the idea because they said it would stop other
>>people from canceling the article - like the admin of the server it came
>>from, or a copyright holder when copyrighted material was illegally posted,
>>or the moderator of a group.  A spammer for example could make up a random
>>cancel-lock to prevent anyone from canceling it.
>>
>>The admin problem however can be solved by having the posting server add a
>>second cancel lock and defining the algorithm to work in a way which will
>>allow a cancel when a key is provided for any of the locks.
>>
>>Servers get bit complex as well.  Not only do they need the cancel lock
>>code (which is simple and straight forward), but when they receive a cancel
>>for an article which does not exist on the server, it has to save the
>>cancel information and wait for the article to show up to see if it is
>>locked.  This is something unlike anything the servers currently have to
>>do.  And it means that pre-cancles with cancle-locks don't prevent you from
>>having to receive the article.  So you are forced to waste the bandwidth to
>>get the article and then just throw it away.
>>
>>Of course now, becuase people didn't like cancel locks, we have a world
>>were all cancels are mostly broken and not even the author of the article
>>has the power to cancel it anymore.
>>
>>Mostly however, I think people just don't see the need to cancel an article
>>as being that important.  If you think you might want to cancel your
>>article, you should never have posted it on Usenet in the first place.  Or
>>at least I think that's what people end up thinking and why cancel-locks
>>have not become a widely adopted standard.
>>
>>-- 
>>Curt Welch                                            http://CurtWelch.Com/
>>curt@kcwc.com                          Webmaster for http://NewsReader.Com/
>

Re: Cancelling usenet messages in a reliable way (a proposal) - Final :)
#57234
Author: Alex Birj
Date: Fri, 15 Mar 2002 04:58
92 lines
4464 bytes
I thought that another modification of the original scheme also makes sense 
since enforcing using message-id may be not acceptable (e.g. some servers may 
want to generate message-ids themselves).

I'm not sure there are no flaws in the scheme so I crossposting the message to 
sci.crypt, maybe someone could check it out (the original message is appended, 
in the thread someone pointed me out to cancel-locks but I found out they are 
using different approach - relying on the difficulty to find hash collisions 
that doesn't look to me safe enough especially if we can come out with a much 
more safe method).

The only problem is keeping key for every message, that is how it can be 
avoided (no using hash algorithms at all):

First lets us use 128 bit (16 byte) ciphers. All what I had originally said 
remains true.

The small trick to avoid keeping the key.

We'll just keep reusable randomly generated 16 byte "password", so we when we 
generate random text - we just encrypt the random text with the password to get 
the symmetric key).

We use the symmetric key to encrypt the random text to get the ciphertext.

When we want to issue cancel - we can easily get the key again from the random 
text (in the message) and our "password".

Probably we can use both variants of the scheme by separating headers:

Cancel-ID: <ciphertext>
Cancel-Rand: <text>

When Cancel-Rand is present - the newsreader/server will just use it, otherwise 
it will calculate it from the message-id like I described in my other message:

text=MD5(function1(message-id))

key=RC5(MD5(function2(message-id))) 
(RC5 is invoked with the 16 byte "password" as the encryption key).

function1 is message-id+padding1

function2 is message-id+padding2

padding1 and padding2 are predefined sequences 24 byte length.

Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
>Some considerations about cancelling Usenet messages:
>
>I think Usenet need simple mechanism to support verifyable cancels that will 
>force servers to cancel messages, I have a simple solution (should be 
>supported 
>on the server side) that will be achieved by adding a relatively short header 
>field using symmetric cipher. Currently many servers don't support cancels 
>because of possible forged cancels.
>
>The scheme is the following:
>
>for every posted message a random symmetric key is generated and kept by 
>newsreader or written to a file.
> 
>random text is generated and encrypted with the key
>
>length of the text=length of the key=symmetric cipher block length
>
>then cancel id is generated from the base64th ciphertext+text (concatenation)
>
>Cancel-ID: Base64(concatenation(ciphertext,text)) [Algorithm]
>
>Default symmetric cipher algorithm may be RC5, but it would be possible to add 
>other algorithm by defining its name explicitly.
>
>When we want to cancel the message we should add the header:
>
>Cancel-Key: Base64(key) [Algorithm]
>
>the server will decrypt the ciphertext with the key and compare with the text 
>if they coincide the cancel is approved.
>also message-id is compared.
>
>Currently it is quite safe to use 64bit key, the weakened RC5 challenge stands 
>since 1997 unsolved, it is also possible to use 128bit keys 
>that are currently used for high-grade secure connections.
>
>with 64 bit key 8+8=16 bytes will be encoded to 22 bytes base-64, for 128bit 
>key - 44 bytes.
>
>Alex
>

Re: Cancelling usenet messages in a reliable way (a proposal)
#57236
Author: Andrew - Supernews
Date: Fri, 15 Mar 2002 07:46
12 lines
1360 bytes
> Alex Birj <alexande_nospam@tx.technion.ac.il> wrote and posted through
> an open proxy:
>> Some considerations about cancelling Usenet messages:
[snip re-invention of wheel]

For someone who gets all pissy about theft of software, you have a
remarkably cavalier attitude towards theft of services.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
spam cancels (was Re: Cancelling usenet messages in a reliable way (a proposal))
#57240
Author: uhlar
Date: Fri, 15 Mar 2002 09:36
26 lines
2504 bytes
In news.software.nntp Russ Allbery <rra@stanford.edu> wrote:
-> You're reinventing cancel locks, which are indeed an excellent idea.
-> You're very much on the right track, but most of the work has already been
-> done.  See, for example, the header of my message.  The current cancel
-> lock draft switched to SHA-1 for exactly this reason.

-> For the current cancel lock draft, see:

->    <http://www.landfield.com/usefor/>

-> If you have any additional suggestions or analysis after reading it over,
-> I'm sure that the authors would be very interested in your feedback.

-> The current status of this draft is that it's waiting for the base article
-> standard to be released before proceeding.

What about spam cancels etc, are they documented in some way?

for example, news admin could allow some spam cancellers to cancel articles
while not allowing others.
-- 
 Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/
 Warning: I don't wish to receive spam to this address.
 Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
 Spam = (S)tupid (P)eople's (A)dvertising (M)ethod
Re: spam cancels (was Re: Cancelling usenet messages in a reliable way (a proposal))
#57243
Author: Erik Hensema
Date: Fri, 15 Mar 2002 10:19
12 lines
1478 bytes
uhlar@fantomas.sk (uhlar@fantomas.sk) wrote:
>What about spam cancels etc, are they documented in some way?
>
>for example, news admin could allow some spam cancellers to cancel articles
>while not allowing others.

www.nocem.org

-- 
Erik Hensema (erik@hensema.net)                             ICQ# 8280101
Quoting-HOWTO: http://www.leerquoten.nl
Re: Cancelling usenet messages in a reliable way (a proposal) (Supernews spying on Usenet users)
#57242
Author: Alex Birj
Date: Fri, 15 Mar 2002 10:38
51 lines
3672 bytes
  Sorry, your surname is Supernews?

  I just call anyone who hides under the mask of anomymity and don't put full 
name unless these are completely neutral messages that don't speculate about a 
specific person - coward, I'm not pissed about anything, I'm just pissed about 
cowards.

  If you work for Supernews (and you express its opinion unless it is your 
surname which I doubt) - when it will remove from its servers all copyrighted 
material you may voice your opinion, until then you just sit in your hole, get 
your salary and shut up. Apparently you missed something in your logical chain.

  re-invention of wheel: then first you should have brain to prove that 
breaking 128 bit cipher is difficult in the same degree or even close as 
finding collisions for the SHA hash function (MD5 is much worse, I'm not 
talking about it) or to explain why 27 byte overhead is better than 22. I guess 
you don't have enough (they don't teach that system administrators which you 
are in the best case), so no reason for you to post here at all.

   It also demonstrates possible spying tendencies among Supernews 
administrators which is far more alarming issue for Supernews customers. We 
shouldn't forget that they have access to server logs and there is no warranty 
that persons like this employee will refrain from spying on their customers 
like they are spying on Usenet users in general. If in the case of a newsreader 
you may have a proof that it is not the case by logging all the traffic - no 
way to verify whether they do it, we may get only occational indirect hints 
demonstrating general predisposition to do that.

   I didn't notice such tendencies among NewsGuy, NewsFeeds or TeraNews 
employees although I'm in no way associated with them and had only occational 
correspondence about technical issues. If I were a Supenews subscriber I would 
start thinking about changing the Usenet provider.

   That is exactly the reason why I don't keep website logs or introduce 
anything that may give any user identifiable feedback about NewsPro use back to 
me.

andrew+nonews@supernews.com (Andrew - Supernews) wrote:
>> Alex Birj <alexande_nospam@tx.technion.ac.il> wrote and posted through
>> an open proxy:
>>> Some considerations about cancelling Usenet messages:
>[snip re-invention of wheel]
>
>For someone who gets all pissy about theft of software, you have a
>remarkably cavalier attitude towards theft of services.
>
>-- 
>Andrew, Supernews
>http://www.supernews.com - individual and corporate NNTP services

Re: spam cancels (was Re: Cancelling usenet messages in a reliable way (a proposal))
#57244
Author: Alex Birj
Date: Fri, 15 Mar 2002 10:56
55 lines
3808 bytes
I mean just to leave the rest as it is, just this is an additional optional 
information that you may add to the message and it will help to some servers to 
verify that the cancel was issued by the original poster. Most servers cancel 
messages without problem, but some servers don't cancel messages because of the 
possibility of forged cancels and if there is some mechanism that supports 
verifiable cancels (I don't care hash or cipher if it is secure enough but I 
like the cipher method :) ) - they will surely allow such cancels.

So when you post a message - you may add additional header or not - in the 
former case you may issue a verifiable cancel (usual cancel message but with an 
additional header) and in the latter case - you can issue cancel without the 
header and all will be like it is now.

The cost of adding it - maybe 20 lines of code plus two standard algorithm 
implementations on the server and reader side.

For Usenet users it would be an additional option that can be ignored.

If you post something and you don't want to issue verifyable cancel you just 
don't add the header and all will be like it happens now.

It would just give a power to the original poster to securely cancel her 
messages and she can choose whether to use the option on the stage when the 
message is posted. I don't see any reason why not to give more options to the 
Usenet users nothing is introduced that contradicts the current state of 
things, just something optional.

uhlar@fantomas.sk wrote:
>In news.software.nntp Russ Allbery <rra@stanford.edu> wrote:
>-> You're reinventing cancel locks, which are indeed an excellent idea.
>-> You're very much on the right track, but most of the work has already been
>-> done.  See, for example, the header of my message.  The current cancel
>-> lock draft switched to SHA-1 for exactly this reason.
>
>-> For the current cancel lock draft, see:
>
>->    <http://www.landfield.com/usefor/>
>
>-> If you have any additional suggestions or analysis after reading it over,
>-> I'm sure that the authors would be very interested in your feedback.
>
>-> The current status of this draft is that it's waiting for the base article
>-> standard to be released before proceeding.
>
>What about spam cancels etc, are they documented in some way?
>
>for example, news admin could allow some spam cancellers to cancel articles
>while not allowing others.
>-- 
> Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/
> Warning: I don't wish to receive spam to this address.
> Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
> Spam = (S)tupid (P)eople's (A)dvertising (M)ethod

Re: spam cancels (was Re: Cancelling usenet messages in a reliable way (a proposal))
#57245
Author: Andrew Gierth
Date: Fri, 15 Mar 2002 11:08
21 lines
2028 bytes
>>>>> "uhlar" == uhlar  <uhlar@fantomas.sk> writes:

 uhlar> What about spam cancels etc, are they documented in some way?

you mean other than at http://www.killfile.org/faqs/cancel.html ?

 uhlar> for example, news admin could allow some spam cancellers to
 uhlar> cancel articles while not allowing others.

this has a scaling problem. At the moment, sites will generally receive
at most one spam cancel for any given article of spam regardless of how
many different spam-cancellers target the article. Getting around this
requires multiplying the volume of spam-cancels by, in the worst case,
the number of people actively cancelling.

you can get around this to some extent using nocem instead, but that has
its own drawbacks.

-- 
Andrew.
Re: Cancelling usenet messages in a reliable way (a proposal)
#57247
Author: Andrew - Supernews
Date: Fri, 15 Mar 2002 17:21
32 lines
2392 bytes
[Alex Birj's recent posts don't appear on our server because he's posting
through wide-open proxies which we have filtered out. I've manually added
his post to the References header of this article.]

In article <1bkk8.2$ft6.4860@news.uswest.net>, posted through an open proxy
belonging to Catherines Stores Corporation of Memphis TN, Alex Birj wrote:
> Sorry, your surname is Supernews?

no.

>  I just call anyone who hides under the mask of anomymity and don't put full 
>name unless these are completely neutral messages that don't speculate about a 
>specific person - coward, I'm not pissed about anything, I'm just pissed about 
>cowards.

what do you call people who use other people's network resources without
permission?

>It also demonstrates possible spying tendencies among Supernews 
>administrators

you've lost me here. _What_ exactly demonstrates possible spying tendencies?
That I occasionally glance through news.software.readers and therefore had
seen in the past various threads involving you? That I noticed that your
articles in this thread (which I'm reading in news.software.nntp) were not
on our server, and checked our logs to find out why that was? That I found
the contrast somewhat ironic, and posted accordingly?

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: Cancelling usenet messages in a reliable way (a proposal)
#57259
Author: Alex Birj
Date: Sat, 16 Mar 2002 02:23
49 lines
3683 bytes
I posted on certain topic and you posted an out of topic message trying to 
exercise a kind of police function, not mentioning your ignorance about which 
you apparently don't care. Since you are a Supernews employee I find your 
interests troublesome and alarming, consider studying to bring here more 
meaningful output instead of trolling with your out of topic posts and spying 
on Usenet users, it is very inappropriate given your current job position.

I worked in the Internet security field for two and half years, although I have 
pretty good understanding in using cryptographic algorithms, I wanted to hear 
outside opinion regarding the proposed method, although in the first place I 
want to see a similar option supported by newsservers in the future. And I'm 
pretty sure the method is much more secure than the approach described in the 
cancel-lock draft (which I wasn't aware about) and if it is - it should be 
preferred, it is a common practice in such cases (you don't know when one or 
another algorithm will be broken, cipher algorithms are better studied than 
hash algorithms since this is their primary function).

Even if you take a look at the cancel locks you see this reservation:

"5. Security Issues

General security issues with hash functions are discussed elsewhere, see
the references in [HMAC] for some pointers. The method outlined in
Section 4 is also vulnerable to the secret key being compromised or
guessed."

>you've lost me here. _What_ exactly demonstrates possible spying tendencies?
>That I occasionally glance through news.software.readers and therefore had
>seen in the past various threads involving you? That I noticed that your
>articles in this thread (which I'm reading in news.software.nntp) were not
>on our server, and checked our logs to find out why that was? That I found
>the contrast somewhat ironic, and posted accordingly?
>

    Yes, it shows your preferences, this is a classical psychological 
experiment, you see several objects and you are asked to choose what you like 
(and you even weren't asked), I'm pretty sure about that.
    There are barriers before you post, it passed all your "filters", you 
realize it is an off-topic post and still let it go, so spying on Usenet users 
must be essential for you.
    I had an email from Teranews a long time ago that demonstrated rather 
opposite attitude to such matters, they even taught me something in this 
respect.

>-- 
>Andrew, Supernews
>http://www.supernews.com - individual and corporate NNTP services

Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57260
Author: Alex Birj
Date: Sat, 16 Mar 2002 04:48
48 lines
3095 bytes
I've just noticed the beginning of your message, missed your text in brackets.

You've just violated my privacy and gave a demonstration how Supernews is 
spying on Usenet users and how easily their log information can be leaked into 
the public domain.

This is exactly what I talked about in my previous message.

I was testing the dedicated proxy feature - access to every server in newspro 
can be relayed through a dedicated proxy (mostly for allowing shared access 
through userid/pass protected proxies), also a common local proxy can be 
defined.

Any more news from Superspynews? 

Alex

Subject: Re: Cancelling usenet messages in a reliable way (a proposal)
From: andrew+nonews@supernews.com (Andrew - Supernews)
Date: Fri, 15 Mar 2002 17:21:41 -0000
Lines: 31
Newsgroups: news.software.readers,news.software.nntp
Message-Id: <slrna94bcv.1qto.andrew+nonews@trinity.supernews.net>
Reply-To: andrew@supernews.com
User-Agent: slrn/0.9.7.1 (FreeBSD)
X-Complaints-To: newsabuse@supernews.com
Xref: amsnews01.chello.com news.software.readers:94781 news.software.nntp:53629
X-Received-Date: Fri, 15 Mar 2002 18:21:42 MET (amsnews03.chello.com)>

[Alex Birj's recent posts don't appear on our server because he's posting
through wide-open proxies which we have filtered out. I've manually added
his post to the References header of this article.]

what do you call people who use other people's network resources without
permission?

you've lost me here. _What_ exactly demonstrates possible spying tendencies?
That I occasionally glance through news.software.readers and therefore had
seen in the past various threads involving you? That I noticed that your
articles in this thread (which I'm reading in news.software.nntp) were not
on our server, and checked our logs to find out why that was? That I found
the contrast somewhat ironic, and posted accordingly?

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services

Re: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57261
Author: Garrett Wollman
Date: Sat, 16 Mar 2002 05:46
51 lines
3426 bytes
In article <a6uire$h3utj$8@ID-58688.news.dfncis.de>,
Alex Birj  <alexande_nospam@tx.technion.ac.il> wrote:
>I've just noticed the beginning of your message, missed your text in brackets.

[Improperly-formatted quote of Andrew from Supernews relocated for
proximity to the relevant discussion:]

>[Alex Birj's recent posts don't appear on our server because he's posting
>through wide-open proxies which we have filtered out. I've manually added
>his post to the References header of this article.]

[Back to Alex Birj again:]
>You've just violated my privacy

WTF?!

You have no sort of privacy at all with respect to the headers of your
news articles; they are public information.  Certainly anyone reading
the headers can see that, although your From header claims you are
affiliated with an Israeli university you are posting through a German
news server from a machine in the Philippines.  If your message had
been rejected by my server for whatever reason, given that you are not
a user of mine, there is no legal or moral obligation on my part not
to tell anyone and everyone precisely why that happened, just as I am
free to tell the world:

Mar 16 00:34:35.318 - newsswitch.lcs.mit.edu <thf59uc6rabe4dc9da9vsk7otr4na1lo8v@4ax.com> 437 Binary in non-binary group

(I have no idea what that article was; it was just the last rejected
article in my log.)

So, let this be a warning: if you post an article that is received by
my server, you have no expectation of privacy with respect to either
its contents or its disposition by the software running on my server.
As a news admin, I would be perfectly within reason to make
/news/log/news available on a public Web server (although I have no
particular need to do so at the moment).

Oh, as to *your* article:

wollman@traf(8)$ fgrep 'a6uire$h3utj$8@ID-58688.news.dfncis.de' /news/log/news
Mar 15 23:48:48.309 + newsswitch.lcs.mit.edu <a6uire$h3utj$8@ID-58688.news.dfncis.de> 2813 overview!

-GAWollman

-- 
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick
Re: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57264
Author: Christopher Jahn
Date: Sat, 16 Mar 2002 07:07
22 lines
1763 bytes
And it came to pass that Alex Birj wrote:

> I've just noticed the beginning of your message, missed
> your text in brackets. 
> 
> You've just violated my privacy

You have no expectation of privacy in Usenet.
Usenet is not private by its very design.

If you want privacy, don't post.


-- 
}:-)       Christopher Jahn
{:-(         Dionysian Reveler
  
He was so narrow-minded he could see through a keyhole with both 
eyes.
 
To reply: xjahnATyahooDOTcom
Re: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57265
Author: Alex Birj
Date: Sat, 16 Mar 2002 07:12
84 lines
4779 bytes
Garrett, 

    What is wrong with a German server from a machine in the Philippines?
    I do have the technion email box.

   The server is news.cis.dfn.de check http://news.cis.dfn.de, this is my 
account, you can open one too.

    As to Andrew he used his company information to make his conclusions since 
they cannot be derived from the headers (I know what I'm talking about), he 
admitted that himself, I call that spying on Usenet users since it had nothing 
to do with Supernews services unless they took the role of the Usenet Police, 
from other data I have here I can  conclude with the high degree of certainty 
that it is common Supernews routine - company information (like server logs) 
are available to their employees for their private use and such practices are 
not condemned. You've used headers from my message, although I don't quite 
understand the reason. The thread was about different topic - cancelling Usenet 
posts, his message was rude and inappropriate in the thread context.

    So if you are a Supernews subscriber - you should accept also that Andrew 
may peek into your logs from time to time and if you post something he doesn't 
like he may publish them here in the newsgroup to prove his point.

    Let me know what else you need to know :)

Alex

wollman@lcs.mit.edu (Garrett Wollman) wrote:
>In article <a6uire$h3utj$8@ID-58688.news.dfncis.de>,
>Alex Birj  <alexande_nospam@tx.technion.ac.il> wrote:
>>I've just noticed the beginning of your message, missed your text in 
>>brackets.
>
>[Improperly-formatted quote of Andrew from Supernews relocated for
>proximity to the relevant discussion:]
>
>>[Alex Birj's recent posts don't appear on our server because he's posting
>>through wide-open proxies which we have filtered out. I've manually added
>>his post to the References header of this article.]
>
>[Back to Alex Birj again:]
>>You've just violated my privacy
>
>WTF?!
>
>You have no sort of privacy at all with respect to the headers of your
>news articles; they are public information.  Certainly anyone reading
>the headers can see that, although your From header claims you are
>affiliated with an Israeli university you are posting through a German
>news server from a machine in the Philippines.  If your message had
>been rejected by my server for whatever reason, given that you are not
>a user of mine, there is no legal or moral obligation on my part not
>to tell anyone and everyone precisely why that happened, just as I am
>free to tell the world:
>
>Mar 16 00:34:35.318 - newsswitch.lcs.mit.edu 
><thf59uc6rabe4dc9da9vsk7otr4na1lo8v@4ax.com> 437 Binary in non-binary group
>
>(I have no idea what that article was; it was just the last rejected
>article in my log.)
>
>So, let this be a warning: if you post an article that is received by
>my server, you have no expectation of privacy with respect to either
>its contents or its disposition by the software running on my server.
>As a news admin, I would be perfectly within reason to make
>/news/log/news available on a public Web server (although I have no
>particular need to do so at the moment).
>
>Oh, as to *your* article:
>
>wollman@traf(8)$ fgrep 'a6uire$h3utj$8@ID-58688.news.dfncis.de' /news/log/news
>Mar 15 23:48:48.309 + newsswitch.lcs.mit.edu 
><a6uire$h3utj$8@ID-58688.news.dfncis.de> 2813 overview!
>
>-GAWollman
>
>-- 
>Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the 
>same
>wollman@lcs.mit.edu  | O Siem / The fires of freedom 
>Opinions not those of| Dance in the burning flame
>MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

Re: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57267
Author: Andrew - Supernews
Date: Sat, 16 Mar 2002 09:53
60 lines
4508 bytes
In article <a6ur9l$gsgnk$1@ID-58688.news.dfncis.de>, Alex Birj wrote:
>  As to Andrew he used his company information to make his conclusions since 
> they cannot be derived from the headers (I know what I'm talking about),

from your earlier posts:
  NNTP-Posting-Host: 216.207.251.2  (on posts via USWest)
  NNTP-Posting-Host: 24.132.134.115 (on posts via Chello)

both of these are listed on several blacklists of insecure proxies, both
have been posted to groups such as alt.free.proxies, both have been used
for the purposes of Usenet abuse; all these facts are easily available to
anyone who knows where to look.

The fact that we blocked your posts because they were posted through open
proxies (and not for some other reason) is the only fact in my post that
wasn't already public knowledge. The fact that the posts _were_ blocked
would have been obvious to any user of ours reading the thread, and we
make no secret of the fact that we filter traffic arriving from other sites.

As for logs, let me explain a few things to you. There are two sides to
running a large news system: the reader-facing side (the servers which
the actual users connect to and read and post articles) and the transit
side (where articles are exchanged with newspeers).

Logs from the reader side of the system are confidential; they contain
private info about our users (such as who posted what). We don't log
which groups are accessed or which articles are downloaded; we _do_ log
all posts, since we need to be able to deal with abuse issues, and we do
log the user's session times, durations and download volume for accounting
purposes. None of these logs are disclosed except as a result of proper
legal process. (There are some slight differences for outsource users as
opposed to individuals; the accounting data for outsource users is also
available, optionally, to the customer (i.e. the ISP).)

On the transit side of the system, what we're dealing with is info which
is _already public knowledge_; either articles which were posted at some
other site and which arrive via one of our peers, or articles which our
users have posted to a public group and which are therefore being
distributed to our peers for propagation worldwide. Details like "which
article arrived from which peer" are even visible to any random user via
the Path: header. Furthermore, while the details of how our filters work
are not disclosed (so as not to encourage people to circumvent them),
the general policy (filtering spam, floods, abuse sources such as proxies
and open servers, binaries in non-binary groups, excessive crossposting etc)
is no secret, and the general reasons for the rejection of any given post
are also not considered confidential. Questions of the form "why didn't
this article (posted from some other site) show up on your server" are
routinely answered (though they are fairly rare because we try pretty hard
not to drop legitimate traffic).

> The thread was about different topic - cancelling Usenet 
> posts, his message was rude and inappropriate in the thread context.

it wasn't related to the topic of the thread, no. That's Usenet for you.
I don't like proxy abusers; they waste far too much of our time.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57269
Author: Alex Birj
Date: Sat, 16 Mar 2002 15:40
30 lines
2641 bytes
So you agree that your organization may monitor and take action towards any 
Usenet user who is not Supernews subscriber with the help of the company data 
even if the matter is not related to your company or provoked in any way and 
you tell us that this is official Supernews policy.

I wanted just to emphasize Supernews position regarding this question as 
contradicting the nature of Usenet which in my humble opinion is increased 
tolerance.

>I don't like proxy abusers; they waste far too much of our time.

I abandoned such hating approach a long time ago - if someone uses technical 
means I respond only with technical measures and never attack specific 
individuals unless provoked by their disrespectful comments, I don't even 
mention generalizations like in your case (I'll never say "I don't like this 
class of individuals"), I suggest maybe your company is in trouble if you came 
to this, I'm just an individual developer that cannot be the cause of your 
company problems, believe me even if they go bankrupt and you have skills you 
will end maybe even in a better place.

I'm trying to be as less business oriented as possible but as to business take 
a look to an exerpt from my correspondence with another Usenet provider how 
they meet their problems:

"We just consider it a cost of doing business....  It does no good to get upset 
over it."

Alex

Re: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57273
Author: Curt Welch
Date: Sat, 16 Mar 2002 16:01
17 lines
2277 bytes
Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
> So you agree that your organization may monitor and take action towards
> any Usenet user who is not Supernews subscriber with the help of the
> company data even if the matter is not related to your company or
> provoked in any way and you tell us that this is official Supernews
> policy.

Everyone that runs a news server takes actions against posts which are
seen as wastful of resources.  If we didn't do that, usenet would be 100%
spam and 0% users by now and we wouldn't be here talking about this.

How you identify "spam" is up the the admin.  There are no easy answers.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57276
Author: Mark Hittinger
Date: Sat, 16 Mar 2002 17:25
12 lines
2081 bytes
Alex Birj <alexande_nospam@tx.technion.ac.il> writes:
>I wanted just to emphasize Supernews position regarding this question as 
>contradicting the nature of Usenet which in my humble opinion is increased 
>tolerance.

But I thought it was increased flame? :-)

Later

Mark Hittinger
bugs@pu.net
Re: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57277
Author: Russ Allbery
Date: Sat, 16 Mar 2002 17:51
18 lines
2303 bytes
In news.software.readers, Alex Birj <alexande_nospam@tx.technion.ac.il> writes:

> So you agree that your organization may monitor and take action towards
> any Usenet user who is not Supernews subscriber with the help of the
> company data even if the matter is not related to your company or
> provoked in any way and you tell us that this is official Supernews
> policy.

You have absolutely no idea what you're talking about, and the more you
keep talking about it, the more of an idiot you make yourself look like.
Andrew isn't using any sort of "company data"; the fact that you're
abusing someone else's network bandwidth by posting through an open proxy
server is entirely obvious from the headers of your message and some
simple investigation that anyone on the Internet could do.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Cancelling usenet messages in a reliable way (a proposal)
#57281
Author: Simon Lyall
Date: Sat, 16 Mar 2002 23:43
22 lines
2064 bytes
In news.software.nntp Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
>Currently it is quite safe to use 64bit key, the weakened RC5 challenge stands 
>since 1997 unsolved ($10000 reward), it is also possible to use 128bit keys 
>that are currently used for high-grade secure connections.

I'm not sure this is fully applicable. Your scheme has known plaintext and 
known cypertext with unknown key while the chellenge has known cypertext 
and only this first few characters of the plaintext being known. This may 
weaken you scheme a little.

You have changed you scheme a couple of times between posts, can you 
please post the current version. References to problems with SHA1 would be 
good as well.

Disclaimer: I am not a cryptographer

-- 
Simon J. Lyall  |  Very Busy  |  Mail: simon@darkmere.gen.nz
"Inside me Im Screaming, Nobody pays any attention."  | eMT.

"We came to wreck everything and ruin your life, God sent us"
Re: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57299
Author: Cookie Holley
Date: Sun, 17 Mar 2002 18:05
21 lines
1991 bytes
On Sat, 16 Mar 2002 07:07:59 GMT, Christopher Jahn
<xjahn@netscape.net> wrote:

>  
>He was so narrow-minded he could see through a keyhole with both 
>eyes.


I've just learned where NOT to spend my money!

Thank you one and all.

 Cookie Holley
 riding the Rider
 cookieholley@tymewyse.com
http://bumpNgrindrecords.com click videos 4 FREE bNg music videos.
http://www.live365.com/stations/110116 Cookie Holley
http://www.live365.com/stations/145667 Midnight Rider
iM Tuner/Phillips Tuner network "Best on the Planet stations"
 . 
Re: spam cancels (was Re: Cancelling usenet messages in a reliable way (a proposal))
#57322
Author: uhlar
Date: Mon, 18 Mar 2002 07:58
30 lines
2744 bytes
In news.software.nntp Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
->>>>>> "uhlar" == uhlar  <uhlar@fantomas.sk> writes:

-> uhlar> What about spam cancels etc, are they documented in some way?

-> you mean other than at http://www.killfile.org/faqs/cancel.html ?

-> uhlar> for example, news admin could allow some spam cancellers to
-> uhlar> cancel articles while not allowing others.

-> this has a scaling problem. At the moment, sites will generally receive
-> at most one spam cancel for any given article of spam regardless of how
-> many different spam-cancellers target the article. Getting around this
-> requires multiplying the volume of spam-cancels by, in the worst case,
-> the number of people actively cancelling.

Well I thinksome hierarchies may have some cancellers while other
hierarchies can have other cancellers. But good to know this. 

-> you can get around this to some extent using nocem instead, but that has
-> its own drawbacks.


-- 
 Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/
 Warning: I don't wish to receive spam to this address.
 Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
    One OS to rule them all, One OS to find them, 
 One OS to bring them all and into darkness bind them 
Re: Cancelling usenet messages in a reliable way (a proposal)
#57348
Author: Alex Birj
Date: Mon, 18 Mar 2002 21:19
101 lines
5012 bytes
Below is the latest variant of the scheme (I posted it already)

I'm not a cryptoanalyst, so I checked more references.

We talk about 1 block of text/ciphertext, the attack is called known plaintext 
attack, linear cryptoanalysis.

"A known-plaintext attack is one in which the cryptanalyst obtains a sample of 
ciphertext and the corresponding plaintext as well."

"Abstract. In [9] Matsui introduced a new method of cryptanalysis, called 
Linear Cryptanalysis. This method was used to attack DES using 2 power 47 known 
plaintexts. "

And DES is 56 bit, it is quite a different order.

Differential cryptoanalysis is not applicable since the attacker cannot choose 
plain text.

If we use the message-id method - we get new text/ciphertext pair "exposing" 
the personal key in this sense with every new message posted, with random text 
- with every new message cancelled.

Here it is:

------------------------------------------------------------------------------------------------------------

First a random 16 byte password is generated that can be reused, it is your 
personal 128 bit RC5 symmetric key.

The idea is simple - to add to the article headers which contain text and 
ciphertext, and to send a symmetric key to verify the cancel (the server will  
apply the key to the text and will compare result with the ciphertext, the task 
of breaking this would amount to breaking the cipher itself since it is one to 
one function, just a permutation, if you find a 'collision' - you have the key 
- I mean when block size=key size, just we take block size 16 bytes).

To do all that - first we generate 16 bytes of random text (on per post basis)

The question is then what symmetric key we will use to produce the ciphertext.

We just encrypt the random text with our personal symmetric key to get the 
symmetric key for this specific article.

Then we will encrypt the text with the symmetric key we've just produced and 
thus we got the ciphertext.

Now we add among posted article headers:

Cancel-Rand: our original random text
Cancel-ID: our ciphertext

Now suppose we want to cancel the article.

In the exactly same way we can easily produce the symmetric key from the random 


text from article headers with the help of our personal symmetric key.

Then among control cancel headers we will add:

Cancel-Key: the symmetric key for the specific article

Now server may apply the key, compare the result and verify that the cancel is 
genuine.

We can omit Cancel-Rand if newsserver doesn't force its message-id (so 
message-ids might be generated by newsreaders).

As the text we will take MD5 hash of message-id+24 originally random bytes that 
are predefined (always the same and known)

MD5 hash has is exactly 16 bytes, so we will use it as the random text in the 
case the Cancel-Rand header is missing (just an agreement to get rid of one 
header and reduce the overhead to only 22 base64 encoded bytes).

Simon Lyall <simon@darkmere.gen.nz> wrote:
>In news.software.nntp Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
>>Currently it is quite safe to use 64bit key, the weakened RC5 challenge 
>>stands 
>>since 1997 unsolved ($10000 reward), it is also possible to use 128bit keys 
>>that are currently used for high-grade secure connections.
>
>I'm not sure this is fully applicable. Your scheme has known plaintext and 
>known cypertext with unknown key while the chellenge has known cypertext 
>and only this first few characters of the plaintext being known. This may 
>weaken you scheme a little.
>
>You have changed you scheme a couple of times between posts, can you 
>please post the current version. References to problems with SHA1 would be 
>good as well.
>
>Disclaimer: I am not a cryptographer
>
>-- 
>Simon J. Lyall  |  Very Busy  |  Mail: simon@darkmere.gen.nz
>"Inside me Im Screaming, Nobody pays any attention."  | eMT.
>
>"We came to wreck everything and ruin your life, God sent us"

Re: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57351
Author: Alex Birj
Date: Mon, 18 Mar 2002 21:35
34 lines
2432 bytes
I cannot object to a prophet :)

Alex

--

"The mod.* hierarchy is another experiment in the future of Usenet, this one 
designing a hierarchy in which every group has to be moderated but there are 
almost no other restrictions."

Russ Allbery


Russ Allbery <rra@stanford.edu> wrote:
>In news.software.readers, Alex Birj <alexande_nospam@tx.technion.ac.il> 
>writes:
>
>> So you agree that your organization may monitor and take action towards
>> any Usenet user who is not Supernews subscriber with the help of the
>> company data even if the matter is not related to your company or
>> provoked in any way and you tell us that this is official Supernews
>> policy.
>
>You have absolutely no idea what you're talking about, and the more you
>keep talking about it, the more of an idiot you make yourself look like.
>Andrew isn't using any sort of "company data"; the fact that you're
>abusing someone else's network bandwidth by posting through an open proxy
>server is entirely obvious from the headers of your message and some
>simple investigation that anyone on the Internet could do.
>
>-- 
>Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57353
Author: Russ Allbery
Date: Mon, 18 Mar 2002 21:54
19 lines
2176 bytes
In news.software.nntp, Alex Birj <alexande_nospam@tx.technion.ac.il> writes:

> I cannot object to a prophet :)

> "The mod.* hierarchy is another experiment in the future of Usenet, this
> one designing a hierarchy in which every group has to be moderated but
> there are almost no other restrictions."

> Russ Allbery

Yes?  I said that.  Several years ago, I think.  Unfortunately, the
experiment never got off the ground.  Do you have a point?

-- 
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: Supernews is spying on Usenet users; server log info in the public domain posted by a Supernews employee.
#57354
Author: Russ Allbery
Date: Mon, 18 Mar 2002 22:08
24 lines
2451 bytes
In news.software.nntp, Russ Allbery <rra@stanford.edu> writes:
> Alex Birj <alexande_nospam@tx.technion.ac.il> writes:

>> I cannot object to a prophet :)

>> "The mod.* hierarchy is another experiment in the future of Usenet, this
>> one designing a hierarchy in which every group has to be moderated but
>> there are almost no other restrictions."

>> Russ Allbery

> Yes?  I said that.  Several years ago, I think.  Unfortunately, the
> experiment never got off the ground.  Do you have a point?

Ah, I see, I haven't updated the projects section of my web pages in far
too long.  :)  Thanks for the (very indirect) suggestion; I'll have to see
if I can find time to do that.

-- 
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: Cancelling usenet messages in a reliable way (a proposal)
#57391
Author: Alex Birj
Date: Tue, 19 Mar 2002 05:03
132 lines
5925 bytes
I've just thought another workaround to boost the security of the method even 
further is to keep not one personal key but a number of possible personal keys 
(two or three, a few is enough)

key1.......keyN

When we post a message - we will pick up a key from the set randomly (in the 
role of the personal key).

When we cancel a message - we will try all keys in a row until we find a key 
that was used in the original post and we use the key to issue the cancel.

Then the attacker won't know what key personal was used for what post and it 
will make the linear cryptanalysis much more difficult.

But I don't know if it is really needed maybe too much :)

Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
>Below is the latest variant of the scheme (I posted it already)
>
>I'm not a cryptoanalyst, so I checked more references.
>
>We talk about 1 block of text/ciphertext, the attack is called known plaintext 
>
>attack, linear cryptoanalysis.
>
>"A known-plaintext attack is one in which the cryptanalyst obtains a sample of 
>
>ciphertext and the corresponding plaintext as well."
>
>"Abstract. In [9] Matsui introduced a new method of cryptanalysis, called 
>Linear Cryptanalysis. This method was used to attack DES using 2 power 47 
>known 
>plaintexts. "
>
>And DES is 56 bit, it is quite a different order.
>
>Differential cryptoanalysis is not applicable since the attacker cannot choose 
>
>plain text.
>
>If we use the message-id method - we get new text/ciphertext pair "exposing" 
>the personal key in this sense with every new message posted, with random text 
>
>- with every new message cancelled.
>
>Here it is:
>
>------------------------------------------------------------------------------------------------------------
>
>First a random 16 byte password is generated that can be reused, it is your 
>personal 128 bit RC5 symmetric key.
>
>The idea is simple - to add to the article headers which contain text and 
>ciphertext, and to send a symmetric key to verify the cancel (the server will  
>
>apply the key to the text and will compare result with the ciphertext, the 
>task 
>of breaking this would amount to breaking the cipher itself since it is one to 
>
>one function, just a permutation, if you find a 'collision' - you have the key 
>
>- I mean when block size=key size, just we take block size 16 bytes).
>
>To do all that - first we generate 16 bytes of random text (on per post basis)
>
>The question is then what symmetric key we will use to produce the ciphertext.
>
>We just encrypt the random text with our personal symmetric key to get the 
>symmetric key for this specific article.
>
>Then we will encrypt the text with the symmetric key we've just produced and 
>thus we got the ciphertext.
>
>Now we add among posted article headers:
>
>Cancel-Rand: our original random text
>Cancel-ID: our ciphertext
>
>Now suppose we want to cancel the article.
>
>In the exactly same way we can easily produce the symmetric key from the 
>random 
>
>
>text from article headers with the help of our personal symmetric key.
>
>Then among control cancel headers we will add:
>
>Cancel-Key: the symmetric key for the specific article
>
>Now server may apply the key, compare the result and verify that the cancel is 
>
>genuine.
>
>We can omit Cancel-Rand if newsserver doesn't force its message-id (so 
>message-ids might be generated by newsreaders).
>
>As the text we will take MD5 hash of message-id+24 originally random bytes 
>that 
>are predefined (always the same and known)
>
>MD5 hash has is exactly 16 bytes, so we will use it as the random text in the 
>case the Cancel-Rand header is missing (just an agreement to get rid of one 
>header and reduce the overhead to only 22 base64 encoded bytes).
>
>Simon Lyall <simon@darkmere.gen.nz> wrote:
>>In news.software.nntp Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
>>>Currently it is quite safe to use 64bit key, the weakened RC5 challenge 
>>>stands 
>>>since 1997 unsolved ($10000 reward), it is also possible to use 128bit keys 
>>>that are currently used for high-grade secure connections.
>>
>>I'm not sure this is fully applicable. Your scheme has known plaintext and 
>>known cypertext with unknown key while the chellenge has known cypertext 
>>and only this first few characters of the plaintext being known. This may 
>>weaken you scheme a little.
>>
>>You have changed you scheme a couple of times between posts, can you 
>>please post the current version. References to problems with SHA1 would be 
>>good as well.
>>
>>Disclaimer: I am not a cryptographer
>>
>>-- 
>>Simon J. Lyall  |  Very Busy  |  Mail: simon@darkmere.gen.nz
>>"Inside me Im Screaming, Nobody pays any attention."  | eMT.
>>
>>"We came to wreck everything and ruin your life, God sent us"
>

Re: Cancelling usenet messages in a reliable way (a proposal)
#57411
Author: Curt Welch
Date: Tue, 19 Mar 2002 14:49
27 lines
2375 bytes
Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
> I've just thought another workaround to boost the security of the method
> even further is to keep not one personal key but a number of possible
> personal keys (two or three, a few is enough)
>
> key1.......keyN
>
> When we post a message - we will pick up a key from the set randomly (in
> the role of the personal key).
>
> When we cancel a message - we will try all keys in a row until we find a
> key that was used in the original post and we use the key to issue the
> cancel.
>
> Then the attacker won't know what key personal was used for what post and
> it will make the linear cryptanalysis much more difficult.
>
> But I don't know if it is really needed maybe too much :)

It's an option that can be implemented at the newsreader level so it's
a choice the newsreader author can make.  You can likewise just make
up random keys for every message and keep a list of all recent articles.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Cancelling usenet messages in a reliable way (a proposal) - End
#57428
Author: Alex Birj
Date: Tue, 19 Mar 2002 19:43
45 lines
2620 bytes
No, the personal key is secret, it is just a means to produce different 
symmetric keys for particular articles to avoid keeping symmetric keys for 
every posted article as you noticed earlier.

I just speculated a bit further what happens if we use several personal keys, 
but it seems in the end the only option is to stick to the scheme with one 
personal key since otherwise we need to keep ciphertexts, not only message-ids, 
so the unnecessarily boosted security is not for free. Likewise if we generate 
random text ourselves (not from message-id) - we should have it to issue 
cancel, so in the end personal symmetric key makes sense only if we use 
message-id to produce text and single personal key, otherwise we just can keep 
instead per-article keys for the same price in storage like it was in my 
initial post.

It is an elemantary application of the symmetric scheme so in this the matter 
is exhausted.

In short the sequence is (in addition to my first post - publish 
text/ciphertext and keep a per-post keys -  if newsreader generated message-ids 
are not allowed):
 
    Given:

        personal symmetric key 
    
    Then given a message:
 
[1]        text=MD5(message-id+constant)  
[2]        one-time symmetric key=RC5(personal symmetric key,text)

[3]        ciphertext=RC5(one-time symmetric key, text)
 
     Adding in article headers:
 
Cancel-ID: ciphertext
 
      To cancel article:
 
Calculate one-time symmetric key using [1] and [2]
 
     Add in the control cancel message:
 
Cancel-Key: one-time symmetric key

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