[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



On Thu, 07 Apr 2005, ssc@xxxxxxxxxxxxxxx wrote:

> On Wed, Apr 06, 2005 at 06:12:08PM -0400, Nick Mathewson wrote:
> > On Wed, Apr 06, 2005 at 09:34:11PM +0200, ssc@xxxxxxxxxxxxxxx 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.

I'ld still like to see a sleep 900 in this loop - just in case.

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/