From nobody Mon Mar 4 00:22:04 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TnzsT0cS2z5CcsD for ; Mon, 4 Mar 2024 00:22:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TnzsS3d53z4fmT for ; Mon, 4 Mar 2024 00:22:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709511724; a=rsa-sha256; cv=none; b=d/JU67y5GiHTy8JuBYaLBIfPErPoHY2hDggUoGsgj/GsymbZDPLqvBzfouDuRi2EjqDM/v U5Ywxz8LYEvTM6aS84vJPisX4f7dM3Gim3wlkDO3omvAI5opkki9Btq2Wny8wdOB07Ymei GbP64+cXeZKZSw3YbAQKOkkQRqv4KMWeMIQCF+FCGUzgrHwaonVAfqAKx900nXcs4rQnol a7bUi7kSdP1xiXSI4M1DFpLtB3SfBOBsVzieRHEGLZ/KOhyzLrPwMXcn7+Bwu8PCqCPD05 pmma7J94wERIoKnEvs56hD/aKjExsO9WAjYIP2LJiSvcvgEAfozi/W0EYWkLSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709511724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EoTHytELB/C26UuzbXdZQ2td1rq0qjxesiGRDGBUCro=; b=x1pHxf5jcvhOub8cB6wiFoTAAbv/50B0G0x0QPT0k/LUZ0l8o/+hhAdR+fOsMDfU79//as hHOI2/u0y6ldmqVxjN2dj34+LjxE+WCo5lnhUJKyVPHeECY1+WcpHJkYB0wGYYcyHolUfl sS8F/0kI9ZxJH1C8qcP7GJQkwI1jcEJ0yLW+ov15edB/BrJpMnm1F/3+OV38L+kQ7UGEK7 05EVYIn7nP1SO+x7QnH6SuRYo54WDjm15a5TvydIQYMMhZ7Xr8Qx/BfG2AEP++7LJ83v8K mzzh9eqVwPksGqCXsojCJJWWYZTXJ3N3Nmz/tp1/lrvwNptvLOhutQ1G8vPIyw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TnzsS3DvXz103Q for ; Mon, 4 Mar 2024 00:22:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4240M4u3028818 for ; Mon, 4 Mar 2024 00:22:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4240M4kk028817 for net@FreeBSD.org; Mon, 4 Mar 2024 00:22:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 277435] [Feature request] Add an option to destroy the tap/tun interface when the descriptor is closed Date: Mon, 04 Mar 2024 00:22:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: monsterovich@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277435 --- Comment #12 from Nikolay Borodin --- (In reply to Kyle Evans from comment #11) > Is it doing some fork or fork/exec? Any fd passing or anything funky? I doubt it. > Interface renaming? Not yet. :) Here's the code (minus TAPSTRANSIENT) for the library I'm working on. Nothi= ng out of the ordinary. https://gitlab.com/Monsterovich/lanemu/-/blob/4e4c5012c8838b7780c2d96efcc62= 2170839a6e3/native/tapLinux/org_p2pvpn_tuntap_TunTapLinux.c --=20 You are receiving this mail because: You are the assignee for the bug.=