tor/src/or
David Goulet e16148a582 relay: Honor DataDirectoryGroupReadable at key init
Our config code is checking correctly at DataDirectoryGroupReadable but then
when we initialize the keys, we ignored that option ending up at setting back
the DataDirectory to 0700 instead of 0750. Patch by "redfish".

Fixes #19953

Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-01-17 14:40:01 -05:00
..
addressmap.c Comment the heck out of the stream/circuit attaching process. 2016-10-27 12:04:43 -04:00
addressmap.h Update the copyright year. 2016-02-27 18:48:19 +01:00
bridges.c Merge branch 'prop271_030_v1_squashed' 2016-12-16 11:20:59 -05:00
bridges.h Merge branch 'prop271_030_v1_squashed' 2016-12-16 11:20:59 -05:00
buffers.c Update the buffer sentinel fix to work with our #20081 fix. 2016-10-17 14:52:44 -04:00
buffers.h Make preferred_chunk_size avoid overflow, handle big inputs better 2016-09-13 09:07:12 -04:00
channel.c Unindent long-misindented blocks. 2017-01-02 12:16:57 -05:00
channel.h Propagate Ed25519 identities downwards into more functions. 2016-12-08 16:47:58 -05:00
channeltls.c Merge branch 'prop271_030_v1_squashed' 2016-12-16 11:20:59 -05:00
channeltls.h Add "Ed ID" arguments to a bunch of connection-ID-related fns. 2016-11-03 08:37:22 -04:00
circpathbias.c Wrap all of the legacy guard code, and its users, in #ifdefs 2016-12-16 11:06:22 -05:00
circpathbias.h Update the copyright year. 2016-02-27 18:48:19 +01:00
circuitbuild.c Don't warn about absent guard state when none expected. 2016-12-19 12:24:30 -05:00
circuitbuild.h Merge branch 'prop271_030_v1_squashed' 2016-12-16 11:20:59 -05:00
circuitlist.c Merge remote-tracking branch 'public/ticket20921' 2017-01-16 12:59:39 -05:00
circuitlist.h circuit: Add a function to get the next service intro circuit 2016-12-21 15:00:19 -05:00
circuitmux_ewma.c Fix ewma_cmp_cmux never considering policies different 2016-10-25 10:07:05 -04:00
circuitmux_ewma.h Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
circuitmux.c Turn circuitmux.c comments into module docs. 2016-10-18 11:17:34 -04:00
circuitmux.h Update the copyright year. 2016-02-27 18:48:19 +01:00
circuitstats.c Replace "people" with the appropriate network component in comments 2016-12-12 09:50:21 -05:00
circuitstats.h Update the copyright year. 2016-02-27 18:48:19 +01:00
circuituse.c fix typos and trivial syntax problems 2016-12-18 04:06:02 -05:00
circuituse.h Merge branch 'prop271_030_v1_squashed' 2016-12-16 11:20:59 -05:00
command.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
command.h Update the copyright year. 2016-02-27 18:48:19 +01:00
config.c Disallow setting UseBridges to 1 and UseEntryGuards to 0 2017-01-14 14:55:23 -05:00
config.h Merge remote-tracking branch 'public/spaces_in_unix_addrs' 2016-10-14 10:21:41 -04:00
confparse.c Add "TByte" and "TBytes" units; also add "TBits" to man page 2016-11-10 09:13:27 -05:00
confparse.h Log a warning when Testing options are deprecated. 2016-08-19 20:21:04 -04:00
connection_edge.c hs: Log if service can't connect to application 2017-01-13 12:10:53 -05:00
connection_edge.h hs: Log if service can't connect to application 2017-01-13 12:10:53 -05:00
connection_or.c Merge branch 'prop271_030_v1_squashed' 2016-12-16 11:20:59 -05:00
connection_or.h Rename connection_or_remove_from_identity_map 2016-12-08 16:47:57 -05:00
connection.c comment fixups 2017-01-08 13:14:56 -05:00
connection.h Add connection_is_moribund() inline 2016-08-20 03:34:16 +00:00
control.c repair whitespace. 2017-01-11 14:59:19 -05:00
control.h Expose GETINFO download status statics for test suite and make things mockable 2016-06-29 05:55:42 +00:00
cpuworker.c Actually free the worker_state_t object when we do an update with it 2016-10-31 15:20:25 -04:00
cpuworker.h Update the copyright year. 2016-02-27 18:48:19 +01:00
dircollate.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
dircollate.h Merge branch 'maint-0.2.7' 2016-03-21 13:26:04 -04:00
directory.c Merge remote-tracking branch 'public/bug20974' 2017-01-11 09:51:58 -05:00
directory.h Use the new guard notification/selection APIs throughout Tor 2016-11-30 14:42:53 -05:00
dirserv.c fix typos and trivial syntax problems 2016-12-18 04:06:02 -05:00
dirserv.h Propagate Ed25519 identities downwards into more functions. 2016-12-08 16:47:58 -05:00
dirvote.c Automated change to use smartlist_add_strdup 2016-10-27 10:26:06 +01:00
dirvote.h Add consensus weight calculation tests 2016-10-26 16:37:16 -04:00
dns_structs.h Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
dns.c Automated change to use smartlist_add_strdup 2016-10-27 10:26:06 +01:00
dns.h Update the copyright year. 2016-02-27 18:48:19 +01:00
dnsserv.c Replace "people" with the appropriate network component in comments 2016-12-12 09:50:21 -05:00
dnsserv.h Update the copyright year. 2016-02-27 18:48:19 +01:00
entrynodes.c Make GETINFO entry-guards work again with prop271 2017-01-02 10:10:03 -05:00
entrynodes.h Make GETINFO entry-guards work again with prop271 2017-01-02 10:10:03 -05:00
ext_orport.c Module-level docs for ext_orport and router.c 2016-10-18 19:32:49 -04:00
ext_orport.h Update the copyright year. 2016-02-27 18:48:19 +01:00
fallback_dirs.inc Update the fallback directory mirror list in December 2016 2016-12-19 15:44:20 +11:00
fp_pair.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
fp_pair.h Update the copyright year. 2016-02-27 18:48:19 +01:00
geoip.c Automated change to use smartlist_add_strdup 2016-10-27 10:26:06 +01:00
geoip.h Update the copyright year. 2016-02-27 18:48:19 +01:00
hibernate.c Replace "people" with the appropriate network component in comments 2016-12-12 09:50:21 -05:00
hibernate.h Update the copyright year. 2016-02-27 18:48:19 +01:00
hs_cache.c Merge remote-tracking branch 'asn/bug20852_v1' 2017-01-11 10:14:50 -05:00
hs_cache.h Max HS descriptor size is now 50kb and also consensus param. 2017-01-09 15:02:56 +02:00
hs_circuitmap.c Fix a few clang warnings. 2016-12-14 16:01:27 -05:00
hs_circuitmap.h Fix double-typedef of or_circuit_t. 2016-12-14 16:46:54 -05:00
hs_common.c whitespace fix 2016-12-23 10:46:14 -05:00
hs_common.h Merge remote-tracking branch 'dgoulet/bug19899_030_01' 2016-12-23 08:28:05 -05:00
hs_descriptor.c Merge branch 'bug20569_030_02_squashed' 2017-01-11 12:52:52 -05:00
hs_descriptor.h Merge branch 'bug20569_030_02_squashed' 2017-01-11 12:52:52 -05:00
hs_intropoint.c hs: Remove a useless cast in verify_establish_intro_cell() 2016-12-16 12:21:07 -05:00
hs_intropoint.h whitespace fixes 2016-12-14 15:41:08 -05:00
hs_service.c test: fix the generate ESTABLISH_INTRO v3 cell 2016-12-16 12:21:07 -05:00
hs_service.h whitespace fixes 2016-12-14 15:41:08 -05:00
include.am Merge branch 'prop271_030_v1_squashed' 2016-12-16 11:20:59 -05:00
keypin.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
keypin.h Update the copyright year. 2016-02-27 18:48:19 +01:00
main.c comment fixups 2017-01-08 13:14:56 -05:00
main.h Merge branch 'maint-0.2.8' into maint-0.2.9 2016-11-03 15:44:46 -04:00
Makefile.nmake Implement scheduler mechanism to track lists of channels wanting cells or writes; doesn't actually drive the cell flow from it yet 2014-09-30 22:48:24 -07:00
microdesc.c simplify we_use_microdescriptors_for_circuits() 2016-10-02 02:22:03 -04:00
microdesc.h Add unit tests for networkstatus_consensus_is_bootstrapping 2016-05-19 07:58:41 -04:00
networkstatus.c Merge branch 'prop271_030_v1_squashed' 2016-12-16 11:20:59 -05:00
networkstatus.h Merge branch 'prop271_030_v1_squashed' 2016-12-16 11:20:59 -05:00
nodelist.c Merge branch 'ipv6-only-client_squashed' 2017-01-13 16:49:48 -05:00
nodelist.h Merge branch 'feature15056_v1_squashed' 2016-12-08 16:49:24 -05:00
ntmain.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
ntmain.h Update the copyright year. 2016-02-27 18:48:19 +01:00
onion_fast.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
onion_fast.h Update the copyright year. 2016-02-27 18:48:19 +01:00
onion_ntor.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
onion_ntor.h Update the copyright year. 2016-02-27 18:48:19 +01:00
onion_tap.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
onion_tap.h Update the copyright year. 2016-02-27 18:48:19 +01:00
onion.c Adding some assertions to onion.c 2016-12-08 16:48:01 -05:00
onion.h Migrate extend2/create2 cell encoding to Trunnel 2016-11-11 15:29:13 -05:00
or.h Merge remote-tracking branch 'dgoulet/bug20307_030_01' 2017-01-13 16:56:56 -05:00
parsecommon.c Merge branch 'maint-0.2.9' 2016-12-19 08:03:17 -05:00
parsecommon.h Make outter (plaintext) layer of HS desc conform to prop224. 2016-12-23 15:07:21 +02:00
periodic.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
periodic.h Update the copyright year. 2016-02-27 18:48:19 +01:00
policies.c Remove redundant boolean expression from firewall_is_fascist_impl() 2017-01-13 16:49:33 -05:00
policies.h policy_is_reject_star(): 2016-10-31 15:05:56 -04:00
protover.c Merge branch 'maint-0.2.9' 2016-12-02 12:10:39 -05:00
protover.h Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
reasons.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
reasons.h Update the copyright year. 2016-02-27 18:48:19 +01:00
relay.c Merge branch 'ticket17238_029_02-resquash' 2016-11-04 13:26:37 -04:00
relay.h Update the copyright year. 2016-02-27 18:48:19 +01:00
rendcache.c Merge branch 'maint-0.2.9' 2016-12-19 08:03:17 -05:00
rendcache.h prop224: Directory cache support 2016-11-04 10:31:35 -04:00
rendclient.c Use the new guard notification/selection APIs throughout Tor 2016-11-30 14:42:53 -05:00
rendclient.h Merge branch 'ticket17238_029_02-resquash' 2016-11-04 13:26:37 -04:00
rendcommon.c Make log message warn about detected attempts to exploit 21018. 2016-12-18 20:17:28 -05:00
rendcommon.h Merge branch 'ticket17238_029_02-resquash' 2016-11-04 13:26:37 -04:00
rendmid.c prop224: Use new HS functions in old HS code. 2016-12-14 15:18:40 -05:00
rendmid.h prop224: Introduce the new introduction point code. 2016-12-14 15:18:36 -05:00
rendservice.c Fix a double-free in rend_config_services() 2017-01-17 11:35:26 -05:00
rendservice.h test: Add unit test for prune_services_on_reload() 2016-12-21 15:00:19 -05:00
rephist.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
rephist.h Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
replaycache.c Turn replaycache.c module doc into doxygen 2016-10-18 12:31:50 -04:00
replaycache.h Update the copyright year. 2016-02-27 18:48:19 +01:00
router.c relay: Honor DataDirectoryGroupReadable at key init 2017-01-17 14:40:01 -05:00
router.h refactor router_pick_published_address to have another arg 2016-11-16 16:13:03 -05:00
routerkeys.c relay: Honor DataDirectoryGroupReadable at key init 2017-01-17 14:40:01 -05:00
routerkeys.h Add a function to check whether a given ed id key is ours 2016-12-08 16:47:58 -05:00
routerlist.c Merge branch 'ipv6-only-client_squashed' 2017-01-13 16:49:48 -05:00
routerlist.h Remove AuthDirMaxServersPerAuthAddr 2016-12-13 13:09:27 -05:00
routerparse.c Merge branch 'maint-0.2.9' 2016-12-19 08:03:17 -05:00
routerparse.h Unit tests for proposal 271 client-side implementation 2016-09-13 09:45:55 -04:00
routerset.c Add some needed accessors/inspectors for bridge/guard convergence 2016-12-16 11:06:18 -05:00
routerset.h Add some needed accessors/inspectors for bridge/guard convergence 2016-12-16 11:06:18 -05:00
scheduler.c Whitespace fixes 2016-10-26 08:39:04 -04:00
scheduler.h Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
shared_random_state.c Merge remote-tracking branch 'public/deprecation_v2' 2016-08-19 19:58:51 -04:00
shared_random_state.h Keep make check-spaces happy 2016-07-01 21:52:32 +00:00
shared_random.c control: Add GETINFO command for the shared random values 2017-01-09 11:33:05 -05:00
shared_random.h control: Add GETINFO command for the shared random values 2017-01-09 11:33:05 -05:00
statefile.c Make new prop271 entry guards persistent 2016-11-30 14:44:43 -05:00
statefile.h Update the copyright year. 2016-02-27 18:48:19 +01:00
status.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
status.h Update the copyright year. 2016-02-27 18:48:19 +01:00
tor_main.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
torcert.c Merge remote-tracking branch 'dgoulet/ticket20568_030_01' 2016-12-01 09:23:36 -05:00
torcert.h Move encode_cert to torcert.c and rename it to tor_cert_encode_ed22519() 2016-11-10 11:00:50 -05:00
transports.c Split bridge functions into a new module. 2016-11-30 14:42:52 -05:00
transports.h Update the copyright year. 2016-02-27 18:48:19 +01:00