mirror repository of the tor core protocol in case of issues
Go to file
David Goulet 35871e46e8 relay: Don't lookup our address before rebuilding our descriptor
Tor periodic events have moved to a role base model where relays have specific
events. One of those is to rebuild the descriptor and that is ran every
minute.

This removes the call to router_rebuild_descriptor() from
router_get_my_routerinfo_with_err() because that is the only code path that
can call for a rebuild every second.

Instead, when we mark the descriptor as dirty, immediately reschedule the
descriptor check periodic event so it can be rebuilt that way instead of
randomly when router_get_my_routerinfo_with_err() is called.

Related to #40025

Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-20 14:54:13 -04:00
changes or_connection_t: replace real_addr with canonical_orport. 2020-07-17 11:42:49 -04:00
contrib Merge branch 'maint-0.4.4' 2020-07-13 10:45:04 -04:00
doc Combine text into existing "what does not need a changes file" section. 2020-07-16 14:54:17 -04:00
m4 Bug 31812: Change http URL's to https 2020-07-13 10:42:46 -04:00
scripts Merge branch 'tor-gitlab/mr/66' 2020-07-20 14:22:29 +00:00
src relay: Don't lookup our address before rebuilding our descriptor 2020-07-20 14:54:13 -04:00
.appveyor.yml Merge branch 'maint-0.4.3' into maint-0.4.4 2020-07-07 14:48:36 +00:00
.clang-format Add a dire warning about not reformatting the whole codebase yet. 2020-02-12 18:52:35 -05:00
.editorconfig Add .editorconfig to follow coding standards style 2018-06-17 19:24:40 -04:00
.gitignore doc: Move manpages into doc/man/ 2020-07-14 09:02:03 -04:00
.gitlab-ci.yml Use Debian for Gitlab CI. 2020-07-16 16:48:03 +00:00
.gitmodules Update the .gitmodules to refer to project-level tor-rust-dependencies 2018-02-21 11:53:04 -05:00
.travis.yml Merge branch 'tor-github/pr/1913' 2020-06-12 12:55:34 -04:00
acinclude.m4 Bump copyright date to 2019 2019-01-16 12:33:22 -05:00
autogen.sh Cleanup shellcheck warnings in autogen.sh 2019-01-18 13:49:30 +02:00
ChangeLog copy changelogs and releasenotes for today's releases 2020-07-09 10:25:36 -04:00
CODE_OF_CONDUCT Add CODE_OF_CONDUCT file 2018-07-05 11:22:33 +03:00
config.rust.in Make the rust tests link. 2018-07-31 19:46:00 -04:00
configure.ac doc: Move manpages into doc/man/ 2020-07-14 09:02:03 -04:00
CONTRIBUTING Add CODE_OF_CONDUCT file 2018-07-05 11:22:33 +03:00
Doxyfile.in Add correct exclusions to Doxyfile.in. 2020-07-07 10:24:24 -04:00
INSTALL Remove old instructions from INSTALL 2018-07-03 16:34:52 +03:00
LICENSE clarify that tor's license is free software 2019-08-23 21:52:33 -04:00
Makefile.am Merge branch 'maint-0.4.4' 2020-07-13 15:04:13 -04:00
Makefile.nmake Clean up the MVSC nmake files so they work again. 2014-09-09 10:27:05 -04:00
README Update Trac links in README to point to Gitlab. 2020-06-22 19:41:52 +00:00
ReleaseNotes copy changelogs and releasenotes for today's releases 2020-07-09 10:25:36 -04:00
warning_flags.in Try @warning_flags to avoid bloating verbose make logs 2018-12-21 10:00:23 -05:00

Tor protects your privacy on the internet by hiding the connection
between your Internet address and the services you use. We believe Tor
is reasonably secure, but please ensure you read the instructions and
configure it properly.

To build Tor from source:
        ./configure && make && make install

To build Tor from a just-cloned git repository:
        sh autogen.sh && ./configure && make && make install

Home page:
        https://www.torproject.org/

Download new versions:
        https://www.torproject.org/download/download.html

Documentation, including links to installation and setup instructions:
        https://www.torproject.org/docs/documentation.html

Making applications work with Tor:
        https://gitlab.torproject.org/legacy/trac/-/wikis/doc/TorifyHOWTO

Frequently Asked Questions:
        https://www.torproject.org/docs/faq.html

Release timeline:
        https://gitlab.torproject.org/tpo/core/tor/-/wikis/NetworkTeam/CoreTorReleases

To get started working on Tor development:
        See the doc/HACKING directory.