web-dev-qa-db-ja.com

Torの最新バージョンをインストールするにはどうすればよいですか?

Obfs3ではイランからtorを実行できませんが、Tor Browserからhttps://www.torproject.org/dist/torbrowser/4.5.1/tor-browser-linux64-4.5.1_en-US.tar.xzの最新バージョンをダウンロードすると、正しく動作しました。おそらく、https://launchpad.net/ubuntu/+source/torからのtorの最新バージョンは0.2.5.12-1ですが、https://blog.torproject.org/category/tags/tbbからのtorの最新バージョンは0.2.7.5です。

Tor Browserを使用したくないので、最新バージョンのtorパッケージをインストールするにはどうすればよいですか?

そこで、https://www.torproject.org/docs/debian.html.en#ubuntuのオプション2を試してみます

$ cat /etc/apt/sources.list
deb http://archive.canonical.com/ trusty partner
deb-src http://archive.canonical.com/ trusty partner
deb http://us.archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main universe restricted multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main universe restricted multiverse
deb http://deb.torproject.org/torproject.org trusty main
deb-src http://deb.torproject.org/torproject.org trusty main

そして

$ gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg: requesting key 886DDD89 from hkp server keys.gnupg.net
gpg: key 886DDD89: "deb.torproject.org archive signing key" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

そして

$ gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | Sudo apt-key add -
    OK

その後

$ Sudo proxychains  apt-get update 

そして

$ Sudo proxychains apt-get install tor deb.torproject.org-keyring
ProxyChains-3.1 (http://proxychains.sf.net)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libseccomp2 tor-geoipdb torsocks
Suggested packages:
  mixmaster xul-ext-torbutton socat tor-arm polipo privoxy apparmor-utils
The following NEW packages will be installed:
  deb.torproject.org-keyring libseccomp2 tor tor-geoipdb torsocks
0 upgraded, 5 newly installed, 0 to remove and 10 not upgraded.
Need to get 1,490 kB of archives.
After this operation, 7,010 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
0% [Working]|DNS-request| us.archive.ubuntu.com 
|DNS-request| deb.torproject.org 
|S-chain|-<>-127.0.0.1:9150-<><>-4.2.2.2:53-|S-chain|-<>-127.0.0.1:9150-<><>-4.2.2.2:53-<><>-OK
<><>-OK
0% [Connecting to us.archive.ubuntu.com] [Connecting to deb.torproject.org]|DNS-response| us.archive.ubuntu.com is 91.189.91.14
|S-chain|-<>-127.0.0.1:9150-<><>-91.189.91.14:80-|DNS-response| deb.torproject.org is 82.195.75.101
0% [Connecting to us.archive.ubuntu.com (91.189.91.14)] [Connecting to deb.torp<><>-OK
<><>-OK
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libseccomp2 AMD64 2.1.0+dfsg-1 [34.8 kB]
Get:2 http://deb.torproject.org/torproject.org/ trusty/main deb.torproject.org-keyring all 2014.08.31+b1 [5,268 B]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/universe torsocks AMD64 1.3-3 [73.0 kB]
Get:4 http://deb.torproject.org/torproject.org/ trusty/main tor AMD64 0.2.5.12-1~trusty+1 [837 kB]
Get:5 http://deb.torproject.org/torproject.org/ trusty/main tor-geoipdb all 0.2.5.12-1~trusty+1 [540 kB]
Fetched 1,490 kB in 26s (56.7 kB/s)                                            
Selecting previously unselected package libseccomp2:AMD64.
(Reading database ... 641228 files and directories currently installed.)
Preparing to unpack .../libseccomp2_2.1.0+dfsg-1_AMD64.deb ...
Unpacking libseccomp2:AMD64 (2.1.0+dfsg-1) ...
Selecting previously unselected package deb.torproject.org-keyring.
Preparing to unpack .../deb.torproject.org-keyring_2014.08.31+b1_all.deb ...
Unpacking deb.torproject.org-keyring (2014.08.31+b1) ...
Selecting previously unselected package tor.
Preparing to unpack .../tor_0.2.5.12-1~trusty+1_AMD64.deb ...
Unpacking tor (0.2.5.12-1~trusty+1) ...
Selecting previously unselected package torsocks.
Preparing to unpack .../torsocks_1.3-3_AMD64.deb ...
Unpacking torsocks (1.3-3) ...
Selecting previously unselected package tor-geoipdb.
Preparing to unpack .../tor-geoipdb_0.2.5.12-1~trusty+1_all.deb ...
Unpacking tor-geoipdb (0.2.5.12-1~trusty+1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libseccomp2:AMD64 (2.1.0+dfsg-1) ...
Setting up deb.torproject.org-keyring (2014.08.31+b1) ...
OK
Setting up tor (0.2.5.12-1~trusty+1) ...
Something or somebody made /var/lib/tor disappear.
Creating one for you again.
Something or somebody made /var/log/tor disappear.
Creating one for you again.
Warning from profile system_tor (/etc/apparmor.d/system_tor) ptrace rules not enforced
Warning from profile system_tor (/etc/apparmor.d/system_tor) signal rules not enforced
Warning from /etc/apparmor.d/system_tor (/etc/apparmor.d/system_tor line 18): profile system_tor network rules not enforced
 * Starting tor daemon...                                                       May 19 19:16:12.263 [warn] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
May 19 19:16:12.263 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
May 19 19:16:12.263 [err] Reading config failed--see warnings above.
                                                                         [fail]
invoke-rc.d: initscript tor, action "start" failed.
Tor was unable to start due to configuration errors.
Please fix them and manually restart the tor daemon using
 ´service start tor´
Setting up torsocks (1.3-3) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up tor-geoipdb (0.2.5.12-1~trusty+1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...

しかし、まだ古いバージョンがあります!

$ tor -v
May 19 19:16:22.994 [notice] Tor v0.2.5.12 (git-3731dd5c3071dcba) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1f and Zlib 1.2.8.
May 19 19:16:22.994 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
May 19 19:16:22.994 [warn] Command-line option '-v' with no value. Failing.
May 19 19:16:22.994 [err] Reading config failed--see warnings above.

最新のTorパッケージバージョンのインストールを手伝っていただけませんか?

2
Daniyal

tor 0.2.7.5のようなものはありません。あなたが読んだのはTor Launcher 0.2.7.5です。

次のビルドを(安定性の降順で)持つことができます。

  • 最新の安定版.2.5.12.1
  • .2.6.7.1である最新の実験的ビルド
  • 最新の開発ビルド.2.7.1-alpha-dev-20150518T200057Z-1

0.2.7.5にはなりません

2
solsTiCe