Bug#481064: wishlist: remove IPv4 precedence from wget

2008-05-13 Thread Adrian Knoth
Package: wget
Version: 1.11.2-1
Severity: wishlist


Hello,

wget currently prefers IPv4 over IPv6 (see the manpage, command line 
switch --prefer-family).

Though IPv4 might practically solve some issues with broken IPv6 
configurations, an IPv4 precedence would artificially delay the IPv6 
deployment (i.e. hinder IPv6 traffic to grow even for IPv6 enabled 
servers). Anyway, IMHO it's not a legal argument to generally blame IPv6 
for broken network setups. (would anybody blame iptables for broken 
NAT?)


I suggest to add

   prefer_family=none

to /etc/wgetrc, thus using the order returned by the DNS (tunable via 
glibc's /etc/gai.conf)


If needed, I could write a patch (also changing the manpage entry). 


Cheerio



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#481064: wishlist: remove IPv4 precedence from wget

2008-05-13 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adrian Knoth wrote:
 Hello,
 
 wget currently prefers IPv4 over IPv6 (see the manpage, command line 
 switch --prefer-family).
 
 Though IPv4 might practically solve some issues with broken IPv6 
 configurations, an IPv4 precedence would artificially delay the IPv6 
 deployment (i.e. hinder IPv6 traffic to grow even for IPv6 enabled 
 servers). Anyway, IMHO it's not a legal argument to generally blame IPv6 
 for broken network setups. (would anybody blame iptables for broken 
 NAT?)

FYI, the hard-coded default is expected to change for GNU Wget 1.12.
https://savannah.gnu.org/bugs/?22755

 I suggest to add
 
prefer_family=none
 
 to /etc/wgetrc, thus using the order returned by the DNS (tunable via 
 glibc's /etc/gai.conf)
 
 If needed, I could write a patch (also changing the manpage entry). 

I'd recommend against changing the manpage entry; or, if you do, make it
clear that it's the system wgetrc default that has changed, and not the
hard-coded default (what Wget will use in the absence of a wgetrc).

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer,
and GNU Wget Project Maintainer.
http://micah.cowan.name/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIKcz17M8hyUobTrERAp4DAJ9Nj49t8CPDpuk6iUBt3+7BBE44lwCggjsE
k4B4gYw7jW5Z2YsunRsB8xQ=
=mvFu
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#481064: wishlist: remove IPv4 precedence from wget

2008-05-13 Thread Adrian Knoth
On Tue, May 13, 2008 at 10:16:38AM -0700, Micah Cowan wrote:

  wget currently prefers IPv4 over IPv6 (see the manpage, command line 
  switch --prefer-family).
 FYI, the hard-coded default is expected to change for GNU Wget 1.12.
 https://savannah.gnu.org/bugs/?22755

Good news. Is there already a planned release date? I see the bug is
still open, so I guess the corresponding changes haven't hit the RCS
yet.

If wget 1.12 will appear in the not so distant future, it's probably the
best to wait for this new upstream release instead of writing a Debian
specific patch.

  I suggest to add
  
 prefer_family=none
  
  to /etc/wgetrc, thus using the order returned by the DNS (tunable via 
  glibc's /etc/gai.conf)
  If needed, I could write a patch (also changing the manpage entry). 
 
 I'd recommend against changing the manpage entry; or, if you do, make it
 clear that it's the system wgetrc default that has changed, and not the
 hard-coded default (what Wget will use in the absence of a wgetrc).

Oh, thanks for bringing this to my attention, I've overlooked the
possibility to change

   int prefer_family = prefer_ipv4;

to prefer_none in init.c. (which is probably what you would do).

In this case, it wouldn't even be system's wgetrc, but more or less all
Debian versions of wget since some_release_number.


I cannot say if this would lead to confusion. However, I prefer the idea
to wait for upstream.


-- 
mail: [EMAIL PROTECTED] http://adi.thur.de  PGP/GPG: key via 
keyserver



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#481064: wishlist: remove IPv4 precedence from wget

2008-05-13 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adrian Knoth wrote:
 On Tue, May 13, 2008 at 10:16:38AM -0700, Micah Cowan wrote:

 Good news. Is there already a planned release date? I see the bug is
 still open, so I guess the corresponding changes haven't hit the RCS
 yet.

It's unlikely to be released before the Q4 of this year. Major planned
features are being handled through Google Summer of Code, so it'll be
after summer at least. It's entirely possible 1.12 won't see a release
until 2009.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer,
and GNU Wget Project Maintainer.
http://micah.cowan.name/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIKd/N7M8hyUobTrERAvdyAJ9wPZCSrTerHGCv+I8ToDUHiJbOCwCfZR2c
ehMfRCuS819xqhxu1nrjHPk=
=bcLZ
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]