[Bug 233955] [panic] Page fault in in6_purgeaddr (triggered by net/wireguard)

2019-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233955 --- Comment #22 from Jason A. Donenfeld --- Alright, I've now spent a bit of time tracking down these race conditions and reproducing them in a VM. It looks like there are two separate kernel race conditions: - SIOCGIFSTATUS races with SIO

[Bug 233955] [panic] Page fault in in6_purgeaddr (triggered by net/wireguard)

2019-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233955 --- Comment #23 from Jason A. Donenfeld --- Also, given the success of `while true; do ifconfig tun0 create; ifconfig tun0 destroy; done` at crashing the kernel, I'm pretty sure you can remove "triggered by net/wireguard" from the title of

[Bug 233955] [panic] Page fault in in6_purgeaddr (triggered by net/wireguard)

2019-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233955 --- Comment #24 from Jason A. Donenfeld --- (while true; do ifconfig tun0 create; ifconfig tun0 destroy; done)& (while true; do for i in {1..30}; do ifconfig tun0 & done; wait; done)& Potentially more vicious reproducer. -- You are recei

[Bug 233955] [panic] Page fault in in6_purgeaddr (triggered by net/wireguard)

2019-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233955 --- Comment #25 from genneko...@gmail.com --- (In reply to Jason A. Donenfeld from comment #22) Thank you for various workarounds. Those patches work so far. I noticed wg-quick down occasionally hangs at piperd, but now it seems to be patch

[Bug 233955] [panic] Page fault in in6_purgeaddr (triggered by net/wireguard)

2019-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233955 --- Comment #26 from Jason A. Donenfeld --- Indeed those patches I posted here are (already) out of date. But upstream master now has patches that appear to workaround the kernel bugs of this report. I think we're done here on the WireGuard

[Bug 233955] [panic] Page fault in in6_purgeaddr (triggered by net/wireguard)

2019-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233955 --- Comment #27 from commit-h...@freebsd.org --- A commit references this bug: Author: decke Date: Tue Apr 23 12:33:45 UTC 2019 New revision: 499754 URL: https://svnweb.freebsd.org/changeset/ports/499754 Log: net/wireguard: work around

[Bug 233955] [panic] Page fault in in6_purgeaddr (triggered by net/wireguard)

2019-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233955 --- Comment #28 from commit-h...@freebsd.org --- A commit references this bug: Author: decke Date: Tue Apr 23 12:36:30 UTC 2019 New revision: 499755 URL: https://svnweb.freebsd.org/changeset/ports/499755 Log: net/wireguard: workaround SI

[Bug 233955] [panic] Page fault in in6_purgeaddr (triggered by net/wireguard)

2019-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233955 --- Comment #29 from commit-h...@freebsd.org --- A commit references this bug: Author: kevans Date: Tue Apr 23 17:28:28 UTC 2019 New revision: 346602 URL: https://svnweb.freebsd.org/changeset/base/346602 Log: tun(4): Defer clearing TUN_O

[Bug 233955] [panic] Page fault in in6_purgeaddr (triggered by net/wireguard)

2019-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233955 Kyle Evans changed: What|Removed |Added CC||kev...@freebsd.org --- Comment #30 fr

Re: openvpn and system overhead

2019-04-23 Thread Eugene Grosbein
Moving to net@ 24.04.2019 1:06, Wojciech Puchar wrote: >>> can IPSEC VPN work over nat? even freebsd-freebsd case. >>> >>> I cannot find any tutorial how to do this. >> >> FreeBSD 11.1 and later supports IPSec NAT Traversal out-of-the-box. >> >> >> > so do you have an URL for guide how to do this