Age | Commit message (Collapse) | Author |
|
|
|
|
|
Without this, -O0 builds fail, which is a sign that LTO builds may
fail too.
|
|
|
|
|
|
Cleanup after 4631.
|
|
|
|
|
|
|
|
It is not called by anything outside of the tests and dns.c.
|
|
It hasn't been used since 2009.
|
|
|
|
Since these are only used inside the feature/relay module, they
don't need stubs.
|
|
Apparently it is only used by the unit tests: tor doesn't want it at
all.
I've opened a new ticket (33383) to we if we should remove this
whole feature.
|
|
|
|
|
|
|
|
Cleanup after 4631.
|
|
|
|
In "make test-network", add tests for single onion services v2 and v3.
In "make test-network-all", test onion services v2 and v3 in the same
network.
Part of 33334.
|
|
Closes ticket 33373.
|
|
|
|
|
|
|
|
Tries to make some of the comments in scheduler.c easier to follow,
and simplifies a couple of the scheduler channel state changes.
|
|
|
|
|
|
There's no need to move the declarations: those were already in
ext_orport.h.
This shrinks connection_or.c a little.
|
|
They are for functions declared in that file.
|
|
|
|
This saves about 1% for me on a binary compiled without relay mode.
Closes ticket 33366.
|
|
This removes a dependency from the client code on feature/relay.
|
|
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
MIN_DNS_TTL_AT_EXIT MIN_DNS_TTL \
MAX_DNS_TTL_AT_EXIT MAX_DNS_TTL \
dns_clip_ttl clip_dns_ttl
|
|
|
|
|
|
|
|
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 split up the chutney SKIP, PASS, and FAIL messages,
and they don't actually contain any useful information.
Cleanup after 33334.
|
|
This network is used in make test-network-all and test-network-ipv6.
Closes 33334.
|
|
This network is used in make test-network-all and test-network-ipv4.
Part of 33334.
|
|
The refactor is simpler, and supports IPv6 mixed networks.
The refactor also slightly changes the order of the IPv6 and mixed
checks. But it's closer to the original order before 33280.
And if all the network lists that need a network type are empty,
we don't check if we can run that network type. (And if a network
list is empty, we don't say we're going to run an empty list.)
Part of 33334.
|
|
|
|
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.
|