1

Установил Tor:

Installed versions:  0.2.5.10-r3(01:17:35 PM 01/06/2015)(ecc stats threads transparent-proxy -bufferevents -nat-pmp -seccomp -selinux -test -tor-hardening -upnp -web)

/etc/tor/torrc выглядит так:

#
# Minimal torrc so tor will work out of the box
#
User tor
PIDFile /var/run/tor/tor.pid
Log notice syslog
DataDirectory /var/lib/tor/data

Запустил:

# systemctl status tor
● tor.service - The Onion Router
   Loaded: loaded (/usr/lib64/systemd/system/tor.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2015-01-06 13:04:45 ALMT; 3min 1s ago
  Process: 9236 ExecStartPre=/usr/bin/tor --verify-config -f /etc/tor/torrc (code=exited, status=0/SUCCESS)
 Main PID: 9239 (tor)
   CGroup: /system.slice/tor.service
           └─9239 /usr/bin/tor --RunAsDaemon 0 -f /etc/tor/torrc

Jan 06 13:04:45 locus Tor[9239]: Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Jan 06 13:04:45 locus Tor[9239]: We were built to run on a 64-bit CPU, with OpenSSL 1.0.1 or later, but with a version of OpenSSL that appare...
Jan 06 13:04:45 locus Tor[9239]: Bootstrapped 0%: Starting
Jan 06 13:04:45 locus Tor[9239]: Bootstrapped 5%: Connecting to directory server
Jan 06 13:04:45 locus Tor[9239]: We now have enough directory information to build circuits.
Jan 06 13:04:45 locus Tor[9239]: Bootstrapped 80%: Connecting to the Tor network
Jan 06 13:04:45 locus Tor[9239]: Bootstrapped 85%: Finishing handshake with first hop
Jan 06 13:04:46 locus Tor[9239]: Bootstrapped 90%: Establishing a Tor circuit
Jan 06 13:04:47 locus Tor[9239]: Tor has successfully opened a circuit. Looks like client functionality is working.
Jan 06 13:04:47 locus Tor[9239]: Bootstrapped 100%: Done
Hint: Some lines were ellipsized, use -l to show in full.

Firefox с отдельным профилем нормально работает через Tor. Решил включить релей без exit-трафика, добавил в /etc/tor/torrc строчки:

ORPort 9001
Nickname fragment
RelayBandwidthRate 110 KB
RelayBandwidthBurst 160 KB
ExitPolicy reject *:*

Запуск:

# systemctl status tor
● tor.service - The Onion Router
   Loaded: loaded (/usr/lib64/systemd/system/tor.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2015-01-06 13:12:26 ALMT; 1s ago
  Process: 9371 ExecStartPre=/usr/bin/tor --verify-config -f /etc/tor/torrc (code=exited, status=0/SUCCESS)
 Main PID: 9373 (tor)
   CGroup: /system.slice/tor.service
           └─9373 /usr/bin/tor --RunAsDaemon 0 -f /etc/tor/torrc

Jan 06 13:12:26 locus Tor[9373]: Caching new entry tor for tor
Jan 06 13:12:26 locus Tor[9373]: Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Jan 06 13:12:26 locus tor[9373]: Jan 06 13:12:26.050 [notice] Caching new entry tor for tor
Jan 06 13:12:26 locus Tor[9373]: Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Jan 06 13:12:26 locus Tor[9373]: Configured to measure statistics. Look for the *-stats files that will first be written to the data...from now.
Jan 06 13:12:26 locus Tor[9373]: Caching new entry tor for tor
Jan 06 13:12:26 locus Tor[9373]: Caching new entry tor for tor
Jan 06 13:12:26 locus Tor[9373]: We were built to run on a 64-bit CPU, with OpenSSL 1.0.1 or later, but with a version of OpenSSL that appare...
Jan 06 13:12:26 locus Tor[9373]: Your Tor server's identity key fingerprint is '***'
Jan 06 13:12:26 locus Tor[9373]: Bootstrapped 0%: Starting
Hint: Some lines were ellipsized, use -l to show in full.

После этого Firefox находится в постоянном "Connecting...", а сам Tor выключается с минуту.

Это так и должно быть?