summaryrefslogtreecommitdiff
path: root/f7/193e16165766ca3ef99206f758f2c094c87287
blob: 9835024d3bb6e83e44bda8f2106cd6ea7a687af4 (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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194]
	helo=mx.sourceforge.net)
	by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <wtogami@gmail.com>) id 1Vb5Cq-0003nH-Hf
	for bitcoin-development@lists.sourceforge.net;
	Tue, 29 Oct 2013 09:03:20 +0000
Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com
	designates 209.85.160.46 as permitted sender)
	client-ip=209.85.160.46; envelope-from=wtogami@gmail.com;
	helo=mail-pb0-f46.google.com; 
Received: from mail-pb0-f46.google.com ([209.85.160.46])
	by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1Vb5Cp-0007Vm-H0
	for bitcoin-development@lists.sourceforge.net;
	Tue, 29 Oct 2013 09:03:20 +0000
Received: by mail-pb0-f46.google.com with SMTP id un4so1967291pbc.19
	for <bitcoin-development@lists.sourceforge.net>;
	Tue, 29 Oct 2013 02:03:13 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.68.6.138 with SMTP id b10mr430456pba.149.1383036959717; Tue,
	29 Oct 2013 01:55:59 -0700 (PDT)
Received: by 10.66.158.129 with HTTP; Tue, 29 Oct 2013 01:55:59 -0700 (PDT)
In-Reply-To: <CABsx9T3p6KFc8FiOgBwLtQsmkETE_iUbMhO47pS7J3hi3a9_4w@mail.gmail.com>
References: <274a1888-276c-4aa6-a818-68f548fbe0fa@me.com>
	<9DCDB8F6-E3B2-426B-A41E-087E66B3821A@gmail.com>
	<526B45DB.2030200@jerviss.org>
	<CABsx9T2OMA_u=S9yUh2j78QDuCDUorYctktuixjwAjqc6neW=Q@mail.gmail.com>
	<526DD18A.7060201@jerviss.org> <l4lajm$3ga$1@ger.gmane.org>
	<CAAS2fgSuL4f9Sdg2CyK-EuCKK04gD98zHDoKFyTg_Fp_cNiz=A@mail.gmail.com>
	<CABsx9T3p6KFc8FiOgBwLtQsmkETE_iUbMhO47pS7J3hi3a9_4w@mail.gmail.com>
Date: Mon, 28 Oct 2013 22:55:59 -1000
Message-ID: <CAEz79Pofn1QZ0a-Tbu7NKobaFFxH8EP7CA1aCm1d=Nt53SxzhQ@mail.gmail.com>
From: "Warren Togami Jr." <wtogami@gmail.com>
To: Gavin Andresen <gavinandresen@gmail.com>
Content-Type: multipart/alternative; boundary=bcaec53963cab2066404e9dd62ec
X-Spam-Score: -0.6 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
	See
	http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
	for more information. [URIs: doubleclick.net]
	-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
	(wtogami[at]gmail.com)
	-0.0 SPF_PASS               SPF: sender matches SPF record
	1.0 HTML_MESSAGE           BODY: HTML included in message
	-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
	author's domain
	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: 1Vb5Cp-0007Vm-H0
Cc: Bitcoin Development <bitcoin-development@lists.sourceforge.net>,
	Andreas Schildbach <andreas@schildbach.de>
Subject: Re: [Bitcoin-development] Feedback requested: "reject" p2p message
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: Tue, 29 Oct 2013 09:03:20 -0000

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

How about rejection codes to notify you that you have been rate limited?

Warren


On Mon, Oct 28, 2013 at 7:37 PM, Gavin Andresen <gavinandresen@gmail.com>wrote:

>
> Thanks for the feedback, everybody, gist updated:
>   https://gist.github.com/gavinandresen/7079034
>
> Categories are:
>
> 0x01-0x0f Protocol syntax errors0x10-0x1f Protocol semantic errors0x40-0x4fServer
> policy rule
> <https://gist.github.com/gavinandresen/7079034#rejection-codes-common-to-all-message-types>
>
> RE: why not a varint:  because we're never ever going to run out of reject
> codes.  Eight are defined right now, if we ever defined eight more I'd be
> surprised.
>
> RE: why not use HTTP codes directly: because we'd be fitting round pegs
> into square holes.
>
> --
> --
> Gavin Andresen
>
>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>
>

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

<div dir=3D"ltr">How about rejection codes to notify you that you have been=
 rate limited?<div><br></div><div>Warren</div></div><div class=3D"gmail_ext=
ra"><br><br><div class=3D"gmail_quote">On Mon, Oct 28, 2013 at 7:37 PM, Gav=
in Andresen <span dir=3D"ltr">&lt;<a href=3D"mailto:gavinandresen@gmail.com=
" target=3D"_blank">gavinandresen@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><br></div>Thanks for t=
he feedback, everybody, gist updated:<div>=C2=A0=C2=A0<a href=3D"https://gi=
st.github.com/gavinandresen/7079034" target=3D"_blank">https://gist.github.=
com/gavinandresen/7079034</a></div>
<div><br></div><div>Categories are:</div>
<div><br></div><div><table style=3D"line-height:25px;border-spacing:0px;bor=
der-collapse:collapse;overflow:auto;width:724px;font-size:15px;font-family:=
Helvetica,arial,freesans,clean,sans-serif;display:block;margin:15px 0px">

<tbody><tr style=3D"border-top-width:1px;border-top-style:solid;border-top-=
color:rgb(204,204,204);background-color:rgb(248,248,248)"><td style=3D"bord=
er:1px solid rgb(221,221,221);padding:6px 13px">0x01-0x0f</td><td style=3D"=
border:1px solid rgb(221,221,221);padding:6px 13px">

Protocol syntax errors</td></tr><tr style=3D"border-top-width:1px;border-to=
p-style:solid;border-top-color:rgb(204,204,204)"><td style=3D"border:1px so=
lid rgb(221,221,221);padding:6px 13px">0x10-0x1f</td><td style=3D"border:1p=
x solid rgb(221,221,221);padding:6px 13px">

Protocol semantic errors</td></tr><tr style=3D"border-top-width:1px;border-=
top-style:solid;border-top-color:rgb(204,204,204);background-color:rgb(248,=
248,248)"><td style=3D"border:1px solid rgb(221,221,221);padding:6px 13px">

0x40-0x4f</td><td style=3D"border:1px solid rgb(221,221,221);padding:6px 13=
px">Server policy rule<br></td></tr></tbody></table><h4 style=3D"line-heigh=
t:1.7;font-size:1.2em;font-family:Helvetica,arial,freesans,clean,sans-serif=
;margin:1em 0px 15px;padding:0px">

<a name=3D"14202b8b7fc770d6_rejection-codes-common-to-all-message-types" hr=
ef=3D"https://gist.github.com/gavinandresen/7079034#rejection-codes-common-=
to-all-message-types" style=3D"color:rgb(65,131,196);text-decoration:none;d=
isplay:block;padding-left:30px" target=3D"_blank"><span></span></a></h4>

</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">RE: w=
hy not a varint: =C2=A0because we&#39;re never ever going to run out of rej=
ect codes. =C2=A0Eight are defined right now, if we ever defined eight more=
 I&#39;d be surprised.</div>

<div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">RE: why not=
 use HTTP codes directly: because we&#39;d be fitting round pegs into squar=
e holes.<span class=3D"HOEnZb"><font color=3D"#888888"><br><br>-- <br>--<br=
>Gavin Andresen<br>

</font></span></div></div>
<br>-----------------------------------------------------------------------=
-------<br>
Android is increasing in popularity, but the open development platform that=
<br>
developers love is also attractive to malware creators. Download this white=
<br>
paper to learn more about secure code signing practices that can help keep<=
br>
Android apps secure.<br>
<a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D65839951&amp;iu=
=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam=
pad/clk?id=3D65839951&amp;iu=3D/4140/ostg.clktrk</a><br>___________________=
____________________________<br>

Bitcoin-development mailing list<br>
<a href=3D"mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-develo=
pment@lists.sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/bitcoin-development=
" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-de=
velopment</a><br>
<br></blockquote></div><br></div>

--bcaec53963cab2066404e9dd62ec--