Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jun 2021 02:46:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 256393] Issue with recreation of ppp/tun interfaces
Message-ID:  <bug-256393-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256393

            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@FreeBSD.org
          Reporter: nwhitehorn@FreeBSD.org

I am running a machine acting as a ppp server using userland ppp(8) and run=
ning
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 attempt=
s to
re-establish the connection, however, IPCP fails and just continues in a lo=
op,
never setting the IP address on the local tun(4) interface. If I try to set=
 it
by hand, I get this:

root@conference:/home/nwhitehorn # ifconfig tun0
tun0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
        options=3D80000<LINKSTATE>
        inet6 fe80::f816:3eff:fe26:d92a%tun0 prefixlen 64 scopeid 0x3
        groups: tun
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
        Opened by PID 1359
root@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.

--=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-256393-227>