shellsink-client does not work with SNI SSL backend
Issue #1
resolved
When attempting to connect to an SSL server that uses SNI (like cloudflare) shellsink-client puts the following error in the syslog.
shellsink-client: ERROR: Shellsink unable to contact server at https://domain.com/addCommand. Reason: [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
Comments (4)
-
reporter -
reporter - changed status to resolved
Fixes
#1, replace urllib2 with requests. This raises the requirements to python 2.7→ <<cset 43dac4b48627>>
-
reporter Fixing this raised execution time from 0.2 sec to 0.6 sec.
-
reporter More like 1.5 - 2 seconds. Fixed by moving import requests after os.fork().
- Log in to comment
https://urllib3.readthedocs.org/en/latest/contrib.html