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

RuntimeError with sslv2 #319

Closed
jsf9k opened this issue May 31, 2018 · 8 comments
Closed

RuntimeError with sslv2 #319

jsf9k opened this issue May 31, 2018 · 8 comments

Comments

@jsf9k
Copy link

jsf9k commented May 31, 2018

As you can see below, I am consistently getting a RuntimeError - A socket was already set message when running this command:

$ sslyze --sslv2 --starttls=smtp mail1.nrc.gov:25

 AVAILABLE PLUGINS
 -----------------
  SessionRenegotiationPlugin
  HeartbleedPlugin
  FallbackScsvPlugin
  CompressionPlugin
  HttpHeadersPlugin
  RobotPlugin
  SessionResumptionPlugin
  CertificateInfoPlugin
  OpenSslCipherSuitesPlugin
  OpenSslCcsInjectionPlugin

 CHECKING HOST(S) AVAILABILITY
 -----------------------------
   mail1.nrc.gov:25                        => 148.184.176.41 

 SCAN RESULTS FOR MAIL1.NRC.GOV:25 - 148.184.176.41
 --------------------------------------------------
 * SSLV2 Cipher Suites:
     Undefined - An unexpected error happened:
        SSL_CK_RC4_128_WITH_MD5                           RuntimeError - A socket was already set                     
        SSL_CK_RC4_128_EXPORT40_WITH_MD5                  RuntimeError - A socket was already set                     
        SSL_CK_RC2_128_CBC_WITH_MD5                       RuntimeError - A socket was already set                     
        SSL_CK_RC2_128_CBC_EXPORT40_WITH_MD5              RuntimeError - A socket was already set                     
        SSL_CK_IDEA_128_CBC_WITH_MD5                      RuntimeError - A socket was already set                     
        SSL_CK_DES_64_CBC_WITH_MD5                        RuntimeError - A socket was already set                     
        SSL_CK_DES_192_EDE3_CBC_WITH_MD5                  RuntimeError - A socket was already set                     


 SCAN COMPLETED IN 6.55 S
 ------------------------

Is this expected? I'm using the latest sslyze code in the master branch and the latest nassl from PyPI.

@swarooppatra
Copy link

I am also observing same issue. Below is snippet of output. Can I consider this as below ciphers are not accepted.

  • SSLV2 Cipher Suites:
    Server rejected all cipher suites.
    Undefined - An unexpected error happened:
    SSL_CK_RC4_128_WITH_MD5 RuntimeError - A socket was already set
    SSL_CK_RC4_128_EXPORT40_WITH_MD5 RuntimeError - A socket was already set
    SSL_CK_RC2_128_CBC_WITH_MD5 RuntimeError - A socket was already set
    SSL_CK_RC2_128_CBC_EXPORT40_WITH_MD5 RuntimeError - A socket was already set
    SSL_CK_IDEA_128_CBC_WITH_MD5 RuntimeError - A socket was already set
    SSL_CK_DES_64_CBC_WITH_MD5 RuntimeError - A socket was already set
    SSL_CK_DES_192_EDE3_CBC_WITH_MD5 RuntimeError - A socket was already set

Thanks,
Swaroop

@jsf9k
Copy link
Author

jsf9k commented Jun 8, 2018

@swarooppatra, I don't think it means the ciphers are not accepted necessarily. It could be an internal error, but I haven't been able to track down the exact cause yet.

@swarooppatra
Copy link

Thanks @jsf9k.

@nabla-c0d3 nabla-c0d3 added this to the 2.0.0 milestone Jun 30, 2018
@nabla-c0d3
Copy link
Owner

Fixed in eeffed5

@jsf9k
Copy link
Author

jsf9k commented Jul 2, 2018

Thanks @nabla-c0d3!

@swarooppatra
Copy link

Thanks @nabla-c0d3 . Can you please let me know which version of sslyze will have this feature. I just updated to 1.4.3 and I see same error. Thanks for this tool.

@nabla-c0d3
Copy link
Owner

It will be released with v2.0.0.

@nabla-c0d3
Copy link
Owner

Released as part of 2.0.0.

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

3 participants