配置Tor出现的问题
背景
我想要一个稳定的rotated ip pool, 所以打算通过
Tor
的
P2P anonymous proxy
来实现。 但是因为
你懂的
原因,导致以下问题的出现。
执行过程
step 1. 下载安装
Tor
,执行的时候卡在%5
localhost:~ eric$ tor
Mar 12 09:58:07.938 [notice] Tor v0.2.4.21 (git-505962724c05445f) running on Darwin with Libevent 2.0.21-stable and OpenSSL 0.9.8y.
Mar 12 09:58:07.939 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Mar 12 09:58:07.942 [notice] Read configuration file "/usr/local/etc/tor/torrc".
Mar 12 09:58:07.947 [notice] Opening Socks listener on 127.0.0.1:9050
Mar 12 09:58:07.000 [notice] Parsing GEOIP IPv4 file /usr/local/share/tor/geoip.
Mar 12 09:58:07.000 [notice] Parsing GEOIP IPv6 file /usr/local/share/tor/geoip6.
Mar 12 09:58:08.000 [notice] Your OpenSSL version seems to be 0.9.8y. We recommend 1.0.0 or later.
Mar 12 09:58:09.000 [notice] Bootstrapped 5%: Connecting to directory server.
step 2. 无法访问
Tor
的目录服务器,摔!,所以我使用了goAgent作为它的前置代理,如下
localhost:~ eric$ tor HTTPSProxy 127.0.0.1:8087
Mar 12 10:00:29.885 [notice] Tor v0.2.4.21 (git-505962724c05445f) running on Darwin with Libevent 2.0.21-stable and OpenSSL 0.9.8y.
Mar 12 10:00:29.885 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Mar 12 10:00:29.886 [notice] Read configuration file "/usr/local/etc/tor/torrc".
Mar 12 10:00:29.888 [notice] Opening Socks listener on 127.0.0.1:9050
Mar 12 10:00:29.000 [notice] Parsing GEOIP IPv4 file /usr/local/share/tor/geoip.
Mar 12 10:00:29.000 [notice] Parsing GEOIP IPv6 file /usr/local/share/tor/geoip6.
Mar 12 10:00:29.000 [notice] Your OpenSSL version seems to be 0.9.8y. We recommend 1.0.0 or later.
Mar 12 10:00:31.000 [notice] Bootstrapped 5%: Connecting to directory server.
Mar 12 10:00:31.000 [notice] Bootstrapped 10%: Finishing handshake with directory server.
Mar 12 10:00:31.000 [notice] We weren't able to find support for all of the TLS ciphersuites that we wanted to advertise. This won't hurt security, but it might make your Tor (if run as a client) more easy for censors to block.
Mar 12 10:00:31.000 [notice] To correct this, use a more recent OpenSSL, built without disabling any secure ciphers or features.
step 3. 提示openssl版本过低,摔!mac默认0.9.8y有木有,升级可费劲了,最终换了台机器执行如下
[root@localhost tor]# tor HTTPSProxy 127.0.0.1:8087
Mar 11 22:02:55.897 [notice] Tor v0.2.4.21 (git-505962724c05445f) running on Linux with Libevent 1.4.13-stable and OpenSSL 1.0.1e-fips.
Mar 11 22:02:55.904 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Mar 11 22:02:55.904 [notice] Read configuration file "/usr/local/etc/tor/torrc".
Mar 11 22:02:55.912 [notice] Opening Socks listener on 127.0.0.1:9050
Mar 11 22:02:55.000 [notice] Parsing GEOIP IPv4 file /usr/local/share/tor/geoip.
Mar 11 22:02:56.000 [notice] Parsing GEOIP IPv6 file /usr/local/share/tor/geoip6.
Mar 11 22:02:56.000 [warn] You are running Tor as root. You don't need to, and you probably shouldn't.
Mar 11 22:02:56.000 [notice] We were built to run on a 64-bit CPU, with OpenSSL 1.0.1 or later, but with a version of OpenSSL that apparently lacks accelerated support for the NIST P-224 and P-256 groups. Building openssl with such support (using the enable-ec_nistp_64_gcc_128 option when configuring it) would make ECDH much faster.
Mar 11 22:02:57.000 [notice] Bootstrapped 5%: Connecting to directory server.
Mar 11 22:02:57.000 [notice] Bootstrapped 10%: Finishing handshake with directory server.
然后就卡在10%不动了....
step 4. 开启debug模式,输入如下
[root@localhost tor]# tor HTTPSProxy 127.0.0.1:8087
Mar 11 22:04:58.748 [notice] Tor v0.2.4.21 (git-505962724c05445f) running on Linux with Libevent 1.4.13-stable and OpenSSL 1.0.1e-fips.
Mar 11 22:04:58.748 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Mar 11 22:04:58.748 [notice] Read configuration file "/usr/local/etc/tor/torrc".
Mar 11 22:04:58.753 [notice] Opening Socks listener on 127.0.0.1:9050
Mar 11 22:04:58.000 [debug] tor_disable_debugger_attach(): Attemping to disable debugger attachment to Tor for unprivileged users.
Mar 11 22:04:58.000 [debug] tor_disable_debugger_attach(): Debugger attachment disabled for unprivileged users.
Mar 11 22:04:58.000 [info] tor_lockfile_lock(): Locking "/root/.tor/lock"
Mar 11 22:04:58.000 [debug] parse_dir_authority_line(): Trusted 100 dirserver at 128.31.0.39:9131 (9695)
Mar 11 22:04:58.000 [debug] parse_dir_authority_line(): Trusted 111 dirserver at 86.59.21.38:80 (847B)
Mar 11 22:04:58.000 [debug] parse_dir_authority_line(): Trusted 102 dirserver at 194.109.206.212:80 (7EA6)
Mar 11 22:04:58.000 [debug] parse_dir_authority_line(): Trusted 16 dirserver at 82.94.251.203:80 (4A0C)
Mar 11 22:04:58.000 [debug] parse_dir_authority_line(): Trusted 100 dirserver at 76.73.17.194:9030 (F397)
Mar 11 22:04:58.000 [debug] parse_dir_authority_line(): Trusted 100 dirserver at 212.112.245.170:80 (F204)
Mar 11 22:04:58.000 [debug] parse_dir_authority_line(): Trusted 100 dirserver at 193.23.244.244:80 (7BE6)
Mar 11 22:04:58.000 [debug] parse_dir_authority_line(): Trusted 100 dirserver at 208.83.223.34:443 (0AD3)
Mar 11 22:04:58.000 [debug] parse_dir_authority_line(): Trusted 100 dirserver at 171.25.193.9:443 (BD6A)
Mar 11 22:04:58.000 [debug] parse_dir_authority_line(): Trusted 100 dirserver at 154.35.32.5:80 (CF6D)
Mar 11 22:04:58.000 [info] or_state_load(): Loaded state from "/root/.tor/state"
Mar 11 22:04:58.000 [debug] circuit_build_times_disabled(): CircuitBuildTime learning is not disabled. Consensus=0, Config=0, AuthDir=0, StateFile=0
Mar 11 22:04:58.000 [debug] circuit_build_times_disabled(): CircuitBuildTime learning is not disabled. Consensus=0, Config=0, AuthDir=0, StateFile=0
Mar 11 22:04:58.000 [info] circuit_build_times_parse_state(): Adding 0 timeouts.
Mar 11 22:04:58.000 [info] circuit_build_times_parse_state(): Loaded 0/0 values from 0 lines in circuit time histogram
Mar 11 22:04:58.000 [debug] circuit_build_times_disabled(): CircuitBuildTime learning is not disabled. Consensus=0, Config=0, AuthDir=0, StateFile=0
Mar 11 22:04:58.000 [info] read_file_to_str(): Could not open "/root/.tor/router-stability": No such file or directory
Mar 11 22:04:58.000 [info] cell_ewma_set_scale_factor(): Disabled cell_ewma algorithm because of value in Default value
Mar 11 22:04:58.000 [notice] Parsing GEOIP IPv4 file /usr/local/share/tor/geoip.
Mar 11 22:04:58.000 [notice] Parsing GEOIP IPv6 file /usr/local/share/tor/geoip6.
Mar 11 22:04:58.000 [warn] You are running Tor as root. You don't need to, and you probably shouldn't.
Mar 11 22:04:58.000 [info] crypto_global_init(): OpenSSL version matches version from headers (1000105f: OpenSSL 1.0.1e-fips 11 Feb 2013).
Mar 11 22:04:58.000 [info] crypto_global_init(): NOT using OpenSSL engine support.
Mar 11 22:04:58.000 [info] evaluate_evp_for_aes(): This version of OpenSSL has a known-good EVP counter-mode implementation. Using it.
Mar 11 22:04:58.000 [info] crypto_strongest_rand(): Reading entropy from "/dev/urandom"
Mar 11 22:04:58.000 [info] tor_tls_init(): OpenSSL OpenSSL 1.0.1e-fips 11 Feb 2013 looks like version 0.9.8m or later; I will try SSL_OP to enable renegotiation
Mar 11 22:04:58.000 [notice] We were built to run on a 64-bit CPU, with OpenSSL 1.0.1 or later, but with a version of OpenSSL that apparently lacks accelerated support for the NIST P-224 and P-256 groups. Building openssl with such support (using the enable-ec_nistp_64_gcc_128 option when configuring it) would make ECDH much faster.
Mar 11 22:04:58.000 [debug] mp_pool_new(): Capacity is 244, item size is 536, alloc size is 130784
Mar 11 22:04:58.000 [info] Bootstrapped 0%: Starting.
Mar 11 22:04:58.000 [info] read_file_to_str(): Could not open "/root/.tor/cached-certs": No such file or directory
Mar 11 22:04:58.000 [info] read_file_to_str(): Could not open "/root/.tor/cached-consensus": No such file or directory
Mar 11 22:04:58.000 [info] read_file_to_str(): Could not open "/root/.tor/unverified-consensus": No such file or directory
Mar 11 22:04:58.000 [info] read_file_to_str(): Could not open "/root/.tor/cached-microdesc-consensus": No such file or directory
Mar 11 22:04:58.000 [info] read_file_to_str(): Could not open "/root/.tor/unverified-microdesc-consensus": No such file or directory
Mar 11 22:04:58.000 [info] tor_mmap_file(): Could not open "/root/.tor/cached-microdescs" for mmap(): No such file or directory
Mar 11 22:04:58.000 [info] read_file_to_str(): Could not open "/root/.tor/cached-microdescs.new": No such file or directory
Mar 11 22:04:58.000 [info] microdesc_cache_reload(): Reloaded microdescriptor cache. Found 0 descriptors.
Mar 11 22:04:58.000 [info] tor_mmap_file(): Could not open "/root/.tor/cached-descriptors" for mmap(): No such file or directory
Mar 11 22:04:58.000 [info] tor_mmap_file(): Could not open "/root/.tor/cached-extrainfo" for mmap(): No such file or directory
Mar 11 22:04:58.000 [info] I learned some more directory information, but not enough to build a circuit: We have no usable consensus.
Mar 11 22:04:59.000 [info] update_consensus_networkstatus_downloads(): Launching microdesc networkstatus consensus download.
Mar 11 22:04:59.000 [info] directory_pick_generic_dirserver(): No router found for consensus network-status fetch; falling back to dirserver list.
Mar 11 22:04:59.000 [debug] directory_initiate_command_rend(): anonymized 0, use_begindir 1.
Mar 11 22:04:59.000 [debug] directory_initiate_command_rend(): Initiating consensus network-status fetch
Mar 11 22:04:59.000 [info] connection_ap_make_link(): Making internal direct tunnel to [scrubbed]:80 ...
Mar 11 22:04:59.000 [debug] connection_add_impl(): new conn type Socks, socket -1, address (Tor_internal), n_conns 2.
Mar 11 22:04:59.000 [debug] circuit_get_open_circ_or_launch(): considering 1, $BD6A829255CB08E66FBE7D3748363586E46B3810
Mar 11 22:04:59.000 [debug] onion_pick_cpath_exit(): Launching a one-hop circuit for dir tunnel.
Mar 11 22:04:59.000 [info] onion_pick_cpath_exit(): Using requested exit node '$BD6A829255CB08E66FBE7D3748363586E46B3810~BD6A829255CB08E66FB at 171.25.193.9'
Mar 11 22:04:59.000 [debug] onion_extend_cpath(): Path is 0 long; we want 1
Mar 11 22:04:59.000 [debug] onion_extend_cpath(): Chose router $BD6A829255CB08E66FBE7D3748363586E46B3810~BD6A829255CB08E66FB at 171.25.193.9 for hop 1 (exit is BD6A829255CB08E66FBE7D3748363586E46B3810)
Mar 11 22:04:59.000 [debug] onion_extend_cpath(): Path is complete: 1 steps long
Mar 11 22:04:59.000 [debug] circuit_handle_first_hop(): Looking for firsthop '171.25.193.9:80'
Mar 11 22:04:59.000 [info] circuit_handle_first_hop(): Next router is [scrubbed]: Not connected. Connecting.
Mar 11 22:04:59.000 [notice] Bootstrapped 5%: Connecting to directory server.
Mar 11 22:04:59.000 [debug] channel_tls_connect(): In channel_tls_connect() for channel 0x7f81b4ac3010 (global id 0)
Mar 11 22:04:59.000 [debug] channel_set_identity_digest(): Setting remote endpoint digest on channel 0x7f81b4ac3010 with global ID 0 to digest BD6A829255CB08E66FBE7D3748363586E46B3810
Mar 11 22:04:59.000 [debug] connection_connect(): Connecting to [scrubbed]:8087.
Mar 11 22:04:59.000 [debug] connection_connect(): Connection to [scrubbed]:8087 in progress (sock 11).
Mar 11 22:04:59.000 [debug] connection_add_impl(): new conn type OR, socket 11, address 171.25.193.9, n_conns 3.
Mar 11 22:04:59.000 [debug] channel_tls_connect(): Got orconn 0x7f81b4ac32d0 for channel with global id 0
Mar 11 22:04:59.000 [debug] channel_register(): Registering channel 0x7f81b4ac3010 (ID 0) in state opening (1) with digest BD6A829255CB08E66FBE7D3748363586E46B3810
Mar 11 22:04:59.000 [debug] channel_add_to_digest_map(): Added channel 0x7f81b4ac3010 (global ID 0) to identity map in state opening (1) with digest BD6A829255CB08E66FBE7D3748363586E46B3810
Mar 11 22:04:59.000 [debug] channel_set_cell_handlers(): Setting cell_handler callback for channel 0x7f81b4ac3010 to 0x7f81b36d0ea0
Mar 11 22:04:59.000 [debug] channel_set_cell_handlers(): Setting var_cell_handler callback for channel 0x7f81b4ac3010 to 0x7f81b36d0030
Mar 11 22:04:59.000 [debug] circuit_handle_first_hop(): connecting in progress (or finished). Good.
Mar 11 22:04:59.000 [info] connection_ap_make_link(): ... application connection created and linked.
Mar 11 22:04:59.000 [debug] connection_add_impl(): new conn type Directory, socket -1, address 171.25.193.9, n_conns 4.
Mar 11 22:04:59.000 [info] directory_send_command(): Downloading consensus from 171.25.193.9 using /tor/status-vote/current/consensus-microdesc/14C131+27B6B5+49015F+585769+805509+D586D1+E8A9C4+ED03BB+EFCBE7.z
Mar 11 22:04:59.000 [info] or_state_save(): Saved state to "/root/.tor/state"
Mar 11 22:04:59.000 [debug] conn_write_callback(): socket 11 wants to write.
Mar 11 22:04:59.000 [debug] connection_or_finished_connecting(): OR connect() to router at 171.25.193.9:80 finished.
Mar 11 22:04:59.000 [notice] Bootstrapped 10%: Finishing handshake with directory server.
Mar 11 22:04:59.000 [debug] connection_proxy_connect(): set state PROXY_HTTPS_WANT_CONNECT_OK
Mar 11 22:04:59.000 [debug] connection_bucket_refill_helper(): global_write_bucket now 1073741824.
Mar 11 22:04:59.000 [debug] connection_bucket_refill_helper(): global_relayed_write_bucket now 1073741824.
Mar 11 22:04:59.000 [debug] conn_read_callback(): socket -1 wants to read.
Mar 11 22:04:59.000 [info] connection_edge_process_inbuf(): data from edge while in 'waiting for circuit' state. Leaving it on buffer.
Mar 11 22:04:59.000 [info] connection_edge_process_inbuf(): data from edge while in 'waiting for circuit' state. Leaving it on buffer.
Mar 11 22:04:59.000 [debug] connection_dir_finished_flushing(): client finished sending command.
Mar 11 22:04:59.000 [debug] conn_read_callback(): socket 11 wants to read.
Mar 11 22:04:59.000 [debug] read_to_chunk(): Encountered eof on fd 11
Mar 11 22:04:59.000 [debug] connection_read_proxy_handshake(): enter state PROXY_HTTPS_WANT_CONNECT_OK
Mar 11 22:04:59.000 [debug] fetch_from_buf_http(): headers not all here yet.
Mar 11 22:04:59.000 [info] connection_read_https_proxy_response(): https proxy response not all here yet. Waiting.
Mar 11 22:04:59.000 [debug] connection_read_proxy_handshake(): leaving state PROXY_HTTPS_WANT_CONNECT_OK
Mar 11 22:04:59.000 [info] connection_or_reached_eof(): OR connection reached EOF. Closing.
Mar 11 22:04:59.000 [debug] connection_mark_for_close_internal_(): Calling connection_mark_for_close_internal_() on an OR conn at src/or/connection_or.c:1186
Mar 11 22:04:59.000 [debug] channel_close_from_lower_layer(): Closing channel 0x7f81b4ac3010 (global ID 0) due to lower-layer event
Mar 11 22:04:59.000 [debug] channel_change_state(): Changing state of channel 0x7f81b4ac3010 (global ID 0) from "opening" to "closing"
Mar 11 22:04:59.000 [debug] channel_remove_from_digest_map(): Removed channel 0x7f81b4ac3010 (global ID 0) from identity map in state closing (4) with digest BD6A829255CB08E66FBE7D3748363586E46B3810
Mar 11 22:04:59.000 [debug] conn_close_if_marked(): Cleaning up connection (fd 11).
Mar 11 22:04:59.000 [debug] circuit_n_chan_done(): chan to NULL/171.25.193.9:80, status=0
Mar 11 22:04:59.000 [info] circuit_n_chan_done(): Channel failed; closing circ.
Mar 11 22:04:59.000 [info] circuit_build_failed(): Our circuit died before the first hop with no connection
Mar 11 22:04:59.000 [info] connection_ap_fail_onehop(): Closing one-hop stream to '$BD6A829255CB08E66FBE7D3748363586E46B3810/171.25.193.9' because the OR conn just failed.
Mar 11 22:04:59.000 [debug] circuit_increment_failure_count(): n_circuit_failures now 1.
Mar 11 22:04:59.000 [debug] channel_change_state(): Changing state of channel 0x7f81b4ac3010 (global ID 0) from "closing" to "closed"
Mar 11 22:04:59.000 [info] connection_or_note_state_when_broken(): Connection died in state 'handshaking (proxy) with SSL state (No SSL object)'
Mar 11 22:04:59.000 [debug] connection_remove(): removing socket 11 (type OR), n_conns now 4
Mar 11 22:04:59.000 [debug] connection_free_(): closing fd 11.
Mar 11 22:04:59.000 [debug] conn_close_if_marked(): Cleaning up connection (fd -1).
Mar 11 22:04:59.000 [debug] connection_remove(): removing socket -1 (type Socks), n_conns now 3
Mar 11 22:04:59.000 [info] connection_free_(): Freeing linked Socks connection [waiting for circuit] with 146 bytes on inbuf, 0 on outbuf.
Mar 11 22:04:59.000 [debug] conn_read_callback(): socket -1 wants to read.
Mar 11 22:04:59.000 [info] connection_dir_client_reached_eof(): 'fetch' response not all here, but we're at eof. Closing.
Mar 11 22:04:59.000 [debug] conn_close_if_marked(): Cleaning up connection (fd -1).
Mar 11 22:04:59.000 [info] update_consensus_networkstatus_downloads(): Launching microdesc networkstatus consensus download.
Mar 11 22:04:59.000 [info] directory_pick_generic_dirserver(): No router found for consensus network-status fetch; falling back to dirserver list.
Mar 11 22:04:59.000 [debug] directory_initiate_command_rend(): anonymized 0, use_begindir 1.
Mar 11 22:04:59.000 [debug] directory_initiate_command_rend(): Initiating consensus network-status fetch
Mar 11 22:04:59.000 [info] connection_ap_make_link(): Making internal direct tunnel to [scrubbed]:443 ...
Mar 11 22:04:59.000 [debug] connection_add_impl(): new conn type Socks, socket -1, address (Tor_internal), n_conns 3.
Mar 11 22:04:59.000 [debug] circuit_get_open_circ_or_launch(): considering 1, $847B1F850344D7876491A54892F904934E4EB85D
Mar 11 22:04:59.000 [debug] onion_pick_cpath_exit(): Launching a one-hop circuit for dir tunnel.
Mar 11 22:04:59.000 [info] onion_pick_cpath_exit(): Using requested exit node '$847B1F850344D7876491A54892F904934E4EB85D~847B1F850344D787649 at 86.59.21.38'
Mar 11 22:04:59.000 [debug] onion_extend_cpath(): Path is 0 long; we want 1
Mar 11 22:04:59.000 [debug] onion_extend_cpath(): Chose router $847B1F850344D7876491A54892F904934E4EB85D~847B1F850344D787649 at 86.59.21.38 for hop 1 (exit is 847B1F850344D7876491A54892F904934E4EB85D)
Mar 11 22:04:59.000 [debug] onion_extend_cpath(): Path is complete: 1 steps long
Mar 11 22:04:59.000 [debug] circuit_handle_first_hop(): Looking for firsthop '86.59.21.38:443'
Mar 11 22:04:59.000 [info] circuit_handle_first_hop(): Next router is [scrubbed]: Not connected. Connecting.
Mar 11 22:04:59.000 [debug] channel_tls_connect(): In channel_tls_connect() for channel 0x7f81b4ace3f0 (global id 1)
Mar 11 22:04:59.000 [debug] channel_set_identity_digest(): Setting remote endpoint digest on channel 0x7f81b4ace3f0 with global ID 1 to digest 847B1F850344D7876491A54892F904934E4EB85D
Mar 11 22:04:59.000 [debug] connection_connect(): Connecting to [scrubbed]:8087.
Mar 11 22:04:59.000 [debug] connection_connect(): Connection to [scrubbed]:8087 in progress (sock 11).
Mar 11 22:04:59.000 [debug] connection_add_impl(): new conn type OR, socket 11, address 86.59.21.38, n_conns 4.
Mar 11 22:04:59.000 [debug] channel_tls_connect(): Got orconn 0x7f81b4ace550 for channel with global id 1
Mar 11 22:04:59.000 [debug] channel_register(): Registering channel 0x7f81b4ace3f0 (ID 1) in state opening (1) with digest 847B1F850344D7876491A54892F904934E4EB85D
Mar 11 22:04:59.000 [debug] channel_add_to_digest_map(): Added channel 0x7f81b4ace3f0 (global ID 1) to identity map in state opening (1) with digest 847B1F850344D7876491A54892F904934E4EB85D
Mar 11 22:04:59.000 [debug] channel_set_cell_handlers(): Setting cell_handler callback for channel 0x7f81b4ace3f0 to 0x7f81b36d0ea0
Mar 11 22:04:59.000 [debug] channel_set_cell_handlers(): Setting var_cell_handler callback for channel 0x7f81b4ace3f0 to 0x7f81b36d0030
Mar 11 22:04:59.000 [debug] circuit_handle_first_hop(): connecting in progress (or finished). Good.
Mar 11 22:04:59.000 [info] connection_ap_make_link(): ... application connection created and linked.
Mar 11 22:04:59.000 [debug] connection_add_impl(): new conn type Directory, socket -1, address 86.59.21.38, n_conns 5.
Mar 11 22:04:59.000 [info] directory_send_command(): Downloading consensus from 86.59.21.38:443 using /tor/status-vote/current/consensus-microdesc/14C131+27B6B5+49015F+585769+805509+D586D1+E8A9C4+ED03BB+EFCBE7.z
Mar 11 22:04:59.000 [debug] connection_remove(): removing socket -1 (type Directory), n_conns now 5
Mar 11 22:04:59.000 [info] connection_free_(): Freeing linked Directory connection [client reading] with 0 bytes on inbuf, 0 on outbuf.
Mar 11 22:04:59.000 [debug] conn_read_callback(): socket -1 wants to read.
Mar 11 22:04:59.000 [info] connection_edge_process_inbuf(): data from edge while in 'waiting for circuit' state. Leaving it on buffer.
Mar 11 22:04:59.000 [info] connection_edge_process_inbuf(): data from edge while in 'waiting for circuit' state. Leaving it on buffer.
Mar 11 22:04:59.000 [debug] connection_dir_finished_flushing(): client finished sending command.
Mar 11 22:04:59.000 [debug] conn_write_callback(): socket 11 wants to write.
Mar 11 22:04:59.000 [debug] connection_or_finished_connecting(): OR connect() to router at 86.59.21.38:443 finished.
Mar 11 22:04:59.000 [debug] connection_proxy_connect(): set state PROXY_HTTPS_WANT_CONNECT_OK
Mar 11 22:04:59.000 [debug] conn_read_callback(): socket 11 wants to read.
Mar 11 22:04:59.000 [debug] channel_close_for_error(): Closing channel 0x7f81b4ace3f0 due to lower-layer error
Mar 11 22:04:59.000 [debug] channel_change_state(): Changing state of channel 0x7f81b4ace3f0 (global ID 1) from "opening" to "closing"
Mar 11 22:04:59.000 [debug] channel_remove_from_digest_map(): Removed channel 0x7f81b4ace3f0 (global ID 1) from identity map in state closing (4) with digest 847B1F850344D7876491A54892F904934E4EB85D
Mar 11 22:04:59.000 [debug] connection_mark_for_close_internal_(): Calling connection_mark_for_close_internal_() on an OR conn at src/or/connection.c:2865
Mar 11 22:04:59.000 [debug] conn_close_if_marked(): Cleaning up connection (fd -1).
Mar 11 22:04:59.000 [debug] circuit_n_chan_done(): chan to NULL/86.59.21.38:443, status=0
Mar 11 22:04:59.000 [info] circuit_n_chan_done(): Channel failed; closing circ.
Mar 11 22:04:59.000 [info] circuit_build_failed(): Our circuit died before the first hop with no connection
Mar 11 22:04:59.000 [info] connection_ap_fail_onehop(): Closing one-hop stream to '$847B1F850344D7876491A54892F904934E4EB85D/86.59.21.38' because the OR conn just failed.
Mar 11 22:04:59.000 [debug] circuit_increment_failure_count(): n_circuit_failures now 2.
Mar 11 22:04:59.000 [debug] channel_change_state(): Changing state of channel 0x7f81b4ace3f0 (global ID 1) from "closing" to "channel error"
Mar 11 22:04:59.000 [info] connection_or_note_state_when_broken(): Connection died in state 'handshaking (proxy) with SSL state (No SSL object)'
Mar 11 22:04:59.000 [debug] connection_remove(): removing socket -1 (type OR), n_conns now 4
Mar 11 22:04:59.000 [debug] conn_close_if_marked(): Cleaning up connection (fd -1).
Mar 11 22:04:59.000 [debug] connection_remove(): removing socket -1 (type Socks), n_conns now 3
Mar 11 22:04:59.000 [info] connection_free_(): Freeing linked Socks connection [waiting for circuit] with 149 bytes on inbuf, 0 on outbuf.
Mar 11 22:04:59.000 [debug] conn_read_callback(): socket -1 wants to read.
Mar 11 22:04:59.000 [info] connection_dir_client_reached_eof(): 'fetch' response not all here, but we're at eof. Closing.
Mar 11 22:04:59.000 [debug] conn_close_if_marked(): Cleaning up connection (fd -1).
Mar 11 22:04:59.000 [debug] connection_remove(): removing socket -1 (type Directory), n_conns now 2
Mar 11 22:04:59.000 [info] connection_free_(): Freeing linked Directory connection [client reading] with 0 bytes on inbuf, 0 on outbuf.
Mar 11 22:05:00.000 [debug] connection_bucket_refill_helper(): global_write_bucket now 1073741824.
Mar 11 22:05:00.000 [debug] connection_bucket_refill_helper(): global_relayed_write_bucket now 1073741824.
Mar 11 22:05:00.000 [debug] channel_free(): Freeing channel 0 at 0x7f81b4ac3010
Mar 11 22:05:00.000 [debug] channel_clear_remote_end(): Clearing remote endpoint identity on channel 0x7f81b4ac3010 with global ID 0
Mar 11 22:05:00.000 [debug] channel_free(): Freeing channel 1 at 0x7f81b4ace3f0
Mar 11 22:05:00.000 [debug] channel_clear_remote_end(): Clearing remote endpoint identity on channel 0x7f81b4ace3f0 with global ID 1
然后就不动了。
有木有高人能指点以下怎样才能用
Tor
? 或者其他比较可行的可替代方案。
左手剪刀右手布
10 years, 6 months ago