tor/src/or
Nick Mathewson c3e40a8361 Allow cpuworkers to exist without onion keys
Now that we allow cpuworkers for dirport-only hosts (to fix 23693),
we need to allow dup_onion_keys() to succeed for them.

The change to construct_ntor_key_map() is for correctness,
but is not strictly necessary.
2018-04-22 17:17:07 -04:00
..
addressmap.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
addressmap.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
auth_dirs.inc Lift the list of default directory servers into their own file. 2018-04-09 16:00:26 +02:00
bridges.c Set guard state on bridge descriptor fetches. 2017-05-22 15:57:33 +03:00
bridges.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
buffers.c Merge branch 'maint-0.2.9' into maint-0.3.0 2017-09-11 17:49:18 -04:00
buffers.h Rename write_to_buf_zlib() to write_to_buf_compress(). 2017-04-18 01:23:39 +02:00
channel.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
channel.h Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
channelpadding.c Merge branch 'ticket17857_squashed' into maint-0.3.1 2017-09-12 10:29:00 -04:00
channelpadding.h Ticket #17857: Apply padding off-switch to existing connections. 2017-09-12 10:28:45 -04:00
channeltls.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
channeltls.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
circpathbias.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
circpathbias.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuitbuild.c Merge branch 'dgoulet_ticket22060_031_01_squashed' 2017-05-09 10:32:21 -04:00
circuitbuild.h Add tests for new_route_len() 2017-04-03 11:58:11 -04:00
circuitlist.c Merge branch 'maint-0.2.9' into maint-0.3.0 2017-10-23 08:53:25 -04:00
circuitlist.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuitmux_ewma.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuitmux_ewma.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuitmux.c Merge branch 'maint-0.3.0' into maint-0.3.1 2017-12-21 10:50:06 -05:00
circuitmux.h Merge branch 'maint-0.3.0' into maint-0.3.1 2017-12-21 10:50:06 -05:00
circuitstats.c Merge branch 'maint-0.3.0' 2017-05-18 10:06:27 -04:00
circuitstats.h Merge branch 'maint-0.3.0' 2017-05-18 10:06:27 -04:00
circuituse.c Merge branch 'dgoulet_ticket22060_031_01_squashed' 2017-05-09 10:32:21 -04:00
circuituse.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
command.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
command.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
config.c Fix another crash-on-no-threadpool bug. 2018-04-10 14:44:38 -04:00
config.h config: Remove {Control,DNS,Dir,Socks,Trans,NATD,OR}ListenAddress option 2017-05-09 10:30:52 -04:00
confparse.c Delete useless checks in confparse.c 2017-05-02 16:12:30 -04:00
confparse.h Add support for %include funcionality on torrc #1922 2017-05-18 23:44:16 +01:00
connection_edge.c Merge branch 'maint-0.2.9' into maint-0.3.0 2017-09-11 17:49:18 -04:00
connection_edge.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
connection_or.c backport to make channel_is_client() accurate 2018-02-16 08:39:10 -05:00
connection_or.h Merge branch 'maint-0.3.0' 2017-06-05 15:52:06 -04:00
connection.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
connection.h Rename write_to_buf_zlib() to write_to_buf_compress(). 2017-04-18 01:23:39 +02:00
conscache.c add an explanatory comment about the error codes 2017-11-21 12:36:32 -05:00
conscache.h On windows, allow many entries in conscache directories 2017-08-29 13:03:36 -04:00
consdiff.c Improve fragile-hardening performance of consensus_split_lines. 2018-01-16 12:42:40 -05:00
consdiff.h Request (and try to use) consensus diffs. 2017-05-04 08:37:41 -04:00
consdiffmgr.c But in most Earth cultures, there are 60s in a minute. 2018-01-31 10:06:43 -05:00
consdiffmgr.h Set published_out for consensus cache entries in spooled_resource_estimate_size(). 2017-06-27 18:25:48 -04:00
control.c Merge branch 'maint-0.3.0' into maint-0.3.1 2017-09-08 08:24:47 -04:00
control.h Add regression test for #22304 2017-04-24 09:20:59 -04:00
cpuworker.c Fix the cpuworker.c documentation to mention all the kinds of work 2017-07-27 16:28:59 -04:00
cpuworker.h Queue consensus diffs at LOW priority. 2017-07-27 16:28:59 -04:00
dircollate.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
dircollate.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
directory.c Merge remote-tracking branch 'public/bug23817_031' into maint-0.3.1 2017-12-11 16:45:54 -05:00
directory.h Introduce cache for outdated microdesc dirservers. 2017-11-17 09:52:40 -05:00
dirserv.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-13 08:50:58 -05:00
dirserv.h Store the sha3 of a networkstatus as part of the networkstatus_t 2017-05-04 08:37:41 -04:00
dirvote.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
dirvote.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
dns_structs.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
dns.c Merge branch 'maint-0.3.0' into maint-0.3.1 2017-11-30 11:48:12 -05:00
dns.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
dnsserv.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
dnsserv.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
dos.c Merge remote-tracking branch 'dgoulet/bug25223_029_01' into ticket24902_029_05 2018-02-13 13:11:10 -05:00
dos.h dos: Make sure cc_stats_refill_bucket can't overflow while calculating 2018-01-31 09:27:59 -05:00
entrynodes.c Merge remote-tracking branch 'public/bug23817_031' into maint-0.3.1 2017-12-11 16:45:54 -05:00
entrynodes.h Check number of usable guards when applying md restrictions. 2017-11-20 14:28:56 -05:00
ext_orport.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
ext_orport.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
fallback_dirs.inc Add 7 other fallback dirs from teor's tests 2018-01-08 11:03:44 -05:00
fp_pair.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
fp_pair.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
geoip.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
geoip.h Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
hibernate.c Merge branch 'bug19418_029' into maint-0.3.1 2017-08-25 11:38:24 -04:00
hibernate.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
hs_cache.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
hs_cache.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
hs_circuitmap.c hs: Add service-side circuitmap API. 2017-04-13 14:23:51 -04:00
hs_circuitmap.h hs: Add service-side circuitmap API. 2017-04-13 14:23:51 -04:00
hs_common.c Merge branch 'bug24895_029_02' into bug24895_031_02 2018-01-19 16:21:55 -05:00
hs_common.h Merge branch 'bug24895_029_02' into bug24895_031_02 2018-01-19 16:21:55 -05:00
hs_descriptor.c test: Fix memory leak in hs_descriptor/decode_bad_signature 2017-09-05 09:26:21 -04:00
hs_descriptor.h test: Fix memory leak in hs_descriptor/decode_bad_signature 2017-09-05 09:26:21 -04:00
hs_intropoint.c hs: Avoid possible double circuit close on error 2017-09-22 09:09:13 -04:00
hs_intropoint.h hs: Change trunnel prop224 cell's namespace 2017-04-11 13:46:41 -04:00
hs_ntor.c prop224: Add module that performs the HS ntor handshake. 2017-04-13 09:22:19 -04:00
hs_ntor.h prop224: Add module that performs the HS ntor handshake. 2017-04-13 09:22:19 -04:00
hs_service.c Merge branch 'bug24895_029_02' into bug24895_031_02 2018-01-19 16:21:55 -05:00
hs_service.h hs: Change trunnel prop224 cell's namespace 2017-04-11 13:46:41 -04:00
include.am Merge branch 'maint-0.2.9' into maint-0.3.1 2018-04-10 14:26:29 -04:00
keypin.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
keypin.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
main.c Fix another crash-on-no-threadpool bug. 2018-04-10 14:44:38 -04:00
main.h clang-i386: use house style for public-when-testing variables 2017-05-08 15:38:05 -04:00
Makefile.nmake Netflow record collapsing defense. 2017-05-08 13:49:21 -04:00
microdesc.c Introduce cache for outdated microdesc dirservers. 2017-11-17 09:52:40 -05:00
microdesc.h Introduce cache for outdated microdesc dirservers. 2017-11-17 09:52:40 -05:00
networkstatus.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
networkstatus.h Implement functions to expose valid/fresh-until and voters 2017-05-15 17:21:55 -04:00
nodelist.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-03-27 18:23:53 -04:00
nodelist.h Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
ntmain.c Merge remote-tracking branch 'public/bug23081_025' into maint-0.2.9 2017-10-23 08:47:52 -04:00
ntmain.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion_fast.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion_fast.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion_ntor.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion_ntor.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion_tap.c Teach cov-exclude to detect runaway LCOV_EXCL_START lines 2017-04-25 10:59:19 -04:00
onion_tap.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion.c Merge remote-tracking branch 'public/bug20059_024_v2' into maint-0.2.9 2017-08-01 11:28:36 -04:00
onion.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
or.h Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
parsecommon.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
parsecommon.h prop224: Change encryption keys descriptor encoding 2017-05-11 08:33:26 -04:00
periodic.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
periodic.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
policies.c Merge branch 'maint-0.3.0' into maint-0.3.1 2018-01-02 10:10:28 -05:00
policies.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
protover.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-03-01 16:07:59 -05:00
protover.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
reasons.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
reasons.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
relay.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
relay.h Merge branch 'maint-0.3.0' into maint-0.3.1 2017-12-21 10:50:06 -05:00
rendcache.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendcache.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendclient.c Merge branch 'bug19418_029' into maint-0.3.1 2017-08-25 11:38:24 -04:00
rendclient.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendcommon.c Merge branch 'bug19418_029' into maint-0.3.1 2017-08-25 11:38:24 -04:00
rendcommon.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendmid.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
rendmid.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendservice.c Merge branch 'bug24895_029_02' into bug24895_031_02 2018-01-19 16:21:55 -05:00
rendservice.h hs: Make the service list pruning function public 2017-04-13 16:25:49 -04:00
rephist.c Merge branch 'maint-0.3.0' into maint-0.3.1 2017-12-11 16:54:14 -05:00
rephist.h Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
replaycache.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
replaycache.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
router.c Allow cpuworkers to exist without onion keys 2018-04-22 17:17:07 -04:00
router.h Merge branch 'ahf_bugs_21641_squashed' 2017-03-17 11:16:24 -04:00
routerkeys.c Merge branch 'bug19418_029' into maint-0.3.1 2017-08-25 11:38:24 -04:00
routerkeys.h Merge branch 'maint-0.3.0' 2017-06-05 15:52:06 -04:00
routerlist.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-12 08:33:47 -05:00
routerlist.h Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value 2017-05-10 20:03:07 -04:00
routerparse.c Merge branch 'bug19418_029' into maint-0.3.1 2017-08-25 11:38:24 -04:00
routerparse.h bug#22143/prop#140: identify input diffs by their digest-as-signed 2017-05-03 13:09:08 -04:00
routerset.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
routerset.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
scheduler.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
scheduler.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
shared_random_state.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
shared_random_state.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
shared_random.c Remove SR_COMMIT_LEN workaround 2017-04-07 18:19:15 -04:00
shared_random.h Use macros for base64 lengths in shared_random.h 2017-04-06 17:43:17 -04:00
statefile.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
statefile.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
status.c Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
status.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
tor_main.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
torcert.c Merge branch 'bug22466_diagnostic_030' 2017-06-05 09:52:09 -04:00
torcert.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
transports.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
transports.h Run the copyright update script. 2017-03-15 16:13:17 -04:00