Bug#925102: x2gobroker: RuntimeError when run as WSGI process f rom apache

2019-03-19 Thread Linnea Skogtvedt
Package: x2gobroker Version: 0.0.4.0-3 Approximately half the time, wget -O - http://127.0.0.1/x2gobroker/ yields a 500 Internal Server Error. /var/log/x2gobroker/wsgi.log shows the following: > wsgilog.log: Mon, 18 Mar 2019 16:01:12 ERROR Server got itself in trouble > Traceback (most recent

Bug#922458: python3-x2gobroker: base_broker does not log IP of authentication attempts

2019-02-16 Thread Linnea Skogtvedt
Package: python3-x2gobroker Version: 0.0.4.0-3 x2gobroker.brokers.base_broker.X2GoBroker.check_access does not log authentication attempts together with IP (and username), and thus can't be used together with e.g. fail2ban. I have attached a patch which adds this logging. diff --git

Bug#922042: Acknowledgement (x2gobroker: traceback when run as WSGI process from apache)

2019-02-15 Thread Linnea Skogtvedt
This issue appears to have been caused by this commit: https://code.x2go.org/gitweb?p=x2gobroker.git;a=commit;h=f9dd59dd656019f593d37d234a2859cc17696061 This is supported by the fact that I could work around the bug by adding in the deleted code in a wsgi wrapper script as follows: # cat

Bug#922314: python3-x2gobroker: insecure default SSH host key policy

2019-02-14 Thread Linnea Skogtvedt
Package: python3-x2gobroker Version: 0.0.4.0-3 The x2gobroker/agent.py source file contains the following lines in the _call_remote_broker_agent function: elif 'host_key_policy' not in remote_agent: remote_agent['host_key_policy'] = paramiko.WarningPolicy() This overrides the paramiko

Bug#922042: x2gobroker: traceback when run as WSGI process from apache

2019-02-11 Thread Linnea Skogtvedt
Package: x2gobroker Version: 0.0.4.0-3 wget -O - http://127.0.0.1/x2gobroker/ yields a 500 Internal Server Error. /var/log/apache2/error.log shows the following: > [Mon Feb 11 15:11:09.414511 2019] [wsgi:error] [pid 3329:tid 140065770424064] > [remote 127.0.0.1:49220] mod_wsgi (pid=3329):

Bug#922040: x2gobroker-wsgi: default apache configuration gives 403 error

2019-02-11 Thread Linnea Skogtvedt
Package: x2gobroker-wsgi Version: 0.0.4.0-3 wget -O - http://127.0.0.1/x2gobroker/ yields a 403 Forbidden error message. /var/log/apache2/error.log shows the following message: [authz_core:error] ... [client 127.0.0.1:49216] AH01630: client denied by server configuration: /usr/bin/x2gobroker