]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Import wireguard fixes from pfSense 2.5
authorPeter Grehan <grehan@FreeBSD.org>
Sat, 27 Feb 2021 04:15:04 +0000 (14:15 +1000)
committerPeter Grehan <grehan@FreeBSD.org>
Sat, 6 Mar 2021 04:12:29 +0000 (14:12 +1000)
commit9705c012c1f0c7a9ac0f6c8618bebe3e66280a8a
tree0d7e0b28c240470df91a2ad65d0cf064413a7690
parent85ec7f28cba326dc1460ada971e85671cf5a6c75
Import wireguard fixes from pfSense 2.5

Merge the following fixes from https://github.com/pfsense/FreeBSD-src
 1940e7d3  Save address of ingress packets to allow wg to work on HA
 8f5531f1  Fix connection to IPv6 endpoint
 825ed9ee  Fix tcpdump for wg IPv6 rx tunnel traffic
 2ec232d3  Fix issue with replying to INITIATION messages in server mode
 ec77593a  Return immediately in wg_init if in DETACH'd state
 0f0dde6f  Remove unnecessary wg debug printf on transmit
 2766dc94  Detect and fix case in wg_init() where sockets weren't cleaned up
 b62cc7ac  Close the UDP tunnel sockets when the interface has been stopped

Approved by: re (kib)
Obtained from: pfSense 2.5
Relnotes: yes
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 96aabea8bd238b503e949753355dc5b6a857aa9c)
sys/dev/if_wg/module/if_wg_session.c
sys/dev/if_wg/module/module.c