mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-10-12 02:06:59 +00:00
connections for a different name, at the same IP. This checks that the tls name is correct when reusing the upstream connections. Thanks to TaoFei Guo from Peking University and JianJun Chen from Tsinghua University for the report.
20 lines
500 B
Plaintext
20 lines
500 B
Plaintext
# #-- tls_reuse_auth.post --#
|
|
# source the master var file when it's there
|
|
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
|
# source the test var file when it's there
|
|
[ -f .tpkg.var.test ] && source .tpkg.var.test
|
|
#
|
|
# do your teardown here
|
|
. ../common.sh
|
|
kill_from_pidfile "unbound2.pid"
|
|
if test -f unbound2.log; then
|
|
echo ">>> upstream log"
|
|
cat unbound2.log
|
|
fi
|
|
#kill_pid $UNBOUND_PID
|
|
kill_from_pidfile "unbound.pid"
|
|
if test -f unbound.log; then
|
|
echo ">>> unbound log"
|
|
cat unbound.log
|
|
fi
|