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:
Addresses:
FTP: ftp://creep.im/mirrors/tor HTTP dist: http://creep.im/tor/dist HTTP website: http://creep.im/tor HTTPS dist: https://creep.im/tor/dist HTTPS website: https://creep.im/tor rsync dist: rsync://creep.im/tor-dist rsync website: rsync://creep.im/tor
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.
On Thu, 23 May 2013 15:59:55 +0400 Thwarth Wrhalthssen wrhalthssen@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
Thanks for the update, Andrew. By the way, apparently you forgot to add my /rsync dist/ link (rsync://creep.im/tor-dist ).
I just checked timestamps at http://creep.im/tor/project/trace/www-master.torproject.org and https://www.torproject.org/project/trace/www-master.torproject.org and they are the same. But my mirror is still marked as in 'Unknown' state. Is it normal?
On 05/23/2013 06:50 PM, Andrew Lewman wrote:
On Thu, 23 May 2013 15:59:55 +0400 Thwarth Wrhalthssenwrhalthssen@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
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//*/tor/project*/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:
rsyncDistMirror*s* => "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 Wrhalthssenwrhalthssen@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
Thanks
XXX
On May 30, 2013, at 8:01 AM, Thwarth Wrhalthssen wrhalthssen@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@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@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors
Nice!
Sent from my iPhone
On May 30, 2013, at 8:01 AM, Thwarth Wrhalthssen wrhalthssen@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@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@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors
On Thu, 30 May 2013 16:01:00 +0400 Thwarth Wrhalthssen wrhalthssen@ya.ru wrote:
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).
Wow, thanks! It's all free software, so anyone is welcome to look at it and submit patches. I've implemented your suggestions, https://lists.torproject.org/pipermail/tor-commits/2013-May/057390.html and https://lists.torproject.org/pipermail/tor-commits/2013-May/057391.html
The results of which are https://lists.torproject.org/pipermail/tor-commits/2013-May/057417.html
I've started to re-write this script a few times, and then never get very far on it.
Thanks!
Hey, Andrew. Glad I helped.
On 05/31/2013 05:46 AM, Andrew Lewman wrote:
On Thu, 30 May 2013 16:01:00 +0400 Thwarth Wrhalthssenwrhalthssen@ya.ru wrote:
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).
Wow, thanks! It's all free software, so anyone is welcome to look at it and submit patches. I've implemented your suggestions, https://lists.torproject.org/pipermail/tor-commits/2013-May/057390.html and https://lists.torproject.org/pipermail/tor-commits/2013-May/057391.html
The results of which are https://lists.torproject.org/pipermail/tor-commits/2013-May/057417.html
I've started to re-write this script a few times, and then never get very far on it.
Thanks!
tor-mirrors@lists.torproject.org