DinoTools / dionaea

Home of the dionaea honeypot
https://dionaea.readthedocs.io/
GNU General Public License v2.0
705 stars 182 forks source link

Dockerfile personalization fails #342

Open alchici opened 12 months ago

alchici commented 12 months ago
ISSUE TYPE
DIONAEA VERSION
0.11.0
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

I am running this Dockerfile:

FROM dinotools/dionaea:sha-4e459f1b
COPY conf/ftp.yaml /opt/dionaea/etc/dionaea/services-enabled/

And I get this error:

template/lib' -> 'var/lib'
'template/lib/dionaea' -> 'var/lib/dionaea'
'template/lib/dionaea/binaries' -> 'var/lib/dionaea/binaries'
'template/lib/dionaea/bistreams' -> 'var/lib/dionaea/bistreams'
'template/lib/dionaea/fail2ban' -> 'var/lib/dionaea/fail2ban'
'template/lib/dionaea/ftp' -> 'var/lib/dionaea/ftp'
'template/lib/dionaea/ftp/root' -> 'var/lib/dionaea/ftp/root'
'template/lib/dionaea/http' -> 'var/lib/dionaea/http'
'template/lib/dionaea/http/root' -> 'var/lib/dionaea/http/root'
'template/lib/dionaea/http/template' -> 'var/lib/dionaea/http/template'
'template/lib/dionaea/http/template/example' -> 'var/lib/dionaea/http/template/example'
'template/lib/dionaea/http/template/example/form.html.j2' -> 'var/lib/dionaea/http/template/example/form.html.j2'
'template/lib/dionaea/http/template/nginx' -> 'var/lib/dionaea/http/template/nginx'
'template/lib/dionaea/http/template/nginx/autoindex.html.j2' -> 'var/lib/dionaea/http/template/nginx/autoindex.html.j2'
'template/lib/dionaea/http/template/nginx/error.html.j2' -> 'var/lib/dionaea/http/template/nginx/error.html.j2'
'template/lib/dionaea/printer' -> 'var/lib/dionaea/printer'
'template/lib/dionaea/printer/root' -> 'var/lib/dionaea/printer/root'
'template/lib/dionaea/printer/root/0' -> 'var/lib/dionaea/printer/root/0'
'template/lib/dionaea/sip' -> 'var/lib/dionaea/sip'
'template/lib/dionaea/sip/rtp' -> 'var/lib/dionaea/sip/rtp'
'template/lib/dionaea/tftp' -> 'var/lib/dionaea/tftp'
'template/lib/dionaea/tftp/root' -> 'var/lib/dionaea/tftp/root'
'template/lib/dionaea/upnp' -> 'var/lib/dionaea/upnp'
'template/lib/dionaea/upnp/root' -> 'var/lib/dionaea/upnp/root'
'template/log' -> 'var/log'
'template/log/dionaea' -> 'var/log/dionaea'
Starting dionaea ...

Dionaea Version 0.11.0 
Compiled on Linux/x86_64 at Feb  8 2021 05:50:05 with gcc 7.5.0 
Started on d78b59aee0cc running Linux/x86_64 release 6.2.0-36-generic

[02112023 06:11:24] dionaea /code/src/dionaea.c:535: Could not read config file

The ftp.yaml file is:

# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0

- name: ftp
  config:
    root: "@DIONAEA_STATEDIR@/ftp/root"
    response_messages:
      welcome_msg: 220 DiskStation FTP server ready.
welcome[bot] commented 12 months ago

Thanks for opening your first issue here! Be sure to follow the issue template!