From owner-freebsd-gnome@FreeBSD.ORG Fri Jul 25 12:02:40 2008 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19C6F1065678 for ; Fri, 25 Jul 2008 12:02:40 +0000 (UTC) (envelope-from vs@FreeBSD.org) Received: from mail.foldr.org (vs.broker.freenet6.net [IPv6:2001:5c0:8fff:fffe::5e3b]) by mx1.freebsd.org (Postfix) with ESMTP id 488A98FC22 for ; Fri, 25 Jul 2008 12:02:39 +0000 (UTC) (envelope-from vs@FreeBSD.org) Received: from nb170.iist.unu.edu (z118l194.static.ctm.net [202.175.118.194]) (authenticated bits=0) by mail.foldr.org (8.14.3/8.14.3/Debian-5) with ESMTP id m6PC2WqG022757 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 25 Jul 2008 14:02:35 +0200 Message-Id: <806AF92E-7CAD-41F2-B5C1-BF5F8A76FC57@FreeBSD.org> From: Volker Stolz To: Joe Marcus Clarke , gnome@FreeBSD.org In-Reply-To: Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-30-309460245" Mime-Version: 1.0 (Apple Message framework v928.1) Date: Fri, 25 Jul 2008 20:02:25 +0800 References: <7D63219B-DB97-41D1-B4DE-F191F0F93FD6@FreeBSD.org> <1214677183.86194.5.camel@shumai.marcuscom.com> X-Pgp-Agent: GPGMail d51 (Leopard) Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.928.1) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Issue with gdmchooser (2.20.6) X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2008 12:02:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-30-309460245 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Sigh, it took the whole day to track down why XDMCP wasn't working: just like NetBSD, we need to disable the IPV6_V6ONLY socket option first, otherwise the broadcast to ::ffff:x.x.x.x won't work. I'd like to commit the attached patch that - hides harmless warnings on FreeBSD: we give ENXIO for non-IP interfaces, but that shouldn't worry anyone - get XDMCP queries rolling -- without this patch, XdmcpFlush fails and no XDMCP packet ever hits the wire. With this patch, I can successfully discover all (IPv4) hosts offering remote login on my network (nobody speaks IPv6 here yet). The patch is borrowed from NetBSD pkgsrc. Also bump PORTREVISION. I'd also like to submit this upstream. Volker > On 29.06.2008, at 02:19, Joe Marcus Clarke wrote: > >> On Mon, 2008-06-23 at 13:04 +0800, Volker Stolz wrote: >>> Hi guys, I was playing with XDMCP and the gdmchooser drops the >>> following in syslog when looking for local interfaces to broadcast >>> on: >>> >>> Jun 23 12:32:13 pc139 gdmchooser[37872]: CRITICAL: Could not get >>> SIOCGIFFLAGS for ^\b >>> Jun 23 12:32:13 pc139 gdmchooser[37872]: CRITICAL: Could not get >>> SIOCGIFFLAGS for 8^R^C >>> >>> It looks like there's something going wrong (I'm on 7.0-R with a >>> bge0,plip0,lo0), and we don't have the SIOCGIFNUM ioctl anyway. Is >>> someone interested in getting something like the following patch >>> into >>> the port and/or upstream? [Note that I usually don't program in >>> C ;)] >> >> This patch seems pretty intrusive. However, I appreciate the report, >> and I'll look at creating something more portable. -- "In Macao ist alles besser!" http://lambda.foldr.org/~vs/ --Apple-Mail-30-309460245 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iQCVAwUBSInA0RLpPok/0ba1AQLE3QP/fNfrrIT3VK7vH6oTT5k2sqz6sI9mIJSj Ja/A8ayp7E3Jh87Wen+07lJjfBOycjDhmdbRyf2ppArzIVcMiI/5ALMhOwPEFO0b hxaWJIe71EJD+n0wukOllkbAQ6niqs6LOoK41dLjo76+z2syy3scwlmzKN10+H1+ zJfndal3dtc= =oneD -----END PGP SIGNATURE----- --Apple-Mail-30-309460245--