even simpler solution [was: Re: script to magically restart tor [was: Re: disappearing nodes]]

ssc at server1.h07.org ssc at server1.h07.org
Thu Apr 7 04:42:49 UTC 2005


On Wed, Apr 06, 2005 at 06:12:08PM -0400, Nick Mathewson wrote:
> On Wed, Apr 06, 2005 at 09:34:11PM +0200, ssc at server1.h07.org wrote:
> > until tor;do true;done
> 
> Watch out!  In the past, people doing things like this have wound up
> hosing the Tor network pretty badly: Suppose that, for some reason,
> your configuration becomes broken or your software becomes obsolete.
> Suppose that this brokenness or obsolescence is only apparent after
> your software has connected to another Tor server.  If this happens,
> then the tight loop you give above will create a tool that hammers the
> Tor network in a tight loop---and hopefully, that's not what you
> intended.

Well, an obsolete tor exits with 0,
so the loop breaks.

-- 
Ewige Blumenkraft!         )|( ssc                    www.unix-geek.info
                               Stephan Schmieder             ssc at h07.org

safeguard this letter, it may be an IMPORTANT DOCUMENT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20050407/ed8b739e/attachment.pgp>


More information about the tor-talk mailing list