[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #32299 [Core Tor/Tor]: read GeoIPFile and GeoIP6File straight out of APK file (Android-only)
#32299: read GeoIPFile and GeoIP6File straight out of APK file (Android-only)
-------------------------------------------------+------------------------
Reporter: eighthave | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: Android, tbb-mobile, needs-proposal | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+------------------------
Changes (by teor):
* keywords: Android, tbb-mobile => Android, tbb-mobile, needs-proposal
Comment:
It looks like this feature would change the tor specs, because they
currently assume that the GeoIP* files are read straight from disk. (It
also looks like this feature would be useful on any disk-constrained
system: lots of Tor's directory documents are sent compressed, and only
read into RAM once.)
So let's design this change using the Tor proposal process:
https://gitweb.torproject.org/torspec.git/tree/proposals/001-process.txt#n39
Here are some design notes:
In Tor, we currently use prefixes for special file names:
* unix sockets: "unix:(path)"
We could do something similar for archives:
* zip files: "zip:(path to file)/(path within archive)"
That would be easy to extend to other formats as needed.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32299#comment:1>
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