1 large

以太坊网络正遭受拒绝服务攻击 2016-09-22

jan · 于 发布 · 最后由 shaoping回复 · 682 次阅读

https://blog.ethereum.org/2016/09/22/ethereum-network-currently-undergoing-dos-attack/

The Ethereum network is currently undergoing a DoS attack

以太坊网络正遭受拒绝服务攻击

Posted by Jeffrey Wilcke on September 22nd, 2016.

URGENT ALL MINERS: The network is under attack. The attack is a computational DDoS, ie. miners and nodes need to spend a very long time processing some blocks. This is due to the EXTCODESIZE opcode, which has a fairly low gasprice but which requires nodes to read state information from disk; the attack transactions are calling this opcode roughly 50,000 times per block. The consequence of this is that the network is greatly slowing down, but there is NO consensus failure or memory overload. We have currently identified several routes for a more sustainable medium-term fix and have developers working on implementation.

请全体矿工注意:网络正在遭受攻击。此次攻击是一种消耗计算资源的分布式拒绝服务攻击,换句话说,矿工和节点需要花费非常长的时间去处理某些特殊区块。问题的根源在于EXTCODESIZE操作码,gas定价较低但是却会导致节点从硬盘读数据(开销较大)。恶意交易在一个块里面会调用这个操作码大约50,000次,直接后果就是整个网络被极大的拖慢了,但是没有共识问题或者内存溢出发生。我们现在已经找到了几种可用的中期解决方案,且正在编写代码实现之。

It is highly reccomended to switch to Parity mining. Use these settings:

我们强烈建议大家切换到Parity客户端挖矿并使用以下配置:

--cache-size-db 1024 --gas-floor-target 1000000 --gasprice 50000000000

Parity mining guides:

https://docs.google.com/document/d/1j3v8bKjXQcMNNdx5Juwo3PRRCcHy8XcA6R9-0W7NCso/edit
https://github.com/ethcore/parity/wiki/Mining

If you continue to use geth, use the following settings:

如果你想继续使用geth, 请使用以下配置:

–cache 1024 –targetgaslimit 1000000 –gasprice 50000000000