[GH-ISSUE #402] [QUESTION] Tor automatic activation #267

Closed
opened 2026-02-25 20:35:18 +03:00 by kerem · 1 comment
Owner

Originally created by @baek-sang on GitHub (Aug 26, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/402

CentOS 8, Docker whoogle:0.5.4

set whoogle.env
# WHOOGLE_CONFIG_TOR=1

docker logs show

Aug 26 19:26:19.155 [notice] Read configuration file "/etc/tor/torrc".
Aug 26 19:26:19.158 [notice] Opening Socks listener on 127.0.0.1:9050
Aug 26 19:26:19.158 [notice] Opened Socks listener on 127.0.0.1:9050
Aug 26 19:26:19.158 [notice] Opening Control listener on 127.0.0.1:9051
Aug 26 19:26:19.159 [notice] Opened Control listener on 127.0.0.1:9051
Aug 26 19:26:19.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Aug 26 19:26:19.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
....
Aug 26 19:26:27.000 [notice] The current consensus contains exit nodes. Tor can build exit and internal paths.
Aug 26 19:26:28.000 [notice] Bootstrapped 72%: Loading relay descriptors
Aug 26 19:26:28.000 [notice] Bootstrapped 80%: Connecting to the Tor network
Aug 26 19:26:28.000 [notice] New control connection opened from 127.0.0.1.
Aug 26 19:26:28.000 [notice] Heartbeat: Tor's uptime is 0:00 hours, with 5 circuits open. I've sent 437 kB and received 3.81 MB.
Serving on http://0.0.0.0:5000
Aug 26 19:26:29.000 [notice] Bootstrapped 85%: Finishing handshake with first hop
Aug 26 19:26:29.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
Aug 26 19:26:30.000 [notice] Bootstrapped 100%: Done
Aug 26 19:26:30.000 [notice] New control connection opened from 127.0.0.1.
Aug 26 19:26:32.000 [notice] Heartbeat: Tor's uptime is 0:00 hours, with 9 circuits open. I've sent 443 kB and received 3.81 MB.
Aug 26 19:29:22.000 [notice] New control connection opened from 127.0.0.1.
Aug 26 19:29:22.000 [notice] Heartbeat: Tor's uptime is 0:03 hours, with 10 circuits open. I've sent 462 kB and received 3.83 MB.
Aug 26 19:29:52.000 [notice] New control connection opened from 127.0.0.1.
Aug 26 19:29:52.000 [notice] Heartbeat: Tor's uptime is 0:03 hours, with 10 circuits open. I've sent 462 kB and received 3.84 MB.

Is it correct that Tor is activated?

Why do I see Tor network traffic?

Originally created by @baek-sang on GitHub (Aug 26, 2021). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/402 CentOS 8, Docker whoogle:0.5.4 set whoogle.env `# WHOOGLE_CONFIG_TOR=1` docker logs show ``` Aug 26 19:26:19.155 [notice] Read configuration file "/etc/tor/torrc". Aug 26 19:26:19.158 [notice] Opening Socks listener on 127.0.0.1:9050 Aug 26 19:26:19.158 [notice] Opened Socks listener on 127.0.0.1:9050 Aug 26 19:26:19.158 [notice] Opening Control listener on 127.0.0.1:9051 Aug 26 19:26:19.159 [notice] Opened Control listener on 127.0.0.1:9051 Aug 26 19:26:19.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. Aug 26 19:26:19.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. .... Aug 26 19:26:27.000 [notice] The current consensus contains exit nodes. Tor can build exit and internal paths. Aug 26 19:26:28.000 [notice] Bootstrapped 72%: Loading relay descriptors Aug 26 19:26:28.000 [notice] Bootstrapped 80%: Connecting to the Tor network Aug 26 19:26:28.000 [notice] New control connection opened from 127.0.0.1. Aug 26 19:26:28.000 [notice] Heartbeat: Tor's uptime is 0:00 hours, with 5 circuits open. I've sent 437 kB and received 3.81 MB. Serving on http://0.0.0.0:5000 Aug 26 19:26:29.000 [notice] Bootstrapped 85%: Finishing handshake with first hop Aug 26 19:26:29.000 [notice] Bootstrapped 90%: Establishing a Tor circuit Aug 26 19:26:30.000 [notice] Bootstrapped 100%: Done Aug 26 19:26:30.000 [notice] New control connection opened from 127.0.0.1. Aug 26 19:26:32.000 [notice] Heartbeat: Tor's uptime is 0:00 hours, with 9 circuits open. I've sent 443 kB and received 3.81 MB. Aug 26 19:29:22.000 [notice] New control connection opened from 127.0.0.1. Aug 26 19:29:22.000 [notice] Heartbeat: Tor's uptime is 0:03 hours, with 10 circuits open. I've sent 462 kB and received 3.83 MB. Aug 26 19:29:52.000 [notice] New control connection opened from 127.0.0.1. Aug 26 19:29:52.000 [notice] Heartbeat: Tor's uptime is 0:03 hours, with 10 circuits open. I've sent 462 kB and received 3.84 MB. ``` Is it correct that Tor is activated? Why do I see Tor network traffic?
kerem 2026-02-25 20:35:18 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@benbusby commented on GitHub (Sep 15, 2021):

That means the Tor process is started, but shouldn't be used unless the WHOOGLE_CONFIG_TOR var is set, or the Use Tor checkbox is enabled on the home page.

<!-- gh-comment-id:920405367 --> @benbusby commented on GitHub (Sep 15, 2021): That means the Tor process is started, but shouldn't be used unless the `WHOOGLE_CONFIG_TOR` var is set, or the `Use Tor` checkbox is enabled on the home page.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#267
No description provided.