Created attachment 237093 [details] mpd 5.9_10 log I have a L2TP/IPsec box with security/ipsec-tools and net/mpd5. 13.1-RELEASE-p2. package mpd5-5.9_9 works fine, 5.9_10 doesn't work at all. I tried: With upstream r2453, OK. With r2454, NG. Please revert r2454.
I doubt that change could be the reason of the breakage. It seems you have some more differences other than mpd5 version between working and non-working setups. The log you provided shows that there are no incoming L2TP payload packets passed to mpd5 from the racoon daemon. Please verify what other differences you may have. If you cannot find it, then I need more detailed mpd5 logs. Please add to "default" section of mpd5: log +echo +auth +bund +ccp +iface +iface2 +ipcp +lcp +lcp2 +phys +phys2 +phys3 +link Then retry with the version 5.9_10 and post new log.
I managed to reproduce the problem. Will you be able to test the patch?
Created attachment 237096 [details] proposed fix Put the patch to /usr/ports/net/mpd5/files/ directory then rebuild, reinstall and restart mpd5.
With patch-redial2, works fine. Thank you.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=15c9b10e294e33112d57f3007bcdd7f3efa47a41 commit 15c9b10e294e33112d57f3007bcdd7f3efa47a41 Author: Eugene Grosbein <eugen@FreeBSD.org> AuthorDate: 2022-10-06 07:11:55 +0000 Commit: Eugene Grosbein <eugen@FreeBSD.org> CommitDate: 2022-10-06 07:16:58 +0000 net/mpd5: unbreak incoming L2TP connections The revision mpd5-5.9_10 broke incoming L2TP connections. Fix it. PR: 266838 net/mpd5/Makefile | 2 +- net/mpd5/files/patch-redial | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Fixed with mpd5-5.9_11.