summaryrefslogtreecommitdiff
path: root/21/7e2fde3813a479273c5de228fbb334030a19a2
blob: c70c95fa409419d97ee87601a40f72983c849878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191]
	helo=mx.sourceforge.net)
	by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <mh.in.england@gmail.com>) id 1USlKJ-00072C-Lw
	for bitcoin-development@lists.sourceforge.net;
	Thu, 18 Apr 2013 09:40:23 +0000
Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com
	designates 209.85.214.179 as permitted sender)
	client-ip=209.85.214.179; envelope-from=mh.in.england@gmail.com;
	helo=mail-ob0-f179.google.com; 
Received: from mail-ob0-f179.google.com ([209.85.214.179])
	by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1USlKI-0004q3-TI
	for bitcoin-development@lists.sourceforge.net;
	Thu, 18 Apr 2013 09:40:23 +0000
Received: by mail-ob0-f179.google.com with SMTP id x4so411896obh.24
	for <bitcoin-development@lists.sourceforge.net>;
	Thu, 18 Apr 2013 02:40:17 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.182.101.169 with SMTP id fh9mr5072448obb.2.1366277548337;
	Thu, 18 Apr 2013 02:32:28 -0700 (PDT)
Sender: mh.in.england@gmail.com
Received: by 10.76.167.169 with HTTP; Thu, 18 Apr 2013 02:32:28 -0700 (PDT)
In-Reply-To: <20130418092824.GA10184@savin>
References: <CANEZrP1yKeQMayFHsEUWtA3=q+v5rPAutjzEFVVHopPGNZ4jGQ@mail.gmail.com>
	<453bfc69-b2ab-4992-9807-55270fbda0db@email.android.com>
	<CANEZrP0z6W0ZDsytQ7Rcqb5L6rswn1wv8cbR7c383Dmpzu+gyg@mail.gmail.com>
	<CAPaL=UVJd3mdd0bs6Oo9vFHnv_6RbFowjmp0tD-ZbOzZxJEJ3g@mail.gmail.com>
	<CANEZrP3ocAJNoQ3xJqRTL8Gz3_T8xsCPPAvSfEOYpPo76wgbig@mail.gmail.com>
	<20130418090444.GA30995@savin> <20130418092824.GA10184@savin>
Date: Thu, 18 Apr 2013 11:32:28 +0200
X-Google-Sender-Auth: QBzFldR6OBwwEyzDkrw89PS7v_s
Message-ID: <CANEZrP1NgAyw_FL0LNHMejL_QcZ5ib2mjvbZ=NqZ0za7vY-L0g@mail.gmail.com>
From: Mike Hearn <mike@plan99.net>
To: Peter Todd <pete@petertodd.org>
Content-Type: multipart/alternative; boundary=e89a8ff1cab4eef24304da9f47e4
X-Spam-Score: -0.5 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
	sender-domain
	0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
	(mh.in.england[at]gmail.com)
	-0.0 SPF_PASS               SPF: sender matches SPF record
	1.0 HTML_MESSAGE           BODY: HTML included in message
	0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
	not necessarily valid
	-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Headers-End: 1USlKI-0004q3-TI
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] Anti DoS for tx replacement
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Thu, 18 Apr 2013 09:40:23 -0000

--e89a8ff1cab4eef24304da9f47e4
Content-Type: text/plain; charset=UTF-8

> ...and actually, that's not a problem if the defender is online, because
> they can just broadcast the highest sequence numbered tx, which blocks
> further broadcasts by the attacker.


Good point - transactions can be ordered by highest version seen before
they're signature checked. Even without that improvement it's still rather
tricky to win the race though.

I'm intending on making a prototype for myself at some point soon, probably
in bitcoinj. I've been making notes and writing some initial code - I did
successfully replace a transation on my own little testnet, then I figured
I'd submit the patch so it's easier for others to play with it. But I
haven't got the whole thing working end to end yet.

--e89a8ff1cab4eef24304da9f47e4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">...and actually, that&#39;s not a problem if=
 the defender is online, because<br>

they can just broadcast the highest sequence numbered tx, which blocks<br>
further broadcasts by the attacker.</blockquote><div><br></div><div style>G=
ood point - transactions can be ordered by highest version seen before they=
&#39;re signature checked. Even without that improvement it&#39;s still rat=
her tricky to win the race though.</div>
<div style><br></div><div style>I&#39;m intending on making a prototype for=
 myself at some point soon, probably in bitcoinj. I&#39;ve been making note=
s and writing some initial code - I did successfully replace a transation o=
n my own little testnet, then I figured I&#39;d submit the patch so it&#39;=
s easier for others to play with it. But I haven&#39;t got the whole thing =
working end to end yet.</div>
</div></div></div>

--e89a8ff1cab4eef24304da9f47e4--