[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #3786 [Tor Relay]: Make clients and bridges use their IPv6 address
#3786: Make clients and bridges use their IPv6 address
-----------------------+----------------------------------------------------
Reporter: ln5 | Owner: ln5
Type: task | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: Tor Relay | Version:
Keywords: | Parent: #3563
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Comment(by ln5):
Replying to [comment:13 ln5]:
> > In get_configured_bridge_by_routerinfo: if there is no bridge
configured with the preferred address, should we fall back and check
whether there is one configured with the primary address? Or did I
misunderstand something?
>
> We should check "the other" address. I totally missed that.
> More generally, we should check all addresses, preferring "the
preferred".
On second thought, is this really necessary? Since a router won't
have ri->ipv6_preferred set unless we've seen an IPv6 address in its
descriptor fetching by preferred address won't fail.
What worries me more is the way
get_configured_bridge_by_addr_port_digest() might return a bridge with
another address than the one we ask for. This might happen when we
don't pass it a digest. How bad would that be?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3786#comment:14>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs