TOR proxy odmítá spojení do VirtualBoxu

Alobalova Ciapocka

TOR proxy odmítá spojení do VirtualBoxu
« kdy: 24. 09. 2018, 13:30:34 »
Zdravim

Nainstaloval som TOR balik, vo VirtualBoxe som vytvoril siet zdielanu len s hostom (192.168.22.0)
Host aj virtualizovany OS sa vedia navzajom pingnut. Ked nakonfigurujem FF vo virtualizovanom OS na SOCK proxy, tak bud vypise ze proxy odmieta spojenie alebo timeout. Identicke nastavenie na FF na hoste funguje - proxy na 192.168.22.1). Netstat pise ze na porte pocuva len TOR, ale prikaz tor si ale stazuje ze ma obsadeny post. Host aj virtualizovany OS su Fedora.

Nejake tipy kam dalej? Vdaka

Ukazka torrc, napovedu som vymazal.

Kód: [Vybrat]
ControlSocket /run/tor/control
ControlSocketsGroupWritable 1
CookieAuthentication 1
CookieAuthFile /run/tor/control.authcookie
CookieAuthFileGroupReadable 1

#SOCKSPort 9050 # Default: Bind to localhost:9050 for local connections.
SOCKSPort 192.168.22.1:9100 # Bind to this address:port too.

SOCKSPolicy accept 192.168.22.0/16
#SOCKSPolicy accept6 FC00::/7
#SOCKSPolicy reject *

Vystup tor prikazu.

Kód: [Vybrat]
[root@localhost tor]# tor
Sep 24 13:15:24.712 [notice] Tor 0.3.2.10 (git-31cc63deb69db819) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.0i-fips, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Sep 24 13:15:24.712 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Sep 24 13:15:24.713 [notice] Read configuration file "/etc/tor/torrc".
Sep 24 13:15:24.719 [notice] Scheduler type KIST has been enabled.
Sep 24 13:15:24.719 [notice] You configured a non-loopback address '192.168.22.1:9100' for SocksPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.
Sep 24 13:15:24.719 [notice] Opening Socks listener on 192.168.22.1:9100
Sep 24 13:15:24.720 [warn] Could not bind to 192.168.22.1:9100: Address already in use. Is Tor already running?
Sep 24 13:15:24.721 [warn] /run/tor is not owned by this user (root, 0) but by toranon (983). Perhaps you are running Tor as the wrong user?
Sep 24 13:15:24.721 [warn] Before Tor can create a control socket in "/run/tor/control", the directory "/run/tor" needs to exist, and to be accessible only by the user and group account that is running Tor.  (On some Unix systems, anybody who can list a socket can connect to it, so Tor is being careful.)
Sep 24 13:15:24.721 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Sep 24 13:15:24.721 [err] Reading config failed--see warnings above.

« Poslední změna: 24. 09. 2018, 13:37:08 od Petr Krčmář »