diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2023-01-05 13:03:37 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2023-01-05 13:55:33 +0000 |
commit | e1aca33756f73c22b00a98d40ce2be8ed94464b1 (patch) | |
tree | 83e4325c0c75b7e552aeef8637ab853e3ae7cc99 /test | |
parent | 7fa5764c203f2f4a900898a79ed02d674075313f (diff) | |
download | exim4-e1aca33756f73c22b00a98d40ce2be8ed94464b1.tar.gz |
OpenSSL: log conns rejected for bad ALPN, with the offered value
Unfortunately, no way to do this under GnuTLS
Diffstat (limited to 'test')
-rw-r--r-- | test/log/1190 | 2 | ||||
-rwxr-xr-x | test/runtest | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/log/1190 b/test/log/1190 index 53c56f59a..e01fb2685 100644 --- a/test/log/1190 +++ b/test/log/1190 @@ -23,7 +23,9 @@ 1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex H=the.local.host.name (myhost.test.ex) [ip4.ip4.ip4.ip4] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss id=E10HmaX-0005vi-00@myhost.test.ex 1999-03-02 09:44:33 10HmaY-0005vi-00 => :blackhole: <a@test.ex> R=server 1999-03-02 09:44:33 10HmaY-0005vi-00 Completed +1999-03-02 09:44:33 TLS ALPN (http) rejected 1999-03-02 09:44:33 TLS error on connection from the.local.host.name (myhost.test.ex) [ip4.ip4.ip4.ip4] (SSL_accept): error: <<detail omitted>> +1999-03-02 09:44:33 TLS ALPN (smtp:smtp) rejected 1999-03-02 09:44:33 TLS error on connection from the.local.host.name (myhost.test.ex) [ip4.ip4.ip4.ip4] (SSL_accept): error: <<detail omitted>> 1999-03-02 09:44:33 10HmbC-0005vi-00 <= CALLER@myhost.test.ex H=the.local.host.name (myhost.test.ex) [ip4.ip4.ip4.ip4] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss id=E10HmbB-0005vi-00@myhost.test.ex 1999-03-02 09:44:33 10HmbC-0005vi-00 => :blackhole: <d@test.ex> R=server diff --git a/test/runtest b/test/runtest index 900fc7bbb..86fc79acb 100755 --- a/test/runtest +++ b/test/runtest @@ -1562,6 +1562,9 @@ RESET_AFTER_EXTRA_LINE_READ: s/signer: [^ ]* bits:\K 256/ 253/; s/public key too short:\K 256 bits/ 253 bits/; + # with GnuTLS we cannot log single bad ALPN. So ignore the with-OpenSSL log line. + # next if /TLS ALPN (http) rejected$/; + # port numbers s/(?:\[[^\]]*\]:|port )\K$parm_port_d/PORT_D/; s/(?:\[[^\]]*\]:|port )\K$parm_port_d2/PORT_D2/; |