Author

Topic: Banning SegWit2x Node (Sybil Attack) (Read 440 times)

legendary
Activity: 4228
Merit: 1313
October 22, 2017, 01:38:02 PM
#6
Hey all, please keep in mind I am a complete noob when it comes to running a node.

I found some twitter posts about banning 2x nodes and 2x attacks and I'm not 100% sure what its all about.
Here a link to a github is https://github.com/mariodian/ban-segshit8x-nodes

Should we as core supporters be banning 2x nodes? Should we be doing something to protect our core nodes?

Any advise would be appreciated.


Doesn't Bitcoin Core 0.15 automatically ignores 2x nodes?

https://www.reddit.com/r/Bitcoin/comments/6sbacg/bitcoin_core_0150_will_automatically_disconnect/

It looks to me that this is effectively a ban on segwit2x nodes, since if your 0.15+ node detects a btc1 node it will automatically disconnect. All you have to do is run 0.15.0.1 and you are set.

Except that this changes the btc1/2x behavior in response:

https://github.com/btc1/bitcoin/commit/28ebbdb1f4ab632a1500b2c412a157839608fed0


legendary
Activity: 3472
Merit: 10611
October 21, 2017, 11:48:52 PM
#5
by banning SegWit2x nodes you will gain nothing, by not banning them you will also lose nothing. and this is not a Sybil Attack either since the SegWit2x nodes are the same as any other node until mid November where the fork comes.

as @cellard said if you are running the bitcoin core versions 0.15 and above, your node will automatically disconnect (NOT BAN) from nodes that are advertising service bits 6 and 8 which shows as NODE_SEGWIT2X

but it won't ignore them if they don't have that service bit. which some of them don't like this one: https://bitnodes.21.co/nodes/59.110.152.134-8333/ but as i said they are perfectly good nodes until the fork in November.

that script you posted is using bitnodes.21.co to ban the IPs and only works for linux and you have to keep running it every time a new node comes on and 21.co may not even see everything either.
newbie
Activity: 3
Merit: 0
October 21, 2017, 11:29:01 AM
#4
Hey all, please keep in mind I am a complete noob when it comes to running a node.

I found some twitter posts about banning 2x nodes and 2x attacks and I'm not 100% sure what its all about.
Here a link to a github is https://github.com/mariodian/ban-segshit8x-nodes

Should we as core supporters be banning 2x nodes? Should we be doing something to protect our core nodes?

Any advise would be appreciated.


Doesn't Bitcoin Core 0.15 automatically ignores 2x nodes?

https://www.reddit.com/r/Bitcoin/comments/6sbacg/bitcoin_core_0150_will_automatically_disconnect/

It looks to me that this is effectively a ban on segwit2x nodes, since if your 0.15+ node detects a btc1 node it will automatically disconnect. All you have to do is run 0.15.0.1 and you are set.


Thanks so much Wink Exactly what I was looking for.
legendary
Activity: 1372
Merit: 1252
October 21, 2017, 10:13:38 AM
#3
Hey all, please keep in mind I am a complete noob when it comes to running a node.

I found some twitter posts about banning 2x nodes and 2x attacks and I'm not 100% sure what its all about.
Here a link to a github is https://github.com/mariodian/ban-segshit8x-nodes

Should we as core supporters be banning 2x nodes? Should we be doing something to protect our core nodes?

Any advise would be appreciated.


Doesn't Bitcoin Core 0.15 automatically ignores 2x nodes?

https://www.reddit.com/r/Bitcoin/comments/6sbacg/bitcoin_core_0150_will_automatically_disconnect/

It looks to me that this is effectively a ban on segwit2x nodes, since if your 0.15+ node detects a btc1 node it will automatically disconnect. All you have to do is run 0.15.0.1 and you are set.
sr. member
Activity: 490
Merit: 389
Do not trust the government
October 21, 2017, 07:16:52 AM
#2
I guess we should. It will make the fork less problematic for both networks as the nodes might be connected to the other network's nodes at the time of fork.
During a fork a node can end up with few or without any of the nodes from it's own network. There will still be older and alternative clients that will have connections with both of the types of nodes and will bridge the network until the fork, while the users with newer Core clients and S2X clients will not go through a lot of trouble during a fork.
newbie
Activity: 3
Merit: 0
October 21, 2017, 04:17:22 AM
#1
Hey all, please keep in mind I am a complete noob when it comes to running a node.

I found some twitter posts about banning 2x nodes and 2x attacks and I'm not 100% sure what its all about.
Here a link to a github is https://github.com/mariodian/ban-segshit8x-nodes

Should we as core supporters be banning 2x nodes? Should we be doing something to protect our core nodes?

Any advise would be appreciated.
Jump to: