Changes between Version 2 and Version 3 of Ticket #3528, comment 1


Ignore:
Timestamp:
Nov 24, 2010, 4:28:43 AM (10 years ago)
Author:
Harry
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3528, comment 1

    v2 v3  
    551) Get cURL to support multiple --interfaces. I don't know if this will happen in the near future, but it'd be the cleanest way to "solve" the problem whilst not breaking any functionality. ( http://curl.haxx.se/mail/archive-2010-11/0051.html ).
    66
    7 2) A dirty way that will work for most people would be to not even call --interface in the cURL call, IF the user has the bind-address-* values are at the default ("bind-address-ipv4": "0.0.0.0" and "bind-address-ipv6": "::").  Most people will have these at the default wildcard interface, - those who don't will not have v6 tracker access. Yes, it's pretty silly to only "partially" fix a problem, but I think it's the best short-term solution.
     72) A dirty way that will work for most people would be to not even call --interface in the cURL call, IF the user has the bind-address-* values are at the default ("bind-address-ipv4": "0.0.0.0" and "bind-address-ipv6": "::").  Most people will have these at the default wildcard interface, - those who don't will not have v6 tracker access. Yes, it's pretty silly to only "partially" fix a problem, but I think it's the best short-term solution. (Explained simpler: if they have the default bind values set, do not use --interface in the Transmission cURL request at all).
    88
    993) Do a DNS request with v4 off the bind-address-ipv4 interface - if it returns an AAAA, it will connect to the tracker via the bind-address-ipv6 interface; else use bind-address-ipv4 if you only get an A record. This method is not that good because it will be a lot harder to write it into Transmission, and might cause some unwanted problems.