TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Arti – An implementation of Tor in Rust

333 pointsby solanavabout 3 years ago

9 comments

seumarsabout 3 years ago
Couldn&#x27;t find any introduction to the project on the blog but the official repo has more info on the background for the project:<p>&gt;Rust is more secure than C. Despite our efforts, it&#x27;s all too simple to mess up when using a language that does not enforce memory safety. We estimate that at least half of our tracked security vulnerabilities would have been impossible in Rust, and many of the others would have been very unlikely.<p>&gt;Arti is cleaner than our C tor implementation. Although we&#x27;ve tried to develop C tor well, we&#x27;ve learned a lot since we started it back in 2002. There are lots of places in the current C codebase where complicated &quot;spaghetti&quot; relationships between different pieces of code make our software needlessly hard to understand and improve.<p><a href="https:&#x2F;&#x2F;gitlab.torproject.org&#x2F;tpo&#x2F;core&#x2F;arti" rel="nofollow">https:&#x2F;&#x2F;gitlab.torproject.org&#x2F;tpo&#x2F;core&#x2F;arti</a>
评论 #30694129 未加载
nonrandomstringabout 3 years ago
Well done and thank you to all involved. You are making a real difference on the side of democracy, human rights and the values of the free world at an uncertain time when so much is under threat.
评论 #30685685 未加载
评论 #30684328 未加载
qersist3nceabout 3 years ago
So at this point it is ready for passing traffic through a SOCKS proxy. Meaning we can `cargo run --release -- proxy` and redirect applications to use port `9150` for their network connections.<p>Couple of related questions:<p>- Does anyone know, in a Linux distro, how to pass <i>all</i> system traffic through a SOCKS proxy port? I&#x27;m not looking for intermediary proxy handlers but an official method to force all user and system apps to use an arbitrary port.<p>- If it is not possible to do so, does `NetworkManager` have a setting for this?<p>- Is it possible to at least change Chrome&#x2F;Firefox ports via CLI to an arbitrary port?
评论 #30684845 未加载
评论 #30685966 未加载
评论 #30686604 未加载
评论 #30686968 未加载
评论 #30684558 未加载
评论 #30684369 未加载
评论 #30695411 未加载
评论 #30687381 未加载
panick21_about 3 years ago
Is this possible to run on no_std systems or systems like XousOS (has its own std)? Would be cool to run on Precursor.<p><a href="https:&#x2F;&#x2F;www.crowdsupply.com&#x2F;sutajio-kosagi&#x2F;precursor&#x2F;updates&#x2F;the-platform" rel="nofollow">https:&#x2F;&#x2F;www.crowdsupply.com&#x2F;sutajio-kosagi&#x2F;precursor&#x2F;updates...</a>
评论 #30684308 未加载
solanavabout 3 years ago
I&#x27;m so happy we are finally getting an easy to use library to use Tor. I&#x27;ve wanted to use Tor in some of my projects but I didn&#x27;t like having to install it or expecting the user to have it installed already. Time to re-learn rust...
dtx1about 3 years ago
Every time a piece of legacy c&#x2F;c++ code get&#x27;s replaced with something written in a sane language i smile a little!
评论 #30684665 未加载
hda2about 3 years ago
An enticing UVP for Arti would be that it allows rust services to easily have cheap built-in network redundancy via tor integration. This would make it trivial for administrators to set up alternative access to their services if their services can reach tor.<p>This would allow global access to services in case of DNS outages, superfluous takedown requests, or anything in between.<p>Onion service support seems to be TBD, unfortunately.
anthkabout 3 years ago
I2P should be preferred. IP2D it&#x27;s a nice daemon.
评论 #30687706 未加载
hexoabout 3 years ago
The title. Omg. It is incorrect. Misleading. And infuriating.
评论 #30686552 未加载