Re: wireguard: problem sending via libpcap's packet socket

2020-07-01 Thread Willem de Bruijn
> > header_ops looks like the best approach to me, too. The protocol field > > needs to reflect the protocol of the *outer* packet, of course, but if > > I read wg_allowedips_lookup_dst correctly, wireguard maintains the > > same outer protocol as the inner protocol, no sit (6-in-4) and such. > > W

Re: wireguard: problem sending via libpcap's packet socket

2020-06-29 Thread Willem de Bruijn
On Sat, Jun 27, 2020 at 1:58 AM Jason A. Donenfeld wrote: > > Hi again Hans, > > A few remarks: although gre implements header_ops, it looks like > various parts of the networking stack change behavior based on it. I'm > still analyzing that to understand the extent of the effects. > Something lik