Looking at [1] I see they don't set tuninfo.type. This should be set to IFT_TUNNEL: net/if_types.h:#define IFT_TUNNEL 0x83
Does that help? [1] https://github.com/zehome/MLVPN/blob/2.3.2/src/tuntap_bsd.c#L146-L150 Solene Rapenne <sol...@perso.pw> wrote: > On Thu, Nov 28, 2019 at 10:26:32AM +0100, Solene Rapenne wrote: > > Hi, > > > > not sure ports@ is the best place for that, but either mlvpn doesn't work > > anymore or I made something wrong (I guess it's the latter). > > > > I'm trying to make a mlvpn tunnel and it refuses to start on both side > > (server and client) with the exact same issue. > > > > mlvpn doesn't ship with specific instructions so I guess default install > > should > > work. > > > > Server is running 6.6 and client -current > > > > this is the client configuration, but the server configuration is quite > > identical. > > > > This update mlvpn to last version but I still can't start it though. > I disabled filters because we don't have PCAP_NETMASK_UNKNOWN > > The error message is less cryptic. > > solene# mlvpn --debug --user _mlvpn -c /etc/mlvpn/mlvpn.conf > 2019-11-28T12:33:14 [INFO/config] new password set > 2019-11-28T12:33:14 [INFO/config] dsl1 tunnel added > mlvpn: ioctl(TUNSIFMODE): Invalid argument > 2019-11-28T12:33:14 [WARN/tuntap] unable to open /dev/tun0 read/write. > MAKEDEV ? > 2019-11-28T12:33:14 [CRIT/fatal] cannot create tunnel device > > > > Index: Makefile > =================================================================== > RCS file: /data/cvs/ports/net/mlvpn/Makefile,v > retrieving revision 1.8 > diff -u -p -r1.8 Makefile > --- Makefile 12 Jul 2019 20:48:32 -0000 1.8 > +++ Makefile 28 Nov 2019 10:31:22 -0000 > @@ -2,11 +2,10 @@ > > COMMENT = link-aggregation VPN software > > -V = 2.2.2 > +V = 2.3.2 > DISTNAME = mlvpn-$V > DISTFILES = ${DISTNAME}{$V}.tar.gz > WRKDIST = ${WRKDIR}/MLVPN-$V > -REVISION = 3 > > CATEGORIES = net > > @@ -26,6 +25,7 @@ CONFIGURE_STYLE = autoreconf > CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \ > LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ > ac_cv_header_valgrind_valgrind_h=no > +CONFIGURE_ARGS += --enable-filters=no > > AUTOCONF_VERSION = 2.69 > AUTOMAKE_VERSION = 1.14 > Index: distinfo > =================================================================== > RCS file: /data/cvs/ports/net/mlvpn/distinfo,v > retrieving revision 1.2 > diff -u -p -r1.2 distinfo > --- distinfo 24 Oct 2015 08:32:14 -0000 1.2 > +++ distinfo 28 Nov 2019 10:08:58 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (mlvpn-2.2.2.tar.gz) = +kVbV9jmdlUNAc/lUkjVtZX8qBLM69ql6tJBLEMgVF8= > -SIZE (mlvpn-2.2.2.tar.gz) = 78919 > +SHA256 (mlvpn-2.3.2.tar.gz) = AsnFd+bw7Df8uyLTyUOSXBrCKnjDZORMgsTRpzsrUCw= > +SIZE (mlvpn-2.3.2.tar.gz) = 85639 > Index: pkg/PLIST > =================================================================== > RCS file: /data/cvs/ports/net/mlvpn/pkg/PLIST,v > retrieving revision 1.1.1.1 > diff -u -p -r1.1.1.1 PLIST > --- pkg/PLIST 23 Oct 2015 09:28:58 -0000 1.1.1.1 > +++ pkg/PLIST 28 Nov 2019 10:31:54 -0000 > @@ -1,6 +1,7 @@ > @comment $OpenBSD: PLIST,v 1.1.1.1 2015/10/23 09:28:58 sthen Exp $ > @newgroup _mlvpn:758 > @newuser _mlvpn:758:_mlvpn:daemon:mlvpn user:/var/empty:/sbin/nologin > +@rcscript ${RCDIR}/mlvpn > @man man/man1/mlvpn.1 > @man man/man5/mlvpn.conf.5 > @bin sbin/mlvpn > @@ -13,10 +14,11 @@ share/doc/mlvpn/README.debug.md > share/doc/mlvpn/README.md > share/doc/mlvpn/mlvpn.default > share/doc/mlvpn/mlvpn.init.d > +share/doc/mlvpn/mlvpn.rc > share/examples/mlvpn/ > +@mode 770 > @owner root > @group wheel > -@mode 770 > @sample ${SYSCONFDIR}/mlvpn/ > @mode > share/examples/mlvpn/mlvpn.conf > @@ -26,7 +28,3 @@ share/examples/mlvpn/mlvpn.conf > share/examples/mlvpn/mlvpn_updown.sh > @mode 700 > @sample ${SYSCONFDIR}/mlvpn/mlvpn_updown.sh > -@mode > -@owner > -@group > -@rcscript ${RCDIR}/mlvpn