Current-Users archive

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

Re: Using wg(4) with a commerical VPN provider



Roy Marples <roy%marples.name@localhost> writes:

> On 11/11/2020 01:49, Brad Spencer wrote:
>> @@ -2352,6 +2361,7 @@
>>   	if (*af == AF_INET) {
>>   		packet_len = ntohs(ip->ip_len);
>>   	} else {
>> +#ifdef INET6
>>   		const struct ip6_hdr *ip6;
>>   
>>   		if (__predict_false(decrypted_len < sizeof(struct ip6_hdr)))
>
>
> Might be better to roll it into case statement.
> Could wg one day work with a third address family?
>
> Roy


No earthly idea if that would ever be likely.  In the short to medium
term, I suspect not.  I am inclined to leave it as I have proposed
unless it functionally breaks something.  I have zero ability to test
this path completely and the VPN provider I am using forcefully disables
IPv6 on their end.  This topic can be left for a later time.



-- 
Brad Spencer - brad%anduin.eldar.org@localhost - KC8VKS - http://anduin.eldar.org


Home | Main Index | Thread Index | Old Index