From owner-freebsd-current@FreeBSD.ORG Thu Jul 30 21:32:12 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC38E1065672 for ; Thu, 30 Jul 2009 21:32:12 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outc.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id A79F68FC22 for ; Thu, 30 Jul 2009 21:32:12 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 08CB0D1CA1; Thu, 30 Jul 2009 14:32:44 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id B80CA2D6006; Thu, 30 Jul 2009 14:32:11 -0700 (PDT) Message-ID: <4A721160.5080902@elischer.org> Date: Thu, 30 Jul 2009 14:32:16 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: "Li, Qing" References: <4A709126.5050102@elischer.org><3A1518B9-2C8C-4F05-9195-82C6017E4902@lassitu.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Qing Li , "Bjoern A. Zeeb" , Stefan Bethke , Matthias Andree , FreeBSD Current Subject: Re: recent change to ifconfig breaks OpenVPN? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2009 21:32:13 -0000 Li, Qing wrote: >> I did at least have time to figure out the commit that changed it: >> 195914 >> >>> Author: qingli >>> Date: Mon Jul 27 17:08:06 2009 >>> New Revision: 195914 >>> URL: http://svn.freebsd.org/changeset/base/195914 >>> >>> Log: >>> This patch does the following: >>> >>> - Allow loopback route to be installed for address assigned to >>> interface of IFF_POINTOPOINT type. >>> - Install loopback route for an IPv4 interface addreess when > the >>> "useloopback" sysctl variable is enabled. Similarly, install >>> loopback route for an IPv6 interface address when the sysctl >>> variable >>> "nd6_useloopback" is enabled. Deleting loopback routes for >>> interface >>> addresses is unconditional in case these sysctl variables > were >>> disabled after an interface address has been assigned. > > In 7.x and prior releases, the local-ip of the PPP links > (e.g. tun, gif, gre) is not reachable within that system. I don't > know if that really make sense. > > The Host Requirements RFC-1122, Section 3.3.4 on Local Multihoming seems > > to suggest the local-ip of a PPP link is not irrelevant as was treated > by > the implementation. > > In r195914, I added a loopback route for the local-ip of the local end > of a PPP link to make the local-ip reachable within the system. > > Since a host route is installed for the remote end, the installation > of the loopback route for the local-ip (that is the same IP as the > remote end) > fails. As Julian pointed out, the configuration from OpenVPN seems > erroneous. > > At this point I don't believe there is anything I need to fix but > comments are welcomed. > >> Setting net.link.ether.inet.useloopback=0 does not restore the >> previous behavior. >> note that he is using *ether* which seems odd. Since we are talking about tun. Is this the correct variable? > > I also verified setting (useloopback=0) * does * restore to the > previous > behavior. > > -- Qing > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"