summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-26version: Bump to 0.4.7.2-alphator-0.4.7.2-alphaDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26Merge branch 'maint-0.4.6'David Goulet
2021-10-26Merge branch 'maint-0.4.5' into maint-0.4.6David Goulet
2021-10-26Merge branch 'maint-0.3.5' into maint-0.4.5David Goulet
2021-10-26version: Bump to 0.4.6.8David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26version: Bump to 0.4.5.11David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26version: Bump to 0.3.5.17David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26sort recent changelog stanzas by release dateRoger Dingledine
2021-10-25Sync ReleaseNotes and ChangeLog from release-{0.3.5, 0.4.5, 0.4.6} to main.Alexander Færøy
2021-10-25Add Changelog and ReleaseNotes entry for tor#40500.Alexander Færøy
2021-10-25Merge branch 'maint-0.4.6' into mainAlexander Færøy
2021-10-25Merge branch 'maint-0.4.5' into maint-0.4.6Alexander Færøy
2021-10-25ci: Exclude HSv2 Stem testsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-25last tweak on 0.4.7.2 changelogRoger Dingledine
2021-10-25changelog cleanups for 0.4.7.2-alphaRoger Dingledine
2021-10-25Typo: bugfixes -> bugs.Alexander Færøy
2021-10-25Remove already released ChangeLog entry.Alexander Færøy
2021-10-25changelog: ChangeLog for 0.4.7.2-alpha releaseDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-21Merge branch 'maint-0.4.6'David Goulet
2021-10-21Merge branch 'maint-0.4.5' into maint-0.4.6David Goulet
2021-10-21Merge branch 'maint-0.3.5' into maint-0.4.5David Goulet
2021-10-21fallbackdir: Regenerate the list for October 2021David Goulet
Closes #40493 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-21Merge branch 'tor-gitlab/mr/452_squashed' into mainAlexander Færøy
2021-10-21Prop335: Changes file and manual entries.Nick Mathewson
Closes #40448.
2021-10-21Add a new consensus method to handle MiddleOnly specially.Nick Mathewson
When this method is in place, then any relay which is assigned MiddleOnly has Exit, V2Dir, Guard, and HSDir cleared (and has BadExit set if appropriate).
2021-10-21Implement a MiddleOnly flag for vote generation.Nick Mathewson
This proposal implements part of Prop335; it's based on a patch from Neel Chauhan. When configured to do so, authorities will assign a MiddleOnly flag to certain relays. Any relay which an authority gives this flag will not get Exit, V2Dir, Guard, or HSDir, and might get BadExit if the authority votes for that one.
2021-10-21Merge remote-tracking branch 'tor-gitlab/mr/442' into mainAlexander Færøy
2021-10-21Merge branch 'maint-0.4.5' into maint-0.4.6Alexander Færøy
2021-10-21Merge branch 'maint-0.4.6' into mainAlexander Færøy
2021-10-21Merge remote-tracking branch 'tor-gitlab/mr/338' into maint-0.4.5Alexander Færøy
2021-10-20Merge branch 'maint-0.4.5' into maint-0.4.6Alexander Færøy
2021-10-20Merge branch 'maint-0.4.6' into mainAlexander Færøy
2021-10-20Merge branch 'maint-0.3.5' into maint-0.4.5Alexander Færøy
2021-10-20Announce URL to bridge status page when starting Tor as a bridge relay.Alexander Færøy
This patch makes Tor announce the relay specific bridge status page URL when Tor is starting up before bootstrap occours. See: tor#30477
2021-10-20relay: Comment out a unused variable for nowDavid Goulet
We keep it around until libevent is fixed, it should be used again. In the meantime, avoid the compiler to complain of this unused variable. https://gitlab.torproject.org/dgoulet/tor/-/jobs/43358#L1522 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-20Merge branch 'tor-gitlab/mr/464_squashed' into mainAlexander Færøy
2021-10-20Move "Didn't recognize cell, but circ stops here" into heartbeat.Nick Mathewson
When we looked, this was the third most frequent message at PROTOCOL_WARN, and doesn't actually tell us what to do about it. Now: * we just log it at info * we log it only once per circuit * we report, in the heartbeat, how many times it happens, how many cells it happens with per circuit, and how long these circuits have been alive (on average). Fixes the final part of #40400.
2021-10-20Merge remote-tracking branch 'tor-gitlab/mr/466' into mainAlexander Færøy
2021-10-20relay: Avoid duplicate MetricsPort DNS errorDavid Goulet
We don't output per-type DNS errors anymore so avoid looping over the DNS query type and output each errors for them. Before this commit, it created 3x the same message because we had A, AAAA and PTR type records. Fix on previous commit e7abab878241592e Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-20Merge branch 'maint-0.4.5' into maint-0.4.6Alexander Færøy
2021-10-20Merge branch 'maint-0.4.6' into mainAlexander Færøy
2021-10-20Merge branch 'maint-0.3.5' into maint-0.4.5Alexander Færøy
2021-10-20Remove unused function: dns_randfn_() in dns.c.Alexander Færøy
This patch unbreaks the current build after tor!369 landed. See: https://bugs.torproject.org/tpo/core/tor/40371
2021-10-20Merge remote-tracking branch 'tor-gitlab/mr/369' into maint-0.3.5Alexander Færøy
2021-10-20relay: For metrics, don't report DNS errors by query typeDavid Goulet
This is due to the libevent bug https://github.com/libevent/libevent/issues/1219 that fails to return back the DNS record type on error. And so, the MetricsPort now only reports the errors as a global counter and not a per record type. Closes #40490 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-20relay: Overload state on DNS timeout is now X% over Y secsDavid Goulet
With this commit, we will only report a general overload state if we've seen more than X% of DNS timeout errors over Y seconds. Previous behavior was to report when a single timeout occured which is really too small of a threshold. The value X is a consensus parameters called "overload_dns_timeout_scale_percent" which is a scaled percentage (factor of 1000) so we can represent decimal points for X like 0.5% for instance. Its default is 1000 which ends up being 1%. The value Y is a consensus parameters called "overload_dns_timeout_period_secs" which is the time period for which will gather DNS errors and once over, we assess if that X% has been reached ultimately triggering a general overload signal. Closes #40491 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-20Merge branch 'maint-0.4.6'David Goulet
2021-10-20changes: Add file for ticket 40491David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-20test: Add unit tests for DNS timeout overload stateDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-20relay: Overload state on DNS timeout is now X% over Y secsDavid Goulet
With this commit, we will only report a general overload state if we've seen more than X% of DNS timeout errors over Y seconds. Previous behavior was to report when a single timeout occured which is really too small of a threshold. The value X is a consensus parameters called "overload_dns_timeout_scale_percent" which is a scaled percentage (factor of 1000) so we can represent decimal points for X like 0.5% for instance. Its default is 1000 which ends up being 1%. The value Y is a consensus parameters called "overload_dns_timeout_period_secs" which is the time period for which will gather DNS errors and once over, we assess if that X% has been reached ultimately triggering a general overload signal. Closes #40491 Signed-off-by: David Goulet <dgoulet@torproject.org>