From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 19 13:00:18 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 396CA1065676 for ; Sat, 19 Dec 2009 13:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ECCD18FC1A for ; Sat, 19 Dec 2009 13:00:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBJD0H5B057654 for ; Sat, 19 Dec 2009 13:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBJD0HBJ057647; Sat, 19 Dec 2009 13:00:17 GMT (envelope-from gnats) Resent-Date: Sat, 19 Dec 2009 13:00:17 GMT Resent-Message-Id: <200912191300.nBJD0HBJ057647@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chen Xing Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E5610656C0 for ; Sat, 19 Dec 2009 12:59:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E26AE8FC0A for ; Sat, 19 Dec 2009 12:59:52 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBJCxqJA087445 for ; Sat, 19 Dec 2009 12:59:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBJCxpT1087436; Sat, 19 Dec 2009 12:59:51 GMT (envelope-from nobody) Message-Id: <200912191259.nBJCxpT1087436@www.freebsd.org> Date: Sat, 19 Dec 2009 12:59:51 GMT From: Chen Xing To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/141773: net/iodine: iodined fails to properly setup the tun-device X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2009 13:00:18 -0000 >Number: 141773 >Category: ports >Synopsis: net/iodine: iodined fails to properly setup the tun-device >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 19 13:00:17 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Chen Xing >Release: FreeBSD 8.0-RELEASE amd64 >Organization: >Environment: FreeBSD x.y.z 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: iodined fails to properly setup the tun-device opon execution. # iodined -P test 192.168.0.1 x.y.z Opened /dev/tun0 Setting IP of tun0 to 192.168.0.1 ifconfig: ioctl (SIOCAIFADDR): Destination address required Looking more closely, the tun.c patch attempts to fix the problem but fails to do so. Neither the patched nor the unpatched version work as a tun-device can neither be created without a destination adress (patched behavior) nor with the destination adress equal to source adress (unpatched behavior). >How-To-Repeat: # iodined -P test 192.168.0.1 x.y.z >Fix: >Release-Note: >Audit-Trail: >Unformatted: