[Bug 290768] if_wg(4): handshake response has src and dst reverse
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Nov 2025 07:18:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290768 --- Comment #17 from relvy <it@vineyard-sha.de> --- Are there any updates? If not I would like to bring up the EAFNOSUPPORT issue that is still there: wg1: Handshake for peer 1 did not complete after 5 seconds, retrying (retry 15) wg1: Sending handshake initiation to peer 1 wg1: Unable to send packet: 47 The "Unable to send packet" debug message comes from if_wg.c:wg_send_buf(). wg_send_buf() -> wg_send() -> return EAFNOSUPPORT; -> wg_send_buf() -> DPRINT(sc, "Unable to send packet: %d\n", ret); This means e->e_remote.r_sa.sa_family is neither AF_INET nor AF_INET6. I suppose carp zeroes that out and we run the error path all the way along. -- You are receiving this mail because: You are the assignee for the bug.