[PATCH V2] ocserv: fix ipv6 tun control on OpenBSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 26, 2016 at 9:19 AM, jvi <v8kjvi0j6 at gmail.com> wrote:
>>On Wed, 2016-06-01 at 19:10 +0200, Andrew Karpow wrote:
>>> This fixes ipv6 tunnel support on OpenBSD. OpenBSD network stack
>>> doesn't
>>> enable the multicast flag on tun devices like FreeBSD - but this is
>>> obligatory for ipv6.
>>> Error message without this patch:
>>> main: tun.c:260: tun0: Error setting IPv6: Invalid argument
>>Applied, thank you.
> The same problem persists on FreeBSD. I've just installed ocserv so
> haven't yet a chance look in-depth what the issue is but it seems
> ocserv cannot legally set IPv6 address and returns an error.
> ocserv[41876]: main[test0]: 192.168.1.3:63633 new user session
> ocserv[41876]: main[test0]: 192.168.1.3:63633 selected IP: 10.250.0.101
> ocserv[41876]: main[test0]: 192.168.1.3:63633 selected IP: cccc::28
> ocserv[41876]: main[test0]: 192.168.1.3:63633 assigned IPv4: 10.250.0.101
> ocserv[41876]: main[test0]: 192.168.1.3:63633 assigned IPv6: cccc::28/128
> ocserv[41876]: main: tun.c:258: tun1: Error setting IPv6: Invalid argument

I have no idea about the above. Have you tried with a valid IPv6 address?

regards,
Nikos



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux