mirror repository of the tor core protocol in case of issues
Go to file
Jim Newsome 4fc43ebdee In router_is_active, don't require non-zero bandwidthcapacity
This check was originally added in 962765a3, with the intent of
preventing relays with 0 measured bandwidth from being listed in the
consensus (part of fixing #13000).

Currently, that decision and other relevant places effectively use
`dirserv_get_credible_bandwidth_kb`, which prefers bwauth-measured
bandwidth over the self-reported `bandwidthcapacity`, making this check
mostly redundant.

i.e. this change should only affect behavior when the relay has uploaded
a descriptor with `bandwidthcapacity=0` *and* we have a non-zero
measured bandwidth, in which case we'll still trust the measured
bandwidth. This is what we want when bootstrapping a network (e.g. for
testing), since it allows us to initialize bandwidths using a bandwidth
authority file.

A relay can still cause `router_is_active` to return false by setting
the hibernate flag.

Also see discussion in #40917.

Fixes #40917.
2024-03-07 12:39:40 -06:00
.gitlab/issue_templates Remove Proposal.md. 2021-02-12 20:39:48 +00:00
changes Merge branch 'maint-0.4.8' 2024-02-28 16:52:56 +00:00
contrib version: Bump version to 0.4.8.10-dev 2023-12-08 14:13:56 -05:00
doc fix man page typos 2023-11-04 08:51:08 -04:00
m4 added check for compiler support of Wextra-semi 2022-11-01 15:32:43 -06:00
scripts Use raw strings for regexs containing escapes 2023-12-09 10:19:54 -05:00
src In router_is_active, don't require non-zero bandwidthcapacity 2024-03-07 12:39:40 -06:00
.appveyor.yml CI: Remove VS2015 AppVeyor build 2020-08-12 14:09:32 +03: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 cargo: Move lockfile to root and update 2023-08-15 09:52:30 -07:00
.gitlab-ci.yml use physical runner for i386 jobs 2023-08-25 10:14:04 +02:00
.travis.yml rust: Remove Rust support from tree 2021-10-06 15:12:04 -04:00
acinclude.m4 m4: Change LIBS order of TOR_SEARCH_LIBRARY() 2021-01-13 09:52:10 -05:00
autogen.sh Cleanup shellcheck warnings in autogen.sh 2019-01-18 13:49:30 +02:00
Cargo.lock cargo: Move lockfile to root and update 2023-08-15 09:52:30 -07:00
Cargo.toml cargo: Add geoip db tool to top level workspace 2023-08-04 09:55:26 -04:00
ChangeLog Merge branch 'maint-0.4.8' 2024-01-09 09:09:44 -05:00
CODE_OF_CONDUCT Tor docs update 2024-02-05 18:13:24 +00:00
configure.ac version: Bump to 0.4.9.0-alpha-dev 2023-08-23 11:19:52 -04:00
CONTRIBUTING improve a URL 2018-05-11 18:00:30 -04:00
Doxyfile.in Remove last artifacts of Rust related code 2021-10-06 15:12:04 -04:00
INSTALL Remove old instructions from INSTALL 2018-07-03 16:34:52 +03:00
LICENSE Merge branch 'maint-0.3.5' into maint-0.4.4 2021-03-12 11:36:34 -05:00
Makefile.am Merge branch 'maint-0.4.7' 2023-06-19 08:09:45 -04:00
README.md Tor docs update 2024-02-05 18:13:24 +00:00
ReleaseNotes Merge branch 'maint-0.4.8' 2024-01-09 09:09:44 -05: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.

Build

To build Tor from source:

./configure
make
make install

To build Tor from a just-cloned git repository:

./autogen.sh
./configure
make
make install

Releases

The tarballs, checksums and signatures can be found here: https://dist.torproject.org

  • Checksum: <tarball-name>.sha256sum
  • Signatures: <tarball-name>.sha256sum.asc

Schedule

You can find our release schedule here:

Keys that CAN sign a release

The following keys are the maintainers of this repository. One or many of these keys can sign the releases, do NOT expect them all:

Development

See our hacking documentation in doc/HACKING/.

Resources

Home page:

Download new versions:

How to verify Tor source:

Documentation and Frequently Asked Questions:

How to run a Tor relay: