[1/2] update metrics links in Tor WebUI

Message ID 1e13e98c-9b8c-97f5-1d18-b77e53c250ce@ipfire.org
State Accepted
Commit 0675a66d83d8a06f29e33e7c9533cfac676b1720
Headers
Series [1/2] update metrics links in Tor WebUI |

Commit Message

Peter Müller Feb. 24, 2019, 3:54 a.m. UTC
  https://atlas.torproject.org/ is deprecated in favour of
https://metrics.torproject.org/ by now.

Fixes #11781.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 html/cgi-bin/tor.cgi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Michael Tremer Feb. 26, 2019, 8:55 p.m. UTC | #1
This patchset is merged as well.

Did you see the ticket I opened for you regarding the bandwidth for Tor?

-Michael

> On 23 Feb 2019, at 16:54, Peter Müller <peter.mueller@ipfire.org> wrote:
> 
> https://atlas.torproject.org/ is deprecated in favour of
> https://metrics.torproject.org/ by now.
> 
> Fixes #11781.
> 
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
> html/cgi-bin/tor.cgi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi
> index 0d235c949..b17db01a2 100644
> --- a/html/cgi-bin/tor.cgi
> +++ b/html/cgi-bin/tor.cgi
> @@ -519,7 +519,7 @@ END
> 					<tr>
> 						<td width='40%' class='base'>$Lang::tr{'tor relay fingerprint'}:</td>
> 						<td width='60%'>
> -							<a href='https://atlas.torproject.org/#details/$fingerprint' target='_blank'>$fingerprint</a>
> +							<a href='https://metrics.torproject.org/rs.html#details/$fingerprint' target='_blank'>$fingerprint</a>
> 						</td>
> 					</tr>
> END
> @@ -612,7 +612,7 @@ END
> 				print <<END;
> 					<tr>
> 						<td width='40%'>
> -							<a href='https://atlas.torproject.org/#details/$node->{'fingerprint'}' target='_blank'>
> +							<a href='https://metrics.torproject.org/rs.html#details/$node->{'fingerprint'}' target='_blank'>
> 								$node->{'name'}
> 							</a>
> 						</td>
> -- 
> 2.16.4
  

Patch

diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi
index 0d235c949..b17db01a2 100644
--- a/html/cgi-bin/tor.cgi
+++ b/html/cgi-bin/tor.cgi
@@ -519,7 +519,7 @@  END
 					<tr>
 						<td width='40%' class='base'>$Lang::tr{'tor relay fingerprint'}:</td>
 						<td width='60%'>
-							<a href='https://atlas.torproject.org/#details/$fingerprint' target='_blank'>$fingerprint</a>
+							<a href='https://metrics.torproject.org/rs.html#details/$fingerprint' target='_blank'>$fingerprint</a>
 						</td>
 					</tr>
 END
@@ -612,7 +612,7 @@  END
 				print <<END;
 					<tr>
 						<td width='40%'>
-							<a href='https://atlas.torproject.org/#details/$node->{'fingerprint'}' target='_blank'>
+							<a href='https://metrics.torproject.org/rs.html#details/$node->{'fingerprint'}' target='_blank'>
 								$node->{'name'}
 							</a>
 						</td>