aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
8 daysMerge branch 'maint-0.4.8'HEADmainDavid Goulet
8 daysFix typo in tor-relays list addressmaint-0.4.8hiro
9 daysMerge branch 'maint-0.4.8'David Goulet
9 daysMerge branch 'm4-serial-fix' into 'main'David Goulet
m4: update ax_check_compile_flag.m4 from autoconf-archive See merge request tpo/core/tor!813
2024-04-23Merge branch 'changelogs' into 'main'Alexander Færøy
forward-port the 0.4.8.10 and .11 changelogs See merge request tpo/core/tor!814
2024-04-19fix changelog typos and clean up a bitRoger Dingledine
2024-04-19m4: update ax_check_compile_flag.m4 from autoconf-archiveSam James
I noticed this when doing some M4 macro analysis work, and saw that the version of `ax_check_compile_flag.m4` in Tor has two serial lines ('serial 5' and 'serial 6') which is invalid. We could just fix one of the lines, but it makes more sense to just sync with upstream, I think. Import ax_check_compile_flag.m4 from autoconf-archive at latest commit at time of writing (4e8aab846b0872fba99f1fe02ebcdff178a34c87). Signed-off-by: Sam James <sam@gentoo.org>
2024-04-18Merge branch 'typos' into 'main'David Goulet
Typos See merge request tpo/core/tor!812
2024-04-18forward-port the 0.4.8.10 and .11 changelogsRoger Dingledine
2024-04-18typos in commentsRoger Dingledine
2024-04-18fix syntax formatting in man pageRoger Dingledine
2024-04-18Merge branch 'typo' into 'main'David Goulet
typo See merge request tpo/core/tor!811
2024-04-18typotrinity-1686a
2024-04-16circuit: Remove log_warn triggered by a proto violationDavid Goulet
Fixes #40932 Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-04-16Merge branch 'count-log-bug' into 'main'David Goulet
also consider LD_BUG logs when counting bug reached Closes #40924 See merge request tpo/core/tor!805
2024-04-15Merge branch 'maint-0.4.8'David Goulet
2024-04-15Merge branch 'tor-gitlab/mr/808' into maint-0.4.8David Goulet
2024-04-15conflux: Don't process a closed circuit on get packaged windowDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-04-15conflux: Avoid noting a cell was sent on a closed circuitDavid Goulet
It turns out that circuit_package_relay_cell() returns 0 in order to drop a cell but there is a code path, if the circuit queue is full, that also silently closes the circuit and returns 0. This lead to Conflux thinking a cell was sent but actually the cell was not and the circuit was closed leading to the hard assert. And so this function makes sure that circuit_package_relay_cell() and append_cell_to_circuit_queue() returns a value that indicate what happened with the cell and circuit so the caller can make an informed decision with it. This change makes it that we do NOT enter the Conflux subsystem if the cell is not queued on the circuit. Fixes #40921 Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-04-14rename metric bug_reached to bug_reached_counttrinity-1686a
2024-04-13also consider LD_BUG logs when counting bug reachedtrinity-1686a
2024-04-10Merge branch 'maint-0.4.8'David Goulet
2024-04-10version: Bump version to 0.4.8.11-devTor CI Release
2024-04-10Merge branch 'maint-0.4.8'David Goulet
2024-04-10version: Bump version to 0.4.8.11Tor CI Release
2024-04-10Merge branch 'maint-0.4.8'David Goulet
2024-04-10fallbackdir: Update list generated on April 10, 2024Tor CI Release
2024-04-10Update geoip files to match ipfire location db, 2024/04/10.Tor CI Release
2024-04-09Merge branch 'maint-0.4.8'David Goulet
2024-04-08dirauth: New keys and address for tor26David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-03-20test: Disable unit test causing issue with nightly packageDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2024-03-14Merge branch 'testing-intro-rot' into 'main'David Goulet
hs_service: don't force high intro point rotation for TestingTorNetwork Closes #40922 See merge request tpo/core/tor!802
2024-03-14hs_service: don't force high intro point rotation for TestingTorNetworkJim Newsome
This was previously added to facilitate testing intro point rotation with chutney. However, the implementation is problematic since it forces excessive rotation whenever TestingTorNetwork is enabled, and can't be adjusted or disabled. Alternatives for testing intro point rotation include: * Using shadow to "fast forward" time * Overriding the consensus parameters hs_intro_min_lifetime and hs_intro_max_lifetime. Fixes #40922
2024-03-12Merge branch 'dont-require-bandwidthcapacity' into 'main'David Goulet
In router_is_active, don't require non-zero bandwidthcapacity Closes #13000 and #40917 See merge request tpo/core/tor!801
2024-03-07In router_is_active, don't require non-zero bandwidthcapacityJim Newsome
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-02-28Merge branch 'document-read-until-eof' into 'main'Alexander Færøy
make read_file_to_str_until_eof doc more explicit Closes #40852 See merge request tpo/core/tor!799
2024-02-28Merge branch 'maint-0.4.8'Alexander Færøy
2024-02-18make read_file_to_str_until_eof doc more explicittrinity-1686a
the sz_out param is set to what was read (i.e not including the final NULL the function adds for convenience), but could be understood to be set to what was read+1 (including the NULL terminator)
2024-02-08Merge branch 'bug40911' into 'main'David Goulet
Make two 1-bit fields unsigned Closes #40911 See merge request tpo/core/tor!796
2024-02-06Try to appease the changefile format checkerSebastian Hahn
2024-02-05Merge branch 'main' into 'main'Alexander Færøy
Tor docs update See merge request tpo/core/tor!798
2024-02-05Tor docs updateGus
2024-02-01Make two 1-bit fields unsignedSebastian Hahn
This should be a completely harmless warning as we only check whether the fields are true or false. Closes #40911.
2024-02-01Update test stringsSebastian Hahn
2024-02-01Add a changes fileSebastian Hahn
2024-02-01dirauth: Warn when failing to post during a voteSebastian Hahn
The only way to figure out that posting a vote or signatures to another dirauth failed is by counting how many success messages there are on notice level, and noticing that it is fewer than the number of configured dirauths. Closes #40910.
2024-01-30Merge branch 'tor-gitlab/mr/791'David Goulet
2024-01-30Merge branch 'ticket40816_049_01' into 'main'Alexander Færøy
metrics: Add new relay metrics to MetricsPort Closes #40816 See merge request tpo/core/tor!793
2024-01-30Merge branch 'maint-0.4.8'David Goulet
2024-01-30dirauth: Reject 0.4.7.x series at the authority levelDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>