Gnus development mailing list
 help / color / mirror / Atom feed
From: Stainless Steel Rat <ratinox@peorth.gweep.net>
Subject: Re: [ANNOUNCE] contrib/hashcash.el spam fighter
Date: Sun, 30 Jun 2002 03:23:38 -0400	[thread overview]
Message-ID: <m3lm8x9qmd.fsf@peorth.gweep.net> (raw)
In-Reply-To: <s5g7kkh8vnj.fsf@egghead.curl.com> ("Patrick J. LoPresti"'s message of "29 Jun 2002 20:20:16 -0400")

* "Patrick J. LoPresti" <patl@curl.com>  on Sat, 29 Jun 2002
| If those 5 million recipients all use X-Hashcash, the spammer has to
| compute a distinct hash for each of them.  Sounds like it works to me.

No, it does not, because the every X-Hashcash recipient needs to keep a
database of used hashes for the system to be effective, and as I already
described -three- times in detail that is a fundamental weakness in the
system that can be exploited by spammers and denial of service attackers.

| X-Hashcash is just hashcash implemented by the end user.  You seem to
| think that this is somehow fundamentally different than having the MTA do
| it, but you have yet to give a very good argument why.

Then you failed to read my posts describing the differences in detail.  In
summary:

X-Hashcash uses a single insecure challenge or a limited number of insecure
challenges that may be used many times by many senders.  X-Hashcash coins
are manually generated by the user "off line" before the message is sent.
X-Hashcash requires the recipient keep a database of spent coins and scan
it for every message received to detect when a coin is respent.  This
database is vulnerable to denial of service attacks in the form of database
flooding, bogus data injected by spammers or attackers (spoofing), false
positives (legitimate mail being tagged as spam due to reused coins from a
spoof or other attack), and false negatives (spam not being tagged because
of coins that appear legitimate).

Hashcash generates a cryptographically secure one-use challenge for every
message sent, much like S/Key and SecurID challenges.  Hashcash coins are
generated automatically in real time by the sending MTA at the time it
attempts delivery; the system is transparent to the end user.  Hashcash
needs no spent coin database -- and thus no overhead to maintain or search
it, and no vulnerabilities due to it -- because coins cannot be reused.

| (Other than failing to work with BCC, but I suspect many people would
| consider that fairly minor.)

Your assumpion is flawed, partially because it is in direct violation of
RFC 2822, partially because "many" is not "all".  See my previously posted
contradictory example.

| Having to keep a database of spent coins is the only extra cost of a
| non-challenge-response implementation, but that database is cheap.  Ever
| use nnmail-treat-duplicates?

Straw man.  .nnmail-cache is a one dimensional table that removes entries
as messages are expired.  X-Hashcash spent coin database is a two
dimensional table -- hashes and time stamps -- that needs to be regularly
pruned based on time stamps and can grow many times larger than stored
messages would indicate, depending on the individual's expiry settings.
They are not comparable either in composition or use.

| If all you want to do is cost the sender 5 or 6 seconds at the MTA
| level, why not just stall the TCP connection for 5 seconds per
| envelope recipient?  It would be much simpler than hashcash :-).

Because it makes the recipient vulnerable to denial of service attacks.

-- 
Rat <ratinox@peorth.gweep.net>    \ Do not use Happy Fun Ball on concrete.
Minion of Nathan - Nathan says Hi! \ 
PGP Key: at a key server near you!  \ 
       That and five bucks will get you a small coffee at Starbucks.



  reply	other threads:[~2002-06-30  7:23 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
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 [this message]
     [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=m3lm8x9qmd.fsf@peorth.gweep.net \
    --to=ratinox@peorth.gweep.net \
    /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).