警告:不要在用于浏览网页的机器上使用 -server 或 bitcoind(v0.3.2 及更低版本)
原始发布页
打开来源页面查看 1 个交叉存档
不要使用 -server 或 -daemon 开关,也不要在你用来运行网页浏览器的机器上运行 bitcoind。它会在本地回环地址 127.0.0.1 上开放 8332 端口,你可能会以为网页浏览器无法跨站访问它,但这是可能的。
我们正在准备尽快发布一个版本,为 JSON-RPC 接口加上密码;但在此之前,请避免使用 -server 开关,也不要在运行 bitcoind 的同一台机器上浏览网页。
更新: 0.3.3 中的 JSON-RPC HTTP 身份验证功能解决了这个问题。
英文原文
展开英文原文
Don't use the -server or -daemon switch or run bitcoind on a machine where you use a web browser. It opens port 8332 on 127.0.0.1, the local loopback address, and you wouldn't think that web browsers could cross-site access it, but it is possible.
We're working on a release soon that puts a password on the JSON-RPC interface, but until then, avoid using the -server switch, and don't web browse on the same machine where bitcoind is running.
Update: The JSON-RPC HTTP authentication feature in 0.3.3 solves this problem.