如何在 Vidalia 之前阻止 Tor 启动?

gan*_*jan 8 networking tor

我在尝试使用 vidalia 运行 tor 时遇到这些错误

Apr 19 21:55:15.371 [Notice] Tor v0.2.1.30. This is experimental software. Do not rely on it for strong anonymity. (Running on Linux i686)
Apr 19 21:55:15.372 [Notice] Initialized libevent version 1.4.13-stable using method epoll. Good.
Apr 19 21:55:15.373 [Notice] Opening Socks listener on 127.0.0.1:9050
Apr 19 21:55:15.373 [Warning] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
Apr 19 21:55:15.373 [Warning] Failed to parse/validate config: Failed to bind one of the listener ports.
Apr 19 21:55:15.373 [Error] Reading config failed--see warnings above.
Run Code Online (Sandbox Code Playgroud)

我不认为tor正在运行。这是我的本地主机的 nmap 扫描

Starting Nmap 5.21 ( http://nmap.org ) at 2011-04-19 21:59 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000050s latency).
Hostname localhost resolves to 2 IPs. Only scanned 127.0.0.1
rDNS record for 127.0.0.1: localhost.localdomain
Not shown: 989 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
53/tcp    open  domain
80/tcp    open  http
139/tcp   open  netbios-ssn
445/tcp   open  microsoft-ds
631/tcp   open  ipp
3128/tcp  open  squid-http
3306/tcp  open  mysql
9000/tcp  open  cslistener
9050/tcp  open  tor-socks
10000/tcp open  snet-sensor-mgmt
Run Code Online (Sandbox Code Playgroud)

我看到tor-socks这里正在运行,可能是问题的原因。我如何阻止它启动?我想使用,vidalia以便我可以监控发生了什么。

qbi*_*qbi 7

较新版本的Tor有一个文件/etc/default/tor.vidalia. 它包含三行:

if [ -x /usr/bin/vidalia ]; then
        RUN_DAEMON=yes
fi
Run Code Online (Sandbox Code Playgroud)

您可以将选项更改为no。这将阻止作为守护进程启动。Tor 现在会在您启动 Vidalia 时启动。