From owner-freebsd-net@FreeBSD.ORG Tue Nov 7 23:38:05 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA62F16A416 for ; Tue, 7 Nov 2006 23:38:05 +0000 (UTC) (envelope-from landonf@threerings.net) Received: from smtp.earth.threerings.net (mail.threerings.net [64.127.109.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA07143D76 for ; Tue, 7 Nov 2006 23:38:03 +0000 (GMT) (envelope-from landonf@threerings.net) Received: from [192.168.54.11] (timor.sea.earth.threerings.net [192.168.54.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.earth.threerings.net (Postfix) with ESMTP id AFDFF6709 for ; Tue, 7 Nov 2006 15:38:02 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1--48118304" To: freebsd-net@freebsd.org From: Landon Fuller Date: Tue, 7 Nov 2006 15:37:55 -0800 X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.3) Subject: [patch] tun(4) and tap(4) if_clone support. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 23:38:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-1--48118304 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Nick Barkas (snb@threerings.net) and I have added interface cloning support to the tun(4) and tap(4) drivers. We maintained backwards-compatible support for devfs cloning, which is now disabled by default -- it can be re-enabled via a sysctl. Interfaces that are created via devfs cloning may still be removed via ifconfig destroy. The latest patch is available here http://www.opendarwin.org/~landonf/code/patch-tuntap_ifclone I've submitted kern/105228 with the patch, and I'd be most appreciative of comments/suggestions. Thanks, Landon Fuller --Apple-Mail-1--48118304 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFURjWlplZCE/15mMRAl4zAJ99/vsUb5McBn4Nnh26TjeWhjBWywCfW3rp Qhe36gBCw2+1nQ76Z8O9+g4= =5Mj1 -----END PGP SIGNATURE----- --Apple-Mail-1--48118304--