diff --git a/docker/honeypy/Dockerfile b/docker/honeypy/Dockerfile index d3d7049c..762fceae 100644 --- a/docker/honeypy/Dockerfile +++ b/docker/honeypy/Dockerfile @@ -4,7 +4,7 @@ FROM alpine ADD dist/ /root/dist/ # Install packages -RUN sed -i 's/dl-cdn/dl-4/g' /etc/apk/repositories && \ +RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \ apk -U --no-cache add \ build-base \ git \ @@ -28,6 +28,7 @@ RUN sed -i 's/dl-cdn/dl-4/g' /etc/apk/repositories && \ sed -i 's/event/event_type/g' /opt/honeypy/loggers/file/honeypy_file.py && \ sed -i 's/bytes/size/g' /opt/honeypy/loggers/file/honeypy_file.py && \ sed -i 's/date_time/timestamp/g' /opt/honeypy/loggers/file/honeypy_file.py && \ + sed -i 's/data,/data.decode("hex"),/g' /opt/honeypy/loggers/file/honeypy_file.py && \ virtualenv env && \ cp /root/dist/services.cfg /opt/honeypy/etc && \ cp /root/dist/honeypy.cfg /opt/honeypy/etc && \ diff --git a/docker/honeypy/dist/honeypy.cfg b/docker/honeypy/dist/honeypy.cfg index 4e6be226..a063451f 100644 --- a/docker/honeypy/dist/honeypy.cfg +++ b/docker/honeypy/dist/honeypy.cfg @@ -13,6 +13,13 @@ nodename = honeypy #enabling this will disable the use of service.cfg, which will not be processed #service_profiles = services.databases.profile, services.linux.profile +# Limit internal log files to a single day. Useful for deployments with limited disk space. +limit_internal_logs = No + +# Directory for internal HoneyPy logs (not external loggers). +# Use leading slash for absolute path, or omit for relative path +internal_log_dir = log/ + # Tweet events on Twitter. Having a dedicated Twitter account for this purpose is recommended. # You will need to Twitter API credentials for this to work. See https://dev.twitter.com/oauth/application-only [twitter] @@ -98,3 +105,13 @@ routing_key = [file] enabled = Yes filename = log/json.log + +[hpfeeds] +enabled = No +persistent = Yes +server = 127.0.0.1 +port = 20000 +ident = ident +secret = secret +channel = channel +serverid = id