Merge lp:~mpontillo/squid-deb-proxy/possible-ipv6-fix into lp:squid-deb-proxy
Status: | Needs review |
---|---|
Proposed branch: | lp:~mpontillo/squid-deb-proxy/possible-ipv6-fix |
Merge into: | lp:squid-deb-proxy |
Diff against target: |
19 lines (+6/-4) 1 file modified
apt-avahi-discover (+6/-4) |
To merge this branch: | bzr merge lp:~mpontillo/squid-deb-proxy/possible-ipv6-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
squid-deb-proxy-developers | Pending | ||
Review via email:
|
Commit message
Qualify IPv6 link-local addresses with interface scope.
Description of the change
This is a (possible) fix for the "link-local addresses unusable with apt" issue that was noted in the source code to apt-avahi-discover.
In most cases (even when only one interface exists on the system), IPv6 link-local addresses are not usable unless scoped with an interface name. See RFC 4007 section 11 for more details.[1]
Linux uses interface names as zone_id values, so all we need to do (in theory) is append "%<interface-name>" to the link-local address.
I have not tested this yet, but I am in the process of setting up an IPv6-only test environment due to a customer requirement, so I may get a chance to test it in the coming weeks/months.
Unmerged revisions
- 141. By Mike Pontillo
-
Qualify link-local addresses with interface scope.