[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #22026 [Metrics/Ideas]: Create new service to retrieve raw documents
#22026: Create new service to retrieve raw documents
---------------------------+------------------------------
Reporter: irl | Owner: metrics-team
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Metrics/Ideas | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------+------------------------------
Comment (by irl):
I've thought some more about this. In fact, the use case is almost
satisfied by the directory protocol. To fetch the latest server descriptor
or extrainfo descriptor, `/tor/{server,extrainfo}/fp/<FP>` provides this.
There are some problems I can see with this approach that I still think
needs another layer in between though:
1. We should probably run a relay dedicated for the purpose of serving
these descriptors, probably reverse proxy it behind nginx/Apache and give
it a DNS name and an SSL certificate.
2. As part of the reverse proxying, we should (maybe? not sure if actually
required) rewrite the content type to `text/plain`.
3. As another part of the reverse proxying, we should add an `Access-
Control-Allow-Origin: *` header.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22026#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs