Live data from Hacker News

Arti – An implementation of Tor in Rust

blog.torproject.org

1–10 of 143 posts

Re: Arti – An implementation of Tor in Rust

#3
Couldn't find any introduction to the project on the blog but the official repo has more info on the background for the project:

>Rust is more secure than C. Despite our efforts, it'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.

>Arti is cleaner than our C tor implementation. Although we've tried to develop C tor well, we've learned a lot since we started it back in 2002. There are lots of places in the current C codebase where complicated "spaghetti" relationships between different pieces of code make our software needlessly hard to understand and improve.

https://gitlab.torproject.org/tpo/core/arti

Re: Arti – An implementation of Tor in Rust

#6

Is this possible to run on no_std systems or systems like XousOS (has its own std)? Would be cool to run on Precursor. https://www.crowdsupply.com/sutajio-kosagi/precursor/updates...

Right now it's not possible, but you could open an issue and maybe someday it will be! If you want to open an issue, it's here https://gitlab.torproject.org/tpo/core/arti/-/issues . If you don't want to create an account, say it and I'll create the issue for you.

Edit: corrected typo in link

Re: Arti – An implementation of Tor in Rust

#8
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.

Couple of related questions:

- Does anyone know, in a Linux distro, how to pass all system traffic through a SOCKS proxy port? I'm not looking for intermediary proxy handlers but an official method to force all user and system apps to use an arbitrary port.

- If it is not possible to do so, does `NetworkManager` have a setting for this?

- Is it possible to at least change Chrome/Firefox ports via CLI to an arbitrary port?

Post reply on HN