[tor-mirrors] Creep.im

K Lock lockwoodxxx at gmail.com
Thu May 30 13:19:36 UTC 2013


Thanks

XXX

On May 30, 2013, at 8:01 AM, Thwarth Wrhalthssen <wrhalthssen at ya.ru> wrote:

> Hello, Andrew,
> 
> looks like you offer me to inspect the update-mirrors.pl script myself. I am not a Perl programmer, but syntax looks easy and after a little investigation I figured out what's going wrong when script returns 'Unknown' status to certain mirrors (mine included).
> 
> Links to some mirrors in the script defined with a trailing slash and some not. Those, which doesn't have a trailing slash, cannot provide a correct timestamp, because the script trying to get for example this:
> 
> http://creep.im/torproject/trace/www-master.torproject.org (looks legit, eh?),
> 
> but in fact it have to get this:
> 
> http://creep.im/tor/project/trace/www-master.torproject.org
> 
> So, to fix things, just add a trailing slash to all the mirrors' links or apply this quick and dirty fix to the line #45:
> 
> $url = "$url/$trace";
> 
> Some links will be doubleslashed therefore (//), but it's okay.
> 
> The next issue with a script is its refusal to update rsync dist links. It just sets "-" to all the mirrors in the table. That's not right. The fix is pretty easy too, just eliminate the typo at the     line #1188:
> 
> rsyncDistMirrors => "rsync", );
> 
> See a trailing "s"? The proper name of a variable is rsyncDistMirror. So, just remove "s" and the issue will be resolved.
> 
> Hope this helps. Looking forward to your update. Best regards.
> 
> On 05/23/2013 06:50 PM, Andrew Lewman wrote:
>> 
>> On Thu, 23 May 2013 15:59:55 +0400
>> Thwarth Wrhalthssen <wrhalthssen at ya.ru> wrote:
>> 
>>> Hello. Recently I've slightly updated my mirror. Now it's a HTTP and 
>>> HTTPS website mirror, rsync daemon for website and dist and also FTP. 
>>> The server is running Debian Wheezy (stable). Please update the
>>> record in the mirrors list on the site accordingly:
>> Updated. Thanks!
>> 
>>> By the way, how we can resolve the issue with 'Status: Unknown', is 
>>> anything wrong with my mirror or your script doing something wrong? I 
>>> will fix the problem in a short time if it is on my side.
>> 
>> The script polls for
>> http://creep.im/tor/project/trace/www-master.torproject.org if that
>> returns anything but a timestamp, the script just flags it as unknown.
>> The script is
>> https://svn.torproject.org/svn/website/trunk/update-mirrors.pl
>> 
> _______________________________________________
> tor-mirrors mailing list
> tor-mirrors at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-mirrors/attachments/20130530/6d976b6a/attachment.html>


More information about the tor-mirrors mailing list