Ticket #5941: 0001-Fix-links-to-directory-specifications.patch

File 0001-Fix-links-to-directory-specifications.patch, 3.2 KB (added by kraai, 6 years ago)

Patch

  • doc/design.txt

    From 485dbfa13325c2d2e8be25b80d6345bd7d3c3c12 Mon Sep 17 00:00:00 2001
    From: Matt Kraai <kraai@ftbfs.org>
    Date: Mon, 28 Jan 2013 00:45:51 -0800
    Subject: [PATCH] Fix links to directory specifications
    
    ---
     doc/design.txt                           |    2 +-
     weather/templates/notification_info.html |    2 +-
     2 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/doc/design.txt b/doc/design.txt
    index 368181c..4fbeca2 100644
    a b Each Subscription in the database is updated, and emails are sent to the Subscri 
    202202
    203203.. _Django (v1.2): http://docs.djangoproject.com/en/1.2/intro/overview/
    204204.. _Tor T-Shirt page: http://www.torproject.org/tshirt.html.en
    205 .. _directory specifications: https://svn.torproject.org/svn/tor/trunk/doc/spec/dir-spec.txt
     205.. _directory specifications: https://gitweb.torproject.org/torspec.git?a=blob_plain;hb=HEAD;f=dir-spec.txt
  • weather/templates/notification_info.html

    diff --git a/weather/templates/notification_info.html b/weather/templates/notification_info.html
    index 45c4b0e..1262a31 100644
    a b Tor Weather - Notification Specs 
    3131        <p>
    3232        The low bandwidth notification is for relay operators who want to know if their bandwidth capacity is below a certain critical threshold. The default threshold is 20 kB/s, which is the minimum bandwidth contribution to the network.
    3333        <br /><br />
    34         Bandwidth is determined using the observed bandwidth field from the router's descriptor file. According to the Tor <a href="https://svn.torproject.org/svn/tor/trunk/doc/spec/dir-spec.txt">directory specifications</a>, "the 'observed' value is an estimate of the capacity this server can handle. The server remembers the max bandwidth sustained output over any ten second period in the past day, and another sustained input. The 'observed' value is the lesser of these two numbers." As is, this implementation doesn't provide a real-time view of a router's bandwidth capacity, especially since descriptor files are only republished if the relay operator changes his or her configurations or if the observed bandwidth changes by a factor of 2.
     34        Bandwidth is determined using the observed bandwidth field from the router's descriptor file. According to the Tor <a href="https://gitweb.torproject.org/torspec.git?a=blob_plain;hb=HEAD;f=dir-spec.txt">directory specifications</a>, "the 'observed' value is an estimate of the capacity this server can handle. The server remembers the max bandwidth sustained output over any ten second period in the past day, and another sustained input. The 'observed' value is the lesser of these two numbers." As is, this implementation doesn't provide a real-time view of a router's bandwidth capacity, especially since descriptor files are only republished if the relay operator changes his or her configurations or if the observed bandwidth changes by a factor of 2.
    3535        <br /><br />
    3636        Rather than letting users know as soon as their bandwidth crashes below a certain threshold, this notification type is for users who want to know if their bandwidth capacity cannot get <em>above</em> the threshold for a sustained period (generally about 24 hours).
    3737        </p>