Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1QW5e4-0000YD-EY for bitcoin-development@lists.sourceforge.net; Mon, 13 Jun 2011 11:49:28 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.216.47 as permitted sender) client-ip=209.85.216.47; envelope-from=decker.christian@gmail.com; helo=mail-qw0-f47.google.com; Received: from mail-qw0-f47.google.com ([209.85.216.47]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1QW5e0-0004y7-MW for bitcoin-development@lists.sourceforge.net; Mon, 13 Jun 2011 11:49:28 +0000 Received: by qwh5 with SMTP id 5so2827698qwh.34 for ; Mon, 13 Jun 2011 04:49:19 -0700 (PDT) Received: by 10.229.17.200 with SMTP id t8mr2250969qca.295.1307965758173; Mon, 13 Jun 2011 04:49:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.247.6 with HTTP; Mon, 13 Jun 2011 04:48:38 -0700 (PDT) In-Reply-To: References: From: Christian Decker Date: Mon, 13 Jun 2011 13:48:38 +0200 Message-ID: To: Vladimir Marchenko Content-Type: multipart/alternative; boundary=0015175d00fe64f40d04a5968291 X-Spam-Score: -0.6 (/) 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 freemail (decker.christian[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 0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain 0.0 AWL AWL: From: address is in the auto white-list X-Headers-End: 1QW5e0-0004y7-MW Cc: bitcoin-development@lists.sourceforge.net Subject: Re: [Bitcoin-development] Bootstrapping via BitTorrent trackers X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2011 11:49:28 -0000 --0015175d00fe64f40d04a5968291 Content-Type: text/plain; charset=ISO-8859-1 Yes, those trackers would be hard coded, just like the IRC servers and channels are hardcoded right now. The advantages over IRC and DNS Seeds are: - sporadic HTTP requests to a tracker, as opposed to keeping an IRC connection open at all times - no virus/botnet like behaviour (automatically join IRC channel with cryptic name), ISPs tend to bother network admins (like myself) with alerts when they see this... - adapts faster than DNS Seeds which require configuration changes on seed should the nodes become unreachable - we already use HTTP to determine our external IP, so it would be a consolidation of transports - more peers than DNS Seeds (better load balancing) As for Vladimirs proposal, seems like an extreme measure, that is not really practical. Also it leads to network partitions since nodes will prefer their own /8 and /16 networks. IPv6 will also soon be a problem for this method. On Mon, Jun 13, 2011 at 12:54 PM, Vladimir Marchenko < vladimir@marchenko.co.uk> wrote: > one possible bootstrap method of last resort, > > 1. create a convention of bitcoind listening on a specific last octest > of IPv4 address, let's say, .14 when possible. Those of us who have > access to IP space would use .14's. > > 2. if no other bootstrap method works, client could start scanning > x.x.x.14 addresses, perhaps in some semi-intelligent order (starting > from more pobable /8's and /16's), if enough people place bitcoind on > x.x.x.14 than after a 10-100 thousand checks it bound to find a > bitcoind peer. > > It's messy, with all the excessive scanning etc... but it does not > depend on anything except a bunch of bitcoind by convention preferring > listening on x.x.x.14's. > > Given that this is a method of last resort in bootrap chain it whould > hopefully not lead to DDOS on those unlucky to own *.14 and not > running bitcoind there. Also the more people are running bitcoind on > .14, the quicker it would find a peer, the less scanning to do. It is > kind of self-regualting. > > For whatever it worth... > > > On 13 June 2011 10:56, Jeff Garzik wrote: > > On Mon, Jun 13, 2011 at 5:38 AM, Christian Decker > > wrote: > >> BitTorrent trackers are used to handle several thousands of requests, so > >> they would probably scale well enough. I'm not even talking about using > the > >> DHT trackers, but using old fashioned HTTP based trackers. The fact that > >> each bitcoin client would contact the tracker would make it very hard > for an > >> attacker to get bootstrapping clients to exclusively connect to his > >> compromised clients. I would say that using a tracker such as > OpenBittorrent > >> provides the same advantages as using an IRC channel. > > > > And how does the client discover HTTP trackers? You're either > > hardcoding -those- into the client, or adding an additional bootstrap > > step to discover them. Either way, it has the same problems as other > > current methods. > > > > The history and experience of gnutella's web caches vs. UDP host > > caches seems highly relevant here. > > > > -- > > Jeff Garzik > > exMULTI, Inc. > > jgarzik@exmulti.com > > > > > ------------------------------------------------------------------------------ > > EditLive Enterprise is the world's most technically advanced content > > authoring tool. Experience the power of Track Changes, Inline Image > > Editing and ensure content is compliant with Accessibility Checking. > > http://p.sf.net/sfu/ephox-dev2dev > > _______________________________________________ > > Bitcoin-development mailing list > > Bitcoin-development@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > --0015175d00fe64f40d04a5968291 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yes, those trackers would be hard coded, just like the IRC servers and chan= nels are hardcoded right now.

The advantages over IRC and DNS Seeds = are:
=A0- sporadic HTTP requests to a tracker, as opposed to keeping an = IRC connection open at all times
=A0- no virus/botnet like behaviour (automatically join IRC channel with cr= yptic name), ISPs tend to bother network admins (like myself) with alerts w= hen they see this...
=A0- adapts faster than DNS Seeds which require con= figuration changes on seed should the nodes become unreachable
=A0- we already use HTTP to determine our external IP, so it would be a con= solidation of transports
=A0- more peers than DNS Seeds (better load bal= ancing)

As for Vladimirs proposal, seems like an extreme measure, th= at is not really practical. Also it leads to network partitions since nodes= will prefer their own /8 and /16 networks. IPv6 will also soon be a proble= m for this method.

On Mon, Jun 13, 2011 at 12:54 PM, Vladimir M= archenko <= vladimir@marchenko.co.uk> wrote:
one possible bootstrap method of last resort,

1. create a convention of bitcoind listening on a specific last octest
of IPv4 address, let's say, .14 when possible. Those of us who have
access to IP space would use .14's.

2. if no other bootstrap method works, client could start scanning
x.x.x.14 addresses, perhaps in some semi-intelligent order (starting
from more pobable /8's and /16's), if enough people place bitcoind = on
x.x.x.14 than after a 10-100 thousand checks it bound to find a
bitcoind peer.

It's messy, with all the excessive scanning etc... but it does not
depend on anything except a bunch of bitcoind by convention preferring
listening on x.x.x.14's.

Given that this is a method of last resort in bootrap chain it whould
hopefully not lead to DDOS on those unlucky to own *.14 and not
running bitcoind there. Also the more people are running bitcoind on
.14, the quicker it would find a peer, the less scanning to do. It is
kind of self-regualting.

For whatever it worth...


On 13 June 2011 10:56, Jeff Garzik <jgarzik@exmulti.com> wrote:
> On Mon, Jun 13, 2011 at 5:38 AM, Christian Decker
> <decker.christian@gma= il.com> wrote:
>> BitTorrent trackers are used to handle several thousands of reques= ts, so
>> they would probably scale well enough. I'm not even talking ab= out using the
>> DHT trackers, but using old fashioned HTTP based trackers. The fac= t that
>> each bitcoin client would contact the tracker would make it very h= ard for an
>> attacker to get bootstrapping clients to exclusively connect to hi= s
>> compromised clients. I would say that using a tracker such as Open= Bittorrent
>> provides the same advantages as using an IRC channel.
>
> And how does the client discover HTTP trackers? =A0You're either > hardcoding -those- into the client, or adding an additional bootstrap<= br> > step to discover them. =A0Either way, it has the same problems as othe= r
> current methods.
>
> The history and experience of gnutella's web caches vs. UDP host > caches seems highly relevant here.
>
> --
> Jeff Garzik
> exMULTI, Inc.
> jgarzik@exmulti.com
>
> ----------------------------------------------------------= --------------------
> EditLive Enterprise is the world's most technically advanced conte= nt
> authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http:/= /p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-d= evelopment@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitco= in-development
>

---------------------------------------------------------------------------= ---
EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf= .net/sfu/ephox-dev2dev
_______________________________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment

--0015175d00fe64f40d04a5968291--