[tor-dev] Updating Proposal 299 (Preferring IPv4 or IPv6 based on IP Version Failure Count)
teor
teor at riseup.net
Fri Mar 8 02:00:39 UTC 2019
> On 7 Mar 2019, at 09:07, Neel Chauhan <neel at neelc.org> wrote:
>
> Hi teor,
>
> On 2019-03-05 21:12, teor wrote:
>> Sure. We usually do torspec changes using GitHub pull requests.
>> Can you open a pull request on https://github.com/torproject/torspec ?
>> Then link to the pull request from #27491 or in an email reply.
>
> The GitHub PR is here: https://github.com/torproject/torspec/pull/61
Thanks, I opened a ticket to review and merge it here:
https://trac.torproject.org/projects/tor/ticket/29687
It should get reviewed within a week or two.
>> Here's one way we could do that:
>> Add a new option ClientAutoIPv6ORPortStrategy, which takes some flags.
>> When no flags are set (the default), we use the original
>> ClientAutoIPv6ORPort.
>> Then we add a flag for this proposal:
>> - TrackFailures
>> Then other tickets can use other flags:
>> - CheckLocalAddresses for
>> #27492 Try IPv4 or IPv6 more often based on public or private IP
>> addresses
>> - CheckConsensus for
>> #27647 When randomly choosing IPv4 or IPv6, set IPv6 probability
>> based on IPv6 weight
>> What do you think?
>> Would you like to make these changes to this proposal?
>
> These additions sound good.
>
> I have added the "TrackFailures" flag to my GitHub PR and also mentioned other flags will come in the future.
I like what you did here: I think having one option with extra flags is
better than two options.
T
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20190308/4ddc3b63/attachment.sig>
More information about the tor-dev
mailing list