mozilla / ssh_scan

DEPRECATED - A prototype SSH configuration and policy scanner (Blog: https://mozilla.github.io/ssh_scan/)
Mozilla Public License 2.0
793 stars 105 forks source link

TCPSocket.gethostbyname is deprecated #528

Closed exploide closed 3 years ago

exploide commented 3 years ago

With ruby 3.0.1p64 I get the following deprecation warning when running ssh_scan:

ssh_scan-0.0.43/lib/string_ext.rb:58: warning: TCPSocket.gethostbyname is deprecated; use Addrinfo.getaddrinfo instead.
claudijd commented 3 years ago

Just fixed this in master, will bump a release shortly.

exploide commented 3 years ago

Appears to be fixed in bf57bcf4a28db652208b2e1acff7686fd409a57b and released in 0.0.44. Thank you!