From owner-freebsd-gnome@FreeBSD.ORG Sat Dec 16 00:59:25 2006 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7084716A403 for ; Sat, 16 Dec 2006 00:59:25 +0000 (UTC) (envelope-from freebsd.org@ab.ote.we.lv) Received: from purple.the-7.net (purple.the-7.net [64.71.156.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A63DE43C9D for ; Sat, 16 Dec 2006 00:57:40 +0000 (GMT) (envelope-from freebsd.org@ab.ote.we.lv) Received: from seerajeane.astralblue.net (seerajeane.astralblue.net [IPv6:2001:470:1f01:3222:2e0:81ff:fe51:1e73]) by purple.the-7.net (8.13.8/8.13.8) with ESMTP id kBG0wKRX077332 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK); Fri, 15 Dec 2006 16:58:21 -0800 (PST) (envelope-from freebsd.org@ab.ote.we.lv) Received: from [IPv6:2001:470:1f01:3222:2e0:81ff:fe51:1e73] (seerajeane.astralblue.net [IPv6:2001:470:1f01:3222:2e0:81ff:fe51:1e73]) by seerajeane.astralblue.net (8.13.8/8.13.8) with ESMTP id kBG0xHg2081452 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Fri, 15 Dec 2006 16:59:20 -0800 (PST) (envelope-from freebsd.org@ab.ote.we.lv) Message-ID: <458344E4.8020200@ab.ote.we.lv> Date: Fri, 15 Dec 2006 16:59:16 -0800 From: "Eugene M. Kim" User-Agent: Thunderbird 1.5.0.8 (X11/20061202) MIME-Version: 1.0 To: Boris Samorodov References: <00614590@srv.sem.ipt.ru> In-Reply-To: <00614590@srv.sem.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.7 required=10.0 tests=AWL,NO_RELAYS autolearn=disabled version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on purple.the-7.net Cc: freebsd-gnome@freebsd.org Subject: Re: x11/gdm: default IPv6 disables IPv4 for xdmcp 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: Sat, 16 Dec 2006 00:59:25 -0000 Try setting ipv6_ipv4mapping="YES" in /etc/rc.conf and rebooting. For security reasons, *BSD intentionally breaks RFC 3493 by disabling IPv4-mapped addresses by default (net.inet6.ip6.v6only=1). (For example, if one were to block incoming connections from an IPv4 address 1.2.3.4, one would have to install /two/ firewall rules, one for IPv4 1.2.3.4 and another for IPv4-mapped IPv6 ::ffff:1.2.3.4). Unfortunately, this breaks a number of applications that depend on the RFC-specified default behavior (v6only=0). GDM is one of them; Eclipse is another. Re-enabling IPv4-mapped addresses is a quick (and dirty) fix to the breakage; however, one should be aware of the security implications of doing this (see above), and take additional steps to guard the system as necessary. Hope this helped, Eugene Boris Samorodov wrote: > Hello All! > > > Way back before gnome-2.14 IPv6 and IPv4 were mutual exclusive. > Current gdm-2.16.4 behaves the same: > > - gdm built with defaults listens only at udp6: > %netstat -a | grep xdm > udp6 0 0 *.xdmcp *.* > > - disabling IPv6 helps to listen at udp4. > > > WBR >