tor/src/or
Linus Nordberg 4d54b9774d Add support for offsetting the voting interval in order to bootstrap faster.
A new option TestingV3AuthVotingStartOffset is added which offsets the
starting time of the voting interval. This is possible only when
TestingTorNetwork is set.

This patch makes run_scheduled_events() check for new consensus
downloads every second when TestingTorNetwork, instead of every
minute. This should be fine, see #8532 for reasoning.

This patch also brings MIN_VOTE_SECONDS and MIN_DIST_SECONDS down from
20 to 2 seconds, unconditionally. This makes sanity checking of
misconfiguration slightly less sane.

Addresses #8532.
2013-06-08 15:25:32 +02:00
..
addressmap.c Controller: Add CACHED keyword to ADDRMAP events (#8596 part 2/2) 2013-04-03 18:50:51 +02:00
addressmap.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
buffers.c Fix socks5 handshake for username/password auth 2013-05-15 03:34:37 -04:00
buffers.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
channel.c Don't assert when writing a cell to a CLOSING connection. 2013-03-19 16:35:40 -04:00
channel.h Merge remote-tracking branch 'public/wide_circ_ids' 2013-02-15 16:23:43 -05:00
channeltls.c Fix a framing bug when reading versions from a versions cell. 2013-03-11 12:29:28 -04:00
channeltls.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
circuitbuild.c Bug 8235: Fix scaling adjustments. 2013-04-24 22:03:02 -04:00
circuitbuild.h Downgrade an assert to LD_BUG 2013-02-19 15:02:08 -05:00
circuitlist.c Merge branch 'bug7582_v2' into maint-0.2.4 2013-03-19 12:29:29 -04:00
circuitlist.h Rename circuit_expire_all_dirty_circs 2013-02-19 18:37:03 -05:00
circuitmux_ewma.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
circuitmux_ewma.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
circuitmux.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
circuitmux.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
circuitstats.c Clarify liveness log message and lower it to notice. 2013-03-27 16:22:43 -07:00
circuitstats.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
circuituse.c Don't relax the timeout for already opened 1-hop circuits. 2013-03-29 12:17:05 -04:00
circuituse.h Stop frobbing timestamp_dirty as our sole means to mark circuits unusable 2013-02-19 18:29:17 -05:00
command.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
command.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
config_codedigest.c Resolve about 24 DOCDOCs 2012-06-05 00:17:54 -04:00
config.c Add support for offsetting the voting interval in order to bootstrap faster. 2013-06-08 15:25:32 +02:00
config.h Extract duplicate code in geoip and rephist. 2013-05-24 13:12:18 -04:00
confparse.c Tweak #6752 patch based on comments by nickm. 2013-05-24 10:28:31 +02:00
confparse.h Lower dir fetch retry schedules in testing networks. 2013-05-16 12:08:48 +02:00
connection_edge.c Fix bug 8846: better log message on IP version confusion 2013-05-17 14:50:45 -04:00
connection_edge.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
connection_or.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
connection_or.h Merge remote-tracking branch 'public/wide_circ_ids' 2013-02-15 16:23:43 -05:00
connection.c Tweak fix for #8789 a bit; avoid double-close and add changes file 2013-05-24 12:23:21 -04:00
connection.h Validate SOCKS arguments. 2013-02-09 16:30:16 +00:00
control.c Check the return value of memchr(). 2013-05-14 12:23:17 -04:00
control.h Merge remote-tracking branch 'public/bug8716_023' into maint-0.2.4 2013-04-18 21:33:53 -04:00
cpuworker.c Check return values from fcntl and setsockopt 2013-03-18 14:28:38 -04:00
cpuworker.h Merge branch 'time_based_onionqueue_v2' of ssh://git-rw.torproject.org/nickm/tor 2013-01-24 08:10:12 -08:00
directory.c Tweak #6752 patch based on comments by nickm. 2013-05-24 10:28:31 +02:00
directory.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
dirserv.c Add support for offsetting the voting interval in order to bootstrap faster. 2013-06-08 15:25:32 +02:00
dirserv.h Merge branch 'less_charbuf_rebased' into maint-0.2.4 2013-04-18 11:13:36 -04:00
dirvote.c Add support for offsetting the voting interval in order to bootstrap faster. 2013-06-08 15:25:32 +02:00
dirvote.h Add support for offsetting the voting interval in order to bootstrap faster. 2013-06-08 15:25:32 +02:00
dns.c Rename log() to tor_log() for logging 2013-02-01 15:43:37 -05:00
dns.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
dnsserv.c Fix some wide lines 2013-03-18 15:39:11 -04:00
dnsserv.h Fix some wide lines 2013-03-18 15:39:11 -04:00
entrynodes.c Merge remote-tracking branch 'origin/maint-0.2.4' 2013-04-24 22:05:41 -04:00
entrynodes.h Merge remote-tracking branch 'asn/bug3594_rebased_and_fixed' 2013-03-19 13:25:45 -04:00
eventdns_tor.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
fp_pair.c Implement fp_pair_map_t 2013-05-09 10:54:55 -07:00
fp_pair.h Implement fp_pair_map_t 2013-05-09 10:54:55 -07:00
geoip.c Reformat 4282 fixes a little 2013-05-24 13:37:14 -04:00
geoip.h Remove dirreq-v2-* lines from extra-info descriptors. 2013-01-17 10:46:34 +01:00
hibernate.c Remove a bunch of unused macro definitions 2013-02-23 23:05:25 -05:00
hibernate.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
include.am Merge bug5595-v2-squashed into maint-0.2.4 2013-05-10 19:39:48 -07:00
main.c Add support for offsetting the voting interval in order to bootstrap faster. 2013-06-08 15:25:32 +02:00
main.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
Makefile.nmake Merge bug5595-v2-squashed into maint-0.2.4 2013-05-10 19:39:48 -07:00
microdesc.c Lower dir fetch retry schedules in testing networks. 2013-05-16 12:08:48 +02:00
microdesc.h Log fname:lineno in log messages for #7164 2013-03-13 10:42:58 -04:00
networkstatus.c Lower dir fetch retry schedules in testing networks. 2013-05-16 12:08:48 +02:00
networkstatus.h Remove some totally unused functions 2013-02-23 23:31:31 -05:00
nodelist.c Make PathsNeededToBuildCircuits option work. 2013-03-28 09:32:19 -04:00
nodelist.h On END_REASON_EXITPOLICY, mark circuit as unusable for that address. 2013-03-11 23:37:47 -04:00
ntmain.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
ntmain.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_fast.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_fast.h Wrap more macro definitions in (parentheses) 2013-02-09 00:16:04 -05:00
onion_ntor.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_ntor.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_tap.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_tap.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion.c Fix a warning when building with --disable-curve25519 2013-02-04 11:34:23 -05:00
onion.h Fix an MSVC warning in onion.h prototypes 2013-01-17 14:42:37 -05:00
or.h Add support for offsetting the voting interval in order to bootstrap faster. 2013-06-08 15:25:32 +02:00
policies.c On END_REASON_EXITPOLICY, mark circuit as unusable for that address. 2013-03-11 23:37:47 -04:00
policies.h On END_REASON_EXITPOLICY, mark circuit as unusable for that address. 2013-03-11 23:37:47 -04:00
reasons.c When we get an END cell before CONNECTED, don't report SOCKS success 2013-01-16 12:09:49 -05:00
reasons.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
relay.c Restore 8093 log messages to WARN severity, but rate limit 2013-05-21 14:00:30 -04:00
relay.h Debugging log for bug 8185 2013-03-19 17:00:40 -04:00
rendclient.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
rendclient.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
rendcommon.c Remove some totally unused functions 2013-02-23 23:31:31 -05:00
rendcommon.h Remove some totally unused functions 2013-02-23 23:31:31 -05:00
rendmid.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
rendmid.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
rendservice.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
rendservice.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
rephist.c Extract duplicate code in geoip and rephist. 2013-05-24 13:12:18 -04:00
rephist.h When we mark a node as a sybil, mark it down and reset its uptime to 0 2013-02-04 11:11:54 -05:00
replaycache.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
replaycache.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
router.c Merge bug5595-v2-squashed into maint-0.2.4 2013-05-10 19:39:48 -07:00
router.h Merge remote-tracking branch 'public/bug6026' into maint-0.2.4 2013-04-24 22:15:47 -04:00
routerlist.c Lower dir fetch retry schedules in testing networks. 2013-05-16 12:08:48 +02:00
routerlist.h Merge bug5595-v2-squashed into maint-0.2.4 2013-05-10 19:39:48 -07:00
routerparse.c Merge branch 'less_charbuf_rebased' into maint-0.2.4 2013-04-18 11:13:36 -04:00
routerparse.h Merge branch 'less_charbuf_rebased' into maint-0.2.4 2013-04-18 11:13:36 -04:00
routerset.c Fix typos in a few log messages 2013-03-10 22:59:19 -04:00
routerset.h When excluding nodes by country, exclude {??} and {A1} too 2013-01-17 18:07:36 -05:00
statefile.c Add EntryGuardPathUseBias to state file keyword list. 2013-02-01 17:01:26 -05:00
statefile.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
status.c Merge remote-tracking branch 'public/bug7302' into maint-0.2.4 2013-04-11 01:42:54 -04:00
status.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
tor_main.c Fix a comment in tor_main.c 2013-02-25 03:24:53 -05:00
transports.c Merge remote-tracking branch 'asn/bug3594_rebased_and_fixed' 2013-03-19 13:25:45 -04:00
transports.h Send SOCKS arguments when doing SOCKS4. 2013-02-09 16:30:16 +00:00