[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2017-10-26 Thread Bug Watch Updater
** Changed in: glibc (Fedora)
   Status: Confirmed => Fix Released

** Changed in: glibc (Fedora)
   Importance: Unknown => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2016-02-22 Thread Martin Pitt
Right, closing the floating task.

** Changed in: eglibc (Ubuntu)
   Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2016-02-22 Thread Rolf Leggewie
@doko, this ticket is marked as fix released even for karmic, yet
remains in an open state for the development release.  Is there anything
left to do?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2015-06-17 Thread Rolf Leggewie
lucid has seen the end of its life and is no longer receiving any
updates. Marking the lucid task for this ticket as Won't Fix.

** Changed in: eglibc (Ubuntu Lucid)
   Status: Triaged = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2014-04-22 Thread Faye Salwin
oops, that late_command doesn't work, but you get the picture.  It's
missing in-target, but I'm not sure if I can in-target redirect.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2014-04-22 Thread Faye Salwin
In the hope that this helps someone.  I spent most of today fighting
this and found a solution.

d-i preseed/early_command string grep -q options /etc/resolv.conf ||
echo options single-request  /etc/resolv.conf ;

and then

d-i  preseed/late_command string grep -q options
/etc/resolvconf/resolv.conf.d/tail || echo options single-request 
/etc/resolvconf/resolv.conf.d/tail ;

The difference in speed of install is marked.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2013-07-14 Thread Adolfo Jayme Barrientos
** No longer affects: network-manager (Ubuntu)

** No longer affects: network-manager (Ubuntu Karmic)

** No longer affects: network-manager (Ubuntu Lucid)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2012-12-16 Thread Pavel Šimerda
I would like to add new information and research that has been done in
the Fedora project:

https://fedoraproject.org/wiki/Networking/NameResolution/ADDRCONFIG

It links to related fedora bug reports which in turn link to upstream
bug reports. It contains enough information about what is required to
solve dualstack getaddrinfo() problems.

We are working on this and invite anyone from the community to help us
get rid of dualstack-related name resolution problems. Feel free to
contact us. Contacts at the Fedora feature page:

https://fedoraproject.org/wiki/Features/DualstackNetworking

Or contact me directly:

https://fedoraproject.org/wiki/User:Pavlix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2012-05-09 Thread dhenry
This LinkedIn invitation is a bit odd : Bug can't reply to you :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2012-03-07 Thread Stéphane Graber
New patches have been proposed a few days ago on redhat's bugtracker at
https://bugzilla.redhat.com/show_bug.cgi?id=505105

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2012-03-07 Thread Tore Anderson
Stéphane, the same patch was posted in this bug as well, see comment
#316. (The one in #317 is no longer necessary, as it's been included in
the NSPR upstream code for a long time now.)


Tore

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-12-06 Thread Javier Vilalta
I'm not sure if this is the same bug I'm experiencing, but if I try to
access a domain without IPv6 address, I get this on tshark:

  0.00 192.168.2.103 - 192.168.2.254 DNS 74 Standard query  
one.ubuntu.com
  0.074500 192.168.2.254 - 192.168.2.103 DNS 135 Standard query response
  0.074682 192.168.2.103 - 192.168.2.254 DNS 95 Standard query  
one.ubuntu.com.internal.eudemo.info
  0.075854 192.168.2.254 - 192.168.2.103 DNS 95 Standard query response, No 
such name
  0.075991 192.168.2.103 - 192.168.2.254 DNS 74 Standard query A one.ubuntu.com
  0.147486 192.168.2.254 - 192.168.2.103 DNS 106 Standard query response A 
91.189.89.219 A 91.189.89.218

As you can see, between the  and the A resolution there's a wrong query 
with my local domain added: this is the one which takes a few seconds to fail 
(not in this case because I have setup my dnsmasq with 
local=/internal.eudemo.info/ to get a fast response)
I have tested it with both Firefox and Chrome and both do the same, so I assume 
is a system problem. Is this the same problem or I need to open a separate bug 
report (or something is wrong with my setup)?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-11-14 Thread Joel
I have this issue with ssh in Ubuntu 11.10. Installing the power-dns
resolver as mentioned in an earlier comment worked for me.

To install pdns-resolver, I I set my nameserver to 127.0.0.1 in 
/etc/resolv.conf and followed these instructions:
http://www.thatfleminggent.com/2009/08/09/getting-a-powerdns-recursor-up-and-going-fast

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-07-31 Thread gene
Unbelievable, this bug still manages to bug people on the latest and fully 
updated Ubuntu 11.04!
The strangeness of the situation is as follows:

ubuntu 11.04, uname -a:
Linux  3.0.0-mine #3 SMP Thu Jul 28 14:03:44 CDT 2011 i686 i686 i386 GNU/Linux

Where, with firefox 5.0, epiphany, chromium some websites take very long
time to load, while everything else involving connection is fast. E.g.,
w3m, lynx and especially elinks are extremely fast! At the same time
on On the

ubuntu 10.04:
 uname -a
Linux 2.6.35.13-mine #1 SMP Fri May 6 00:20:57 CDT 2011 x86_64 GNU/Linux
Exact same browsers are almost as fast as their text-based brethren.

So, IMHO, the problem resides not with the actual browser(s) but with something 
else.
This is getting ridiculous!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-07-31 Thread gene
Forgot to mention, that neither disabling ipv6 completely, nor playing with 
the /etc/nsswitch.conf works.
Now since this bug is filed against Karmic, I wonder do I have to make my bug  
a duplicate? In case if I see it on my machine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-07-31 Thread Neil
Yet still some problems for me to but I must say only with Google earth
and Ubuntu Tweek g/earth wont connect and tweek cant get the updates.
but if I set  sudo gedit /etc/resolv.conf and set the servername to
8.8.8.8 they will work. as I said earlier in comment #312

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-02-11 Thread Tore Anderson
FYI, today Mozilla released Firefox 4.0 beta 11, which now calls
getaddrinfo() with the AI_ADDRCONFIG flag. You get it from
http://www.firefox.com/beta/.

This solves half of the problem. The remaining piece is now to make
glibc ignore link-local IPv6 addresses when called with the
AI_ADDRCONFIG flag. (This is how all other major operating systems
behave already.) I have a bug open in the glibc bugzilla at
http://sourceware.org/bugzilla/show_bug.cgi?id=12377 - it would be
really great if the Ubuntu glibc developers could help out by writing a
suitable patch and attach it to the bug report. I don't think it should
be very hard (just extend the already existing logic that ignores
loopback addresses). Unfortunately, I'm not much of a programmer
myself...

Tore

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-02-11 Thread Tore Anderson
Here's one half of the solution - it's a patch to glibc that makes
getaddrinfo() ignore link-local addresses when called with the
AI_ADDRCONFIG flag set. This makes getaddrinfo() avoid querying for
s when the host has no IPv6 connectivity, provided that the
AI_ADDRCONFIG flag is set.

Tore

** Patch added: Make getaddrinfo() ignore IPv6 link-locals for AI_ADDRCONFIG
   
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+attachment/1843550/+files/gai-aiaddrconfig-ignore-link-locals.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-02-11 Thread Tore Anderson
Here's the second half of the solution. It's a patch that makes Mozilla
Firefox use AI_ADDRCONFIG when calling getaddrinfo(). Note that the
Mozilla release drivers have already approved this patch for inclusion
on the 3.6.x branch, and it has already been commited to Firefox 4.0
(it's included in beta11).

Tore

** Patch added: Make NSPR use AI_ADDRCONFIG if requested by caller
   
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+attachment/1843558/+files/mozilla-use-ai-addrconfig.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-02-01 Thread Martin Pitt
Hello,

Neil [2011-02-01  7:32 -]:
 I would be interested if it works for other people. 

Yes, for me as well.

 But I have to do this each time I start up.

I created a script for that:

$ cat /etc/network/if-up.d/0nameserver 
#!/bin/sh
grep -q Speedport_W_303V_Typ_B /etc/resolv.conf || exit 0
cat EOF  /etc/resolv.conf
nameserver 217.0.43.81 
nameserver 217.0.43.65
EOF

The first line checks if I'm in my home network, as I only want to apply this
workaround when I'm at home.

(The script needs to be executable)

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-02-01 Thread Mechanical snail
change: nameserver 10.1.1.1 (numbers maybe different on yours)
to: nameserver 8.8.8.8 and then save.

I think this is just switching from your ISP's to Google's DNS server.
Admittedly many ISPs' servers are broken, but changing the default
warrants more discussion.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-01-31 Thread Tore Anderson
There is no question that the underlying problem here is defective DNS
resolvers that choke on perfectly legitimate AAA queries. That said,
there are a couple of issues present in software shipped by Ubuntu that
cause the problem to manifest itself as slowdowns noticeable by end
users:

1) When called with the AI_ADDRCONFIG flag, libc's getaddrinfo()
function does not disregard link-local IPv6 addresses when determining
whether or not the local host has usable IPv6 connectivity. Since every
IPv6-capable OS will have link-local IPv6 addresses assigned to all
interfaces - regardless of any external connectivity being available or
not - this essentially makes AI_ADDRCONFIG on Linux useless for the
purpose of suppressing  queries when they're not useful.

I've submitted a bug to the GNU libc upstream about this issue at
http://sourceware.org/bugzilla/show_bug.cgi?id=12377.

getaddrinfo() on other operating systems (such as Apple Mac OS X and
Microsoft Windows) does disregard link-local IPv6 addresses when called
with AI_ADDRCONFIG, which is why the problem appears to affect GNU/Linux
distributions more than other operating systems.

2) Many applications do not set the AI_ADDRCONFIG flag when calling
getaddrinfo(). This includes, notably, Mozilla Firefox. However, a patch
to correct this has recently been committed to the mozilla-central
developement repo and will likely be part of Firefox 4.0 beta 11
(hopefully also 3.6.15), see
https://bugzilla.mozilla.org/show_bug.cgi?id=614526. Microsoft Windows
enables the use of AI_ADDRCONFIG as the system-wide default, as far as I
know, which explains why it is able to cope better with those broken
middleware boxes. Mac OS X does not set AI_ADDRCONFIG by default,
however it has an extremely short timeout waiting for  responses
after the A response has been answered (around 125ms), which in turn
hides the problem from most end users. Additionally, most major browsers
(except Firefox) do set AI_ADDRCONFIG explicitly, which suppress the
problematic  queries in the first place.

So what Ubuntu could to avoid this problem is 1) to develop and include
a patch to glibc that makes getaddrinfo() ignore link-local addresses
for AI_ADDRCONFIG purposes, and 2) to back-port the NSPR patch already
committed to mozilla-central to the version of Firefox shipped (or wait
until Mozilla releases a new version with the patch already included).

Tore

** Bug watch added: Sourceware.org Bugzilla #12377
   http://sourceware.org/bugzilla/show_bug.cgi?id=12377

** Bug watch added: Mozilla Bugzilla #614526
   https://bugzilla.mozilla.org/show_bug.cgi?id=614526

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-01-31 Thread Virkang
At last nomebody has understood the problem ! Well done !

I totally agree with your solution no 1, which is don't consider link-local
adresses (the ones which start with fe80:: ) as IPv6 adresses that can
resolve  DNS records because that never happen and never will by design

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2011-01-31 Thread Neil
I'm glad to see it's not just me having this problem still.
I was give this little fix and works great. maybe a help, for give me if this 
has been posted already, there is a lot to read though.

sudo gedit /etc/resolv.conf

change: nameserver 10.1.1.1 (numbers maybe different on yours) 
to: nameserver 8.8.8.8 and then save. 

I would be interested if it works for other people. 
this is only the way I can use Google earth Firefox  Thunderbird with out 
changing the ipv6 settings in Ff  T/bird. I can not use earth at all  unless I 
change the nameserver, then all is good. 
But I have to do this each time I start up.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417757

Title:
  [regression] all network apps / browsers suffer from multi-second
  delays by default due to IPv6 DNS lookups

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-09-28 Thread Derek
Well, kind of a good news/bad news situation.
Bad news.  A little while ago my solution stopped working for me.  Drove me 
absolutely batty.
I tried all the other things too, disable.ipv6=1 as a kernel parameter, various 
options in sysctl.conf that used to work, blacklisting any possible modules 
(not that they were loaded), and of course stripping down nsswitch.conf since 
all that mdns stuff had always caused unresolvable here.

Heck, I also tried:
hints-ai_flags|=AI_ADDRCONFIG;
hints-ai_flags|=AI_V4MAPPED;
hints-ai_flags=!AI_ALL;
in my wrapper, even though I have no idea if those would work, and specifying a 
struct addrinfo newhints; if hints were null.

Despite trying every conceivable way of saying NO I DO NOT WANT IPV6 CAUSE MY 
NETWORK SUCKS.
I still saw:
sudo tcpdump -an | grep 192.168.1.100
17:15:07.744171 IP 192.168.1.2.34702  192.168.1.100.53: 25164+ ? 
reddit.com. (28)

(for a wget of reddit.com)

Anyway.
The happy ending is that recently a 3rd DNS resolver was added.  The two broken 
ones are still broken, but so long as I explicitly specify only the new one in 
network settings and disable resolv.conf setup from DHCP, I'm fine.

I still have no idea what changed, but at least mine is working.

My sympathies for those of you still stuck in this situation.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-09-28 Thread Derek
Well, kind of a good news/bad news situation.
Bad news.  A little while ago my solution stopped working for me.  Drove me 
absolutely batty.
I tried all the other things too, disable.ipv6=1 as a kernel parameter, various 
options in sysctl.conf that used to work, blacklisting any possible modules 
(not that they were loaded), and of course stripping down nsswitch.conf since 
all that mdns stuff had always caused unresolvable here.

Heck, I also tried:
hints-ai_flags|=AI_ADDRCONFIG;
hints-ai_flags|=AI_V4MAPPED;
hints-ai_flags=!AI_ALL;
in my wrapper, even though I have no idea if those would work, and specifying a 
struct addrinfo newhints; if hints were null.

Despite trying every conceivable way of saying NO I DO NOT WANT IPV6 CAUSE MY 
NETWORK SUCKS.
I still saw:
sudo tcpdump -an | grep 192.168.1.100
17:15:07.744171 IP 192.168.1.2.34702  192.168.1.100.53: 25164+ ? 
reddit.com. (28)

(for a wget of reddit.com)

Anyway.
The happy ending is that recently a 3rd DNS resolver was added.  The two broken 
ones are still broken, but so long as I explicitly specify only the new one in 
network settings and disable resolv.conf setup from DHCP, I'm fine.

I still have no idea what changed, but at least mine is working.

My sympathies for those of you still stuck in this situation.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-09-15 Thread alfredo
Hi, Folks.

I set up the function getaddrinfo() as specified in #288  #290 above,
but then lost connectivity to Samba shares on other machines in the
local LAN.

When I commented-out the line /usr/local/lib/getaddrinfo_wrap.so in
the file /etc/ld.so.preload, instantly my Samba shares returned.

What now?

Alf

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-09-15 Thread Derek
Yeah, dunno what to say.  WFM w/ my samba shares.
mount.cifs //intranetdev/wwwroot /home/nemo/Shares/intranet

That sorta thing.

Guess you're out of luck on that fix. Here's hoping something else
works.  Sorry.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-08-16 Thread JG
Thanks  Derek. Your patch worked for me. I had already disabled IPv6 via
sysctl and took all IPv6 addresses off my interfaces. The about:config
solves firefox, but mutt and ssh were still a problem.

I'm a bit surprised at some of the suggested workarounds. I wouldn't
really blame the resolvers - things shouldn't be doing  lookups if
ipv6 is disabled in the first place. It might be possible to blame the
authors of virtually every network-aware app, but that isn't realistic.

Most of us running ubuntu in corporate networks with broken Microsoft
resolvers are doing so completely unsupported. If you open a ticket,
you'll be lucky if ignoring it is the worst that happens. More likely
you'll be told to use a supported environment and just give them another
reason why linux users are an expensive problem. Go fix your resolvers
is just not a reasonable response. Using other DNS servers doesn't work
in this case either, because they don't have access the intranet zones.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-07-21 Thread Szabolcs
It took forever for this to get fixed for Karmic, and now, after
upgrading to Lucid, the bug is back.  This is absolutely ridiculous.
And no, most of us are not in a position to buy a new router or switch
ISPs because Ubuntu gets randomly broken with every upgrade.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-07-21 Thread Jeremy Visser
On the contrary, Ubuntu is not a position to deviate from pushing
forward with IPv6 just because some of you have broken hardware.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-07-21 Thread Derek
Jeremy. Member of the IPv6 taskforce eh.

Well, it is fortunate for me that the code snippet I posted in #288 and
#290 worked, because otherwise Ubuntu's pushing forward would have
pushed it right off our (large) corporate network.

We have 0 control over that infrastructure.  So it was either eliminate
the slow and steady introduction of Linux and more open services in
general, or find a workaround for this *bug*.

There's ideology, and then there's pragmatism.

It may not work for everyone, but it'd be nice if something equiv to
defaulting to AI_ADDRCONFIG without the need for that preload trick was
made available in some alternate package that people could add, see if
it works for them, and remove once transitions were complete.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-07-21 Thread Jeroen Massar
Dear Derek, there is a way to fix this problem in your large corporate
network, like we did for that small corporate network that I am using:
fix the resolvers. As you are claiming to have a large corporate
network, you most likely have only a handful of recursors but you might
have a 100k clients, lets see which ones are easier to upgrade, 100k
clients which are all over the place or that 10 max or so recursors
easy pick I would say.

The thing you most likely are forgetting is the fact that the DNS recursors 
that you are using are not only broken for  records, but most likely for 
every single other address. Thus, by resolving this issue you will solve other 
magical problems too.
You can directly move on to support DNSSEC too for that matter if you are busy 
anyway.

Yes, the problem is annoying, no there is not much that Ubuntu or any
other OS can do about this. Thus fix the problem in the right spot.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-07-21 Thread Derek
This is where pragmatism comes in.
We have absolutely no control over those resolvers, and even if we had any 
influence whatsoever with those who did, corporate networks are very slow to 
change.  Ubuntu is the outsider.  The Windows machines work.  Your solution is 
not a pragmatic one.

So, while being pure is good, I thought Ubuntu stayed out of such
things.

That's why Ubuntu offers easy integration of binary drivers for ATI and
nVidia, why Ubuntu has a restricted-extras for convenient meta.

Simply because IPv6 is *better* doesn't mean you should sacrifice
adoption for the ideal.

Using AI_ADDRCONFIG is simple enough, and as noted browsers like Firefox
and Chrome have adopted that.

What would be nice would be a simple package that forces it across the
board, simply as an option for broken networks.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-07-21 Thread Tai133
I have to agree with Derek. With due respect to all the techs who do the 
hard work of keeping Ubuntu (and especially Kubuntu in my case) so 
great, I find that, as technical folks, we sometimes get overly focused 
on the technical side and forget about the larger world in which that 
exists. Sometimes the technically correct solution is not the right 
solution in the real world, at least not at first.

Because of all the issues with Karmic, this should have been anticipated 
and accounted for in Lucid. By this I mean that clear documentation, 
fixes and workarounds should have been provided - if the problem could 
not be accounted for silently in code. This problem is a huge hassle for 
users who aren't up to speed on the technical side of connecting to the 
internet. Those who are may look down on those who are not, but that's 
no way to run an operating system.

Derek wrote:
 This is where pragmatism comes in.
 We have absolutely no control over those resolvers, and even if we had any 
 influence whatsoever with those who did, corporate networks are very slow to 
 change.  Ubuntu is the outsider.  The Windows machines work.  Your solution 
 is not a pragmatic one.
 
 So, while being pure is good, I thought Ubuntu stayed out of such
 things.
 
 That's why Ubuntu offers easy integration of binary drivers for ATI and
 nVidia, why Ubuntu has a restricted-extras for convenient meta.
 
 Simply because IPv6 is *better* doesn't mean you should sacrifice
 adoption for the ideal.
 
 Using AI_ADDRCONFIG is simple enough, and as noted browsers like Firefox
 and Chrome have adopted that.
 
 What would be nice would be a simple package that forces it across the
 board, simply as an option for broken networks.
 

-- 
Tai Sines
Share your strengths, not your weaknesses. -- Yogi Bhajan

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-06-28 Thread omair
hello,

flurin  derek: thanks for the information. I'll definitely try the
pdns-recursor workaround. the firefox workaround didn't work for me,
unfortunately. but i'll try changing the dns and forcing AI_ADDRCONFIG.
Lets see what happens.

As for windows 7, I took out my installation CDs for Windows Vista that
came with my Lenovo T400. Installation, with all the crap
customizations, took about 2 hours? (I just phased out and started
playing GTA4 after a certain point). After that the goddamn updates took
literally 12 hours (with all the restarts and my 2 MB shared
connection). I ended up with a system that booted up in a minute, with a
fingerprint reader that didnt work and reintroduced me to the general
slowness that drove me to linux in the first place. So now I'm sitting
here with lucid back on and checking proposed updates. I have horrible
internet, but atleast I don't want to throw my laptop out the window.

By the way, I had a Live CD of openSuse 11.2 lying around (KDE) and I
can confirm that I had no issues whatsoever with my internet when I
installed that on my system as was the case with Jaunty. Fedora 13 and
the latest PCLinuxOS, however, suffer from the same issue. Additionally,
the problem is curiously confined only to my internet connection at home
and not at work. I initially had the same router (Linksys WRT54G) at
home and at work. I changed the one at home thinking that it may have
been a router problem and got a DLink Wireless N router instead. That
did not work. I have the same ISP at home and work but different modems:
a ZyXEL P-600 at work and an Alcatel SpeedTouch Home at home. The modem
at home is considerably older then the one at work. Additionally, I have
also found that if the internet on my Lucid box is acting up at home, it
slows down the internet for everyone else connected to the router. So
the lucid lynx is not only managing to annoy me but also other windows
users (my wife) as well!

I hope that these workarounds work - Lucid is actually the best OS I've
used in a very long time.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-06-24 Thread omair
Are there any updates with regards to this bug? I've been waiting
patiently for some kind of fix (I check proposed updates everyday in the
hope that there is some mention of this). My system is becoming frankly
unusable since 90% of what I do is on the net. I've seen other bugs that
have been open for five years or so and I fear that this one is going
the same route. No updates whatsoever, even the discussion on this list
have stopped.

It's a pity that I'm thinking of installing something else (even a
windows 7 installation at this point) even though I've been thoroughly
satisfied with 10.04 in all other respects.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-06-24 Thread omair
Also what I don't understand is why DOCKY bugs are assigned as
critical in the ubuntu bug list but this one is only of 'high'
importance!

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-06-24 Thread flurin
omair: did you try the pdns-recursor workaround?
maybe this can help you until there is a fix.

install pdns-recursor via synaptic or apt-get. 
then edit /etc/resolv.con (sudo gedit /etc/resolv.conf) and set nameserver to 
127.0.0.1

if your problem is only in firefox you can disable ipv6: enter
about:config in the addressbar and confirm the warning. then enter ipv6
as a filter and double click on network.dns.disableIPv6 (after this the
value must be enabled)

hope this stops you thinking about windows 7 ;-)

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-06-24 Thread smonsarr
For me using openDNS works fine as a workaround.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-06-24 Thread Derek
omair, if you can't change your DNS, I've found that forcing AI_ADDRCONFIG as 
noted in #288, #289 and (importantly) #290
works nicely for me.

Also, if it causes trouble for you, you can just remove or comment out
the ld.so.preload line.

I've applied it on 5 computers here at work w/ no issues and immediate
improvements, where DNS changes are simply not an option.

I do also set:
network.dns.disableIPv6;true

in Firefox as well.  But all the other apps on the system are now
working nicely (wget, ssh etc).

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-05-24 Thread Derek
http://sourceware.org/bugzilla/show_bug.cgi?id=4599

This is kind of related to the last few comments.  If you decide to
force AI_ADDRCONFIG, until those fixes are in place, you should watch
out for IPv6 in your hosts file.

** Bug watch added: Sourceware.org Bugzilla #4599
   http://sourceware.org/bugzilla/show_bug.cgi?id=4599

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-05-24 Thread Derek
oh, and that came from:
https://bugzilla.mozilla.org/show_bug.cgi?id=467497#c9
and the following two comments.

I do wish Launchpad allowed anchors to comment numbers in the context of
the whole page

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-05-11 Thread Derek
FYI, I changed:
hints-ai_flags|=AI_ADDRCONFIG;
to
if(hints) hints-ai_flags|=AI_ADDRCONFIG;

For obvious reasons :-/

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-05-06 Thread Derek

I think I've finally fixed things to my satisfaction, system-wide:
$ cat getaddrinfo_wrap.c 
// getaddrinfo wrapper
#include dlfcn.h
#define getaddrinfo _foo
#include netdb.h
#undef getaddrinfo

int getaddrinfo(const char *node, const char *service, struct addrinfo *hints, 
struct addrinfo **res)
{
typedef int (*FP_getaddrinfo)(const char*, const char*, struct addrinfo*, 
struct addrinfo **);
FP_getaddrinfo org_getaddrinfo = dlsym(((void *) -1), getaddrinfo);
hints-ai_flags|=AI_ADDRCONFIG;
return org_getaddrinfo(node, service, hints, res);
}


Running:
gcc -fPIC -c -Wall getaddrinfo_wrap.c getaddrinfo_wrap.o
gcc -shared getaddrinfo_wrap.o -ldl -lstdc++ -o getaddrinfo_wrap.so
sudo cp getaddrinfo_wrap.so /usr/local/lib/
sudo chown root:root /usr/local/lib/getaddrinfo_wrap.so
sudo sh -c echo /usr/local/lib/getaddrinfo_wrap.so  /etc/ld.so.preload

There. No more problems.

BTW, I do have ipv6 interfaces after stripping all my ipv4 hacks from above, 
that seems utterly irrelevant to this finally working.
I of course have no idea what the results of this could be on various apps, but 
at least the ones I use seem happy.


** Bug watch added: Mozilla Bugzilla #467497
   https://bugzilla.mozilla.org/show_bug.cgi?id=467497

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-05-06 Thread Derek
With regards to Firefox, see also:
https://bugzilla.mozilla.org/show_bug.cgi?id=467497

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-05-03 Thread Derek
Neil, I would have e-mailed you privately to not repeat something
brought up already in the bug, but you use Hotmail which has some
particularly stupid blocking policies so my mail would not have gotten
to you.

Firefox, go to the url  about:config
Search for:
network.dns.disableIPv6

And set to true.

Firefox is using IPv6 since Lucid is not correctly handing the lack of
ipv6 interfaces and ipv6 support in servers.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-05-01 Thread Neil
Hi
Sorry this more just a question
I have been having same/similar problem, Firefox most of the time.. times 
out... some times I can get google and even use it to search but never go to a 
web page. and the problem is with Thunderbird also, can not get emails only 
occasionally, it too times out.
am I the only one with this, is this all related with the ipv6?
O I can use google chrome and Opera with no problems, just Firefox is a problem 
if that is any help to anyone.
I have the problem with the bata (Which I did te upgrade) and the official 
release. 
 again sorry I have no real input, but getting very frustrated with it.
Neil

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-04-29 Thread Derek
Have also tried:
[ipv6]
method=ignore
ignore-auto-routes=true
ignore-auto-dns=true
never-default=true

In network manager config and options single-request in resolv.conf

Nothing seems to stop it from trying  despite ip -6 reporting no
ipv6 routes or interfaces.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435646#49
I haven't tried that yet, for one thing his site is down, for another seems 
rather old so I have no idea if it applies.

Basically, seems there is no way to make Lucid not try 

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-04-27 Thread Derek
BTW. If anyone at all has any idea how to stop Lucid from doing  lookups 
(besides the many things tried above), that'd be lovely.
Despite all the attempts I've made to disable IPv6 in the comments above, I 
still get a ton of  lookups from our local DNS.

Karmic? All A.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 417757] Re: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

2010-04-24 Thread virkang
I confirm that this bug is back in Lucid RC ...

** Summary changed:

- [karmic regression] all network apps / browsers suffer from multi-second 
delays by default due to IPv6 DNS lookups
+ [regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs