[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r18209: {torflow} Handle SSL exceptions in soat better.. No need to stop the r (torflow/trunk/NetworkScanners)
Author: mikeperry
Date: 2009-01-21 08:53:48 -0500 (Wed, 21 Jan 2009)
New Revision: 18209
Modified:
torflow/trunk/NetworkScanners/soat.py
Log:
Handle SSL exceptions in soat better.. No need to stop the
run if some node aborts a handshake on us..
Modified: torflow/trunk/NetworkScanners/soat.py
===================================================================
--- torflow/trunk/NetworkScanners/soat.py 2009-01-21 13:52:56 UTC (rev 18208)
+++ torflow/trunk/NetworkScanners/soat.py 2009-01-21 13:53:48 UTC (rev 18209)
@@ -1054,6 +1054,10 @@
except (IndexError, TypeError):
plog('ERROR', 'An error occured while negotiating socks5 with Tor')
return 0
+ except:
+ plog('ERROR', 'An unknown SSL error occured')
+ traceback.print_exc()
+ return 0
# return the cert
return c.get_peer_certificate()