Opened 5 years ago

Closed 5 years ago

#10269 closed enhancement (implemented)

Update the current script to include some better functionality

Reported by: phobos Owned by: phobos
Priority: Medium Milestone:
Component: Webpages/Website Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: #3947 Points:
Reviewer: Sponsor:

Description

Right now, having some new functionality would be great:

  1. ability to confirm the mirrored files are 100% the same as those on torproject.org (hashing, pgp signatures, etc)
  2. ability to automatically remove mirrors that are not serving the exact same files after some time period (hours preferably).
  3. ability to automatically re-instate mirrors that were not 100% mirrors of torproject.org once they have been verified to be back in sync (and serving valid copies).
  4. supports IPv4 and IPv6 addressing.

Child Tickets

Attachments (5)

update-mirrors.pl (49.5 KB) - added by phobos 5 years ago.
A first attempt at some updates.
update-mirrors.2.pl (6.5 KB) - added by phobos 5 years ago.
updated mirrors script
tor-mirrors.csv (12.0 KB) - added by phobos 5 years ago.
mirror list as csv file for easier parsing and addtion by users
update-mirrors.3.pl (6.7 KB) - added by phobos 5 years ago.
3rd revision
update-mirrors.4.pl (6.2 KB) - added by phobos 5 years ago.
final version

Download all attachments as: .zip

Change History (9)

comment:1 Changed 5 years ago by phobos

Owner: set to phobos
Status: newaccepted

Changed 5 years ago by phobos

Attachment: update-mirrors.pl added

A first attempt at some updates.

Changed 5 years ago by phobos

Attachment: update-mirrors.2.pl added

updated mirrors script

Changed 5 years ago by phobos

Attachment: tor-mirrors.csv added

mirror list as csv file for easier parsing and addtion by users

comment:2 Changed 5 years ago by phobos

ran the script and updated the site as a live test. See commit 26453, https://lists.torproject.org/pipermail/tor-commits/2013-December/065092.html

Changed 5 years ago by phobos

Attachment: update-mirrors.3.pl added

3rd revision

comment:3 Changed 5 years ago by phobos

run the 3rd revision and push live the results. And we have "failed signature check" mirrors.

Changed 5 years ago by phobos

Attachment: update-mirrors.4.pl added

final version

comment:4 Changed 5 years ago by phobos

Resolution: implemented
Status: acceptedclosed

script updated, tested, working, closing this ticket.

Note: See TracTickets for help on using tickets.