HoneyPot

OpenCanary

Installation

fast installation:

apt update
apt full-upgrade -y

apt install -y \
  python3 \
  python3-dev \
  python3-pip \
  python3-venv \
  libssl-dev \
  libpcap-dev

install -d -m 0755 -o root -g root /opt/opencanary

python3 -m venv /opt/opencanary/venv

/opt/opencanary/venv/bin/python -m pip install --upgrade \
  pip \
  setuptools \
  wheel

/opt/opencanary/venv/bin/python -m pip install \
  "opencanary==0.9.9"

PATH="/opt/opencanary/venv/bin:$PATH" \
  /opt/opencanary/venv/bin/opencanaryd --copyconfig

chown root:root /etc/opencanaryd/opencanary.conf
chmod 0600 /etc/opencanaryd/opencanary.conf

stat /etc/opencanaryd/opencanary.conf

cp --preserve=all \
  /etc/opencanaryd/opencanary.conf \
  /etc/opencanaryd/opencanary.conf.original

nano /etc/opencanaryd/opencanary.conf

PATH="/opt/opencanary/venv/bin:$PATH" \
/opt/opencanary/venv/bin/opencanaryd --dev