Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2003 16:51:50 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Mike Hoskins <mike@adept.org>
Cc:        stable@FreeBSD.ORG
Subject:   Re: ifconfig destroy
Message-ID:  <20030313165150.A17024@Odin.AC.HMC.Edu>
In-Reply-To: <20030313162551.P753-100000@fubar.adept.org>; from mike@adept.org on Thu, Mar 13, 2003 at 04:30:35PM -0800
References:  <20030312204020.A28243@Odin.AC.HMC.Edu> <20030313162551.P753-100000@fubar.adept.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 13, 2003 at 04:30:35PM -0800, Mike Hoskins wrote:
> On Wed, 12 Mar 2003, Brooks Davis wrote:
> > > What's the right way to remove pseudo-device/interfaces?  I'm playing=
 with
> > > a SSH/PPP tunnel, which can cause a lot of these to be created during=
 my
> > > test phase.
> > "ifconfig <if> destroy" only works on devices created via "ifconfig <if>
> > create" and tun devices haven't been converted to do that yet.
>=20
> Care to break out the cluebat and whack the right way into my head?
>=20
> The problem was, during my experimentation I ended up exhausting tun*
> pseudo-devs because they never got cleaned up.  Nothing in tun(4) seemed
> to help and 'destroy' and 'deletetunnel' from ifconfig(8) aren't right.

tun devices can't be destroyed at this point.  I'm fairly sure you
shouldn't need more tun devices then you have open connections so I
don't see how you could be running out of them.  I think they are
supposed to be recycled.

-- 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

--3V7upXqbjpZ4EhLz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+cSemXY6L6fI4GtQRAtGTAJ4uCgMIFOdCglTM4wu+HShJPd27egCeMUFM
QHxufnhNWoP9dXFN/moUDLc=
=CROk
-----END PGP SIGNATURE-----

--3V7upXqbjpZ4EhLz--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030313165150.A17024>