Am Dienstag, 30.12.03 um 22:45 Uhr schrieb Matthieu Herrb:
Mario Klebsch wrote (in a message from Tuesday 30)Unfortunately, the -broadcast flag still does not work. The X server sends the XDMCP queries to its own IP address instead of using the networks broadcast address.
I can't reproduce it here. But there are 2 things that may influence that :
1. I'm using '#define HasGetIfAddrs YES' in darwin.cf (This should probably be the default, but I forgot about it until now), it changes the way network interfaces addresses are collected.
I did that change manually and broadcasts now work fine. but...
2. I've just commited a fix for a stupid typo in Xserver/os/access.c that was causing localhost addresses to be advertized by error in the 'Request' message.
I am not able to retrieve this version of access.c. Here is what I get on cvs log access.c:
RCS file: /cvs/xc/programs/Xserver/os/access.c,v Working file: access.c head: 3.50 ... revision 3.50 date: 2003/11/03 05:12:00; author: tsi; state: Exp; lines: +5 -3 IRIX build and warning fixes
I have seen 127.0.0.1 included in the XDMCP request datagrams using tcpdump. I also realize, that the GetIfAddrs does not include the IPv6 addresses anymore. So it would solve my initial problem, too, but would leave a compatibility problem in the XDMCP code. I suspect, this not really is a fix and an additional bug in the GetIfAddrs code has lead to the IPv6 addresses being left out. It would be great if I could test DefineSelf() using a small stand alone application.
73, Mario -- Mario Klebsch [EMAIL PROTECTED] PGP-Key available at http://www.klebsch.de/public.key Fingerprint DSS: EE7C DBCC D9C8 5DC1 D4DB 1483 30CE 9FB2 A047 9CE0 Diffie-Hellman: D447 4ED6 8A10 2C65 C5E5 8B98 9464 53FF 9382 F518
_______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
