I have implemented a quick and dirty workaround to block the nodes that I thought bad ones as I explained on this post.
I am using a script to collect the IP addresses from the debug.log based on certain criteria, and I use iptables and ipset to block them accessing my nodes at my firewall.
Bitcoin Core 0.15.0.1 does that kind of banning smartly at protocol level for the segwit2x nodes. But now, since the disguise feature was implemented, I am not sure what kind of criteria that we can implement at user level, to collect the IP addresses of those segwit2x nodes which use that feature.
Does anybody else have any suggestions?
when you run the script in terminal you see and the ip that banned. The problem is that if you run it again it show them again the new and the old ones