81 Commits

Author SHA1 Message Date
80b91d565c add force-stop option 2017-10-01 07:46:36 +00:00
97566e8d94 Implemented a restart command (#592) 2017-09-21 22:22:34 +04:00
5d933240ed playlog Python3 compatible 2017-07-03 11:42:38 +00:00
d52886098e asciinema python3 compatible 2017-07-03 11:40:21 +00:00
7fac536b6a Fix #545 2017-07-03 10:20:34 +00:00
dc08cbb6c7 handle undefined variables 2017-07-01 19:33:45 +02:00
2670dd4852 add support for logging to stdout for Docker 2017-07-01 19:31:26 +02:00
978b036de2 apply cowrie arguments to twisted executable 2017-06-10 16:12:27 +04:00
3ee979e24a bin/cowrie now takes additional arguments 2017-05-16 22:12:29 +04:00
77f629c0bf Add support for cowrie args in start script (#504)
* Add support for args for cowrie.

* Print the extra arguments on start.
2017-05-09 13:41:36 +04:00
aa80ecd491 update help for command 2017-05-08 13:42:47 +04:00
210146c246 Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2017-05-08 13:39:05 +04:00
821c14093d logic around pid file mgmt for status command 2017-04-29 19:26:04 +04:00
5ee61e2d1c update stop command for stale pid 2017-04-20 21:46:22 +04:00
28dfaa3369 Update cowrie (#494)
Calling by default activate_venv forces the use of virtual environments on everyone.
If one does not use virtual environments, the systemd service script will fail giving a reason that has nothing to do with this.

I have noticed this problem when i have replaced the systemd service script to deprecate the use of start/stop scripts.

The use of a conditional statements solves this for me.

While investigating this issue, I have also noticed the folllwing:

1-there are two pid files declared:
PIDFILE in cowrie
PIDFile in service.cowrie

2-if you run "bin/cowrie start" as the cowrie user and then you run "service cowrie stop" as root, the execstop command will not be run (this could be the normal behaviour of systemd though).
2017-04-10 07:39:41 +04:00
5eb5ec452b Fix a bug in a portable relative paths resolver (#483)
It turns out that this `|` was a typo. (See https://unix.stackexchange.com/questions/24293/converting-relative-path-to-absolute-path/24342?noredirect=1#comment623203_24342)
2017-03-16 21:45:57 -07:00
19d4fc782a add $DAEMONIZE parameter again 2017-03-15 04:44:16 +00:00
a1bf057a71 Use ${PIDFILE} instead of cowrie.pid when using authbind (#479)
Fixes #477
2017-03-14 13:22:10 -07:00
55105582cb more changes to start/stop 2017-03-07 19:17:30 +00:00
d6b9115ba7 cowrie script needs to be bash 2016-12-11 15:05:00 +04:00
88c84e89c0 usage message in function 2016-10-30 10:06:04 +04:00
ba8bf3e552 new script to start/stop 2016-10-27 17:27:29 +04:00
48c9f092e3 Fix #319 2016-10-27 04:44:17 +00:00
ec457b18d4 change file() statement to open() 2016-10-23 14:34:32 +00:00
4075e55c3d python3 compat 2016-09-18 21:25:50 +00:00
d6c6d7a788 python 3 compatible. maxdepht = 100 by default 2016-09-18 21:19:49 +00:00
4b9b86356f Fix #219 2016-09-05 23:09:49 +04:00
a56101f325 fixed do_chgrp in fsctl so it changes GID instead of UID (#220)
This bug was probably a result of copied code from do_chown
2016-08-11 13:04:58 +03:00
b155ddbe15 update docs 2016-07-14 07:04:12 +00:00
cd62bfe191 Fix Uploads to asciinema server. (#207)
Thanks!
2016-07-09 17:06:31 +04:00
44c22a2110 rename utils and to bin. move docs to doc. 2016-04-28 14:44:40 +04:00