"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tests/test10-dflt-certs.sh" between
hitch-1.7.0.tar.gz and hitch-1.7.2.tar.gz

About: Hitch is a libev-based high performance SSL/TLS proxy that terminates TLS/SSL connections and forwards the unencrypted traffic to some backend.

test10-dflt-certs.sh  (hitch-1.7.0):test10-dflt-certs.sh  (hitch-1.7.2)
skipping to change at line 45 skipping to change at line 45
frontend = { frontend = {
host = "localhost" host = "localhost"
port = "$PORT4" port = "$PORT4"
} }
start_hitch --config=hitch.cfg start_hitch --config=hitch.cfg
# :PORT1 without SNI # :PORT1 without SNI
s_client -connect localhost:$PORT1 >port1-no-sni.dump s_client -connect localhost:$PORT1 >port1-no-sni.dump
subj_name_eq "site1.example.com" port1-no-sni.dump subject_field_eq CN "site1.example.com" port1-no-sni.dump
# :PORT1 w/ SNI # :PORT1 w/ SNI
s_client -servername site1.example.com \ s_client -servername site1.example.com \
-connect localhost:$PORT1 \ -connect localhost:$PORT1 \
>port1-sni.dump >port1-sni.dump
subj_name_eq "site1.example.com" port1-sni.dump subject_field_eq CN "site1.example.com" port1-sni.dump
# :PORT1 w/ different matching SNI name # :PORT1 w/ different matching SNI name
s_client -servername site3.example.com \ s_client -servername site3.example.com \
-connect localhost:$PORT2 \ -connect localhost:$PORT2 \
>port1-sni2.dump >port1-sni2.dump
subj_name_eq "site3.example.com" port1-sni2.dump subject_field_eq CN "site3.example.com" port1-sni2.dump
# :PORT2 no SNI # :PORT2 no SNI
s_client -connect localhost:$PORT2 >port2-no-sni.dump s_client -connect localhost:$PORT2 >port2-no-sni.dump
subj_name_eq "site2.example.com" port2-no-sni.dump subject_field_eq CN "site2.example.com" port2-no-sni.dump
# :PORT4 SNI w/ unknown servername # :PORT4 SNI w/ unknown servername
s_client -servername invalid.example.com \ s_client -servername invalid.example.com \
-connect localhost:$PORT4 \ -connect localhost:$PORT4 \
>port4.dump >port4.dump
subj_name_eq "default.example.com" port4.dump subject_field_eq CN "default.example.com" port4.dump
 End of changes. 5 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)