summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-30Merge branch 'maint-0.4.8' into release-0.4.8tor-0.4.8.5David Goulet
2023-08-30version: Bump version to 0.4.8.5Tor CI Release
2023-08-30release: ChangeLog and ReleaseNotes for 0.4.8.5David Goulet
2023-08-30fallbackdir: Update list generated on August 30, 2023Tor CI Release
2023-08-30Update geoip files to match ipfire location db, 2023/08/30.Tor CI Release
2023-08-30script: Attempt to fix geoip scriptDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-28Merge branch 'tor-gitlab/mr/750' into maint-0.4.8David Goulet
2023-08-28Changes files for 40843 and 40844 (NetBSD portability)Micah Elizabeth Scott
2023-08-28equix: Disable huge page support by defaultMicah Elizabeth Scott
Equi-X supports optionally allocating its solver memory using huge pages, to reduce the virtual memory subsystem overhead required to make the entire solver buffer live. Tor doesn't use this feature, since it seems to have no noticeable performance benefit at this time, but we still included code for it at compile time. To improve portability, this patch disables huge page support by default and enables it only in the cmake build system used for equix benchmarks. With this patch equix-bench still supports huge pages. Verified using strace that we're making the hugepage allocation. There's no fallback for huge pages, so Equi-X initialization will fail if they are requested and we don't support them for any runtime or compile-time reason. Addresses #40843 (NetBSD) but also prevents future porting issues related to huge pages.
2023-08-28hashx: Fix compiled hash function on NetBSDMicah Elizabeth Scott
NetBSD includes the idea of a 'maximum protection' per-region, and an mprotect which exceeds the max protection will be denied. If we explicitly ask for a maximum which includes execute permission, we can successfully swap our code buffer's permissions between read-write and read-execute when each hash program is compiled. With this patch, the crypto/hashx tests pass on NetBSD 9. This addresses bug #40844
2023-08-28hashx: Avoid unused arg warning on OpenBSD and NetBSDMicah Elizabeth Scott
This path in hashx_vm_alloc_huge() for OpenBSD and NetBSD always fails without checking its parameter. Fix the warning.
2023-08-28equix: Add NetBSD to "huge pages not supported" pathMicah Elizabeth Scott
As suggested by @wiz on #40843, let's add an explicit check to hashx_vm_alloc_huge() that avoids using a Linux-style default on NetBSD targets. This doesn't change the questionable Linux-style default, but a future patch will disable this code by default so it's not a portability liability. (This code is in hashx's VM layer but it's actually only relevant to equix.) This addresses bug #40843. Another patch will disable huge pages by default entirely, but this patch is sufficient to fix the NetBSD build.
2023-08-28Changes file for bug40842Mike Perry
2023-08-25Bug #40842: Additional diagnosticsMike Perry
Just in case there are other instances hiding in the maze.
2023-08-25Bug #40842: Don't send on sets that are being torn downMike Perry
2023-08-25Merge branch 'tor-gitlab/mr/748' into maint-0.4.8David Goulet
2023-08-25fix lint clippy::arc_with_non_send_synctrinity-1686a
2023-08-25Changes file for bug40841Mike Perry
2023-08-25Bug #40841: Demote extra legs to protocol warn.Mike Perry
Also add more info to leg dump.
2023-08-23doxygen: Typo fix in relay.c commentDavid Goulet
HTML in comment, what a bad idea... Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23typo: Fix a doxygen html unclosed tagDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23Merge branch 'maint-0.4.7' into maint-0.4.8David Goulet
2023-08-23ci: Exclude yet another failing Stem testDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23Merge branch 'maint-0.4.7' into maint-0.4.8David Goulet
2023-08-23ci: Missing stem cmdline flag in previous commitDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23Merge branch 'maint-0.4.7' into maint-0.4.8David Goulet
2023-08-23ci: Exclude broken Stem testsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23ci: Exclude broken Stem testsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23scripts: Add 048 maint branch to our helper scriptsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23version: Bump version to 0.4.8.4tor-0.4.8.4Tor CI Release
2023-08-23ChangeLog and ReleaseNotes for 0.4.8.4 stableDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23fallbackdir: Update list generated on August 23, 2023Tor CI Release
2023-08-23Update geoip files to match ipfire location db, 2023/08/23.Tor CI Release
2023-08-22Fix compilation errors for FreeBSDDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-22changes: Add changes file for ticket 40833David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-22Merge remote-tracking branch 'mbeth-private/ticket40833_mr'David Goulet
2023-08-22changes: Add changes file for ticket 40821David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-22Merge remote-tracking branch 'mbeth-private/ticket40821_mr'David Goulet
2023-08-15Merge branch 'rust_ci' into 'main'David Goulet
Rust and CI fixes See merge request tpo/core/tor!742
2023-08-15CI: Diagnostic for failure in test_rebind cleanupMicah Elizabeth Scott
I saw this test fail intermittently due to what seemed like a filesystem race in docker? The cleanup task was failing with a 'directory not empty' error, despite trying to do a recursive 'rm'. This patch adds an 'ls' to the same directory, hoping the output might be useful to diagnose future intermittent failures.
2023-08-15CI: Add Rust tests and clippyMicah Elizabeth Scott
This adds a new "rust-latest" CI target that runs tests and clippy for everything in the workspace. It's a subset of the equivalent on Arti.
2023-08-15cargo: Move lockfile to root and updateMicah Elizabeth Scott
Change 3f66ff9b000d1fbaae106e58269fe2aa306bc453 added geoip-db-tool to the main workspace, so it's no longer using a local lockfile. Move its lock to the crate root, remove from gitignore, and update it. (We could also choose to not keep the lockfiles checked in, but it seems useful to have them in our test and maintenance tooling here.)
2023-08-15tor-c-equix: Fix clippy warningMicah Elizabeth Scott
Clippy found a transmute that could have been a reborrow.
2023-08-15geoip-db-tool: Fix clippy warningsMicah Elizabeth Scott
This fixes warnings found by clippy 0.1.71 on Rust 1.71.1 Tested this by doing a geoip update without committing changes.
2023-08-15Merge branch 'maint-0.4.7'David Goulet
2023-08-15Merge branch 'bug40834' into 'main'David Goulet
Revert "Nullify on_circuit if last conflux leg" See merge request tpo/core/tor!744
2023-08-15Changes file for bug40834Mike Perry
2023-08-15Bug 40834: Remove assert and add logs to track no-leg caseMike Perry
2023-08-15Revert "Nullify on_circuit if last conflux leg"Mike Perry
This reverts commit 5487476fd919703b55cb1f1544d575224c9b685e.
2023-08-14Merge branch 'main' into 'main'David Goulet
Clean up torify See merge request tpo/core/tor!740