Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147141 - KDE print dialog causes endless IPv6 DNS requests
Summary: KDE print dialog causes endless IPv6 DNS requests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-11 00:26 UTC by Dima Ryazanov
Modified: 2006-09-12 15:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Ryazanov 2006-09-11 00:26:51 UTC
If I open a print dialog in KDE, it tries to connect to CUPS using QSocket functions. For whatever reason, Qt tries to resolve "localhost" using IPv6, fails, and keeps retrying. This uses up a lot of CPU, and causes a DoS attack on the router.

I opened a bug on KDE's site: http://bugs.kde.org/show_bug.cgi?id=121939
It has all the details. KDE guys said that it has been fixed in Qt4, and won't do anything about it.

But, I compiled Qt without the ipv6 USE flag, and it still uses IPv6... Is there some workaround for this?
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-09-11 02:42:18 UTC
Ensure that localhost as an ipv6 address in /etc/hosts
::1 localhost
Comment 2 Dima Ryazanov 2006-09-12 08:34:22 UTC
Wow... That worked.

Why wasn't ::1 there initially?

Instead, I had this:
127.0.0.1       localhost
192.168.0.2     gravity.twi-31o2.org gravity

That's from stage3-i686-2006.0.tar.bz2. And it doesn't seem to be a part of any package, so it doesn't get updated.
Comment 3 Roy Marples (RETIRED) gentoo-dev 2006-09-12 15:49:39 UTC
/etc/hosts is only installed by stages - or building baselayout.
baselayout has been fixed for ages regarding this :)
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2006-09-12 15:55:44 UTC
The 2006.1 stages already have this:

kagome stage3-i686-2006.1 # grep localhost etc/hosts
# IPv4 and IPv6 localhost aliases
127.0.0.1	localhost
::1	localhost

It appears the initial problem is taken care of, so FIXED