From 8ff03bc4ec2c1436c02d470501dd24a2465e1cf5 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 16 Jul 2013 09:44:07 +0000 Subject: Also ignore byte count git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@634 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- tor-exit-ssl-check | 4 ++-- 1 file 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." -- cgit v1.2.3