pfsync_upd_tcp() rejects a stale destination peer, but both callers can copy it afterward. This package reproduces that overwrite using blocks extracted from pinned upstream source. The candidate patches have been exercised in userspace on Linux and FreeBSD; neither has been built or installed in a kernel.
Download all files in this gist into one directory. Requirements: Python 3, a C compiler named cc, patch, and curl for the source download.
For the installed OPNsense 26.1 revision: