summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2013-07-16 09:44:07 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2013-07-16 09:44:07 +0000
commit8ff03bc4ec2c1436c02d470501dd24a2465e1cf5 (patch)
tree9489ed3239f90b0ae96df6c6e14225d27e95a9e1
parent990965c69654f3caba5386dfcb876d60c7ce2987 (diff)
Also ignore byte count
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@634 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xtor-exit-ssl-check4
1 files changed, 2 insertions, 2 deletions
diff --git a/tor-exit-ssl-check b/tor-exit-ssl-check
index 1a8b98c..c03aced 100755
--- a/tor-exit-ssl-check
+++ b/tor-exit-ssl-check
@@ -158,7 +158,7 @@ for ((i=0; i < ${#targets[@]}; i++)); do
[ -n "$cachedir" ] && cp "$tmpdir/cert-direct-$i" "$cachedir/tesc3-$host"
fi
- egrep -v '(Session-ID|Master-Key|Start Time):' < "$tmpdir/cert-direct-$i" > "$tmpdir/cert-direct-$i.filtered"
+ egrep -v '(Session-ID|Master-Key|Start Time|SSL handshake has read):' < "$tmpdir/cert-direct-$i" > "$tmpdir/cert-direct-$i.filtered"
[ "$verbose" = 0 ] || echo "===="
done
@@ -213,7 +213,7 @@ while : ; do
[ "$verbose" = 0 ] || echo "Via $server to $host:"
TORSOCKS_CONF_FILE="$tmpdir/torsocks.conf" torify openssl s_client -no_ticket -showcerts -connect "$host" < /dev/null 2>&1 | eatdata "$tmpdir/cert-tor-$i"
- egrep -v '(Session-ID|Master-Key|Start Time):' < "$tmpdir/cert-tor-$i" > "$tmpdir/cert-tor-$i.filtered"
+ egrep -v '(Session-ID|Master-Key|Start Time|SSL handshake has read):' < "$tmpdir/cert-tor-$i" > "$tmpdir/cert-tor-$i.filtered"
if diff "$tmpdir/cert-tor-$i.filtered" "$tmpdir/cert-direct-$i.filtered" > /dev/null; then
echo "RESULT[$host]: $server: No real differences."