| Summary: | kdm doesn't handle IPv6 mapped IPv4 addresses | ||
|---|---|---|---|
| Product: | [Unmaintained] kdm | Reporter: | Matt Darland <mtdarland> |
| Component: | general | Assignee: | kdm bugs tracker <kdm-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | kdm strace of remote login on IPv6 enabled system | ||
|
Description
Matt Darland
2004-02-14 18:20:22 UTC
yeah, i've got the same report a long time ago already. and i must admit, i still have no idea what the problem is. kdm does _not_ listen to ipv6, it doesn't even know it exists. to me this looks like a bug in the ipv4 compatibility layer, as it is supposed to be completely transparent ... please run kdm through strace, with verbose display of structure contents. i need to know where the ipv6 address comes from. fwiw, i'll make kdm ipv6-capable shortly, but i consider this independent from this problem. fwiw, i cannot reproduce the problem, so i'll have to close the report unless you cooperate ... Created attachment 5730 [details]
kdm strace of remote login on IPv6 enabled system
strace run of kdm running on an IPv6 enabled Linux system. Trace taken during
the (attenpted) establishment of a remote xdm session via IP4.
Comment on attachment 5730 [details]
kdm strace of remote login on IPv6 enabled system
Better comments:
strace taken with command:
strace -x -e verbose=all -o kdm.strace -ff kdm -nodaemon
Points of interest:
Line 714 of trace is where a log message is printed that "Cannot convert
Internet address 4.0.255.191 to host name"
The address of the connecting machine was 192.168.1.100, so I'm not sure where
the first address was coming from.
Current system setup:
Linux 2.6.5-gentoo-r1
X.org 6.7.0
KDE 3.2.1
2 NICs
whoops. the fallback hostname (ascii ip address) generation was screwed up. fixed in 3.2 branch (and in HEAD some days ago already, as a side effect of the full ipv6 support). the trigger of the problem ... gethostbyaddr doesn't seem to reverse-resolve the ipv4 address at all ... whether this problem is related to your original report is another question. please upgrade from cvs and test again. if the problem persists, create another trace, but add "-s 64" to the strace options and "-debug 1" to the kdm options. Somewhere in the process of upgrading from kernel 2.6.3 to 2.6.5, and upgrading from XFree to X.org, the original bug doesn't seem to be reproducible. Regarding the hostname problem, I was assuming that the kdm Xaccess file supported the same options as the xdm Xaccess file. I had some incompatible directives. The problem seems to be fixed on my end now. damnit, why do the really interesting problems hide when one tries to investigate them? :) |