summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-05add a changes fileNick Mathewson
2017-12-05Update the manpage to describe {Cache,Key}DirectoryNick Mathewson
Also, explain which files should be put in which.
2017-12-05Implement the various get_foodir_*() functions.Nick Mathewson
2017-12-05Create a CacheDirectory and KeyDirectory options.Nick Mathewson
They work the same as DataDirectory, but default slightly different. Tor is not actually updated to use them yet.
2017-12-05Clean up a needlessly complex get_datadir_fname useNick Mathewson
2017-12-05New accessors for keydir/cachedir accessNick Mathewson
This patch is a result of auditing all of our uses of get_datadir_fname() and its kin, and dividing them into cache vs keys vs other data. The new get_keydir_fname() and get_cachedir_fname() functions don't actually do anything new yet.
2017-12-05Extract common code for creating the keys directory.Nick Mathewson
This had somehow gotten duplicated between router.c and routerkeys.c
2017-12-05Use get_datadir_fname() accessor in networkstatus.cNick Mathewson
2017-12-05Extract the code that creates the datadir into a separate function.Nick Mathewson
2017-11-14Reindent the body of get_data_directory()Nick Mathewson
I don't know why it wasn't indented properly, but we may as well fix it now.
2017-11-14Make the DataDirectory option immutable.Nick Mathewson
By convention, the torrc options that the user sets are unchangeable. If we need to change them, we should be using a copy that's stored in another field To avoid trouble, I'm keeping DataDirectory as the name for the field that the rest of Tor uses, and using DataDirectory_option for the confparse-controlled field. This commit also modernizes some older string handling code in the DataDirectory normalization function.
2017-11-14Remove remove_file_if_very_old() -- nothing calls it.Nick Mathewson
2017-11-14Merge branch 'maint-0.3.2'Nick Mathewson
2017-11-14Merge remote-tracking branch 'dgoulet/bug24230_032_01' into maint-0.3.2Nick Mathewson
2017-11-13Merge branch 'maint-0.3.2'Nick Mathewson
2017-11-13Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2017-11-13Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-11-13Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-11-13Merge branch 'bug22895_027' into maint-0.2.9Nick Mathewson
2017-11-13Merge branch 'maint-0.3.2'Nick Mathewson
2017-11-13add a missing subcategory to 23637, againNick Mathewson
2017-11-13Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-11-13Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-11-13Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2017-11-13Merge branch 'maint-0.3.2'Nick Mathewson
2017-11-13Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2017-11-13Merge branch 'bug23291_028' into maint-0.2.8Nick Mathewson
2017-11-13Merge branch 'maint-0.3.2'Nick Mathewson
2017-11-13Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2017-11-13hs-v3: Fix consensus param "hsdir-interval" nameDavid Goulet
The dir-spec.txt specifies it to be "hsdir_interval" (underscore). Fixes #24262 Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-11-13Remove changes files for those items already merged in 0.3.2Nick Mathewson
2017-11-13Merge remote-tracking branch 'sebastian/bug24137'Nick Mathewson
2017-11-13Merge branch 'maint-0.3.2'Nick Mathewson
2017-11-13Merge remote-tracking branch 'arma/ticket23637' into maint-0.3.2Nick Mathewson
2017-11-13Merge branch 'maint-0.3.2'Nick Mathewson
2017-11-13Merge branch 'bug24247_032' into maint-0.3.2Nick Mathewson
2017-11-13Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-11-13Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-11-13Merge branch 'maint-0.3.2'Nick Mathewson
2017-11-13Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2017-11-13Merge remote-tracking branch 'teor/bug23470-029' into maint-0.2.9Nick Mathewson
2017-11-13Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-11-13Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-11-13Merge branch 'maint-0.3.2'Nick Mathewson
2017-11-13Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2017-11-13Merge branch 'bug8185_025' into maint-0.2.9Nick Mathewson
2017-11-13Merge branch 'bug8185_031' into maint-0.3.1Nick Mathewson
2017-11-13Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-11-13Merge branch 'maint-0.3.2'Nick Mathewson
2017-11-13Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson