Stefan Dirsch
0de1ccd95c
- Update to version 1.17.0: + Continued work to strip out stale code and clean up the server. Thousands of lines of unnecessary code have disappeared yet again. + The modesetting driver has been merged into the server code base, simplifying ongoing maintenance by coupling it to the X server ABI/API release schedule. This now includes DRI2 support (so that GLX works correctly) along with Glamor support (which handles DRI3). + Lots of Glamor improvements, including a rewrite of the core protocol rendering functions. - Remove upstream patches: + Patch130: U_BellProc-Send-bell-event-on-core-protocol-bell-when-requested.patch + Patch131: U_fb-Fix-invalid-bpp-for-24bit-depth-window.patch + Patch200: U_kdrive_extend_screen_option_syntax.patch + Patch201: U_ephyr_enable_screen_window_placement.patch + Patch202: U_ephyr_add_output_option_support.patch OBS-URL: https://build.opensuse.org/request/show/284232 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=556
45 lines
1.8 KiB
Diff
45 lines
1.8 KiB
Diff
Author: Reinhard Max <max@suse.de>
|
|
|
|
XDMCP: For IPv6 add IPv6 link local addresses to the end of the list
|
|
|
|
For IPv6 add a link local addresses to the end of the list passed to
|
|
the XDMCP servers.
|
|
Reason: for link local addresses the XDMCP server would need to either
|
|
know the interface thru a scope identifier or try all available interfaces.
|
|
If they don't this address will fail in which case the XDMCP server
|
|
could still try the other addresses passed - however some only try
|
|
the first address and then give up.
|
|
Even if this seems to be the wrong place to fix this it seems to be
|
|
easier than fixing all display servers.
|
|
|
|
Index: xorg-server-1.12.1/os/access.c
|
|
===================================================================
|
|
--- xorg-server-1.12.1.orig/os/access.c
|
|
+++ xorg-server-1.12.1/os/access.c
|
|
@@ -714,7 +714,9 @@ DefineSelf(int fd)
|
|
|
|
/*
|
|
* ignore 'localhost' entries as they're not useful
|
|
- * on the other end of the wire
|
|
+ * on the other end of the wire and because on hosts
|
|
+ * with shared home dirs they'll result in conflicting
|
|
+ * entries in ~/.Xauthority
|
|
*/
|
|
if (ifr->ifa_flags & IFF_LOOPBACK)
|
|
continue;
|
|
@@ -735,6 +737,14 @@ DefineSelf(int fd)
|
|
else if (family == FamilyInternet6 &&
|
|
IN6_IS_ADDR_LOOPBACK((struct in6_addr *) addr))
|
|
continue;
|
|
+
|
|
+ /* Ignore IPv6 link local addresses (fe80::/10), because
|
|
+ * they need a scope identifier, which we have no way
|
|
+ * of telling to the other end.
|
|
+ */
|
|
+ if (family == FamilyInternet6 &&
|
|
+ IN6_IS_ADDR_LINKLOCAL((struct in6_addr *)addr))
|
|
+ continue;
|
|
#endif
|
|
XdmcpRegisterConnection(family, (char *) addr, len);
|
|
#if defined(IPv6) && defined(AF_INET6)
|