Creative Commons Licence

HoneyTrap

  • About
  • Manuals
  • Community
  • GitHub

What's on this Page

    • Requirements
    • Build and install package
      • Step 1. Clone the repository and copy the directory to the ports collection.
      • Step 2. Compile the packages
      • Step 3. Copy the compiled packages to a pfSense machine
      • Step 4. On the pfSense machine install the packages.
    • Configuration

Install HoneyTrap on pfSense

How to install HoneyTrap on pfSense.

Requirements

  • A FreeBSD machine for building the package. Check pfSense docs to find out which version of FreeBSD you need.
  • git must be installed on the FreeBSD machine
  • The ports collection must be present on the FreeBSD machine. If it isn’t check Ports collection on the FreeBSD guide

Build and install package

All of the following steps except the fourth must be done on the FreeBSD machine.

Step 1. Clone the repository and copy the directory to the ports collection.

git clone https://github.com/honeytrap/honeytrap-pfsense-plugin.git
cp -R honeytrap-pfsense-plugin/pfSense-pkg-HoneyTrap /usr/ports/security

Step 2. Compile the packages

Setting NO_DEPENDS tells make not to install dependencies while building. Otherwise HoneyTrap would be installed on the FreeBSD machine as well.

make -C /usr/ports/security/honeytrap NO_DEPENDS=yes package
make -C /usr/ports/security/pfSense-pkg-HoneyTrap NO_DEPENDS=yes package

Step 3. Copy the compiled packages to a pfSense machine

scp /usr/ports/security/honeytrap/work/pkg/honeytrap-*.txz root@example:~
scp /usr/ports/security/pfSense-pkg-HoneyTrap/work/pkg/pfSense-pkg-HoneyTrap-*.txz root@example:~

Step 4. On the pfSense machine install the packages.

HoneyTrap will be installed along with the pfSense package if both are in the same location.

pkg add pfSense-pkg-HoneyTrap-*.txz

Configuration

  1. Enable the HoneyTrap service. When checked the service is started automatically.
  2. Keep HoneyTrap configuration and related files when the package is installed, updated or deinstalled. When unchecked only the log files are kept.
  3. Check this when you want to run the service as root. You should only do this when necessary, for example when you want to use ports in the range 1-1024.
  4. When enabled all lines are removed from the service log file before is starts.
  5. The path to the HoneyTrap config file. The file must be present on the system.
  6. Button to start HoneyTrap manually. If HoneyTrap is already running the button is replaced with a button to restart and one to stop it.
  7. Configuration page for the plugin.
  8. An overview of service statuses.
  9. Page to view the output of the HoneyTrap service
  10. Link to pfSense documentation.

See Also

  • Create a HoneyTrap Docker local Playground
  • Install HoneyTrap on FreeBSD
  • Install HoneyTrap on a RaspberryPi
  • About HoneyTrap
    • What is HoneyTrap
    • A Quick Start
    • About DTACT
    • License
  • Listeners
    • About Listeners
    • Agent
    • Netstack
    • Socket
    • Tap
    • Tun
  • Events
    • About Events
    • Heartbeat
  • Filters
    • Filter Configuration
  • Channels
    • About Channels
    • Console
    • DShield
    • Elastic search
    • Lumberjack
    • File
    • Kafka
    • Marija
    • Pulsar
    • RabbitMQ
    • Raven
    • Slack
    • Splunk
  • Services
    • About Services
    • Android Debug Bridge
    • Counterstrike
    • Cwmp tr-069
    • DNS Proxy
    • DNS
    • Echo
    • Elasticsearch
    • EOS
    • Ethereum
    • FTP
    • HTTP-Proxy
    • HTTP
    • HTTPS
    • IPP
    • LDAP
    • Memcached
    • Redis
    • SMTP
    • SSH-Authentication
    • SSH-Jail
    • SSH-Proxy
    • SSH-Simulator
    • Telnet
    • TFTP
    • VNC
  • Directors
    • About Directors
    • Forward director
    • LXC Container director
  • Logging
    • Logging configuration
  • Manuals
    • The Configuration File
    • The HoneyTrap local Playground
    • HoneyTrap on a RaspberryPi
    • HoneyTrap on FreeBSD
    • HoneyTrap on pfSense
    • Simulate a webserver
    • The socket listener
  • Contribute
    • Contribute to HoneyTrap
    • Contribute to the documentation
  • Contact
    • Contact us
“Install HoneyTrap on pfSense” was last updated: June 11, 2020
Improve this page
 

HoneyTrap is actively maintained by DTACT

|  This work is licensed under a Creative Commons Attribution 4.0 International License 2021.