From d409c2f3876e04f89d2e09b54aec4bba6453a05d Mon Sep 17 00:00:00 2001 From: naddy Date: Mon, 3 May 2004 19:50:12 +0000 Subject: [PATCH] fix decoding of packets logged by pf(4); from Jose Nazario --- security/p0f/patches/patch-p0f_c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/security/p0f/patches/patch-p0f_c b/security/p0f/patches/patch-p0f_c index 2ba873e0972..b875124057f 100644 --- a/security/p0f/patches/patch-p0f_c +++ b/security/p0f/patches/patch-p0f_c @@ -1,6 +1,15 @@ -$OpenBSD: patch-p0f_c,v 1.6 2004/05/03 15:59:36 naddy Exp $ +$OpenBSD: patch-p0f_c,v 1.7 2004/05/03 19:50:12 naddy Exp $ --- p0f.c.orig 2002-05-13 18:59:40.000000000 +0200 -+++ p0f.c 2004-05-03 17:53:51.000000000 +0200 ++++ p0f.c 2004-05-03 21:41:00.000000000 +0200 +@@ -165,7 +165,7 @@ void set_header_len(int type){ + break; + #ifdef DLT_PFLOG + case DLT_PFLOG: +- header_len=28; ++ header_len=48; + break; + #endif + #ifdef DLT_LINUX_SLL @@ -397,7 +397,7 @@ void load_fprints(char *filename) { char *p; //bzero(fips,120000);