回复:代理
首次公开证据
打开首次公开证据查看 1 个交叉存档
来源说明
Published on GitHub in February 2024 as part of Martti Malmi's testimony in the COPA v. Wright trial
启用代理设置并重启比特币后,不到一分钟我就有了第一个连接,最终甚至达到了 8 个连接。我想知道它们是否真的全都通过了 TOR。Netstat 只显示了 2 个到 localhost:9050 的连接,以及 7 个从本地端口 8333 到其他地方的连接。(其中显示的一些连接可能已经断开。)不知为何,我运行程序的文件夹里没有 debug.log。
debug.log 已移到数据目录 "%appdata%/bitcoin/debug.log"
7 个传入连接和 2 个传出连接听起来大致符合预期。
我上次提交到 SVN 的改动中,彻底调整了选择连接地址顺序的代码,按照最近被看到在线的先后顺序尝试,所以即使 IRC 不可用,也应该能在比较合理的时间内连上。IRC 其实只需要用来引导建立第一个连接,但我们一直把它当成更快连上网络的拐杖。
如果有些接受传入连接的节点愿意把自己的 IP 写进程序,它就可以自动获得初始节点。或者也可以把一些用于引导连接的 IP 地址连同说明发布在维基页面上。
维基页面听起来是个很好而且很快就能实施的解决方案。我可以在那里及时更新自己的 IP,也可以请其他人照做。Linux 构建版能用以后,在大部分时间在线并拥有静态 IP 的服务器上搭建节点会更容易。随比特币一起提供一份静态 IP 列表,再加上一个对等节点交换协议,那会很棒。这样就不需要 IRC 服务器了。
那会很棒。只有 TOR 用户需要这么做,所以在说明中写上“bitcoin -proxy=127.0.0.1:9050 -addnode=<someip>”时,someip 可以是一个真实的静态 IP,旁边再放上任何人都能添加自己 IP 的维基列表,或者指向它的链接。还应该链接到那个可选步骤:如果你使用静态 IP,那么现在既然已经能接受传入连接,就把你的 IP 添加到这份列表中。
你觉得追求匿名的人是想彻底隐身,也就是绝不在不使用 TOR 的情况下连接哪怕一次,以免任何人知道他们使用比特币,还是只想在进行任何交易之前切换到 TOR?只有想彻底隐身,才必须通过 -proxy -addnode 手动指定初始节点。这一步很容易搞砸;如果一开始以正常方式运行比特币,它马上就会自动开始连接。
英文原文
展开英文原文
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 moved to the data directory "%appdata%/bitcoin/debug.log"
7 inbound and 2 outbound sounds about as expected.
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.
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.
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.
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.
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.