Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: "(ding)" <ding@gnus.org>
Subject: Re: [ANNOUNCE] contrib/hashcash.el spam fighter
Date: Sat, 29 Jun 2002 13:46:18 +0200	[thread overview]
Message-ID: <ilu6602gved.fsf@extundo.com> (raw)
In-Reply-To: <m3bs9u6hmz.fsf@peorth.gweep.net> (Stainless Steel Rat's message of "Fri, 28 Jun 2002 20:41:24 -0400")

Stainless Steel Rat <ratinox@peorth.gweep.net> writes:

> | The number of email addresses a person has is usually a constant, so
> | the problem is O(1).
>
> And in a list of 500 hashes, which one is yours?  Remember, this is a BCC
> list, so there is no association of hashes to addresses.

I try them all, which doesn't take more than a few ns.  OTOH I rarely
see mail with 500 direct recipients, so this isn't a typical scenario.

> | I wouldn't reject failed hashcash, I would treat it as mail that don't
> | have hashcash.  Hashcash improves the situation in most cases, and in
> | the remote cases where it fails, it doesn't make things worse than it
> | was before.
>
> This makes no sense to me.  If the purpose of X-Hashcash (not hashcash,
> they are NOT the same thing) on a personal level is a spam filtering
> mechanism, and you receive a message that has a "spent" coin, you treat
> that message as a message that has no coin at all?  If so, then what is the
> point of keeping a database of spent coins?

To put mail with valid hashcash in a separate, supposedly spam-free,
mailbox.

> | Not at all, it seems to work fine, if in your example hashcash forces
> | spammers to invest in knowledge to get a cluster with 5000 machines to
> | work.  Making it expensive to spam is the whole point of hashcash.
>
> You seem to be unaware of what Sub7 is.  Look it up on Symantec's
> anti-virus web site.  They describe it better than I can.  It would take me
> (as DoS attacker) very little effort to assemble a network of many
> thousands of machines, secretly stealing CPU cycles from all over the world
> to generate hashes with which to cripple someone's mail server.  The
> X-Hashcash spent coin database is a fundamental weakness that can be
> exploited.

I don't understand this argument, the whole point of hashcash is that
you need to spend CPU to overcome it.  How you aquire that CPU is
irrelevant.  If all spammers were required to acquire it using sub7,
people would start to fix the sub7 problem, not stop using hashcash,
and things would be fine.

By the same argument, all cryptography has a weakness because you can
brute force it using sub7.  It is not a weakness to me, but a design
goal.

> | Also, in practice the collision size people will use will be close to
> | 30 bits though, and is increased over time as CPUs gets faster.
>
> 30 bits?  You must be joking.  A 30 bit collision is a 1:2^30 probability
> At a rate of 200,000 hashes per second (which is pretty fast for a desktop
> machine today, actually) it would take on average 5,368 seconds to find
> just one collision.  That's 1.5 HOURS.
>
> 30 bits?  No way.  Not for another 5 years at least.

30 bits would allow a desktop PC to send 16 mails per day, that's
probably more that I need.  If you use too few bits (like anything
under 23-24), spammers will have it to easy to acquire that amount of
CPU.  29 bits have been suggested as a value to use in practice.




  reply	other threads:[~2002-06-29 11:46 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-22 12:55 Simon Josefsson
2002-06-23  2:40 ` David Masterson
2002-06-23  4:39   ` Stainless Steel Rat
2002-06-23  5:12     ` David Masterson
2002-06-23 13:50       ` Stainless Steel Rat
2002-06-23 14:36         ` Simon Josefsson
2002-06-23 15:20           ` Stainless Steel Rat
2002-06-23 17:59             ` Simon Josefsson
2002-06-23 21:34               ` Stainless Steel Rat
2002-06-24  5:41                 ` David Masterson
2002-06-24  8:20                   ` Kai Großjohann
2002-06-24 12:06                 ` Simon Josefsson
2002-06-24 16:05                   ` Stainless Steel Rat
2002-06-24 16:41                     ` Simon Josefsson
2002-06-24 19:26                       ` Stainless Steel Rat
2002-06-24 21:14                         ` Simon Josefsson
2002-06-25  1:55                           ` Stainless Steel Rat
2002-06-25  2:15                           ` Stainless Steel Rat
2002-06-25  8:56                             ` Simon Josefsson
2002-06-25 14:54                               ` Stainless Steel Rat
     [not found]                                 ` <mit.lcs.mail.ding/02Jun25.104630edt.119271@gateway.intersystems.com>
2002-06-28 14:48                                   ` Patrick J. LoPresti
2002-06-28 16:30                                     ` Stainless Steel Rat
     [not found]                                       ` <mit.lcs.mail.ding/02Jun28.122222edt.119118@gateway.intersystems.com>
2002-06-28 20:25                                         ` Patrick J. LoPresti
2002-06-28 21:30                                           ` Stainless Steel Rat
2002-06-28 23:03                                             ` Simon Josefsson
2002-06-29  0:41                                               ` Stainless Steel Rat
2002-06-29 11:46                                                 ` Simon Josefsson [this message]
2002-06-29 13:56                                                   ` Stainless Steel Rat
     [not found]                                                   ` <m2u1nmti0u.fsf@tnuctip.rychter.com>
2002-06-29 14:05                                                     ` Stainless Steel Rat
     [not found]                                                       ` <mit.lcs.mail.ding/m3bs9uxjsh.fsf@peorth.gweep.net>
2002-06-30  0:20                                                         ` Patrick J. LoPresti
2002-06-30  7:23                                                           ` Stainless Steel Rat
     [not found]                                             ` <mit.lcs.mail.ding/02Jun28.172137edt.119392@gateway.intersystems.com>
2002-06-30  0:07                                               ` Patrick J. LoPresti
2002-06-30  7:48                                                 ` Stainless Steel Rat
2002-07-01  6:37                                             ` Steinar Bang
2002-07-01 15:20                                               ` Stainless Steel Rat
2002-07-01 17:22                                                 ` Steinar Bang
2002-07-01 18:37                                                   ` Stainless Steel Rat
2002-07-02 10:43                                                     ` Steinar Bang
2002-07-02 15:33                                                       ` Stainless Steel Rat
2002-07-02 18:23                                                         ` Simon Josefsson
2002-07-02 18:28                                                           ` Karl Kleinpaste
2002-07-02 18:50                                                             ` Simon Josefsson
2002-07-05 22:14                                                               ` Kevin Ryde
2002-07-06 11:11                                                                 ` Henrik Enberg
2002-07-07 18:40                                                                 ` Simon Josefsson
2002-07-02 18:57                                                         ` Steinar Bang
2002-07-02 21:09                                                           ` Stainless Steel Rat
2002-07-03 11:45                                                             ` Steinar Bang
2002-07-03 12:35                                                               ` Oystein Viggen
2002-07-03 14:49                                                               ` Stainless Steel Rat
2002-06-25  6:57                     ` undo mail catchup w .snapshot .[mumble]rc ? Yeoh Yiu
2002-06-26 19:33                       ` Paul Jarc
2002-06-28  4:51                         ` Yeoh Yiu
2002-06-23 14:36         ` [ANNOUNCE] contrib/hashcash.el spam fighter Mark Milhollan
2002-06-23 10:54   ` Simon Josefsson
2002-06-24 18:22     ` Jason R. Mastaler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilu6602gved.fsf@extundo.com \
    --to=jas@extundo.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).