Martti Malmi 通信

回复:代理

中本聪 · 2009 年 11 月 5 日

SN-10087 附来源、原文与上下文。

阅读语言
引用 Martti Malmi 的文字Martti Malmi来源 ↗

启用代理设置并重启比特币后,不到一分钟就有了第一个连接,最后甚至达到了 8 个连接。我不知道它们是否真的都经过 TOR。Netstat 只显示 2 个到 localhost:9050 的连接,还有 7 个从本地 8333 端口到其他位置的连接。(显示的某些连接可能已经断开。)不知道为什么,我运行程序的文件夹里没有 debug.log。

Enabling the proxy setting and restarting Bitcoin I got the first connections in less than a minute and ultimately even 8 connections. I wonder if they're all really through TOR. Netstat shows only 2 connections to localhost:9050 and 7 connections from local port 8333 to elsewhere. (Some of the shown connections may be already disconnected ones.) For some reason there's no debug.log in the folder where I'm running it.

debug.log 已移到数据目录“%appdata%/bitcoin/debug.log”。

debug.log moved to the data directory "%appdata%/bitcoin/debug.log"

7 个传入、2 个传出,听起来基本符合预期。

7 inbound and 2 outbound sounds about as expected.

我上一次 SVN 提交重写了选择连接地址顺序的代码,按最近看到在线的时间依次尝试,所以如果 IRC 不可用,应该也能在更合理的时间内连上。IRC 实际上只在为第一次连接提供种子节点时才需要,不过我们一直把它当作加快连接的拐杖。

My last SVN commit included an overhaul of the code that selects the order of addresses to connect to, trying them in the order of most recently seen online, so it should get connected in a more reasonable amount of time if IRC is unavailable. IRC is really only needed to seed the first connection, but we've been using it as a crutch to get connected faster.

引用 Martti Malmi 的文字Martti Malmi来源 ↗
引用中本聪此前的文字中本聪来源 ↗

如果某些能接收传入连接的节点愿意把自己的 IP 写进程序,就可以自动获得种子节点。或者可以在 Wiki 页面上公布一些 IP 种子地址并附上说明。

If some nodes that accept incoming connects were willing to have their IP coded into the program, it could seed automatically. Or some IP seed addresses posted on a Wiki page with the instructions.

wiki 页面听起来是个不错而且能快速实行的办法。我可以在那里更新自己的 ip,也可以请其他人这样做。等 Linux 版本能运行起来,就更容易在大多数时间在线、拥有静态 IP 的服务器上设置节点。随比特币附带一个静态 ip 列表,再加上对等节点交换协议,会很棒。这样就不需要 IRC 服务器了。

The wiki page sounds like a good and quickly applicable solution. I could keep my ip updated there and we could ask others to do the same. When the Linux build works, it's easier to set up nodes on servers that are online most of the time and have a static IP. A static ip list shipped with Bitcoin and a peer exchange protocol would be cool. That way there'd be no need for an IRC server.

那就太好了。只有 TOR 用户需要它,所以说明里的“bitcoin -proxy=127.0.0.1:9050 -addnode=<someip>”,someip 可以是一个真正的静态 IP,旁边放上任何人都能添加自己 IP 的 wiki 列表,或者它的链接。应该有一个链接指向这个可选步骤:既然你现在能接收传入连接了,如果你有静态 IP,就把它加到这个列表里。

That would be great. It's only TOR users that need it, so in the instructions saying "bitcoin -proxy=127.0.0.1:9050 -addnode=<someip>", someip could be an actual static IP, with the wiki free-for-all add-your-ip list nearby or a link to it. There should be a link to that optional step, add your IP to this list now that you can accept incoming if you're static.

你觉得想匿名的人,是想完全隐身,一次都不在没有 TOR 的情况下连接,让谁都不知道自己在用比特币,还是只想在进行任何交易之前切换到 TOR?只有想完全隐身,才需要通过 -proxy -addnode 手动指定种子节点。这很容易弄错;如果一开始正常运行比特币,它马上就会自动开始连接。

Do you think anonymous people are looking to be completely stealth, as in never connect once without TOR so nobody knows they use bitcoin, or just want to switch to TOR before doing any transactions? It's just if you want to be completely stealth that you'd have to go through the -proxy -addnode manual seeding. It would be very easy to fumble that up; if you run bitcoin normally to begin with it immediately automatically starts connecting.

来源

阅读字号

选择适合你的字号,之后阅读会继续使用。