Commit Graph

36762 Commits

Author SHA1 Message Date
David Goulet 889f48c8aa Merge branch 'maint-0.4.5' into release-0.4.5 2021-01-28 12:14:10 -05:00
David Goulet c652740515 Merge branch 'maint-0.4.4' into maint-0.4.5 2021-01-28 12:14:10 -05:00
David Goulet 2c4a2a93d3 Merge branch 'maint-0.4.3' into maint-0.4.4 2021-01-28 12:14:10 -05:00
David Goulet dd5fbc1bd9 Merge branch 'maint-0.3.5' into maint-0.4.3 2021-01-28 12:14:10 -05:00
David Goulet 1887231afb Merge branch 'tor-gitlab/mr/256' into maint-0.4.4 2021-01-28 12:12:01 -05:00
David Goulet 5c89197c9f Merge branch 'tor-gitlab/mr/255' into maint-0.4.3 2021-01-28 12:11:33 -05:00
David Goulet 1bdccc03a9 Merge branch 'tor-gitlab/mr/254' into maint-0.3.5 2021-01-28 12:10:39 -05:00
David Goulet 8776475e62 Merge branch 'maint-0.4.5' into release-0.4.5 2021-01-28 12:08:21 -05:00
David Goulet 09901aeb07 Merge branch 'maint-0.4.4' into maint-0.4.5 2021-01-28 12:08:21 -05:00
David Goulet ed0fcfd2b8 Merge branch 'maint-0.4.3' into maint-0.4.4 2021-01-28 12:08:21 -05:00
David Goulet 6186288eb6 Merge branch 'maint-0.3.5' into maint-0.4.3 2021-01-28 12:08:20 -05:00
David Goulet 045db909c2 Merge remote-tracking branch 'tor-gitlab/mr/140' into maint-0.3.5 2021-01-28 12:08:14 -05:00
David Goulet b3b3c1f1ed Merge branch 'maint-0.4.5' into release-0.4.5 2021-01-28 12:04:42 -05:00
David Goulet aade1e8108 Merge branch 'maint-0.4.4' into maint-0.4.5 2021-01-28 12:04:42 -05:00
David Goulet 737cd79c42 Merge branch 'maint-0.4.3' into maint-0.4.4 2021-01-28 12:04:42 -05:00
David Goulet a17be1b5b6 Merge branch 'maint-0.3.5' into maint-0.4.3 2021-01-28 12:04:42 -05:00
David Goulet c6fb26695b Merge remote-tracking branch 'tor-gitlab/mr/186' into maint-0.3.5 2021-01-28 12:04:37 -05:00
David Goulet 9cd318521d Merge branch 'maint-0.4.5' into release-0.4.5 2021-01-28 12:02:43 -05:00
David Goulet 1fd9a81a2f Merge branch 'maint-0.4.4' into maint-0.4.5 2021-01-28 12:02:43 -05:00
David Goulet 07540e2a18 Merge branch 'maint-0.4.3' into maint-0.4.4 2021-01-28 12:02:43 -05:00
David Goulet ab58dd1577 Merge branch 'maint-0.3.5' into maint-0.4.3 2021-01-28 12:02:43 -05:00
David Goulet 8f13257ccd Merge branch 'tor-gitlab/mr/140' into maint-0.3.5 2021-01-28 12:02:39 -05:00
David Goulet 28ae2abb85 Merge branch 'maint-0.4.5' into release-0.4.5 2021-01-28 12:00:17 -05:00
David Goulet 4f21b9503f Merge branch 'maint-0.4.4' into maint-0.4.5 2021-01-28 12:00:17 -05:00
David Goulet bf29d3b4ae Merge branch 'maint-0.4.3' into maint-0.4.4 2021-01-28 12:00:17 -05:00
David Goulet 7ae74203e1 Merge branch 'maint-0.3.5' into maint-0.4.3 2021-01-28 12:00:17 -05:00
David Goulet 2cf1365c17 Merge branch 'tor-gitlab/mr/186' into maint-0.3.5 2021-01-28 12:00:10 -05:00
Nick Mathewson 6134379c4a Merge branch 'maint-0.4.5' into release-0.4.5 2021-01-28 11:20:21 -05:00
Nick Mathewson 26a07287a4 Bump to 0.4.5.5-rc 2021-01-28 11:20:01 -05:00
Nick Mathewson ceb5735652 Merge branch 'maint-0.4.4' into maint-0.4.5
"ours" to avoid version bump.
2021-01-28 11:19:23 -05:00
Nick Mathewson f8fea8b979 Bump to 0.4.4.7 2021-01-28 11:19:00 -05:00
Nick Mathewson bcb8afe38e Merge branch 'maint-0.4.3' into maint-0.4.4
"ours" to avoid version bump.
2021-01-28 11:18:30 -05:00
Nick Mathewson c3ed4b2e56 Bump to 0.4.3.8. 2021-01-28 11:18:13 -05:00
Nick Mathewson 7ed0fbd885 Merge branch 'maint-0.3.5' into maint-0.4.3
"ours" to avoid version bump.
2021-01-28 11:17:43 -05:00
Nick Mathewson 3ebf75993f Bump to 0.3.5.13. 2021-01-28 11:17:32 -05:00
Nick Mathewson 65d268c77b Merge branch 'maint-0.4.5' into release-0.4.5 2021-01-27 09:36:39 -05:00
Nick Mathewson 3c0d398847 Merge branch 'mr_274_squashed' into maint-0.4.5 2021-01-27 09:36:29 -05:00
David Goulet f03047332c relay: Log if we can't find an address for configured ORPort
Everytime we try to discover an address we want to publish, emit a log notice
if we are unable to find it even though an ORPort was configured for it.

Because the function can be called quite often, we rate limit that notice to
every hour so it gets annoying just enough so the operator fixes that.

Related to #40254

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-01-27 09:36:17 -05:00
David Goulet 2e600019ea relay: Don't trigger an address discovery without an ORPort
We would before do an address discovery and then a lookup in the cache if not
found which is now simplified by calling relay_find_addr_to_publish() directly
which does all those combined.

Furthermore, by doing so, we won't trigger an address discovery every minute
if we have no ORPort configured for the family.

Fixes #40254

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-01-27 09:36:17 -05:00
David Goulet b4220a09b7 relay: Simplify IPv6 discovery when building descriptor
Now that relay_find_addr_to_publish() checks if we actually have an ORPort, we
can simplify the descriptor building phase for IPv6.

This also avoid triggering an IPv6 discovery if the IPv4 can't be found in the
first place.

Related to #40254

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-01-27 09:36:17 -05:00
David Goulet b4f4af6ec5 relay: Skip address discovery if no ORPort is found
In other words, if we don't have an ORPort configured for a specific family
(IPv4/v6), we don't bother doing address discovery.

Related to #40254

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-01-27 09:36:17 -05:00
Nick Mathewson 9e6a276c26 changelog typo fix, because there is always one 2021-01-22 12:07:39 -05:00
Nick Mathewson c2e81c4704 Merge branch 'maint-0.4.5' into release-0.4.5 2021-01-22 11:55:37 -05:00
Nick Mathewson af5250b1df bump to 0.4.5.4-rc-dev 2021-01-22 11:55:17 -05:00
Nick Mathewson 9e26a9399f Light edits to changelog tor-0.4.5.4-rc 2021-01-22 10:07:05 -05:00
Nick Mathewson 0cf39387be Merge branch 'maint-0.4.5' into release-0.4.5 2021-01-22 09:49:37 -05:00
Nick Mathewson 5eef63aa71 Bump to 0.4.5.4-rc 2021-01-22 09:49:09 -05:00
Nick Mathewson 7a9325a96f Initial changelog for 0.4.5.4-rc 2021-01-22 09:39:25 -05:00
George Kadianakis 9e33aa878f Merge branch 'maint-0.4.5' into release-0.4.5 2021-01-22 00:21:21 +02:00
George Kadianakis 4cbd22f1a7 Merge branch 'mr/251' into maint-0.4.5 2021-01-22 00:21:09 +02:00