[Bug 185023] [tun] Closing tun<n> interface deconfigures IP address
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Oct 20 05:34:39 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185023
Seth Hoffert <seth.hoffert at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |seth.hoffert at gmail.com
--- Comment #5 from Seth Hoffert <seth.hoffert at gmail.com> ---
Created attachment 198393
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=198393&action=edit
Proposed patch
I took a stab at patching tun to bring it into parity with tap. In line with
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-aliased
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list