[tor-bugs] #33618 [Core Tor/Tor]: Add IPv6 Support to is_local_addr()

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 20 12:07:00 UTC 2020


#33618: Add IPv6 Support to is_local_addr()
------------------------------------------+--------------------------------
 Reporter:  kimimaro                      |          Owner:  kimimaro
     Type:  enhancement                   |         Status:  assigned
 Priority:  Medium                        |      Milestone:  Tor:
                                          |  0.4.4.x-final
Component:  Core Tor/Tor                  |        Version:
 Severity:  Normal                        |     Resolution:
 Keywords:  outreachy-ipv6 ipv6  prop312  |  Actual Points:
Parent ID:                                |         Points:  1
 Reviewer:                                |        Sponsor:  Sponsor55-can
------------------------------------------+--------------------------------

Comment (by teor):

 Replying to [comment:7 kimimaro]:
 > current code changes in config.c
 > …
 > The error is quite interesting now:
 > {{{
 > tor ) make test-network
 > $CHUTNEY_PATH was not set.
 > Assuming test-network.sh will find ./../chutney
 > Running IPv4 flavors: bridges+hs-v23.
 > ping6 ::1 or ping ::1 succeeded, running IPv6 flavors: single-
 onion-v23-ipv6-md.
 > FAIL: bridges+hs-v23
 > cat:
 '/home/seneca/Documents/outreachy/tor/../chutney/net/nodes/*/info.log': No
 such file or directory
 > FAIL: single-onion-v23-ipv6-md
 > cat:
 '/home/seneca/Documents/outreachy/tor/../chutney/net/nodes/*/info.log': No
 such file or directory
 > Log and result files are available in ./test_network_log.
 > Makefile:21723: recipe for target 'test-network-results' failed
 > make[1]: *** [test-network-results] Error 1
 > Makefile:21570: recipe for target 'test-network' failed
 > make: *** [test-network] Error 2
 >
 > tor ) wc -l test_network_log/*
 >    670 test_network_log/bridges+hs-v23.log
 >      4 test_network_log/bridges+hs-v23.trs
 >    599 test_network_log/single-onion-v23-ipv6-md.log
 >      4 test_network_log/single-onion-v23-ipv6-md.trs
 >   1277 total
 > }}}
 >
 > Please tell me if you want me to attach the logs.

 Yes, we need to see the detailed logs to help you.

 It looks like tor is crashing, but I can't see why that's happening.

 Can you submit your code as a git pull request to:
 https://github.com/torproject/tor

 Then we can be sure we are all seeing the same code. And we also have
 continuous integration (CI) set up to test the code. So we will all see
 the same logs. And the same code reviews :-)

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


More information about the tor-bugs mailing list