Re: [Openvpn-devel] [PATCH v3] Implement block-ipv6

2018-07-03 Thread Arne Schwabe
>> +} >> +if (c->c2.buf.len > 0) >> +{ > > is this related to the ipv6 change? If so, how? To drop packet OpenVPN generally sets the buf len to zero. Since we now also drop packets that would normally go from client to server, I added the check here so these packets can be dropped.

Re: [Openvpn-devel] [PATCH v3] Implement block-ipv6

2018-01-23 Thread Antonio Quartulli
Hi, see comments inline On 13/11/17 02:33, Arne Schwabe wrote: > This can be used to redirect all IPv6 traffic to the tun interface, > effectively black holing the IPv6 traffic. Without ICMPv6 error > messages this will result in timeouts when the server does not send > error codes. block-ipv6 a

[Openvpn-devel] [PATCH v3] Implement block-ipv6

2017-11-12 Thread Arne Schwabe
This can be used to redirect all IPv6 traffic to the tun interface, effectively black holing the IPv6 traffic. Without ICMPv6 error messages this will result in timeouts when the server does not send error codes. block-ipv6 allows client side only blocking on all platforms that OpenVPN supports IP