Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMPP output plugin #1639

Open
danst0 opened this issue Oct 14, 2021 · 1 comment
Open

XMPP output plugin #1639

danst0 opened this issue Oct 14, 2021 · 1 comment

Comments

@danst0
Copy link

danst0 commented Oct 14, 2021

Starting the Docker-compose I get the following error.
Anyone successfully using this?

Daniel

Attaching to cowrie_cowrie_1

cowrie_1  |
cowrie_1  | Join the Cowrie community at: https://www.cowrie.org/slack/
cowrie_1  |
cowrie_1  | Using default Python virtual environment "..//cowrie/cowrie-env"
cowrie_1  | Starting cowrie: [twistd  --umask=0022 --pidfile= -n -l - cowrie -n]...
cowrie_1  | "Failed to load output engine: xmpp due to ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown location)"
cowrie_1  | 2021-10-14T08:21:12+0000 [-] Unable to write to plugin cache /cowrie/cowrie-env/lib/python3.9/site-packages/twisted/plugins/dropin.cache: error number 13
cowrie_1  | 2021-10-14T08:21:12+0000 [-] Unable to write to plugin cache /cowrie/cowrie-git/src/twisted/plugins/dropin.cache: error number 13
cowrie_1  | 2021-10-14T08:21:12+0000 [-] Python Version 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
cowrie_1  | 2021-10-14T08:21:12+0000 [-] Twisted Version 21.7.0
cowrie_1  | 2021-10-14T08:21:12+0000 [-] Cowrie Version 2.2.0
cowrie_1  | 2021-10-14T08:21:12+0000 [-] "Failed to load output engine: xmpp due to ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown location)"
cowrie_1  | 2021-10-14T08:21:12+0000 [-] Please install the dependencies for xmpp listed in requirements-output.txt
cowrie_1  | 2021-10-14T08:21:12+0000 [-] Loaded output engine: jsonlog
cowrie_1  | 2021-10-14T08:21:12+0000 [twisted.scripts._twistd_unix.UnixAppLogger#info] twistd 21.7.0 (/cowrie/cowrie-env/bin/python3 3.9.2) starting up.
cowrie_1  | 2021-10-14T08:21:12+0000 [twisted.scripts._twistd_unix.UnixAppLogger#info] reactor class: twisted.internet.epollreactor.EPollReactor.
cowrie_1  | 2021-10-14T08:21:12+0000 [-] CowrieSSHFactory starting on 2222

These are the related config sections:

# ============================================================================
# Database logging Specific Options
# ============================================================================

# XMPP Logging
# Log to an xmpp server.
#
[database_xmpp]
#server = sensors.carnivore.it
server = server.de
user = otheruser@server.de
password = password
muc = user@server.de
signal_createsession = cowrie-events
signal_connectionlost = cowrie-events
signal_loginfailed = cowrie-events
signal_loginsucceeded = cowrie-events
signal_command = cowrie-events
signal_clientversion = cowrie-events
debug=true


[output_xmpp]
enabled=true
server = server.de
user = otheruser@server.de
password = password
muc = user@server.de
@micheloosterhof micheloosterhof changed the title Docker-compose XMPP output XMPP output plugin Oct 14, 2021
@micheloosterhof
Copy link
Member

micheloosterhof commented Oct 14, 2021

You're running into: ralphm/wokkel#31
Waiting for fix here: ralphm/wokkel#32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants