以太坊网络遭受DDoS攻击:应对策略及建议
The Ethereum network is currently undergoing a DoS attack
以太坊网络正遭受计算型DDoS攻击,攻击利用EXTCODESIZE操作码,导致网络处理速度大幅下降。目前,已识别出几种可行的中期修复方案,并正在开发中。建议矿工切换至Parity挖矿,并调整相关设置以应对攻击。
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.
It is highly reccomended to switch to Parity mining. Use these settings:
--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:
--cache 1024 --targetgaslimit 1000000 --gasprice 50000000000
来源:Ethereum Blog · blog.ethereum.org