[Bug 256393] Issue with recreation of ppp/tun interfaces

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Jun 2021 02:46:28 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256393

            Bug ID: 256393
           Summary: Issue with recreation of ppp/tun interfaces
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs_at_FreeBSD.org
          Reporter: nwhitehorn_at_FreeBSD.org

I am running a machine acting as a ppp server using userland ppp(8) and running
13-STABLE (this issue does not occur on 13.0-RELEASE and earlier). When a
client establishes a connection, everything is fine and a connection is
established without issue. When that connection ends and the client attempts to
re-establish the connection, however, IPCP fails and just continues in a loop,
never setting the IP address on the local tun(4) interface. If I try to set it
by hand, I get this:

root_at_conference:/home/nwhitehorn # ifconfig tun0
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
        options=80000<LINKSTATE>
        inet6 fe80::f816:3eff:fe26:d92a%tun0 prefixlen 64 scopeid 0x3
        groups: tun
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        Opened by PID 1359
root_at_conference:/home/nwhitehorn # ifconfig tun0 192.168.42.1 192.168.42.2
ifconfig: ioctl (SIOCAIFADDR): File exists

This seems like a regression in tun(4), but I haven't had a chance to really
debug it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Thu Jun 03 2021 - 02:46:28 UTC

Original text of this message