Commit Graph

8 Commits

Author SHA1 Message Date
Guilherme Borges aeba97b4cc
Add a pool of backends for the proxy (#1181)
* add pool configs

* add pool interface from proxy branch

* add support for pool initialisation in plugin

* add pool to telnet

* backend pool as service

* move libvirt backend to own dir

* add NAT settings

* add guest backend config

* check for telnet in nmap if ssh is disabled

* add pool periodic cleanup

* add developer guide for backend pool

* add proxy documentation

* add backend pool docs

* docs on XML configs

* add method to check guest connectivity

* add telnet exec class

* update circle deps

* add tox libvirt dep
2019-08-26 12:11:58 +01:00
Michel Oosterhof e681fe7c97 updated gitignores to ignore state files 2018-08-25 03:12:25 +04:00
Michel Oosterhof de4d6687e1 add gitinore for tty logs 2018-08-25 03:08:29 +04:00
Michel Oosterhof 3dad8374ee add .gitignore file for log directory 2018-08-25 03:07:00 +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 94349fd7a9 ignore auth_random.json 2018-06-28 15:42:52 +04:00
Michel Oosterhof 75e7e33e0a add var/lib/cowrie for state information 2018-06-28 15:28:08 +04:00
Michel Oosterhof e3d3891d29 Add etc/ and var/ directory structure for future use 2016-10-24 14:53:43 +04:00