"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tests/test13-r82.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.

test13-r82.sh  (hitch-1.7.0):test13-r82.sh  (hitch-1.7.2)
skipping to change at line 63 skipping to change at line 63
pem-file = "$CERTSDIR/site2.example.com" pem-file = "$CERTSDIR/site2.example.com"
} }
EOF EOF
start_hitch --config=hitch.cfg start_hitch --config=hitch.cfg
# Wildcard cert on frontend #1 # Wildcard cert on frontend #1
s_client -servername foo.example.com \ s_client -servername foo.example.com \
-connect localhost:$PORT1 \ -connect localhost:$PORT1 \
>wildcard1.dump >wildcard1.dump
subj_name_eq "*.example.com" wildcard1.dump subject_field_eq CN "*.example.com" wildcard1.dump
# Wildcard cert on frontend #2 # Wildcard cert on frontend #2
s_client -servername bar.example.com \ s_client -servername bar.example.com \
-connect localhost:$PORT2 \ -connect localhost:$PORT2 \
>wildcard2.dump >wildcard2.dump
subj_name_eq "*.example.com" wildcard2.dump subject_field_eq CN "*.example.com" wildcard2.dump
# Exact match on frontend #2 # Exact match on frontend #2
s_client -servername site1.example.com \ s_client -servername site1.example.com \
-connect localhost:$PORT2 \ -connect localhost:$PORT2 \
>exact2.dump >exact2.dump
subj_name_eq "site1.example.com" exact2.dump subject_field_eq CN "site1.example.com" exact2.dump
# Verify that sni-nomatch-abort = off is respected for frontend #1 # Verify that sni-nomatch-abort = off is respected for frontend #1
s_client -servername "asdf" \ s_client -servername "asdf" \
-connect localhost:$PORT1 \ -connect localhost:$PORT1 \
>abort1.dump >abort1.dump
subj_name_eq "*.example.com" abort1.dump subject_field_eq CN "*.example.com" abort1.dump
# And also verify that global setting sni-nomatch-abort = on is respected # And also verify that global setting sni-nomatch-abort = on is respected
# for other frontend # for other frontend
! s_client -servername "asdf" \ ! s_client -servername "asdf" \
-connect localhost:$PORT3 \ -connect localhost:$PORT3 \
>abort3.dump >abort3.dump
run_cmd grep -q 'unrecognize' abort3.dump run_cmd grep -q 'unrecognize' abort3.dump
 End of changes. 4 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)