[PATCH] XDMCP: For IPv6 add IPv6 link local addresses to the end of the list

Alexander E. Patrakov patrakov at gmail.com
Sat Feb 8 07:15:45 PST 2014


08.02.2014 20:58, I wrote:
> ... OK, actually I have tested IPv6 UDP communication using link-local 
> addresses using netcat6. It doesn't work (-EINVAL on bind() that is 
> used to set the source address and port), so I will be very much 
> surprised if XDMCP works. If that requirement did not violate the list 
> rules, I would even require a tcpdump capture of a successful XDMCP 
> session and some X11 traffic along with the patch.
>

I partially take this back. If the interface (for the scope ID) is 
specified both on the sender and the receiver, UDP works with netcat6. 
But, as the patch shows, the correct scope ID is never stored, and in 
xdmcp.c there is no attempt to fill in the scope anywhere. So, as far as 
I understand, the setup involving link-local addresses cannot work, so 
there is no point to pass them to XdmcpRegisterConnection at all.

-- 
Alexander E. Patrakov



More information about the xorg-devel mailing list