Hi Frank, On Sat, Apr 17, 2021 at 9:23 AM Frank Behrens <[email protected]> wrote: > > > Am 17.04.2021 um 17:00 schrieb Jason A. Donenfeld: > > Does this actually fix or change anything? Don't new sockets have > > fib==0 right out of the gate already? > > New sockets inherit the fib from the current process. If you create > the wg interface from a process with different fib, that fib will also > be used for this socket. Probably the difference in code is not very > important for the case of a system default boot. But that may vary > for jails/vnets with different default fibs. > > In my test case the sequence > > setfib 1 ifconfig wg0 create .... > > ifconfig wg0 tunnelfib 0 > failed.
Ahh, interesting. I applied your patch. Thanks for the persistence in getting this feature working well. Jason
