cowrie/docs/systemd
Michel Oosterhof 4e3e1313c0
open 2223 by default. remote superfluous bin/cowrie editing (#1059)
2019-03-15 21:00:02 +04:00
..
etc open 2223 by default. remote superfluous bin/cowrie editing (#1059) 2019-03-15 21:00:02 +04:00
README.rst open 2223 by default. remote superfluous bin/cowrie editing (#1059) 2019-03-15 21:00:02 +04:00

README.rst

Automatically starting Cowrie with systemd
###########################################

NOTE: untested

* Copy the file `docs/systemd/system/cowrie.socket` to `/etc/systemd/system`

* Copy the file `docs/systemd/system/cowrie.service` to `/etc/systemd/system`

* Examine `/etc/systemd/system/cowrie.server` and ensure the paths are correct for your installation if you use non-standard file system locations.

* Add entries to `etc/cowrie.cfg` to listen on ports via systemd. These must match your cowrie.socket configuration:

    [ssh]
    listen_endpoints = systemd:domain=INET6:index=0

    [telnet]
    listen_endpoints = systemd:domain=INET6:index=1

* Run:

    sudo systemctl start cowrie.socket
    sudo systemctl enable cowrie.socket