tor/src/or
David Goulet 6b1dba214d cmux: Make EWMA policy mandatory
To achieve this, a default value for the CircuitPriorityHalflife option was
needed. We still look in the options and then the consensus but in case no
value can be found, the default CircuitPriorityHalflifeMsec=30000 is used. It
it the value we've been using since 0.2.4.4-alpha.

This means that EWMA, our only policy, can not be disabled anymore fallbacking
to the round robin algorithm. Unneeded code to control that is removed in this
commit.

Part of #25268

Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-02-15 13:45:21 -05:00
..
addressmap.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
addressmap.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
bridges.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
bridges.h Stop checking cached bridge descriptors for usable bridges 2017-11-22 02:00:34 +11:00
channel.c cmux: Make EWMA policy mandatory 2018-02-15 13:45:21 -05:00
channel.h cmux: Make EWMA policy mandatory 2018-02-15 13:45:21 -05:00
channelpadding.c more fixes for typos, grammar, whitespace, etc 2018-02-07 12:22:29 -05:00
channelpadding.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
channeltls.c cmux: Make EWMA policy mandatory 2018-02-15 13:45:21 -05:00
channeltls.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
circpathbias.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
circpathbias.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
circuitbuild.c Merge remote-tracking branch 'dgoulet/ticket25163_033_01' 2018-02-07 12:46:27 -05:00
circuitbuild.h rephist: Stop tracking EXTEND attempts 2018-02-06 12:43:55 -05:00
circuitlist.c Merge remote-tracking branch 'mikeperry/bug24769' 2018-02-14 10:03:14 -05:00
circuitlist.h Merge branch 'maint-0.3.2' 2017-12-11 09:45:17 -05:00
circuitmux_ewma.c cmux: Make EWMA policy mandatory 2018-02-15 13:45:21 -05:00
circuitmux_ewma.h cmux: Make EWMA policy mandatory 2018-02-15 13:45:21 -05:00
circuitmux.c Merge branch 'maint-0.3.2' 2017-12-21 10:54:05 -05:00
circuitmux.h Merge branch 'maint-0.3.2' 2017-12-21 10:54:05 -05:00
circuitstats.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
circuitstats.h Report close and timeout rates since uptime, not based on data. 2017-12-07 00:04:39 +00:00
circuituse.c Merge remote-tracking branch 'mikeperry/bug24769' 2018-02-14 10:03:14 -05:00
circuituse.h Implement layer 2 and layer 3 guard pinning via torrc. 2018-01-19 22:21:48 +00:00
command.c more fixes for typos, grammar, whitespace, etc 2018-02-07 12:22:29 -05:00
command.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
config.c cmux: Make EWMA policy mandatory 2018-02-15 13:45:21 -05:00
config.h Use thread-safe types to store the LOG_PROTOCOL_WARN severity 2018-01-31 14:37:09 -05:00
confparse.c Update free functions into macros: src/or/ part 1 2017-12-08 14:47:19 -05:00
confparse.h Simplify the very repetitious options_transition_allowed() 2017-12-15 15:32:46 -05:00
connection_edge.c Bug 24946: Fix a warning message caused by a missed purpose check. 2018-01-20 03:18:31 +00:00
connection_edge.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
connection_or.c rephist: Stop tracking relay connection status 2018-02-06 12:56:36 -05:00
connection_or.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
connection.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
connection.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
conscache.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
conscache.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
consdiff.c Improve fragile-hardening performance of consensus_split_lines. 2018-01-16 12:42:40 -05:00
consdiff.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
consdiffmgr.c Merge branch 'maint-0.3.1' into maint-0.3.2 2018-01-31 10:06:49 -05:00
consdiffmgr.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
control.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
control.h control: Don't use void pointer for ADD_ONION secret key 2017-12-05 19:39:46 -05:00
cpuworker.c more fixes for typos, grammar, whitespace, etc 2018-02-07 12:22:29 -05:00
cpuworker.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
dircollate.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
dircollate.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
directory.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
directory.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
dirserv.c dirserv: Improve returned message when relay is rejected 2018-02-08 09:42:26 -05:00
dirserv.h Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
dirvote.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
dirvote.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
dns_structs.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
dns.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
dns.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
dnsserv.c Convert connection_free to a nulling macro. 2017-12-08 14:47:19 -05:00
dnsserv.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -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 circ: Don't cannibalize a circuit if the guard state is unusable 2018-01-31 16:10:48 -05:00
entrynodes.h Improve doc of primary_guards_up_to_date. 2018-02-07 11:46:30 +02:00
ext_orport.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
ext_orport.h Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
fallback_dirs.inc Add 7 other fallback dirs from teor's tests 2018-01-08 11:03:44 -05:00
fp_pair.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
fp_pair.h Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
geoip.c Merge remote-tracking branch 'dgoulet/ticket24902_029_05' 2018-02-05 14:00:50 -05:00
geoip.h Merge remote-tracking branch 'dgoulet/ticket24902_029_05' 2018-02-02 15:00:35 -05:00
git_revision.c Move tor_git_revision into a new module. 2017-10-18 13:49:35 -04:00
git_revision.h re-run ./scripts/maint/annotate_ifdef_directives 2017-11-21 14:07:43 -05:00
hibernate.c Merge branch 'bug23571_033_squashed' 2017-10-31 11:59:18 -04:00
hibernate.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
hs_cache.c more fixes for typos, grammar, whitespace, etc 2018-02-07 12:22:29 -05:00
hs_cache.h hs-v3: Add an encoded descriptor client cache lookup function 2017-11-20 11:02:30 -05:00
hs_cell.c prop224: Add a function to clear INTRO data 2017-08-24 13:03:28 -04:00
hs_cell.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
hs_circuit.c whitespace and typo cleanups 2018-02-09 17:05:20 -05:00
hs_circuit.h Merge branch 'maint-0.3.2' 2017-12-11 09:45:17 -05:00
hs_circuitmap.c Merge remote-tracking branch 'ffmancera/github/bug23459' 2017-12-11 09:53:39 -05:00
hs_circuitmap.h Split client-side get_rend_circ into two functions. 2017-12-08 18:14:08 +01:00
hs_client.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
hs_client.h hs-v3: Attempt descriptor refetch when dirinfo changes 2017-10-31 12:14:11 -04:00
hs_common.c oxford comma for-the-win 2018-01-19 18:42:53 -05:00
hs_common.h Merge branch 'maint-0.3.2' 2018-01-19 16:30:53 -05:00
hs_config.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
hs_config.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
hs_control.c Check the return value of hs_parse_address(). 2017-12-06 14:56:52 +01:00
hs_control.h hs-v3: Add an handler for the HSPOST command 2017-12-05 19:39:46 -05:00
hs_descriptor.c Fix wide lines from typo-fix patch. 2018-02-07 10:46:05 -05:00
hs_descriptor.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
hs_ident.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
hs_ident.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
hs_intropoint.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
hs_intropoint.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
hs_ntor.c Explicit length checks in create_rend_cpath(). 2017-07-07 11:12:27 -04:00
hs_ntor.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
hs_service.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
hs_service.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
hs_stats.c Add onion service activity information to our heartbeat logs. 2018-01-23 12:31:06 +02:00
hs_stats.h Add onion service activity information to our heartbeat logs. 2018-01-23 12:31:06 +02:00
include.am Merge branch 'ticket24902_029_05' into ticket24902_033_02 2018-01-30 09:33:12 -05:00
keypin.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
keypin.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
main.c more fixes for typos, grammar, whitespace, etc 2018-02-07 12:22:29 -05:00
main.h Merge branch 'disable_signal_handlers' 2018-01-19 16:35:24 -05:00
Makefile.nmake Netflow record collapsing defense. 2017-05-08 13:49:21 -04:00
microdesc.c Merge branch 'more_directories_squashed' 2017-12-05 19:49:45 -05:00
microdesc.h Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
networkstatus.c cmux: Make EWMA policy mandatory 2018-02-15 13:45:21 -05:00
networkstatus.h Add networkstatus_consensus_has_ipv6() and unit tests 2017-12-11 00:34:19 +11:00
nodelist.c Merge remote-tracking branch 'dgoulet/ticket24902_029_05' 2018-02-09 12:08:12 -05:00
nodelist.h Merge remote-tracking branch 'dgoulet/ticket24902_029_05' 2018-02-09 12:08:12 -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 our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
onion_fast.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
onion_fast.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
onion_ntor.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
onion_ntor.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
onion_tap.c Rename the hybrid_encrypt/decrypt functions; label them as dangerous 2017-07-24 14:34:53 -04:00
onion_tap.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
onion.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
onion.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
or.h more fixes for typos, grammar, whitespace, etc 2018-02-07 12:22:29 -05:00
parsecommon.c Fix warnings about passing uninitialized buffers into functions 2017-09-12 21:32:42 -04:00
parsecommon.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
periodic.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
periodic.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
policies.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
policies.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
proto_cell.c Add unit tests for var_cell and control0 proto functions. 2017-09-27 09:09:00 -04:00
proto_cell.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
proto_control0.c Refactor buffer APIs to put a buf_t first. 2017-09-05 13:57:51 -04:00
proto_control0.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
proto_ext_or.c Refactor buffer APIs to put a buf_t first. 2017-09-05 13:57:51 -04:00
proto_ext_or.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
proto_http.c Refactor buffer APIs to put a buf_t first. 2017-09-05 13:57:51 -04:00
proto_http.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
proto_socks.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
proto_socks.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
protover_rust.c re-run ./scripts/maint/annotate_ifdef_directives 2017-11-21 14:07:43 -05:00
protover.c Merge branch 'maint-0.3.2' 2018-02-01 15:28:17 -05:00
protover.h move a macro; fix a build? 2017-12-08 15:11:18 -05:00
reasons.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
reasons.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
relay.c Merge remote-tracking branch 'dgoulet/ticket24902_029_05' 2018-02-02 15:00:35 -05:00
relay.h Merge remote-tracking branch 'ffmancera/github/bug24501' 2018-01-10 12:46:39 -05:00
rendcache.c more fixes for typos, grammar, whitespace, etc 2018-02-07 12:22:29 -05:00
rendcache.h Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
rendclient.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
rendclient.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
rendcommon.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
rendcommon.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
rendmid.c Merge branch 'ticket24902_029_05' into ticket24902_033_02 2018-01-30 09:33:12 -05:00
rendmid.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
rendservice.c more fixes for typos, grammar, whitespace, etc 2018-02-07 12:22:29 -05:00
rendservice.h Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
rephist.c Merge remote-tracking branch 'dgoulet/ticket25163_033_01' 2018-02-07 12:46:27 -05:00
rephist.h rephist: Stop tracking relay connection status 2018-02-06 12:56:36 -05:00
replaycache.c whitespace and typo cleanups 2018-02-09 17:05:20 -05:00
replaycache.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
router.c Merge branch 'maint-0.3.0' into maint-0.3.1 2017-12-11 16:54:14 -05:00
router.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
routerkeys.c Merge branch 'maint-0.3.2' 2018-01-31 09:19:55 -05:00
routerkeys.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
routerlist.c more fixes for typos, grammar, whitespace, etc 2018-02-07 12:22:29 -05:00
routerlist.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
routerparse.c Look at the correct protocol for supports_v3_rendezvous_point 2018-01-31 14:09:47 -05:00
routerparse.h Fix a failing unit test. 2018-01-31 14:06:37 -05:00
routerset.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
routerset.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
scheduler_kist.c more fixes for typos, grammar, whitespace, etc 2018-02-07 12:22:29 -05:00
scheduler_vanilla.c Remove now-duplicate log_debug lines 2017-12-11 09:43:09 -05:00
scheduler.c Merge branch 'maint-0.3.2' 2018-02-02 12:03:54 -05:00
scheduler.h Merge branch 'maint-0.3.2' 2018-02-01 08:15:09 -05:00
shared_random_state.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
shared_random_state.h Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
shared_random.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
shared_random.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
statefile.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
statefile.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
status.c more fixes for typos, grammar, whitespace, etc 2018-02-07 12:22:29 -05:00
status.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
tor_api_internal.h re-run ./scripts/maint/annotate_ifdef_directives 2017-11-21 14:07:43 -05:00
tor_api.c Add a public tor_api.h with an implementation in tor_api.c 2017-11-01 13:22:09 -04:00
tor_api.h Make the warnings about restarting tor in-process more scary. 2018-01-11 12:46:50 -05:00
tor_main.c Add a mostly disabled feature to debug restarting in-process 2018-01-19 09:52:05 -05:00
torcert.c Merge branch 'maint-0.3.2' 2018-01-31 09:19:55 -05:00
torcert.h Merge branch 'maint-0.3.2' 2018-01-31 09:19:55 -05:00
transports.c Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
transports.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00