[Lunar-commits] CVS: moonbase/security/p0f BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1 PRE_BUILD, NONE, 1.1

Jaime Buffery nestu at lunar-linux.org
Tue Feb 17 01:09:00 GMT 2004


Update of /var/cvs/lunar/moonbase/security/p0f
In directory dbguin.lunar-linux.org:/tmp/cvs-serv14450/p0f

Added Files:
	BUILD DEPENDS DETAILS PRE_BUILD 
Log Message:
Adding Striker's module ;) 


--- NEW FILE: BUILD ---
(

  sedit 's#.*@echo.*##g' mk/Linux					&&
  sedit 's# -I/usr/include/pcap -I/usr/local/include/pcap##g' mk/Linux	&&
  sedit 's#<net/bpf\.h>#<pcap-bpf.h>#g' p0f.c				&&

  make -f mk/Linux							&&

  gzip -9 p0f.1								&&
  prepare_install							&&
  mkdir -p /etc/p0f

  install --mode=644 p0f.1.gz /usr/man/man1/
  install --mode=644 *.fp /etc/p0f/
  install --mode=755 p0f /usr/bin/
  install --mode=755 p0frep /usr/bin/

) > $C_FIFO 2>&1


--- NEW FILE: DEPENDS ---
depends libpcap

--- NEW FILE: DETAILS ---
          MODULE=p0f
         VERSION=2.0.3
          SOURCE=$MODULE.tgz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
   SOURCE_URL=http://lcamtuf.coredump.cx/$SOURCE
   SOURCE_VFY=md5:583688a4c5718eec0bb34102b3ac457b
        WEB_SITE=http://lcamtuf.coredump.cx/p0f.shtml
         ENTERED=20040216
         UPDATED=20040216
           SHORT="p0f v2 is a versatile passive OS fingerprinting tool."
cat << EOF
P0f v2 is a versatile passive OS fingerprinting tool. P0f can identify the system on:

   - machines that connect to your box (SYN mode),
   - machines you connect to (SYN+ACK mode),
   - machine you cannot connect to (RST+ mode),
   - machines that talk thru or near your box.

But checking the system is not all we can do, p0f will also check the following:

   - masquerading and firewall presence (useful for policy enforcement),
   - the distance to the remote system and its uptime,
   - other guy's network hookup (DSL, OC3, avian carriers) and his ISP. 
EOF

--- NEW FILE: PRE_BUILD ---
#
# Attempt to catch weird bug with missing headers for libpcap
#
# Old header is at /usr/include/net/bpf.h
# we need /usr/include/pcap-bpf.h instead
#
# Require libpcap 0.8.1 or higher...
#

# BEGIN EVIL HACK
VER_PCAP=`lvu installed libpcap|tr -d .|sed -e 's/^0*//g'`

if [[ $VER_PCAP -lt 81 ]]; then
  # Well crap, old version...gotta upgrade
  lin -c libpcap
fi
# END EVIL HACK
default_pre_build



More information about the Lunar-commits mailing list