[tahoe-lafs-trac-stream] [tahoe-lafs] #867: use ipv6

tahoe-lafs trac at tahoe-lafs.org
Sat Mar 2 21:03:38 UTC 2013


#867: use ipv6
-------------------------+-------------------------------------------------
     Reporter:  warner   |      Owner:  ClashTheBunny
         Type:           |     Status:  new
  enhancement            |  Milestone:  undecided
     Priority:  major    |    Version:  1.5.0
    Component:  code-    |   Keywords:  ipv6 firewall twisted foolscap
  network                |  test-needed
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by ClashTheBunny):

 How time flies.  I've made some good progress on the IPv6 implementation
 and now need some good advice as to what to write new tests for.  I could
 also use some code review.  Everything implemented as far as I can tell:
    * I've added a new boolean option "ipv6privacy" that will turn off all
 addresses that contain a MAC address
    * The fe80::/10 addresses are silently dropped
    * I've added a new boolean option "preferipv4" that will list address
 in an order that should prioritize IPv4 addresses when true.  It will also
 listen on IPv4 interfaces only.  I am pretty sure that this works, but it
 would be nice for some people to do some tests.  I think this may need to
 be converted to a tri-state of ipversion = v4, ipversion = preferv4, and
 ipversion = preferv6.  Suggestions welcome.
    * IPv6 and IPv4 addresses are now listed in the "Connected?" column as
 they appear in FURLs.
    * I detect if I'm listening on IPv6, and write my port file as an IPv6
 port in that case.  If IPv6 comes up the first time, may as well make it
 come up always.  If it doesn't come up, you need to delete the port file
 and bring it up again.
    * I've written a few tests, and updated others that needed updating,
 but as I said above, I would like some advice as to what else needs to be
 tested, and what should be assumed from foolscap's tests passing.

 Things not complete that may be good to include in this:
    * The webserver still is IPv4 only.  It seems to be a larger update
 than this one because more of the low level stuff is done there and not
 handled by foolscap like here.
    * I don't know exactly where logging of IP addresses happen, but I
 haven't seen any addresses logged yet.  I've grepped around the code and
 didn't see anything, but a pointer to where this would happen would be
 nice.

 Things required:
    * foolscap from Marcus Wanner's ipv6 branch on github: git clone
 https://github.com/marcuswanner/foolscap -b ipv6
    * Twisted 12.1
    * My ipv6 Tahoe branch.
    * IPv6 of course!

 Remember, there are probably still bugs, so treat this as dangerous with
 data.  I don't think I touched anything mission critical though, and all
 the old tests pass, so I wouldn't be too scared either.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/867#comment:11>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list