From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 13 00:58:55 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1808616A41B for ; Tue, 13 Jun 2006 00:58:55 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6666543D46 for ; Tue, 13 Jun 2006 00:58:54 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k5D0wlJ0027202; Mon, 12 Jun 2006 17:58:47 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k5D0wlkP027201; Mon, 12 Jun 2006 17:58:47 -0700 Date: Mon, 12 Jun 2006 17:58:47 -0700 From: Brooks Davis To: David Gilbert Message-ID: <20060613005847.GA23824@odin.ac.hmc.edu> References: <17550.2830.500237.71736@canoe.dclg.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <17550.2830.500237.71736@canoe.dclg.ca> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new Cc: freebsd-hackers@freebsd.org Subject: Re: destroying tunN X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 00:58:55 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 12, 2006 at 08:47:10PM -0400, David Gilbert wrote: > first off, why don't if_tun devices destroy themselves when the owner > closes the device? Historical behavior. I suspect many people would be very suprised it they automaticly vanished, but there's some argument that's the right thing to do. > But... aslo, why can't I 'unplumb' an unused tunN device with > ifconfig? Because they aren't hooked to the interface cloning system since their auto creation code predates it. This should be fixed, but is more difficult than for a staticly compiled interface due to the existing cloning code. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEjg3GXY6L6fI4GtQRAtp3AKCVWzbHWdTgozSAl7QjGJ4+fuUrGwCfV4jN XNENOWRiWL5X8llFLZ/vChU= =gMKN -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk--