Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

[ kippo-graph ] does not indicate anything #240

Open
ghost opened this issue Oct 4, 2017 · 0 comments
Open

[ kippo-graph ] does not indicate anything #240

ghost opened this issue Oct 4, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 4, 2017

hi,

i am interested in setting up a honeypot + visual documentation
cowrie-db runs fine
i can log-in (from outside with root) to my cowrie
cowrie log file is written while writing commands

my kippo-graph website is accesible
but kippo-graph container gives me me no log output or other hints...

heres my compose file
am i doing something wrong ?

version: '2'
services:
  cowrie:
    image: wonderfall/cowrie
    container_name: cowrie
    links:                           ### MySQL output
      - cowrie-db:cowrie-db          ### MySQL output
    ports:
      - "2222:2222"
    volumes:
      - /home/ha/configs/.honey/cowrie/dl:/cowrie/dl
      - /home/ha/configs/.honey/cowrie/log:/cowrie/log
      - /home/ha/configs/.honey/cowrie/custom:/custom
      - /home/ha/configs/.honey/cowrie/cowrie.cfg:/cowrie/cowrie.cfg
    environment:
      - GID=1000
      - UID=1000

  cowrie-db:
    image: mariadb:10
    container_name: cowrie-db
    volumes:
      - /home/han/configs/.honey/cowrie/db:/var/lib/mysql
      - /home/han/configs/.honey/cowrie/sql:/docker-entrypoint-initdb.d
    environment:
      - MYSQL_ROOT_PASSWORD=zRG8aowUdnx4
      - MYSQL_DATABASE=cowrie
      - MYSQL_USER=cowrie
      - MYSQL_PASSWORD=5mSyL3AyF46I

  kippo-graph:
    image: wonderfall/kippo-graph
    container_name: kippo-graph
    links:
      - cowrie-db:cowrie-db
    volumes:
      - /home/han/configs/.honey/cowrie/kippo-config.php:/kippo-graph/config.php
      - /home/han/configs/.honey/cowrie/log:/opt/cowrie/log
    environment:
      - VIRTUAL_HOST=honey.ha.xx
      - VIRTUAL_NETWORK=nginx-proxy
      - VIRTUAL_PORT=8888
      - LETSENCRYPT_HOST=honey.ha.xx
      - LETSENCRYPT_EMAIL=mail@ha.xx
      - GID=1000
      - UID=1000
    networks:
      - proxy-tier
    restart: always

networks:
  proxy-tier:
    external:
      name: nginx-proxy

docker logs cowrie-db
2017-10-04 20:19:52 140123912222592 [Note] mysqld (mysqld 10.2.9-MariaDB-10.2.9+maria~jessie) starting as process 1 ...
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: Uses event mutexes
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: Compressed tables use zlib 1.2.8
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: Using Linux native AIO
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: Number of pools: 1
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: Using SSE2 crc32 instructions
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: Completed initialization of buffer pool
2017-10-04 20:19:52 140123166783232 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: Highest supported file format is Barracuda.
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: 128 out of 128 rollback segments are active.
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: Creating shared tablespace for temporary tables
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2017-10-04 20:19:52 140123912222592 [Note] InnoDB: 5.7.19 started; log sequence number 1620043
2017-10-04 20:19:52 140122871805696 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2017-10-04 20:19:52 140122871805696 [Note] InnoDB: Buffer pool(s) load completed at 171004 20:19:52
2017-10-04 20:19:52 140123912222592 [Note] Plugin 'FEEDBACK' is disabled.
2017-10-04 20:19:52 140123912222592 [Note] Server socket created on IP: '::'.
2017-10-04 20:19:52 140123912222592 [Warning] 'proxies_priv' entry '@% root@dfea21ae926e' ignored in --skip-name-resolve mode.
2017-10-04 20:19:52 140123912222592 [Note] Reading of all Master_info entries succeded
2017-10-04 20:19:52 140123912222592 [Note] Added new Master_info '' to hash table
2017-10-04 20:19:52 140123912222592 [Note] mysqld: ready for connections.
Version: '10.2.9-MariaDB-10.2.9+maria~jessie'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants