From nobody@FreeBSD.org  Sat Dec 19 12:59:53 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F3E5610656C0
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <chen@starworm.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net/iodine: iodined fails to properly setup the tun-device
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         141773
>Category:       ports
>Synopsis:       net/iodine: iodined fails to properly setup the tun-device
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lx
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 19 13:00:17 UTC 2009
>Closed-Date:    Fri Feb 19 19:41:20 UTC 2010
>Last-Modified:  Fri Feb 19 19:41:20 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->lx 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Dec 19 13:00:32 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=141773 
State-Changed-From-To: open->analyzed 
State-Changed-By: lx 
State-Changed-When: Wed Dec 30 07:50:53 UTC 2009 
State-Changed-Why:  
Ticket filed with vendor: 

http://dev.kryo.se/iodine/ticket/89 


http://www.freebsd.org/cgi/query-pr.cgi?pr=141773 
State-Changed-From-To: analyzed->feedback 
State-Changed-By: lx 
State-Changed-When: Tue Feb 16 21:35:13 UTC 2010 
State-Changed-Why:  
Updated to 0.6.0-rc1, which should fix this problem. Please confirm. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=141773 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/141773: commit references a PR
Date: Tue, 16 Feb 2010 21:34:35 +0000 (UTC)

 lx          2010-02-16 21:34:26 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/iodine           Makefile distinfo 
   Removed files:
     net/iodine/files     patch-tun.c 
   Log:
   Update to 0.6.0 RC1, which should resolve problems setting up the tun interface.
   
   PR:             ports/141773
   Feature safe:   yes
   
   Revision  Changes    Path
   1.8       +2 -1      ports/net/iodine/Makefile
   1.7       +3 -3      ports/net/iodine/distinfo
   1.2       +0 -14     ports/net/iodine/files/patch-tun.c (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: lx 
State-Changed-When: Fri Feb 19 19:41:05 UTC 2010 
State-Changed-Why:  
Appears resolved now. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=141773 
>Unformatted:
