On Wed, Apr 27, 2016 at 05:15:57PM +0800, hshh wrote:> >Updated support for BSD tun/tap devices. > It is broken on FreeBSD tun. > > tcpdump on tun, > 09:05:07.458988 IP0 bad-hlen 0Can you show me your tinc.conf and tinc-up script? Also, which version of FreeBSD are you using? -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20160427/12cc2e06/attachment.sig>
tinc.conf Name = server Device = /dev/tun10 TunnelServer = yes Forwarding = kernel KeyExpire = 86400 tinc-up #!/bin/sh /sbin/ifconfig tun10 up /sbin/ifconfig tun10 inet 10.255.1.1/24 On Wed, Apr 27, 2016 at 5:20 PM, Guus Sliepen <guus at tinc-vpn.org> wrote:> On Wed, Apr 27, 2016 at 05:15:57PM +0800, hshh wrote: > >> >Updated support for BSD tun/tap devices. >> It is broken on FreeBSD tun. >> >> tcpdump on tun, >> 09:05:07.458988 IP0 bad-hlen 0 > > Can you show me your tinc.conf and tinc-up script? Also, which version > of FreeBSD are you using? > > -- > Met vriendelijke groet / with kind regards, > Guus Sliepen <guus at tinc-vpn.org> > > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc >-- @hshh
On Wed, Apr 27, 2016 at 05:26:36PM +0800, hshh wrote:> >> It is broken on FreeBSD tun. > >> > >> tcpdump on tun, > >> 09:05:07.458988 IP0 bad-hlen 0It's indeed broken. As a workaround, can you try to change Device to /dev/tap10? You might have to run "kldload if_tap.ko" before starting tinc. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20160427/31c75d60/attachment.sig>