Patch for net-mgmt/p0f

Clayton Milos clay at milos.co.za
Fri Jan 6 21:22:31 UTC 2012



-----Original Message-----
From: Wesley Shields [mailto:wxs at FreeBSD.org] 
Sent: 06 January 2012 20:48
To: Clayton Milos
Cc: ports at FreeBSD.org
Subject: Re: Patch for net-mgmt/p0f

On Fri, Jan 06, 2012 at 04:12:19PM -0000, Clayton Milos wrote:
> Hi guys
> 
> I found that p0f doesn't work with the pflog interface. A bit of 
> searching and this patch turned up:
> http://desync.com/~bw/patch-p0f.c
> 
> With it applied instead of the default patch it works. It looks like 
> the default patch has a few wrong line numbers in it and is missing 
> the first part of the patch.
> Please could somebody commit the new patch.

The patch needs to include sys/queue.h before including net/if_pflog.h, at
least on my -CURRENT system. I'm testing things now and will commit if it
all looks good.

-- WXS

Thanks Wesley

I compiled it on 8.1-RELEASE i386 GENERIC.
I've also just tested it on 8.2-RELEASE amd64 GENERIC.
I'm not running -CURRENT on any of my systems at the moment.

Regards
Clay



More information about the freebsd-ports mailing list