---
name: portsentry
version: 1.2
origin: security/portsentry
comment: Port scan detection and active defense
arch: freebsd:9:x86:64
www: UNKNOWN
maintainer: gjb@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 71446
desc: "PortSentry is part of the Abacus Project suite of security tools. \nIt is a
  program designed to detect and respond to port scans against \na target host in
  real-time. There are other port scan detectors that \nperform similar detection
  of scans, but PortSentry has some unique \nfeatures that may make it worth looking
  into.\n"
categories: [security]
files:
  /usr/local/bin/portsentry: 74b97c4d8c97b8a21442ccbdd435861e259284acd2df729231f8f41cea64df16
  /usr/local/etc/portsentry.conf.default: 0d42984419aa5893482b26af4c294e17a67d456440ccd74b515be06defe8d860
  /usr/local/etc/portsentry.ignore.default: 8e0de96ad3e447c7906b6ea7375a30a223ffc4bff8e015e1a879b39a1e30c3dd
  /usr/local/etc/rc.d/portsentry.sh: 24781778b200c68f5fd053b0bc964c1a5e5937c5364e1f1dfe8a73750010d8b9
  /usr/local/share/doc/portsentry/README.install: 92bec4a61b90e2a76ec91839c2d2fa64ccda61412a839e0a0d67f13a3802c24c
  /usr/local/share/doc/portsentry/README.methods: d4d52bfb6e5d7ad18c54e48aef24814e4f53ad3dfcbd25fbaa09351aa1edf537
  /usr/local/share/doc/portsentry/README.stealth: 2de7a6d0e87e0b5f4d8651cdf7188619852e5a7a7112a11223c4924d59334ad8
directories:
  /usr/local/share/doc/portsentry/: n
scripts:
  post-install: |
    if [ ! -f /usr/local/etc/portsentry.conf ] ; then cp -p /usr/local/etc/portsentry.conf /usr/local/etc/portsentry.conf ; fi
    if [ ! -f /usr/local/etc/portsentry.ignore ] ; then cp -p /usr/local/etc/portsentry.ignore /usr/local/etc/portsentry.ignore ; fi
  pre-deinstall: |
    if cmp -s /usr/local/etc/portsentry.conf /usr/local/etc/portsentry.conf.default; then rm -f /usr/local/etc/portsentry.conf; fi
    if cmp -s /usr/local/etc/portsentry.ignore /usr/local/etc/portsentry.ignore.default; then rm -f /usr/local/etc/portsentry.ignore; fi
message: |2+


         Edit ${PREFIX}/etc/portsentry.conf and change
         your settings if you haven't already. (route, etc)

         ***************************************************
         * IGNORE stealth mode.  It is for Linux only.     *
         * The author hopes to have a platform independent *
         * version at some time.  So don't even bother     *
         * trying it now.                                  *
         ***************************************************

