Skip to content

[BUG / possible BUG] IPv6-only scan target should not be fatal #2843

@nivex

Description

@nivex

I am running version

kjotte@vesta:/tmp/testssl.sh-3.2.1$ ./testssl.sh -v | grep from
  testssl.sh version 3.2.1 from https://testssl.sh/

Command line / docker command to reproduce

Which was your command line? In addition the target of your scan would be helpful.

kjotte@vesta:/tmp/testssl.sh-3.2.1$ ./testssl.sh marconi.home.nivex.net

#####################################################################
  testssl.sh version 3.2.1 from https://testssl.sh/

  This program is free software. Distribution and modification under
  GPLv2 permitted. USAGE w/o ANY WARRANTY. USE IT AT YOUR OWN RISK!

  Please file bugs @ https://testssl.sh/bugs/
#####################################################################

  Using OpenSSL 1.0.2-bad (Mar 28 2025)  [~183 ciphers]
  on vesta:./bin/openssl.Linux.x86_64


Fatal error: Only IPv6 address(es) for "marconi.home.nivex.net" available, maybe add "-6" to ./testssl.sh

Expected behavior

As both the host and scan target are intentionally IPv6-only, and the program is clearly aware of the latter, the scan should proceed without further intervention.

Your system (please complete the following information):

  • OS: Debian GNU/Linux 12 (bookworm)
  • Platform: Linux 6.1.0-37-amd64 x86_64
  • OpenSSL + bash:
kjotte@vesta:/tmp/testssl.sh-3.2.1$ ./testssl.sh -b 2>/dev/null | grep Using
  Using OpenSSL 1.0.2-bad (Mar 28 2025)  [~183 ciphers]
  Using bash 5.2.15

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions