Speaking of old versions, Tor project still hasn’t built packages for latest Ubuntu’s LTS release which was released 5 months ago. The user base, which includes other distros based on Ubuntu, is currently running an outdated version of tor from Ubuntu’s repos. The ticket about this issue is also 4 months old with no updates since then.
I don’t want to nag, but usually the packages were built quite soon after the release.
Unfortunately, this “outdated” problem does not seem to be uncommon in the Tor project.
This Dockerfile of the WebTunnel PT is just one of the examples. Go 1.20 is end-of-life for 7 months. Debian Bullseye was replaced by Bookworm.
The webtunnel-bridge Docker image was last updated 7 months ago. The snowflake-proxy Docker image was last updated 8 months ago.
When I see numbers like that, I would normally never use the files and images because they look unmaintained and dead to me. A circumstance which, in my personal opinion, should be urgently reconsidered and changed.
If you use Docker you can always adapt it to use Debian 12 while they add the repository
Dockerfile
FROM debian:bookworm-slim
# Install dependencies
RUN apt-get update && apt-get install -y \
curl \
gpg \
gpg-agent \
ca-certificates \
--no-install-recommends
# Add Tor's repository
RUN curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
RUN gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
RUN printf "deb https://deb.torproject.org/torproject.org bookworm main\n" >> /etc/apt/sources.list.d/tor.list
# Install Tor
RUN apt-get update && apt-get install -y \
tor \
tor-geoipdb \
--no-install-recommends
# Clean up
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
# Ensure directories exist and have appropriate permissions
RUN mkdir -p /etc/tor /var/lib/tor \
&& chown -R debian-tor:debian-tor /etc/tor /var/lib/tor
# Set the default command to run Tor with the default config and data directories
ENTRYPOINT ["tor"]
CMD ["-f", "/etc/tor/torrc"]
Then
docker build -t name/tor:latest .
The run it
docker run -d --name="containername" -v /path:/etc/tor -v /path:/var/lib/tor name/tor:latest
So, if we install tor via apt on ubuntu we are subject to using an ancient version? Shouldn’t this be a higher priority considering the popularity of this distro?
Look at /etc/apt/sources.list or /etc/apt/sources.lis.d and look for tor.list or a line with the tor repository and comment it at the beginning with #
Or noble for jammy which works perfectly until they add the noble repository