Date: Sat, 20 Oct 2018 05:34:35 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 185023] [tun] Closing tun<n> interface deconfigures IP address Message-ID: <bug-185023-227-hELlcCZq49@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-185023-227@https.bugs.freebsd.org/bugzilla/> References: <bug-185023-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D185023 Seth Hoffert <seth.hoffert@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seth.hoffert@gmail.com --- Comment #5 from Seth Hoffert <seth.hoffert@gmail.com> --- Created attachment 198393 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D198393&action= =3Dedit Proposed patch I took a stab at patching tun to bring it into parity with tap. In line wi= th tap behavior, it will check for the IFF_LINK0 flag on the interface. If present, it will persist the IPs and routes even when the device node is closed. In addition to the use case listed in earlier comments, this makes IP-alias= ed jail interaction with tun nicer in that processes within the jail (e.g. OpenVPN) can be bounced without having to restart the jail or externally reconfigure IPs/routes on the tun. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-185023-227-hELlcCZq49>