Age | Commit message (Collapse) | Author |
|
Update the function that handles directory authority votes when the
dirauth module is disabled.
Part of 4631.
|
|
|
|
Refactor dirvote_add_vote() by splitting some code out into static
functions.
Cleanup after 4631.
|
|
Part of 4631.
|
|
Part of 4631.
|
|
If we receive via 'post' a vote from a dir auth after the
fetch_missing_votes cutoff, that means we didn't get it by the time we
begin the "fetching missing votes from everybody else" phase, which means
it is very likely to cause a consensus split if we count it. Instead,
we reject it.
But we still allow votes that we fetch ourselves after that cutoff.
This is a demo branch for making progress on #4631.
I've been running it on moria1 and it catches and handles real buggy
behavior from directory authorities, e.g.
Jan 28 15:59:50.804 [warn] Rejecting vote from 199.58.81.140 received at 2020-01-28 20:59:50; our cutoff for received votes is 2020-01-28 20:52:30
Jan 28 15:59:50.805 [warn] Rejected vote from 199.58.81.140 ("Vote received too late, would be dangerous to count it").
Jan 29 01:52:52.667 [warn] Rejecting vote from 204.13.164.118 received at 2020-01-29 06:52:52; our cutoff for received votes is 2020-01-29 06:52:30
Jan 29 01:52:52.669 [warn] Rejected vote from 204.13.164.118 ("Vote received too late, would be dangerous to count it").
Jan 29 04:53:26.323 [warn] Rejecting vote from 204.13.164.118 received at 2020-01-29 09:53:26; our cutoff for received votes is 2020-01-29 09:52:30
Jan 29 04:53:26.326 [warn] Rejected vote from 204.13.164.118 ("Vote received too late, would be dangerous to count it").
|
|
|
|
These logs break up the chutney test output.
Part of 33280.
|
|
Also:
* wrap some long lines
* replace an instance of "test ... -a ..." with "test ... && test ..."
Part of 33280.
|
|
* Use a shorter name for the chutney make target
* Put the chutney make target first, when using a custom target
Part of 33280.
|
|
Conflicts:
* Keep the changes from ticket33280_master
|
|
|
|
|
|
|
|
|
|
|
|
Add doxygen comments to the new recommended and required subprotocol
version strings.
Add a warning to the required protocol documentation, because requiring
the wrong protocols can break the tor network. Also reference
proposal 303: When and how to remove support for protocol versions.
Part of 33285.
|
|
Some connections aren't counted for statistics or accounting,
because they have been specifically configured by the user to
local addresses.
Comment-only change.
Closes 33201.
|
|
|
|
|
|
Conflicts:
src/core/or/circuitmux_ewma.c
|
|
|
|
|
|
|
|
Conflicts:
* Keep disable module relay from maint-0.4.3
* Keep doxygen from maint-0.4.3
* Keep the ordering from bug33195_042
|
|
Conflicts:
* Keep RUST_VERSION from maint-0.4.2
* Keep the commented-out allow_failure entries from bug33195_041
|
|
Conflicts:
* Keep TOR_TEST_RNG_SEED from maint-0.4.1
* Keep the ordering from bug33195_035
|
|
Putting the slowest jobs first takes full advantage of Travis
concurrency.
Closes 33194.
|
|
Part of 33194.
|
|
The job was previously set to fast_finish / allow_failure, to
speed up the build.
Closes ticket 33195.
|
|
Putting the slowest jobs first takes full advantage of Travis
concurrency.
Closes 33194.
|
|
Part of 33194.
|
|
The job was previously set to fast_finish / allow_failure, to
speed up the build.
Closes ticket 33195.
|
|
Run the test-network-ipv6 Makefile target in the Travis CI IPv6 chutney
job. This job runs on macOS, so it's a bit slow.
Closes ticket 33303.
|
|
Use bridges+hs-v23 for "make test-network",
rather than using chutney's old default.
This change requires a recent version of chutney,
because the old bridges+hs-v23 did not work.
(See chutney's 33302 for details.)
Closes 28208.
|
|
The IPv6 test only runs if IPv6 is available.
Also, explicitly use the bridges+hs-v2 network for the IPv4-only test.
This network was chutney's default as of January 2020.
Closes 33300.
|
|
Add test-network-ipv4 and test-network-ipv6 tests to the Makefile.
These tests run the IPv4-only and dual-stack chutney flavours from
test-network-all.
Closes ticket 33280.
|
|
|
|
|
|
Attempt to diagnose 32464; fixes 33290.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
As recommended by the tor directory specification.
Fixes bug 33285; bugfix on 0.4.0.1-alpha.
|
|
Make sure that the following hard-coded protocol version lists are
sorted:
* supported protocols
* recommended relay and client protocols
* required relay and client protocols
This test currently fails, because the supported protocols are not
sorted.
Tests for 33285.
|
|
Use a consistent order, because the current order is going to trip
someone up eventually.
Preparation for 33285.
|
|
Move the recommended and required protocol version lists into the
private section of the dirvote header, and turn them into macros.
Preparation for 33285.
|