I see error in stdout:
Oct 12 16:04:44.091 [warn] Unrecognized flag
Oct 12 16:04:44.091 [warn] Unrecognized flag '[xxx:xxxx:xxxx:xxxx:xxxx:xxxxx:xxxx:xxxx]:7000' on DirAuthority lineOct 12 16:04:44.091 [warn] Unrecognized flag 'fingerxxxxxxxxxxxxxxxxxxxxxxxxx' on DirAuthority line
Trac: Username: svirus
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
616cfb72bf: a rebased 043874ee2e from nickm/bug6027_rebased
Add a new ipv6=address:orport flag to DirAuthority and FallbackDir
tor.1.txt required a manual merge to update to the latest man page layout
a53ebf3a9b: Authorities on IPv6: minor fixes and unit tests
9dd5ef2480: Add IPv6 addresses & orports to the default directory authorities
61a1ead790: Document IPv4 and IPv6 DirPorts
Tor assumes that the IPv4 dirport is also available on the relay's IPv6 address. (Or, at least, it will when I'm done.)
The unit tests check that:
IPv6 and non-IPv6 authorities and fallbacks work
the default authorities and fallbacks load correctly
These changes are compatible with the latest code in legacy/trac#15775 (moved) - feature15775-fallback-v9.
When this code is run on the list of fallback directories attached to legacy/trac#15775 (moved), they all parse correctly.
Please note that Tor doesn't use these new IPv6 addresses and ports yet.
(legacy/trac#17281 (moved) will modify Tor clients to use these new IPv6 addresses to bootstrap.)
Trac: Status: new to needs_review Milestone: N/Ato Tor: 0.2.8.x-final Type: defect to enhancement Priority: High to Medium
I have updated this branch to unit test parsing an authority line and a fallback line, with and without an IPv6 flag. I've also removed a comment typo fix that had nothing to do with the patch.
See my branch feature17327-v3:
a53ebf3a9b has been modified to cf6e221bd8
all other commits are the same (but the hashes of subsequent commits have changed)
Code looks good to me. If I understand correctly, this would mean that clients know ipv6 addresses for fallbacks and authorities ... but not that they'd actually be able to use them yet. Am I right or missing something?
Code looks good to me. If I understand correctly, this would mean that clients know ipv6 addresses for fallbacks and authorities ... but not that they'd actually be able to use them yet. Am I right or missing something?
Yes, the directory code only considers IPv4 addresses at the moment.
I'm working on making it consider IPv6 addresses in legacy/trac#17840 (moved).
But feature17327-v4 can merge in the interim, as any features that relate to authorities/fallbacks on IPv6 depend on the ipv6 fields this patch provides.
(In particular, I'd like to see legacy/trac#16774 (moved) revised to display authority and fallback IPv6 addresses. It depends on this feature being merged.)