[tor-bugs] #18387 [Tor]: Allow Listening on :: for IPv6

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 1 17:24:38 UTC 2016


#18387: Allow Listening on :: for IPv6
-------------------------+------------------------------------
 Reporter:  DJX          |          Owner:
     Type:  enhancement  |         Status:  needs_information
 Priority:  Low          |      Milestone:  Tor: 0.2.9.x-final
Component:  Tor          |        Version:  Tor: 0.2.7.6
 Severity:  Minor        |     Resolution:
 Keywords:  ipv6         |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+------------------------------------

Comment (by DJX):

 Not sure, here is my log:
 {{{
 Mar 01 12:15:24.000 [notice] Tor 0.2.7.6 (git-7a489a6389110120) opening
 new log file.
 Mar 01 12:15:24.435 [notice] Tor v0.2.7.6 (git-7a489a6389110120) running
 on Windows 7 [server] with Libevent 2.0.21-stable, OpenSSL 1.0.1q and Zlib
 1.2.8.
 Mar 01 12:15:24.436 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Mar 01 12:15:24.741 [notice] Read configuration file
 "C:\ProgramData\Tor\torrc".
 Mar 01 12:15:24.754 [warn] You specified a public address '0.0.0.0:9150'
 for SocksPort. Other people on the Internet might find your computer and
 use it as an open proxy. Please don't allow this unless you have a good
 reason.
 Mar 01 12:15:24.754 [warn] You specified a public address '[::]:9150' for
 SocksPort. Other people on the Internet might find your computer and use
 it as an open proxy. Please don't allow this unless you have a good
 reason.
 Mar 01 12:15:24.754 [warn] Tor is currently configured as a relay and a
 hidden service. That's not very secure: you should probably run your
 hidden service in a separate Tor process, at least -- see
 https://trac.torproject.org/8742
 Mar 01 12:15:24.754 [notice] Based on detected system memory,
 MaxMemInQueues is set to 2048 MB. You can override this by setting
 MaxMemInQueues by hand.
 Mar 01 12:15:24.760 [warn] You specified a public address '0.0.0.0:9150'
 for SocksPort. Other people on the Internet might find your computer and
 use it as an open proxy. Please don't allow this unless you have a good
 reason.
 Mar 01 12:15:24.760 [warn] You specified a public address '[::]:9150' for
 SocksPort. Other people on the Internet might find your computer and use
 it as an open proxy. Please don't allow this unless you have a good
 reason.
 Mar 01 12:15:24.760 [notice] Opening Socks listener on 0.0.0.0:9150
 Mar 01 12:15:24.760 [notice] Opening Socks listener on [::]:9150
 Mar 01 12:15:24.762 [notice] Opening Control listener on 127.0.0.1:9151
 Mar 01 12:15:24.762 [notice] Opening Control listener on [::1]:9151
 Mar 01 12:15:24.762 [notice] Opening OR listener on 0.0.0.0:4343
 Mar 01 12:15:24.763 [notice] Opening OR listener on [::]:4343
 Mar 01 12:15:24.000 [notice] Parsing GEOIP IPv4 file C:\Program Files
 (x86)\Tor\geoip.
 Mar 01 12:15:25.000 [notice] Parsing GEOIP IPv6 file C:\Program Files
 (x86)\Tor\geoip6.
 Mar 01 12:15:25.000 [notice] Configured to measure statistics. Look for
 the *-stats files that will first be written to the data directory in 24
 hours from now.
 Mar 01 12:15:26.000 [notice] Your Tor server's identity key fingerprint is
 '***'
 Mar 01 12:15:26.000 [notice] Your Tor bridge's hashed identity key
 fingerprint is '***'
 Mar 01 12:15:26.000 [notice] Bootstrapped 0%: Starting
 Mar 01 12:17:03.000 [notice] Bootstrapped 80%: Connecting to the Tor
 network
 Mar 01 12:17:05.000 [notice] Bootstrapped 85%: Finishing handshake with
 first hop
 Mar 01 12:17:05.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
 Mar 01 12:17:05.000 [notice] Guessed our IP address as *.*.*.* (source:
 192.42.116.161).
 Mar 01 12:17:06.000 [warn] Unable to use configured IPv6 address "[::]" in
 a descriptor. Skipping it. Try specifying a globally reachable address
 explicitly.
 Mar 01 12:17:07.000 [notice] Tor has successfully opened a circuit. Looks
 like client functionality is working.
 Mar 01 12:17:07.000 [notice] Bootstrapped 100%: Done
 Mar 01 12:17:07.000 [notice] Now checking whether ORPort *.*.*.*:4343 is
 reachable... (this may take up to 20 minutes -- look for log messages
 indicating success)
 Mar 01 12:17:09.000 [warn] Failure from drain_fd: No error
 Mar 01 12:17:09.000 [notice] Self-testing indicates your ORPort is
 reachable from the outside. Excellent. Publishing server descriptor.
 Mar 01 12:17:09.000 [warn] Unable to use configured IPv6 address "[::]" in
 a descriptor. Skipping it. Try specifying a globally reachable address
 explicitly.
 Mar 01 12:17:12.000 [notice] Performing bandwidth self-test...done.
 }}}

 Here is my torrc:
 {{{
 SocksPort 0.0.0.0:9150
 SocksPort [::]:9150
 ControlPort 127.0.0.1:9151
 ControlPort [::1]:9151
 ORPort 0.0.0.0:4343
 ORPort [::]:4343
 ClientUseIPv6 1
 ClientPreferIPv6ORPort 1
 DataDirectory C:\ProgramData\Tor
 GeoIPFile C:\Program Files (x86)\Tor\geoip
 GeoIPv6File C:\Program Files (x86)\Tor\geoip6
 Log notice file C:\ProgramData\Tor\Log.log
 BridgeRelay 1
 PublishServerDescriptor 1
 HardwareAccel 1
 Nickname ***
 ContactInfo HostMaster <hostmaster AT ***>
 HashedControlPassword ***
 SocksPolicy accept private:*
 HiddenServiceDir C:\ProgramData\Tor\site
 HiddenServicePort 80 *.*.*.*:80
 HiddenServicePort 443 *.*.*.*:443
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18387#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list