Broaden table for client simulation

... as some clients are the same and space wasn't enough.
This commit is contained in:
Dirk
2026-05-16 16:14:24 +02:00
parent dd4c0b371d
commit a35e9f816d
+7 -7
View File
@@ -5272,23 +5272,23 @@ run_client_simulation() {
pr_headlineln "via sockets " pr_headlineln "via sockets "
else else
pr_headline "via openssl " pr_headline "via openssl "
prln_warning " -- pls note \"--ssl-native\" will return some false results" prln_warning " -- pls note \"--ssl-native\" will likely return false results"
fileout "$jsonID" "WARN" "You shouldn't run this with \"--ssl-native\" as you will get false results" fileout "$jsonID" "WARN" "You shouldn't run this with \"--ssl-native\" as you will likely get false results"
ret=1 ret=1
fi fi
outln outln
debugme echo debugme echo
if [[ "$DISPLAY_CIPHERNAMES" =~ openssl ]]; then if [[ "$DISPLAY_CIPHERNAMES" =~ openssl ]]; then
out " Browser Protocol Cipher Suite Name (OpenSSL) " out " Browser/Client Protocol Cipher Suite Name (OpenSSL) "
{ "$using_sockets" || "$HAS_DH_BITS"; } && out "Forward Secrecy" { "$using_sockets" || "$HAS_DH_BITS"; } && out "Forward Secrecy"
outln outln
out "--------------------------------------------------------------------------" out "--------------------------------------------------------------------------------"
else else
out " Browser Protocol Cipher Suite Name (IANA/RFC) " out " Browser/Client Protocol Cipher Suite Name (IANA/RFC) "
{ "$using_sockets" || "$HAS_DH_BITS"; } && out "Forward Secrecy" { "$using_sockets" || "$HAS_DH_BITS"; } && out "Forward Secrecy"
outln outln
out "------------------------------------------------------------------------------------------" out "------------------------------------------------------------------------------------------------"
fi fi
{ "$using_sockets" || "$HAS_DH_BITS"; } && out "----------------------" { "$using_sockets" || "$HAS_DH_BITS"; } && out "----------------------"
outln outln
@@ -5302,7 +5302,7 @@ run_client_simulation() {
if "${current[i]}" || "$ALL_CLIENTS" ; then if "${current[i]}" || "$ALL_CLIENTS" ; then
# for ANY we test this service or if the service we determined from STARTTLS matches # for ANY we test this service or if the service we determined from STARTTLS matches
if [[ "${service[i]}" == ANY ]] || [[ "${service[i]}" =~ $client_service ]]; then if [[ "${service[i]}" == ANY ]] || [[ "${service[i]}" =~ $client_service ]]; then
out " $(printf -- "%-29s" "${names[i]}")" out " $(printf -- "%-35s" "${names[i]}")"
if "$using_sockets" && [[ -n "${handshakebytes[i]}" ]]; then if "$using_sockets" && [[ -n "${handshakebytes[i]}" ]]; then
client_simulation_sockets "${handshakebytes[i]}" client_simulation_sockets "${handshakebytes[i]}"
sclient_success=$? sclient_success=$?