- Mar 20, 2024
-
-
David Goulet authored
Signed-off-by: David Goulet <dgoulet@torproject.org>
-
- Mar 14, 2024
-
-
David Goulet authored
hs_service: don't force high intro point rotation for TestingTorNetwork Closes #40922 See merge request !802
-
Jim Newsome authored
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
-
- Mar 12, 2024
-
-
David Goulet authored
In router_is_active, don't require non-zero bandwidthcapacity Closes #13000 and #40917 See merge request !801
-
- Mar 07, 2024
-
-
Jim Newsome authored
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.
-
- Feb 28, 2024
-
-
Alexander Færøy authored
make read_file_to_str_until_eof doc more explicit Closes #40852 See merge request !799
-
Alexander Færøy authored
-
- Feb 18, 2024
-
-
trinity-1686a authored
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)
-
- Feb 08, 2024
-
-
David Goulet authored
Make two 1-bit fields unsigned Closes #40911 See merge request !796
-
- Feb 06, 2024
-
-
Sebastian Hahn authored
-
- Feb 05, 2024
-
-
Alexander Færøy authored
Tor docs update See merge request !798
-
-
- Feb 01, 2024
-
-
Sebastian Hahn authored
This should be a completely harmless warning as we only check whether the fields are true or false. Closes #40911.
-
Sebastian Hahn authored
-
Sebastian Hahn authored
-
Sebastian Hahn authored
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.
-
- Jan 30, 2024
-
-
David Goulet authored
-
Alexander Færøy authored
metrics: Add new relay metrics to MetricsPort Closes #40816 See merge request !793
-
David Goulet authored
-
David Goulet authored
Signed-off-by: David Goulet <dgoulet@torproject.org>
-
David Goulet authored
-
Allow "node_id" KeyValue without the dollar sign at the start of the hexdigit in the BandwidthFiles, in order to easier database queries combining Tor documents in which the relays fingerprint doesn't include it. Bugfix on all supported versions of Tor. Closes #40891
-
David Goulet authored
This commit adds the total number of DROP cell seen, the total number of DESTROY cell received and the total number of protocol violation that lead to a circuit close. Closes #40816 Signed-off-by: David Goulet <dgoulet@torproject.org>
-
- Jan 09, 2024
-
-
David Goulet authored
-
-
- Dec 11, 2023
-
-
Alexander Færøy authored
Use raw strings for regexs containing escapes See merge request !790
-
- Dec 10, 2023
-
-
nonameformee authored
-
- Dec 09, 2023
-
-
Alex Xu authored
In Python 3.12, these invalid escape sequences emit SyntaxWarnings, and will emit SyntaxErrors in a future release. Found using: grep '[^r]["'\''].*\\[^rn\\x0t"]' $(grep -rl '^#!.*python')
-
- Dec 08, 2023
-
-
David Goulet authored
-
-
David Goulet authored
-
-
David Goulet authored
-
-
-
David Goulet authored
-
David Goulet authored
-
- Dec 07, 2023
-
-
Alexander Færøy authored
-
Alexander Færøy authored
-
Mike Perry authored
-