[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#385210: listing IPv6 support on mirror pages

On Thu, Jul 26, 2007 at 06:41:00PM +0200, Bas Zoetekouw wrote:
> There is a request in the bts [1] to show which mirrors are reachable
> over IPv6.  I've already added a new field "IPv6" to the mirror
> masterlist [2], but Simon Paillard suggested on irc that that might not
> be the best solution, because there could, in principle, also be
> ipv6-only mirrors, and because people might be relying on the existing
> format of the mirrorlist.
> Does anyone have a suggestion on how to best solve this?  Is it ok to
> add extra field to the master mirrorlist and the mirror lists on the
> website?

I see two solutions :

* A third possible value 'only' could describe the case when the mirror is
IPv6 only :
IPv6: yes|no|only

It assumes that :
1/ IPv4 and IPv6 will be the only network layer in internet :)
2/ if IPv4 and IPv6 are both available, methods available (http, ftp,
   rsync) and their path are the same on both IP stacks.

* Otherwise, if we cannot assume that 2/ is always true, we can add a
'-v6' suffix to each fields like :

This last solution doesn't assume anything and is more flexible, but the
file size will increase with IPv6 spread :)


Simon Paillard

Reply to: