BitcoinTalk

Bitcoin clients getting k-lined from the IRC bootstrapping channel

Bitcoin clients getting k-lined from the IRC bootstrapping channel

At 21:11 dutch time (CEST), around 10 minutes ago from when I made this post, the Bitcoin clients are getting k-lined.

(note, times are CEST.)
Code:
--- SNIP ---
[21:11:36] * u4euc453wZ599zQ has quit (K-Lined)
[21:11:37] * u4mZRTtQwC6NskZ has quit (K-Lined)
[21:11:37] * x398030675 has quit (K-Lined)
[21:11:37] * u4m5AmvGVaM8MNU has quit (K-Lined)
[21:11:37] * x92119461 has quit (K-Lined)
[21:11:38] * u4iQ9mpGopGTd6D has quit (K-Lined)
[21:11:39] * u4iqow5D1WqBmPH has quit (K-Lined)
[21:11:39] * u4qsjyU6VRAtfRD has quit (K-Lined)
--- SNIP ---

Anyhow, this leaves the bitcoin network unable to operate.
I see some clients getting back slowly.
But this worries me.
I suggest we apply what ever other bootstrapping mechanism we have right now, and release 0.3 ASAP.

Someone in #freenode suggested this:
Code:
<gwillen> Xunie: as a potential user of bitcoin, I would suggest that if your project is going to connect to IRC in the background, you should document that fact somewhere. I'm suddenly much more wary of using it now that I know that it does this.
This does make Bitcoin seem a bit... malicious to say the least...

Re: Bitcoin clients getting k-lined from the IRC bootstrapping channel

Whoops! My bad. I was testing something and it went haywire. Tongue

Should see the k-lines lift shortly. Heh.

Re: Bitcoin clients getting k-lined from the IRC bootstrapping channel

It's a relief to hear this.
And what were you exactly testing?

Like, how can it affect the whole network?
If this is a bug that can bring down the whole network, it's pretty serious, heh.

Re: Bitcoin clients getting k-lined from the IRC bootstrapping channel

I'm banned.

Re: Bitcoin clients getting k-lined from the IRC bootstrapping channel

I'm connected now.

Re: Bitcoin clients getting k-lined from the IRC bootstrapping channel

We need more details about what happened MadHatter.

Both 0.2 and 0.3 have a backup way of getting connected without IRC, it's just slower to get connected.

0.2 can find other nodes without IRC if it's ever been connected before, but a new install can't discover the network for the first time without IRC.

0.3 can also seed without IRC.  It can operate entirely without IRC if it needs to, but it's better having IRC for redundancy.

Re: Bitcoin clients getting k-lined from the IRC bootstrapping channel

I was mucking around with the source code on a large research cluster that I have access to. For some reason the nodes were connecting and disconnecting from Freenode quite rapidly witch resulted in most of my nodes getting k-lined. Freenode started going nuts and blocking my nodes as fast as I was creating connections.

Not too sure if other people were k-line'd as well because of this?? However, the timing was "bang on".

I had discovered the bug around the same time this k-line problem was reported. I ended up forcing the source to seed IPs from some Bitcoin clients that I run on a different network.


Re: Bitcoin clients getting k-lined from the IRC bootstrapping channel

This does make Bitcoin seem a bit... malicious to say the least...
Bootstrapping to the network is malicious?

Re: Bitcoin clients getting k-lined from the IRC bootstrapping channel

Whether it's right or wrong, when people who know what IRC is hear that IRC is involved in something, they immediately think malice..  This is not without foundation as a lot of antisocial behavior takes places on IRC channels.  The other thought is botnets which use IRC to bootstrap, control or communicate.  A program which connects to IRC is by definition called a 'bot' and to IRC people that means something bad, especially if it's not an IRC bot program specifically.

What Satoshi did here is use IRC simply as a matchmaking service but I could see how someone could draw the wrong conclusion when they see a channel with hundreds of randomly named bots idling in it.  Perhaps you could put these people's minds at ease if there was some pop up asking them if it's ok to bootstrap from IRC.. because if they just write it off as a trojan or botnet they may never bother to find out how it really works.

Re: Bitcoin clients getting k-lined from the IRC bootstrapping channel

Oh so with all that being said, you guys are all welcome to IRC on irc.lfnet.org.  It is a small network that me and a couple of guys run.. we don't have services or k-lines or anything like that.

Re: Bitcoin clients getting k-lined from the IRC bootstrapping channel

Freenode is too visible, right in the middle of where all those users and moderators are hanging out.  Laszlo's option is a much better fit for us.

I made 0.3.0.RC2 available that uses irc.lfnet.org instead of freenode if you want to start switching over:
http://bitcointalk.org/index.php?topic=199.msg1787#msg1787