Skip to content

[BUG / possible BUG] Scanning jabber.org:5222 (XMPP) doesn't work in a container #1891

Open
@drwetter

Description

@drwetter

Please check this repo whether this is a known issue
See also #1843

Command line / docker command to reproduce
testssl.sh -q --ip=one --color 0 -t xmpp jabber.org:5222

vs.

docker build . -t imagefoo && docker run --rm -t imagefoo -q --ip=one --color 0 -t xmpp jabber.org:5222

The latter fails @ The results might look ok but they could be nonsense. Really proceed ? ("yes" to continue)

Expected behavior
There shouldn't be a difference between running in a docker container or not

Your system (please complete the following information):
It happens in any Alpine container (tried 3.11, 3.12, 3.13)

Additional context
The container fails in determine_optimal_proto(). Somehow

/home/testssl/bin/openssl.Linux.x86_64 s_client -tls1_2 -connect jabber.org:5222 -msg -starttls xmpp -servername jabber.org -no_comp (and other protocols) fail. This is not the case using the bare cmd line

./bin/openssl.Linux.x86_64 s_client -tls1_2 -connect jabber.org:5222 -msg -starttls xmpp -servername jabber.org -no_comp

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions