aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-12-07Bug 40897: Move safety check to proper location and give it error handling.Mike Perry
2023-11-22Merge branch 'fix-bridge-exit-warn' into 'main'David Goulet
Fix bridge exit warn Closes #40884 See merge request tpo/core/tor!783
2023-11-22Merge branch 'did-sanity-memmem' into 'main'David Goulet
add sanity check in tor_memmem Closes #40854 See merge request tpo/core/tor!785
2023-11-21Merge branch 'eol-config-no-spurious-warn' into 'main'Alexander Færøy
don't warn for empty RecommendedServerVersion Closes #40888 See merge request tpo/core/tor!787
2023-11-21bwauth: Allow "node_id" KeyValue without "$"juga
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
2023-11-16don't warn for empty RecommendedServerVersiontrinity-1686a
2023-11-15add sanity check in tor_memmemtrinity-1686a
it's believed most libc already have those, but just in case, it can't hurt
2023-11-12don't warn when ExitRelay is set to 0trinity-1686a
2023-11-09Merge branch 'maint-0.4.8'David Goulet
2023-11-09fallbackdir: Update list generated on November 09, 2023Tor CI Release
2023-11-09Update geoip files to match ipfire location db, 2023/11/09.Tor CI Release
2023-11-09Merge branch 'maint-0.4.8'David Goulet
2023-11-09Merge branch 'ticket40883_048_01' into maint-0.4.8David Goulet
2023-11-09Merge branch 'maint-0.4.8'David Goulet
2023-11-09Merge branch 'tor-gitlab/mr/778' into maint-0.4.8David Goulet
2023-11-08hs: Always check if the hs_ident is available when processing a cellDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-11-07hs: Fix assert in hs_metrics_update_by_ident()David Goulet
The hs_metrics_failed_rdv() macro could pass a NULL value for the identity key when a building circuit would end up in a failure path *before* the "hs_ident" was able to be set which leading to this assert. This was introduced in 0.4.8.1-alpha with the addition of rendezvous circuit failure metrics for the MetricsPort. This fixes TROVE-2023-006 for which its severity is considered high. Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-11-03Merge branch 'maint-0.4.8'David Goulet
2023-11-03Update geoip files to match ipfire location db, 2023/11/03.Tor CI Release
2023-11-03fallbackdir: Update list generated on November 03, 2023Tor CI Release
2023-11-03Merge branch 'maint-0.4.8'David Goulet
2023-11-03Merge branch 'maint-0.4.7' into maint-0.4.8David Goulet
2023-11-03Fix TROVE-2023-004: Remote crash when compiled against OpenSSLAlexander Færøy
Fixes #40874 Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-11-01Bug 40876: Extra loggingMike Perry
2023-11-01Bug 40876: Don't reduce primary list for temporary restrictionsMike Perry
2023-10-30Merge branch 'maint-0.4.8'David Goulet
2023-10-30Bug 40878: Count a valid conflux linked cell as valid dataMike Perry
For vanguards addon.
2023-10-29fix memory leak in dos stream for resolve requeststrinity-1686a
2023-10-29correctly parse consensus params for dos stream mitigationtrinity-1686a
2023-10-18remove todostrinity-1686a
2023-10-18fix typostrinity-1686a
2023-10-18add metrics for rejected BEGIN/RESOLVEtrinity-1686a
2023-10-18add rate limit on BEGIN and RESOLVE cell per circuittrinity-1686a
2023-10-18add configuration and network parameters for stream dos mitigationtrinity-1686a
2023-10-18Merge branch 'ticket40870_048_02' into 'main'David Goulet
conflux: Flag set as in full teardown in the free path Closes #40870 See merge request tpo/core/tor!777
2023-10-16conflux: Flag set as in full teardown in the free pathDavid Goulet
We suspect a shutdown race of some sort for which the full teardown is not noticed during the close but should be during the free. For that, we flag the conflux set as in full teardown (if so) in the free path in case the close path didn't caught it. Fixes #40870 Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-10-12fix bridge transport statisticstrinity-1686a
2023-10-12Merge branch 'eol-config' into 'main'David Goulet
add configuration option to reject descriptor based on tor version Closes #40817 See merge request tpo/core/tor!773
2023-10-11Merge branch 'metrics-count-bug' into 'main'David Goulet
add metrics counter for BUG() reached Closes #40839 See merge request tpo/core/tor!760
2023-10-11Fix the spelling of maxunmeasur(e)dbw.Nick Mathewson
This has been misspelled when using consensus method 31 or later since 0.4.6.1-alpha. Fixes bug 40869. This commit is a backport of b9b0abd6c26d9b361923 to 0.4.8.
2023-10-08reject MinimalAcceptedServerVersion which would reject current versiontrinity-1686a
and fix memory leak on reload error path
2023-10-07introduce MinimalAcceptedServerVersiontrinity-1686a
2023-10-05Fix the spelling of maxunmeasur(e)dbw.Nick Mathewson
This has been misspelled when using consensus method 31 or later since 0.4.6.1-alpha. Fixes bug 40869.
2023-10-05Remove MIN_METHOD_FOR_MIDDLEONLYNick Mathewson
2023-10-05Remove MIN_METHOD_FOR_CORRECT_BWWEIGHTSCALENick Mathewson
This also lets us discard extract_param_buggy, which we've been wanting to do.
2023-10-05Remove tests that checked for obsolete microdesc encoding.Nick Mathewson
2023-10-05Remove MIN_METHOD_FOR_UNPADDED_NTOR_KEYNick Mathewson
2023-10-05Remove MIN_METHOD_FOR_CANONICAL_FAMILIES_IN_MICRODESCSNick Mathewson
2023-10-05Whoops: test the "wrong" name for maxunmeasurdbw (sic).Nick Mathewson
Now that we never use an earlier consensus method, our tests actually hit this, and we find that we have misspelled "maxunmeasurdbw" (sic) in dirvote.c. I have opened ticket #40869 to track this misspelling.
2023-10-05Update consensus methods in dir_umbw tests.Nick Mathewson
These tests had previously listed methods that we no longer support.