Commit Graph

2059 Commits

Author SHA1 Message Date
1158a1a55e now use both cowrie.cfg.dist and cowrie.cfg 2017-05-17 16:28:13 +04:00
978ad31541 prep config file for new system 2017-05-16 22:18:34 +04:00
3ee979e24a bin/cowrie now takes additional arguments 2017-05-16 22:12:29 +04:00
7682586c59 add basic ulimit command 2017-05-09 17:48:40 +04:00
f6330bb431 add IPv6 instruction to config file
remove stop/start
2017-05-09 17:29:58 +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
7cceaed1c4 update gitignore 2017-05-08 13:42:05 +04:00
210146c246 Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2017-05-08 13:39:05 +04:00
9822e7156c update gitignore with new path of key files 2017-05-04 15:44:40 +00:00
68c4952491 file()->open() for Py3 compatibility 2017-05-04 15:42:40 +00:00
9314a50f37 file->open() for py3 compatibility 2017-05-04 15:41:15 +00:00
ffadcd4be6 remove file() usage for Py3 compatibility 2017-05-04 03:56:51 +00:00
4bb2f37835 Open safeoutfile in binary mode (#502) 2017-05-02 13:53:53 +04:00
22aadd2de8 update ignore with moved files 2017-04-30 12:42:00 +00:00
a52592ce89 update changelog, modify cfg.dist with syntax 2017-04-30 12:40:25 +00:00
5b5545924a Use twisted endpoints for listening on ports/addresses (#499)
* Use twisted endpoints for listening on ports/addresses

* Add examples of endpoints
2017-04-30 16:30:59 +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
f21ecf6e24 start->stop 2017-04-20 21:31:41 +04:00
dcabed5e6e Added 'socketlog' output plugin for writing to a socket. (#496) 2017-04-13 18:16: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
cba7b27189 Update cowrie.service (#495) 2017-04-10 07:38:40 +04:00
fe5c003c30 Fix #487 2017-03-21 14:44:51 +00:00
3ca23b67e6 Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2017-03-19 18:44:54 +04:00
0d3c752f1e ip field in MySQL may contain hostname (#486)
* Update mysql.sql

IP field may contain hostname

* Create update11.sql
2017-03-18 10:28:49 -07: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
3bf182224b remove 'port' parameter, no longer makes sense since we also run telnet 2017-03-16 17:47:50 +04:00
73aa3dfc86 Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2017-03-16 10:58:19 +04:00
5133c0e99d update ssh config 2017-03-16 10:57:53 +04:00
56da64d593 Fix quotes stripping (#480)
* Fix quotes stripping

* Update 'echo' tests

* Revert "Update 'echo' tests"

This reverts commit 88577794b1.
2017-03-15 23:43:35 -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
dd6034a95c bytes 2017-03-12 16:37:15 +04:00
dbf7d62b02 change prompt from string()->bytes() 2017-03-12 16:27:19 +04:00
d334ae6de1 deprecated warning 2017-03-07 19:19:30 +00:00
55105582cb more changes to start/stop 2017-03-07 19:17:30 +00:00
8f34dd768f describe new start method 2017-03-07 19:12:02 +00:00
199cc79fbe turn idle timeout into time-based timeout 2017-03-07 10:52:31 +04:00
34de2905e3 remove extra connection lost message 2017-03-07 10:49:41 +04:00
bc72aa8017 build on travis with python 3.6 for bytes.format support 2017-03-06 12:39:47 +00:00
9010c33672 more Py2->Py3 2017-03-06 03:26:09 +00:00
bf2e2ab6d0 start string conversion for py3 2017-03-06 03:19:36 +00:00
c5b22cbfcd gracefully fail when command fails to load 2017-03-05 22:33:10 +00:00
33f9d7fe70 py3 style exceptions 2017-03-05 22:05:54 +00:00
2bb8523e69 py3 syntax for exception 2017-03-05 22:03:30 +00:00
2e56ec5ea7 let's give Py3 a try again 2017-03-05 21:51:55 +00:00
807f457829 virtualenv -> python-virtualenv 2017-03-05 20:24:25 +00:00
ce2b08bbae remove double #3, add authbind dependency 2017-03-05 20:21:32 +00:00
db5100f837 Squashed commit of the following:
commit 9593db4dfe
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sat Feb 18 15:58:55 2017 +0000

    ttylog switch implementation

commit 50c1e3d425
Author: Michel Oosterhof <michel@oosterhof.net>
Date:   Sat Feb 18 15:50:00 2017 +0000

    update cowrie.cfg.dist
2017-03-05 20:12:39 +00:00