The NetBSD Project

CVS log for pkgsrc/security/p0f/Makefile

[BACK] Up to [] / pkgsrc / security / p0f

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.30 / (download) - annotate - [select for diffs], Wed Feb 6 19:31:04 2013 UTC (10 years, 3 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, HEAD
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

PKGREVISION bumps for net/libpcap update.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Oct 23 18:16:39 2012 UTC (10 years, 7 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.28: +1 -3 lines
Diff to previous 1.28 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Dec 21 14:24:32 2011 UTC (11 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

Set LICENSE, from Pierre Pronchery in PR 45729.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jan 7 04:16:14 2011 UTC (12 years, 5 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)


Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 7 04:15:37 2011 UTC (12 years, 5 months ago) by obache
Branch: MAIN
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored)

Let preferred libpcap to be picked up.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 27 21:35:44 2010 UTC (13 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.24: +10 -8 lines
Diff to previous 1.24 (colored)

DESTDIR support

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jul 17 18:00:23 2009 UTC (13 years, 10 months ago) by adrianp
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)


Revision 1.23 / (download) - annotate - [select for diffs], Mon Mar 5 20:31:51 2007 UTC (16 years, 3 months ago) by adrianp
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored)

Update to 2.0.8
Patches from Matthias Drochner (thanks !)

Version 2.0.8:
More fingerprints, signature cleanup.
p0fping.c and diagnostic queries added.
Socket ownership fix when dropping privs.
Some -O signatures.

Version 2.0.7:
Added -0 mode for port 0 wildcards in queries.
Added -e option to make p0f work on some boxes.
HDLC support added.
New fingerprints, including Windows Vista betas.
[BUG] Fixed timezone in logs after chroot().
[BUG] Unlikely command-line overflow with VLANs fixed.

Version 2.0.6:
[BUG] Fixed pcap naming madness.
Support for Cygwin.
More signatures. Plenty of -A sigs from Ryan Kruse.
[BUG] Fix to a command-line parsing snafu with sprintf; shame on me ;-)
Timestamps in masquerade detection.
Write PID to /var/run/

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jan 7 09:14:10 2007 UTC (16 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with

Fixes PR 35265, although I did not use the patch provided therein.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jun 1 23:14:34 2006 UTC (17 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

Move docs under share/doc/p0f, fix INSTALLATION_DIRS, bump revision.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Apr 22 09:22:14 2006 UTC (17 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 29 06:22:11 2005 UTC (17 years, 5 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

Remove USE_PKGINSTALL from pkgsrc now that mk/install/
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 8 19:14:47 2005 UTC (17 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 (colored)

Use NetBSD rules for DragonFly as well. Don't include both, net/bpf.h
and pcap.h, on DragonFly.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 5 20:50:57 2005 UTC (17 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 17 03:50:32 2005 UTC (17 years, 11 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

Create directories before installing files into them.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 11 21:47:14 2005 UTC (18 years, 1 month ago) by tv
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Sep 22 09:44:57 2004 UTC (18 years, 8 months ago) by adrianp
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.13: +3 -5 lines
Diff to previous 1.13 (colored)

- Update to 2.0.5
- ok'ed wiz@, snj@
- Grab maintainership
- Remove DIST_SUBDIR directive

Verison 2.0.5:
  [BUG] OpenBSD compile fix.
  Support for 802.1Q.
  New signatures.
  Speel-chceked teh docuhmentation!
  Absolutely experimental support for open connection fingerprinting (-O).
  Synced manpage and documentation.
  Added several -O signatures.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 14 10:09:15 2004 UTC (18 years, 9 months ago) by adrianp
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.12: +11 -15 lines
Diff to previous 1.12 (colored)

- Update to 2.0.4
- Replace SED with SUBST.*
- Improve DESCR
- ok'ed snj@/wiz@

From the Changelog:

Verison 2.0.4:
More signatures.
Improved documentation, mentions of p0f_db, etc.
[BUG] Fixed a minor problem with installation on systems w/o /usr/man/.
[BUG] Fixed a DLT_NULL problem, added a new loopback signature.
Multiple timestamp options, timestamps now read from pcap dumps.
Sync with new Windows port code.
[BUG] Fixed one-line reporting for masquerade detection.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 25 03:36:51 2004 UTC (19 years, 1 month ago) by snj
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Convert to buildlink3.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jan 20 12:25:34 2004 UTC (19 years, 4 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Move WRKSRC definition away from the first paragraph in a Makefile.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 3 11:45:28 2003 UTC (19 years, 7 months ago) by recht
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

update to version 2.0.3

changes/fixes include:
  Iproved -F.

  Masquerade detection code now checks for time going backwards in

  Added uptime in query data and p0fq.c.

  Added -F fuzzy TTL matching option.

  More signatures.

  [BUG] Missing ENDIAN define on SunOS? Added to Makefile. It now
  defaults to big endian, perhaps worth auto-detecting in case of
  Solaris on x86 or such.

  -r now also resolves the target host.

  Added -X option, sendsyn added. Better Makefile and p0f*.fp documentation.
  Automatic wildcard for WSS of 12345 and size exceeding PACKET_BIG.

  Sheesh, more cleanup in p0fr.fp explanations and p0f.c RST recognition

  Added wildcard for packet size; massive ACK probing to diagnose the
  payload quoting issue. Many new RST fingerprints for network

  Updated some tos.h signatures.

see doc/ChangeLog for a complete list

Revision 1.9 / (download) - annotate - [select for diffs], Sun Oct 5 18:13:00 2003 UTC (19 years, 8 months ago) by recht
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

1) Solaris (and others) require libpcap from pkgsrc.  Use buildlink2
2) Fix the SunOS makefile, which isn't complete.  Tidy up while here.
3) Re-order COMMENT/HOMEPAGE to appease pkglint.

provided by Jonathan Perkin in PR 22916.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 1 23:43:16 2003 UTC (19 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

dig DIST_SUBDIR so that we can build newer version without removing
pkgsrc/distrib/p0f.tgz manually

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 1 23:13:13 2003 UTC (19 years, 8 months ago) by recht
Branch: MAIN
Changes since 1.6: +19 -3 lines
Diff to previous 1.6 (colored)

Update to 2.0.2
patch provided in PR 22939 by Adrian Portelli

Version 2.0.2:
Cleanup of the RST mess in p0fr.fp and p0f.c parser.

Added isprint() text preview for -x mode.

[BUG] Fixed packet size reporting and matching for packets over 255 bytes
(_u8 -> _u16).

Extended RST+ACK to also cover plain RST, added some sane explanations
of the purpose of each mode. Clarification of the RST vs RST+ACK
occurences; test/sendack.c added.

Added -R option for RST+ACK fingerprinting. Created an empty database.
Moved databases from /etc to /etc/p0f/

Windows memory leak mystery solved.

No longer using pcap timeouts for anything. They suck. I first wanted
to use SIGALRM with no SA_RESTART, but it's broken on Linux on this
particular syscall. Fortunately, I spotted an mis-documented  pcap_fileno and can now use select(). I just hope it won't break.

Note to self: despite of the documentation saying pcap_open_live with
timeout 0 will simply never timeout (which is irrelevant for
pcap_loop anyway), it does not work on FreeBSD, inhibiting all packet
processing instead. Works fine on Linux. Go figure.

Some minor p0fq fixes to prevent warnings.

Added some SYN+ACK signatures from rfp (p0fa.fp). Hooray!
p0fa.fp is now official. Moved from test/ to ., etc. README updated.

[BUG] Fixed the default TTL for IRIX and Tru64 (60), added a note to
p0f.fp, fixed TTL checker to also support %30 values.

[BUG] Fixed query mode lookup. The old code didn't handle reverse
lookups properly.

Masquerade scoring data is now available via the query interface.
P0fq utility updated to handle this.

Dropped /bin/bash from p0frep, /bin/sh would suffice.

Added a new -c option for -M and -Q cache size scaling, packet ratio
information on Ctrl-C to help estimate the right parameter.

Extra masquerade detection flags: -T for threshold, -V for detailed
flag breakdown; masquerade reporting now recognizes -r.

The new -w option writes all matching packets to a pcap file (regardless
of -K and -U settings).

Added -M option (unix only until p0f-query.c gets ported). This option
enables advanced masquerade detection based on the cyclic buffer
used by -Q. Added - signature flag to the config file. Some
documentation for the new functionality.

[BUG] Cleaned up the -K and -U semantics with -Q.

Replaced some single-character printfs with putchars in signature
reporting code (should be a tad faster). Added signature check
reporting, generic signature count and some other minor tweaks.

The new -x option provides a hexadecimal TCP/IP packet dump. Useful
when comparing two colliding fingerprints to find some differences
not covered by the current quirks set.

PPPoE interface is now handled correctly on NetBSD.

Added a shoddy manpage and updated makefiles.

Removed E quirk and added E to the regular options; removed needless EOL
append code from the parser. Breaks the old signature format in some
rare cases, but the old quirk is still recognized, and the user will be
advised to change it.

[BUG] Fixed ? option parsing bug that prevented RISC OS signature from
working (and would prevent all ? signatures from working, should there
be any other ;-).

New signatures and other database additions, of course.

[BUG] Fixed a very minor parser bug that could cause it to loop over
an unknown option with a declared length of zero. This is not a DoS
condition, because the parser would quit the loop after parsing max. 16
options anyway.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 6 04:56:28 2003 UTC (19 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.5: +6 -4 lines
Diff to previous 1.5 (colored)

upgrade to 2.0.1.

from webpage:

>v2 is a significantly more accurate, precise and faster brother of the original
>proof-of-concept tool I released in 2000. P0f v1 is largely obsolete...

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jul 21 17:20:12 2003 UTC (19 years, 10 months ago) by martti
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

COMMENT should start with a capital letter.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 12 01:10:59 2003 UTC (19 years, 10 months ago) by zuntum
Branch: MAIN
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored)

Update p0f to version 1.8.3


1.8.3 (Feb 6, 2003)
       - Lots of new signatures
       - URL's for papers and sites with information on fingerprinting.
       - Information on the windows/Cygwin port.  .exe for 1.8.3 will
         show up soon. (May 13, 2002)
       - Rechecked version numbers. (Bill)
       - Mysql cleanup and integration
       - Mysql quickstart (Marion) (May 12, 2002)
       - Mysql Support Added (Evrim ULU <>)
       - FPS Buffer Length increased from 120 to 150 (Evrim)
       - p0f-mysql.conf config file added for mysql connectivity (Evrim)
       - parser for p0f.fp was corrected. It was including
         wwww:ttt: ... line in the comments. (Evrim)
       - mysql/db.sql file is included for creation of db tables (Evrim)
       - Makefile.mysql is added - no gnu autoconf support yet. (Evrim)
       - New RedHat 7.0 Beta Fischer FP added. (Evrim)
       - Max fingerprints raised to 5000 for the moresigs project. (Bill)

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 2 21:32:11 2003 UTC (20 years, 4 months ago) by jmmv
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.2: +9 -7 lines
Diff to previous 1.2 (colored)

Make this package honor PKG_SYSCONFDIR.  Bump PKGREVISION.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 17 23:15:24 2003 UTC (20 years, 4 months ago) by hubertf
Branch: MAIN
Changes since 1.1: +13 -5 lines
Diff to previous 1.1 (colored)

Update p0f to 1.8.2. Changes:

        1. Developer changed s/Micha┬│ Zalewski/William Stearns/
        2. A lot of new finger prints.
        3. GPL -> LGPL license change
        Full list (not so big) in ChangeLog

Patch contributed by Dawid Szyma├▒ski in PR 19896.

Revision / (download) - annotate - [select for diffs] (vendor branch), Mon Mar 26 11:59:15 2001 UTC (22 years, 2 months ago) by hubertf
Branch: TNF
CVS Tags: pkgviews-base, pkgviews, pkgsrc-base, netbsd-1-6-RELEASE-base, netbsd-1-6, netbsd-1-5-PATCH003, netbsd-1-5-PATCH001, buildlink2-base, buildlink2
Changes since +2 -1 lines
Diff to previous (colored)

Add p0f-1.7: passive OS fingerprinting tool

Passive OS fingerprinting technique based on information coming
from remote host when it establishes connection to our system. Captured
packets contains enough information to determine OS - and, unlike
active scanners (nmap, queSO) - without sending anything to this host.

Submitted by in private mail.

Revision / (download) - annotate - [select for diffs] (vendor branch), Mon Mar 26 05:12:56 2001 UTC (22 years, 2 months ago) by zuntum
Branch: TNF
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of p0f-1.7

Passive OS fingerprinting technique based on information coming
from remote host when it establishes connection to our system. Captured
packets contains enough information to determine OS - and, unlike
active scanners (nmap, queSO) - without sending anything to this host.

Package contributed by Dawid Szymanski <> on IRC.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Mar 26 05:12:56 2001 UTC (22 years, 2 months ago) by zuntum
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>