From owner-freebsd-current@FreeBSD.ORG Wed Jul 29 17:09:14 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 70872106566C for ; Wed, 29 Jul 2009 17:09:14 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id 118768FC0A for ; Wed, 29 Jul 2009 17:09:13 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from localhost by koef.zs64.net (8.14.3/8.14.3) with ESMTP id n6TH9BC1092386 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 29 Jul 2009 19:09:12 +0200 (CEST) (envelope-from stb@lassitu.de) (authenticated as stb) Message-Id: From: Stefan Bethke To: FreeBSD Current Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 29 Jul 2009 19:09:10 +0200 X-Mailer: Apple Mail (2.935.3) Subject: 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: Wed, 29 Jul 2009 17:09:14 -0000 I just updated this afternoon (r195941), and after rebooting, OpenVPN has problems ifconfig'ing a tun interface. With sources from about one week ago, this is working: Jul 29 03:07:15 diesel openvpn_zs64[14785]: /sbin/ifconfig tun1 44.128.127.2 44.128.127.2 netmask 255.255.255.0 mtu 1500 up Jul 29 03:07:15 diesel openvpn_zs64[14785]: /sbin/route add -net 44.128.127.0 44.128.127.2 255.255.255.0 Jul 29 03:07:15 diesel openvpn_zs64[14785]: /sbin/route add -net 44.128.64.0 44.128.127.1 255.255.192.0 Now, the same sequence fails: Jul 29 17:31:41 diesel openvpn_zs64[1855]: /sbin/ifconfig tun1 44.128.127.2 44.128.127.2 netmask 255.255.255.0 mtu 1500 up Jul 29 17:31:41 diesel openvpn_zs64[1855]: FreeBSD ifconfig failed: external program exited with error status: 1 Trying the same command manually gets me: /sbin/ifconfig tun1 44.128.127.2 44.128.127.2 netmask 255.255.255.0 mtu 1500 up ifconfig: ioctl (SIOCAIFADDR): File exists even though no address was assigned before. Another OpenVPN instance using tap continues to work. Stefan -- Stefan Bethke Fon +49 151 14070811