From owner-freebsd-current@FreeBSD.ORG Thu May 19 06:56:14 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 041C116A549 for ; Thu, 19 May 2005 06:56:14 +0000 (GMT) Received: from sender-02.it.helsinki.fi (sender-02.it.helsinki.fi [128.214.205.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16AAA43DD2 for ; Thu, 19 May 2005 06:56:13 +0000 (GMT) (envelope-from mjsaarin@cc.helsinki.fi) Received: from lagavulin.it.helsinki.fi (lagavulin.it.helsinki.fi [128.214.38.143])j4J6uAHj009037 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 19 May 2005 09:56:10 +0300 Received: (from mjs@localhost) by lagavulin.it.helsinki.fi (8.13.3/8.13.1/Submit) id j4J6u9CT011780; Thu, 19 May 2005 09:56:09 +0300 (EEST) (envelope-from mjsaarin@cc.helsinki.fi) X-Authentication-Warning: lagavulin.it.helsinki.fi: mjs set sender to mjsaarin@cc.helsinki.fi using -f From: Matti Saarinen To: freebsd-current@freebsd.org User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.3 (berkeley-unix) Date: Thu, 19 May 2005 09:56:09 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: CURRENT: ifconfig tap0 results in core dump X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 19 May 2005 06:56:14 -0000 I'm not sure if the problem I'm seeing is caused by OpenVPN or some code change related to ifconfig. Or perhaps both are to blame. When I open an OpenVPN connection in tap mode the openvpn process creates tap0 inteface and assigns an IP address to it. If I now do ifconfig tap0 it displays the information correctly. Now, when quit the openvpn session, the tap0 interface still stays there but it has not address. If I now try see the status of it with ifconfig it dumps core. From tap0, ifconfig manages to display the inet6 line and then it receives a segementation fault. If I restart the openvpn process, the tap0 interface works but ifconfig tap0 still dumps core. An example: OpenVPN is running: % ifconfig tap0 tap0: flags=8843 mtu 1500 inet6 fe80::2bd:9ff:fe7c:100%tap0 prefixlen 64 scopeid 0x5 inet 128.214.182.158 netmask 0xffffffc0 broadcast 128.214.182.191 ether 00:bd:09:7c:01:00 Opened by PID 584 Now, I've terminated PID 584 (openvpn) % ifconfig tap0 tap0: flags=8802 mtu 1500 inet6 fe80::2bd:9ff:fe7c:100%tap0 prefixlen 64 scopeid 0x5 zsh: segmentation fault (core dumped) ifconfig tap0 I remember that ifconfig didn't dump core when my laptop ran CURRENT from a few months ago. Cheers, -- - Matti -