Bug 270090

Summary: security/snort: Add support for FreeBSD 13.1 pflog header format
Product: Ports & Packages Reporter: ldd
Component: Individual Port(s)Assignee: Dan Langille <dvl>
Status: New ---    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (dvl)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for FreeBSD 13.1 pflog header format none

Description ldd 2023-03-10 16:16:11 UTC
Created attachment 240725 [details]
patch for FreeBSD 13.1 pflog header format

The FreeBSD and OpenBSD pflog header formats have diverged, and the latest changes to FreeBSD's header to support the "ridentifier" field (here: https://reviews.freebsd.org/D32750) are no longer supported by snort.  The attached patch adds support for the new header size.


Note: the same issue exists in Snort3, and a corresponding PR was submitted with a similar fix here: https://github.com/snort3/snort3_extra/pull/10
Comment 1 Dan Langille freebsd_committer freebsd_triage 2024-03-14 12:16:19 UTC
Did this get included in a recent release?