Commit Graph

9 Commits

Author SHA1 Message Date
Michel Oosterhof 63930fbd46 tty logs in state directory 2018-08-25 03:08:54 +04:00
Florian Pelgrim be3a7235a5 Small config changes (#845)
* Adding /etc/cowrie/cowrie.cfg to possible configurations

We want also to look for /etc/cowrie/cowrie.cfg as a possible
configuration.

* Write ssh host keys into /var/lib/cowrie

Dynamical data should be written into /var/lib/cowrie.
I know that OpenSSH is doing this but we are not OpenSSH and we should
have only stuff written below /var.
So /var/log/cowrie and /var/lib/cowrie.

* Moving log and dl below var/, cleanup old folders

This helps keeping the writes of the daemon in one place and makes it
easier later when building a cowrie package.

Old paths have been removed from the repository to keep it clean.

* Fixing wrong log path

Path should be var/log/cowrie not var/log

* Fixing json output

The json output was not configured to use the default log path. This has
been fixed now.

* Change order of config reads

According to @micheloosterhof there is an order of precedence here.
2018-08-25 03:02:56 +04:00
Michel Oosterhof 15bc61e519 reference log_path instead of directory name 2018-08-11 22:18:18 +04:00
Michel Oosterhof 07594c4add split readonly/readwrite, as suggested by @craneworks 2018-08-11 22:15:33 +04:00
Michel Oosterhof 48adc3160a doc/ -> docs/ 2018-07-20 22:12:30 +04:00
Michel Oosterhof b584287e3a .dist file goes to etc/ 2018-07-20 14:39:49 +04:00
Michel Oosterhof bd85817f2d Revert "move cfg.dist file"
This reverts commit 77d2744403.
2016-11-14 09:24:34 +04:00
Michel Oosterhof 77d2744403 move cfg.dist file 2016-11-14 09:19:15 +04:00
Michel Oosterhof e3d3891d29 Add etc/ and var/ directory structure for future use 2016-10-24 14:53:43 +04:00