原始文献 / 论坛帖 / Added some DoS limits, removed safe mode (0.3.19)
Added some DoS limits, removed safe mode (0.3.19)
Bitcointalk · 2010-12-12 18:22:33 UTC
DoS 方面还有更多工作要做,但为防万一,我先把手头已有的快速构建一版,再去碰更复杂的想法。这个构建是 0.3.19 版。
- 加了一些 DoS 控制
正如 Gavin 和我之前明确说过的,软件对 DoS 攻击完全没有抵抗力。这是一处改进,但攻击方式还是多得数不过来。
-limitfreerelay 这部分我先留作开关,需要的话可以用。
- 去掉了“安全模式”警报
“安全模式”警报是 0.3.9 溢出 bug 之后的临时措施。我们可以说用户只管用 “-disablesafemode” 跑,但为了观感干脆不要它更好。它从来不是长期功能。看到更长(总工作量证明更大)的无效区块链时,安全模式仍可被触发。
构建:
http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.19/
英文原文
There's more work to do on DoS, but I'm doing a quick build of what I have so far in case it's needed, before venturing into more complex ideas. The build for this is version 0.3.19.
- Added some DoS controls
As Gavin and I have said clearly before, the software is not at all resistant to DoS attack. This is one improvement, but there are still more ways to attack than I can count.
I'm leaving the -limitfreerelay part as a switch for now and it's there if you need it.
- Removed "safe mode" alerts
"safe mode" alerts was a temporary measure after the 0.3.9 overflow bug. We can say all we want that users can just run with "-disablesafemode", but it's better just not to have it for the sake of appearances. It was never intended as a long term feature. Safe mode can still be triggered by seeing a longer (greater total PoW) invalid block chain.
Builds:
http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.19/
