News for hackers. Stuff that matters.
Re:Ethereum fixes serious “eclipse” flaw by elmar on Saturday March 03, 2018 @10:28AM (#16509619)
the image in the article is really appropriated, the Turing complete VM of ethereum is a black hole of bugs, on the Genesis, some really bad engineering decisions were made and probably now is too late to change it.
Re:Ethereum fixes serious “eclipse” flaw by gus_massa on Saturday March 03, 2018 @10:50AM (#16509754)
IIUC it's not a bug in the VM that is Turing complete and run the "smart contracts". The bug is in the surrounding code that tries to connect to the real network of the other Ethereum users and decides if the connection is trustworthy. So a similar attack could be run against other coins. [The article says that Bitcoin is safer, but the article doesn't explain why. Can someone give more details?]
Re:Ethereum fixes serious “eclipse” flaw by EthanHeilman on Saturday March 03, 2018 @11:42AM (#16510076)
>The article says that Bitcoin is safer, but the article doesn't explain why. Can someone give more details?

We wrote a paper [0] in 2015 performing eclipse attacks against Bitcoin. You can watch me talk about it here [1]. At the time it required an attacker with 400 IP addresses. Many of our countermeasures were adopted by Bitcoin-core raising the difficulty of the attack even further. In fact at this very moment I am still working on adding some of our countermeasures to Bitcoin-core [2].

In our attack on Ethereum, only 2 IP addreses were required. We discuss this in our paper:

>"We present new eclipse attacks showing that, prior to the disclosure of this work in January 2018, Ethereum’s peer-to-peer network was significantly less secure than that of Bitcoin. Our eclipse attackers need only control two machines, each with only a single IP address. [..] By contrast, the best known off-path eclipse attacks on Bitcoin [23] require the attacker to control hundreds of host machines, each with a distinct IP address. For most Internet users, it is far from trivial to obtain hundreds (or thousands) of IP addresses. This is why the Bitcoin eclipse attacker envisioned by [23] was a full-fledged botnet or Internet Service Provider, while the BGP-hijacker Bitcoin eclipse attacker envisioned by [17] needed access to a BGP-speaking core Internet router. By contrast, our attacks can be run by any kid with a machine and a script."

-Low-Resource Eclipse Attacks on Ethereum's Peer-to-Peer Network [3]

[0]: https://eprint.iacr.org/2015/263.pdf

[1]: https://www.usenix.org/node/190891

[2]: https://github.com/bitcoin/bitcoin/pull/9037

[3]: http://www.cs.bu.edu/~goldbe/projects/eclipseEth

Re:Ethereum fixes serious “eclipse” flaw by tree_of_item on Saturday March 03, 2018 @10:35AM (#16509661)
The image is an eclipse, not a black hole.
Re:Ethereum fixes serious “eclipse” flaw by elmar on Saturday March 03, 2018 @10:37AM (#16509682)
visually an eclipse is just a 'Black Hole in the Sky' :)
Re:Ethereum fixes serious “eclipse” flaw by elmar on Saturday March 03, 2018 @10:41AM (#16509702)
the eclipse and the "event horizon" images are somewhat similar.
Re:Ethereum fixes serious “eclipse” flaw by heliumcraft on Saturday March 03, 2018 @10:55AM (#16509778)
Out of curiosity, what "really bad engineering decisions" are those?
Re:Ethereum fixes serious “eclipse” flaw by elmar on Saturday March 03, 2018 @11:07AM (#16509860)
My view, of course, every decision as a trade-off, everything i say is controversial

- The main ledger and smart contracts should be separated, everyone smart contract is public, why??

the smart contracts should be run on several specific sidechains. Why if I buy a crypto kittie everyone as to know and store the transaction for all eternity.

Wait sharding is coming, yes but will reduce the security guarantees.

Re:Ethereum fixes serious “eclipse” flaw by heliumcraft on Saturday March 03, 2018 @11:20AM (#16509936)
There are different solutions for that in the works, from sharding to plasma, etc.. and those have their own challenges & tradeoffs (namely in terms of security, etc..)

However engineering decisions 'on genesis' was over 3-4 years ago and at that time doing a blockchain with smart contracts was already challenge on itself. It's not really fair to take the knowledge and lessons from the present day and claim those in the past without that knowledge made horrible decisions. It's a bit like blaming google for not starting angular 1 with the functionality of angular 4, or saying that John Resig should have created Babel and ES7 features instead of creating jQuery.

Re:Ethereum fixes serious “eclipse” flaw by elmar on Saturday March 03, 2018 @11:27AM (#16509975)
> However engineering decisions 'on genesis' was over 3-4 years ago and at that time doing a blockchain with smart contracts was already challenge on itself. It's not really fair

Sorry when I heard about Ethereum plans 4 years ago, I tough it as a terribly bad idea then (I didn't invest because of this, I should have invested stupid me) in 2013 the increase size of blockchain was already an ongoing problem, I simply tought if a decentelized ledger is already problematic to store, let's put a lot of more information on it, it's madness..

Re:Ethereum fixes serious “eclipse” flaw by osteele on Saturday March 03, 2018 @11:46AM (#16510102)
> The main ledger and smart contracts should be separated, everyone smart contract is public, why??

You might find Blockstack interesting.

(I don’t have a connection. I’ve just started to explore this space, and have some of those same questions.)

[1] https://blockstack.org/

[2] Jude, “What is the difference between blockstack and Ethereum?”, Blockstack forum, March ‘17. https://forum.blockstack.org/t/what-is-the-difference-betwee...

[3] Alid Castano, “What is the difference between Blockstack and Ethereum?”, Sept. 13 ‘17. https://www.quora.com/What-is-the-difference-between-Blockst...

[4] Alid Castano, “Why I’m betting on Blockstack to save the decentralized internet”, Sept. 12 ‘17. https://medium.com/@alidcastano/why-im-betting-on-blockstack...

Re:Ethereum fixes serious “eclipse” flaw by elmar on Sunday March 04, 2018 @03:23AM (#16513769)
> You might find Blockstack interesting.

I didn't know this project I normally hate ICO's (including the original Ethereum ICO) from what I have read on the information you so kindly shared it looks like a much more sensible approach to the distributed permissionless application problem, let's see how it goes.

Re:Ethereum fixes serious “eclipse” flaw by JohnJamesRambo on Saturday March 03, 2018 @11:47AM (#16510107)
The whole point of a blockchain is publicly accessible records of the transactions. Why not run your cryptokitties on a private server then? The performance and efficiency would destroy your blockchain version but no one can see what is happening so it can be verified by everyone as true.
Re:Ethereum fixes serious “eclipse” flaw by foepys on Saturday March 03, 2018 @11:02AM (#16509830)
https://news.ycombinator.com/item?id=14810008

This applies to "Solidity", the most commonly used language to write smart contracts for Ethereum. The VM itself is not so bad but also simpler.

Re:Ethereum fixes serious “eclipse” flaw by heliumcraft on Saturday March 03, 2018 @12:03PM (#16510190)
Solidity != EVM & Ethereum.
Re:Ethereum fixes serious “eclipse” flaw by DINKDINK on Saturday March 03, 2018 @11:11AM (#16509877)
Imperative programming languages in a global machine state
Re:Ethereum fixes serious “eclipse” flaw by nissarup on Saturday March 03, 2018 @10:32AM (#16509647)
Well... As it is Turing complete you could just as well say that it is a black hole of awesome stuff. Which, of course, is true of any Turing complete language.
Re:Ethereum fixes serious “eclipse” flaw by elmar on Saturday March 03, 2018 @10:36AM (#16509671)
> black hole of awesome stuff

that loses your funds, that is the bad part.

Re:Ethereum fixes serious “eclipse” flaw by nissarup on Saturday March 03, 2018 @10:47AM (#16509743)
Awesome stuff does not lose your funds. That would negate the awesomeness of the stuff.