Issue with gdmchooser (2.20.6)

Joe Marcus Clarke marcus at marcuscom.com
Fri Jul 25 16:23:25 UTC 2008


On Fri, 2008-07-25 at 20:02 +0800, Volker Stolz wrote:
> 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.

Approved all around.  Thanks for looking at this.

Joe

> 
> 
> 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/
> 
> 
> 
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080725/3ccc22b5/attachment.pgp


More information about the freebsd-gnome mailing list