---
name: knock
version: 0.5_1,1
origin: security/knock
comment: Flexible port-knocking server and client
arch: freebsd:9:x86:64
www: http://www.zeroflux.org/projects/knock
maintainer: sbz@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [GPLv2]
flatsize: 66507
desc: |
  knockd is a port-knock server. It listens to all traffic on an ethernet
  (or PPP) interface, looking for special "knock" sequences of port-hits.

  A client makes these port-hits by sending a TCP (or UDP) packet to a
  port on the server. This port need not be open -- since knockd listens
  at the link-layer level, it sees all traffic even if it's destined for
  a closed port. When the server detects a specific sequence of port-hits
  port-hits, it runs a command defined in its configuration file. This
  can be used to open up holes in a firewall for quick access.

  WWW: http://www.zeroflux.org/projects/knock
categories: [security]
options: {CLIENT: on, SERVER: on}
files:
  /usr/local/bin/knock: 894541e6cb8d6431a021eadb079502b888cece6e0b9cd1f4267d3691c0a861c6
  /usr/local/bin/knockd: 1c7a5c599bb65ebf685e3f5cdcfe33dcf2906745a62d6db77c9e6114f0180629
  /usr/local/etc/knockd.conf.sample: e5dc5450046b7009da4dd414171c56bc2bd402f30c7508b6f8c45c767c2b4235
  /usr/local/etc/rc.d/knockd: a12a2ddaf437892da6a871f8fd6b774d761e94ae0849c44adfd31d4b5dd048c9
  /usr/local/man/man1/knock.1.gz: d6f217196bde20212100ef143b7f748d38175caa0d99e011986933ae1abbbec4
  /usr/local/man/man1/knockd.1.gz: 6a81a13ed4bc1004d3ae7e2132d10aed7c425ce693bff1e9fe2db589092a5e72
  /usr/local/share/licenses/knock-0.5_1,1/GPLv2: ed388a76814851ee0733999b04fadc84d626fef467198f44a22beb4e5358c6e3
  /usr/local/share/licenses/knock-0.5_1,1/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/knock-0.5_1,1/catalog.mk: 60af172903d33b29bb1becf1ff49b662dceabac1a4f48cba950bc45cc76883ae
directories:
  /usr/local/share/licenses/knock-0.5_1,1/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
