Fwknop version 1.9.11 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    version 1.9.11

      View the most recent changes for the fwknop port at: fwknop.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for fwknop.
      The raw portfile for fwknop 1.9.11 is located here:
      http://fwknop.darwinports.com/dports/net/fwknop/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/fwknop


      The fwknop Portfile 51518 2009-05-27 06:08:53Z blair macports.org $

      PortSystem 1.0
      Name: fwknop
      Version: 1.9.11
      Category: net security
      Maintainers: blair
      Description: 'FireWall KNock OPerator': a port knocker to Linux servers
      Homepage: http://www.cipherdyne.org/fwknop/
      Platform: darwin

      Long Description: fwknop stands for the 'FireWall KNock OPerator', and implements an authorization scheme called Single Packet Authorization (SPA) that is based around Netfilter and libpcap. SPA requires only a single encrypted packet in order to communicate various pieces of information including desired access through a Netfilter policy and/or complete commands to execute on the target system. By using Netfilter to maintain a 'default drop' stance, the main application of this program is to protect services such as OpenSSH with an additional layer of security in order to make the exploitation of vulnerabilities (both 0-day and unpatched code) much more difficult. The authorization server passively monitors authorization packets via libcap and hence there is no 'server' to which to connect in the traditional sense. Access to a protected service is only granted after a valid encrypted and non-replayed packet is monitored. This port installs the client side script that you run to gain access to a Linux box.

      Master Sites: ${homepage}download/

      Checksums: md5 2212debe7242ed6515f250362603280a sha1 ac8de170ea56c083d33caf016e955495dc6ac9b5 rmd160 7dda2459b97bf83ada7cdf487127057c918e18d9

      use_bzip2 yes

      depends_lib port:p5-crypt-cbc port:p5-crypt-rijndael port:p5-digest-sha port:p5-net-ipv4addr port:p5-net-ping-external port:p5-term-readkey port:p5-unix-syslog

      use_configure no
      build {}

      destroot {
      system "cd ${worksrcpath} && ${prefix}/bin/perl -w -p -i -e 's:^#!/usr/bin/perl -w$:#!${prefix}/bin/perl -w:' fwknop"
      system "cd ${worksrcpath} && ${prefix}/bin/perl -w -p -i -e 's:^use lib ./usr/lib/fwknop.;::' fwknop"
      xinstall -m 755 ${worksrcpath}/fwknop ${destroot}${prefix}/bin
      xinstall -m 644 ${worksrcpath}/fwknop.8 ${destroot}${prefix}/share/man/man8
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/fwknop
      % sudo port install fwknop
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching fwknop
      ---> Verifying checksum for fwknop
      ---> Extracting fwknop
      ---> Configuring fwknop
      ---> Building fwknop with target all
      ---> Staging fwknop into destroot
      ---> Installing fwknop
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using fwknop with these commands:
      %  man fwknop
      % apropos fwknop
      % which fwknop
      % locate fwknop

     Where to find more information:

    Darwin Ports



    Lightbox this page.