Author

Topic: Few advertised node responding to me : Am I blacklisted ? (Read 671 times)

staff
Activity: 4284
Merit: 8808
I prefer to make sure my implementation does not work only in the lab.
Thats good and fine, but it should be a test reserved for software that first works locally. Running it locally you can get far more visibility into whats happening and you don't waste other people's resources.

I'm glad its working better for you now.
hero member
Activity: 714
Merit: 662
I call them unit test, but I'm not running them automatically, just manually during development.
Thanks for your suggestion, the next time I have lots of closed port like that, I will try to pass by a dedicated server or through VPN just to check if I was blacklisted.

This problem was specific to main net, did not had issue with testnet which raised my concern. Anyway, now it works fine again for now.
legendary
Activity: 1232
Merit: 1094
I prefer to make sure my implementation does not work only in the lab.
Not sure it is a waste though, since it is greatly helping the development of my C# full bitcoin (+ node server) port that I share with the community.
I'm not downloading gigs of blocks either, just handshaking and disconnecting. (I don't even poll the dns nodes, since I cache their Addr result)

Just wanted to know if such handshake could trigger a black listing.

You could try with testnet? 

You could grep the code for DoS and Misbehaving to see if you are doing anything like that?

You could use an internet VPN system to change your IP and try again.

Many nodes might have their ports closed due to router setup etc.

I don't think using the mainnet for unit testing is that great an idea, in general.

Unit tests should be self-contained and fast, so they can complete each time you recompile the code.

You could have a more comprehensive test suite that you run less often.  That one could use mainnet, and take longer to run.

It could be part of the series of tests before releasing an update version.
hero member
Activity: 714
Merit: 662
Now I get a better connection rate... not sure why it was like that before.
I get the seed from hard coded DNS seeds to which I send GetAddr, I fill my database with the responses and use these nodes.

what are the rule so I can avoid that in the future ?
Run your own nodes locally to test against. Don't do development against other people's systems, thats a waste of their resources.

I prefer to make sure my implementation does not work only in the lab.
Not sure it is a waste though, since it is greatly helping the development of my C# full bitcoin (+ node server) port that I share with the community.
I'm not downloading gigs of blocks either, just handshaking and disconnecting. (I don't even poll the dns nodes, since I cache their Addr result)

Just wanted to know if such handshake could trigger a black listing.
staff
Activity: 4284
Merit: 8808
what are the rule so I can avoid that in the future ?
Run your own nodes locally to test against. Don't do development against other people's systems, thats a waste of their resources.
jr. member
Activity: 56
Merit: 1
Is 20% typical ?

It depends on how you are getting your list of node addresses to try and connect to.
hero member
Activity: 714
Merit: 662
good idea, I'll try that.
I can connect, and when I connect to some accepting peers the handshake goes well.
But wondering if there was any way it could be considered as spam, the socket connection success rate seems very low to me. Is 20% typical ?
jr. member
Activity: 56
Merit: 1
Without any more data than this I can't tell definitively. Why don't you connect to your own bitcoind node and see if you blacklist yourself?
hero member
Activity: 714
Merit: 662
I am currently developping NBitcoin (https://github.com/NicolasDorier/NBitcoin)

Some of my unit tests connect to the Main network, handshake nodes, and ask for Addr.
Given I am developping, my unit tests do a lot of handshake and ask a lot of Addr. (Not spamming the network, but one test can connect to 10 nodes at the same time)

In my logs, it appears than more than 90% of nodes have their socket closed.
Is it a normal behavior, or I got black listed ?
If I am black listed, what are the rule so I can avoid that in the future ?



Jump to: