From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1QocA6-0001Rc-BK for bitcoin-development@lists.sourceforge.net; Wed, 03 Aug 2011 14:11:06 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.212.47 as permitted sender) client-ip=209.85.212.47; envelope-from=mh.in.england@gmail.com; helo=mail-vw0-f47.google.com; Received: from mail-vw0-f47.google.com ([209.85.212.47]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1QocA2-0008Hv-3j for bitcoin-development@lists.sourceforge.net; Wed, 03 Aug 2011 14:11:04 +0000 Received: by vws2 with SMTP id 2so771007vws.34 for ; Wed, 03 Aug 2011 07:10:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.23.1 with SMTP id i1mr7061485vdf.398.1312380656520; Wed, 03 Aug 2011 07:10:56 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.52.158.233 with HTTP; Wed, 3 Aug 2011 07:10:56 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Aug 2011 16:10:56 +0200 X-Google-Sender-Auth: zWYdbVk3VyPNtBvg-RXg4SfWTpQ Message-ID: From: Mike Hearn To: Rick Wesson Content-Type: multipart/alternative; boundary=20cf307cfc80d78e6b04a99a6ea8 X-Spam-Score: 1.3 (+) 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.7 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist [URIs: bitcoin.org.uk] 1.0 HTML_MESSAGE BODY: HTML included in message 0.3 HTML_FONT_FACE_BAD BODY: HTML font face is not a word 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.2 AWL AWL: From: address is in the auto white-list X-Headers-End: 1QocA2-0008Hv-3j Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] DNS seeds returning gone peers 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: Wed, 03 Aug 2011 14:11:06 -0000 --20cf307cfc80d78e6b04a99a6ea8 Content-Type: text/plain; charset=UTF-8 There's no project currently :-) Starting from Matts code is probably the way to go. It's written in PHP. Alternatively, you could write a Java app for it, as there are drop-in DNS serving libraries you could link with BitCoinJ+sqlite. It probably wouldn't be that hard. You'd want to sort nodes by version, how long they've been observed to exist, the last polling time, etc. On Wed, Aug 3, 2011 at 4:00 PM, Rick Wesson wrote: > Mike, > > I think I can contribute to your DNS seeding project. Could you help define > long-lived peers? > > -rick > > > On Wed, Aug 3, 2011 at 3:04 AM, Mike Hearn wrote: > >> This is expected to happen from time to time of course as it's inherently >> racy, but there are a *lot* of bad nodes appearing in the DNS seeds. >> >> $ nmap -oG /tmp/x -p 8333 `dig +short bitseed.bitcoin.org.uk >> dnsseed.bluematt.me bitseed.xf2.org` >> ... >> Nmap done: 48 IP addresses (25 hosts up) scanned in 9.80 seconds >> >> $ grep -c 'closed' /tmp/x >> 6 >> >> So of 48 IPs returned only 19 are actually usable. This is slowing down >> peer bringup for the Android apps, which don't currently save the addresses >> of last-used peers (yes, I know we should fix this). >> >> I was talking to a friend a few days ago about Bitcoin, he seemed >> interested. I'm hoping he might take on DNS seeding as a project. A custom >> DNS server that watches the network to find long-lived peers that run the >> latest version would be helpful for resolving this kind of thing. >> >> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> The must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos & much more. Register early & save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> Bitcoin-development mailing list >> Bitcoin-development@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bitcoin-development >> >> > --20cf307cfc80d78e6b04a99a6ea8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable There's no project currently :-)=C2=A0

Starting from= Matts code is probably the way to go. It's written in PHP. Alternative= ly, you could write a Java app for it, as there are drop-in DNS serving lib= raries you could link with BitCoinJ+sqlite. It probably wouldn't be tha= t hard. You'd want to sort nodes by version, how long they've been = observed to exist, the last polling time, etc.

On Wed, Aug 3, 2011 at 4:00 PM, Rick We= sson <rick@support-intelligence.com> wrote:
Mike,

I think I can=C2=A0contribute=C2=A0to your DNS see= ding project. Could you help define long-lived peers?=C2=A0

<= /div>
-rick


On Wed, Aug 3, 2011 at 3:04 AM, Mike Hearn <mike@plan99.net> w= rote:
This is expected to happen from time to time of course as it's inhere= ntly racy, but there are a lot=C2=A0of bad nodes appearing in the DN= S seeds.

$ = nmap -oG /tmp/x -p 8333 `dig +short bitseed.bitcoin.org.uk dnsseed.bluematt.me bitseed.xf2.org`
...=
Nmap done: = 48 IP addresses (25 hosts up) scanned in 9.80 seconds

$ grep -c 'closed= ' /tmp/x
6

=
So of 48 IPs returned only 19 are actually usable. This is slowing dow= n peer bringup for the Android apps, which don't currently save the add= resses of last-used peers (yes, I know we should fix this).

I was talking to a friend a few days ago about Bitcoin,= he seemed interested. I'm hoping he might take on DNS seeding as a pro= ject. A custom DNS server that watches the network to find long-lived peers= that run the latest version would be helpful for resolving this kind of th= ing.

-----------------------------------------= -------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!<= br> http://p= .sf.net/sfu/rim-blackberry-1
_______________________________________= ________
Bitcoin-development mailing list
Bitcoin-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment



--20cf307cfc80d78e6b04a99a6ea8--