Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] SourcesList and Tor

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
FenrisUltra
Posts: 72
Joined: 2016-02-19 01:29
Location: Winnipeg, Manitoba (Canada)
Been thanked: 1 time
Contact:

[SOLVED] SourcesList and Tor

#1 Post by FenrisUltra »

Hello,

Before this conversation starts, I just want to inform the reader that I'm using Debian Bullseye. I have been using Tor for many applications including the Debian SourcesList as found on here https://wiki.debian.org/SourcesList for a number of years now, I'm heavily dependent it's functionality.

Now, I have been using Tor to do all my updates and upgrades for a long time without any problems till recently. I started getting the failed the fetch errors on a regular basis that I cannot make go away. Taking a closer look at this, I noticed that the links are still in version 2 onion. In July of 2021, version 2 addresses were discontinued as mentioned here https://support.torproject.org/onionser ... precation/. I would like to go back to using Tor in my sources list. My first guess to fixing these "failed to fetch" errors is by reconfiguring the list with version 3 onion links. Only problem is, I can't find any information anywhere as to where or what the version 3 addresses are. The only thing I have to go on is the Debian Wiki.

Is there anyone that could please assist me with this problem?

Thanks
Last edited by FenrisUltra on 2022-03-11 12:41, edited 1 time in total.

User avatar
canci
Global Moderator
Global Moderator
Posts: 2497
Joined: 2006-09-24 11:28
Has thanked: 135 times
Been thanked: 134 times

Re: SourcesList and Tor

#2 Post by canci »

Have you tried another mirror? They're listed here:
https://onion.debian.org/
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

User avatar
FenrisUltra
Posts: 72
Joined: 2016-02-19 01:29
Location: Winnipeg, Manitoba (Canada)
Been thanked: 1 time
Contact:

Re: SourcesList and Tor

#3 Post by FenrisUltra »

canci wrote: 2022-03-11 07:32 Have you tried another mirror? They're listed here:
https://onion.debian.org/
Hello, and thank you, that was the item I was looking for and couldn't find. This component now works the way I want it to for Debian 11.

Out of kindness to anyone else who wishes to get there updates directly through Tor, here are some instructions:

Step 1 ) Type: sudo apt-get update
Step 2 ) Type: sudo apt-get install apt-transport-tor
Step 3 ) Type: sudo nano /etc/apt/sources.list
Step 4 ) Comment out everything in the sources.list with #
Step 5 ) Enter the following lines:

Code: Select all

deb tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian              bullseye            main contrib non-free
deb tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian              bullseye-updates    main contrib non-free
deb tor+http://5ajw6aqf3ep7sijnscdzw77t7xq4xjpsy335yb2wiwgouo7yfxtjlmid.onion/debian-security     bullseye/updates    main contrib non-free
deb tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian              bullseye-backports  main contrib non-free

deb-src tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian          bullseye            main contrib non-free
deb-src tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian          bullseye-updates    main contrib non-free
deb-src tor+http://5ajw6aqf3ep7sijnscdzw77t7xq4xjpsy335yb2wiwgouo7yfxtjlmid.onion/debian-security bullseye/updates    main contrib non-free
deb-src tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian          bullseye-backports  main contrib non-free
Step 6 ) Save and exit the changes
Step 7 ) Type: sudo apt-get update
Step 8 ) Type sudo apt-get upgrade

Hopefully this helps anyone that wishes to do what I did :D

User avatar
canci
Global Moderator
Global Moderator
Posts: 2497
Joined: 2006-09-24 11:28
Has thanked: 135 times
Been thanked: 134 times

Re: [SOLVED] SourcesList and Tor

#4 Post by canci »

Great.

As far as I've heard, most onion servers should already be version 3.
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

fch
Posts: 212
Joined: 2021-09-06 15:44
Has thanked: 21 times
Been thanked: 5 times

Re: SourcesList and Tor

#5 Post by fch »

FenrisUltra wrote: 2022-03-11 12:41
canci wrote: 2022-03-11 07:32 Have you tried another mirror? They're listed here:
https://onion.debian.org/
Hello, and thank you, that was the item I was looking for and couldn't find. This component now works the way I want it to for Debian 11.

Out of kindness to anyone else who wishes to get there updates directly through Tor, here are some instructions:

Step 1 ) Type: sudo apt-get update
Step 2 ) Type: sudo apt-get install apt-transport-tor
Step 3 ) Type: sudo nano /etc/apt/sources.list
Step 4 ) Comment out everything in the sources.list with #
Step 5 ) Enter the following lines:

Code: Select all

deb tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian              bullseye            main contrib non-free
deb tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian              bullseye-updates    main contrib non-free
deb tor+http://5ajw6aqf3ep7sijnscdzw77t7xq4xjpsy335yb2wiwgouo7yfxtjlmid.onion/debian-security     bullseye/updates    main contrib non-free
deb tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian              bullseye-backports  main contrib non-free

deb-src tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian          bullseye            main contrib non-free
deb-src tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian          bullseye-updates    main contrib non-free
deb-src tor+http://5ajw6aqf3ep7sijnscdzw77t7xq4xjpsy335yb2wiwgouo7yfxtjlmid.onion/debian-security bullseye/updates    main contrib non-free
deb-src tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian          bullseye-backports  main contrib non-free
Step 6 ) Save and exit the changes
Step 7 ) Type: sudo apt-get update
Step 8 ) Type sudo apt-get upgrade

Hopefully this helps anyone that wishes to do what I did :D
Why or why not use the deb-src lines and bullseye-backports?

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: SourcesList and Tor

#6 Post by sunrat »

fch wrote: 2022-03-15 00:45 Why or why not use the deb-src lines and bullseye-backports?
Surely you could have searched the internet and had answers an hour ago.
deb-src lines are for compiling software ie. not most users.
backports is for newer software than is released in Stable, usually specially compiled to work in Stable from sources in Testing. Generally it can be a Very Bad Idea to install from non-Stable sources in Stable, so backports fills some of that gap.

I'm interested to learn why one would use Tor for Debian updates?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 65 times

Re: [SOLVED] SourcesList and Tor

#7 Post by LE_746F6D617A7A69 »

sunrat wrote: 2022-03-15 02:09 I'm interested to learn why one would use Tor for Debian updates?
Technically, this allows to hide the fact that You're downloading the updates -> the data stream is encrypted, so for the "Man in the middle" it's no different from downloading an YT video (simplifying).

However, I don't think that it is useful - unless some governments are blocking the Debian servers/mirrors ?

Otherwise it makes not much sense ..
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

fch
Posts: 212
Joined: 2021-09-06 15:44
Has thanked: 21 times
Been thanked: 5 times

Re: [SOLVED] SourcesList and Tor

#8 Post by fch »

LE_746F6D617A7A69 wrote: 2022-03-16 22:27
sunrat wrote: 2022-03-15 02:09 I'm interested to learn why one would use Tor for Debian updates?
Technically, this allows to hide the fact that You're downloading the updates -> the data stream is encrypted, so for the "Man in the middle" it's no different from downloading an YT video (simplifying).

However, I don't think that it is useful - unless some governments are blocking the Debian servers/mirrors ?

Otherwise it makes not much sense ..
Prudence is never a bad thing. And the more people using the tor network the more we will be helping those who really need it, specially in those times we're living in.

LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 65 times

Re: [SOLVED] SourcesList and Tor

#9 Post by LE_746F6D617A7A69 »

fch wrote: 2022-03-17 11:48 Prudence is never a bad thing. And the more people using the tor network the more we will be helping those who really need it, specially in those times we're living in.
Your argument makes sense. However, just by using the TOR you're not promoting it -> did You started this thread to promote TOR?
If this is the case, then I would say it's a bad idea.

TOR is very important - it helps to keep the freedom of internet - but You won't popularize the idea behind TOR by reporting that You have a problem with onion routing ;)

IMO TOR is a "must have" for everyone who cares about his privacy -> it's like a VPN, but it's free and well distributed.

The problem:
Cloudflare/cluodfront: the business criminals are trying to eliminate non-business criminals, who are improperly called "hackers"(*), and that's basically why most cloudflare/cloudfront sites are blocking TOR ;)

(*) I understand that the above statement is "controversial" - so everyone who can't accept the reality should stop reading this topic ;)
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

hthi
Posts: 213
Joined: 2015-05-09 15:43
Has thanked: 1 time

Re: [SOLVED] SourcesList and Tor

#10 Post by hthi »

deb-src lines are for compiling software
When? If you download the source code of a program in
order to compile it, then deb-src repositories are
required?
why one would use Tor for Debian updates?
https://bits.debian.org/tag/tor.html

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: [SOLVED] SourcesList and Tor

#11 Post by ticojohn »

LE_746F6D617A7A69 wrote: 2022-03-17 22:02
IMO TOR is a "must have" for everyone who cares about his privacy -> it's like a VPN, but it's free and well distributed.
I may be wrong but I don't think Tor is like a VPN. To my knowledge Tor simply obfuscates the trail to your IP address whereas a VPN gives you a totally different IP address which stops at the VPN server. A good VPN service that doesn't keep any records outside of RAM is much better than just having your trail obfuscated by jumping around to a bunch of different servers. But then again a good VPN service is not free.

EDIT: Okay, I just did some reading. Should have done that before I ran my mouth. It seems that Tor does in fact give the user a high degree of anonymity. The VPN gives the user more privacy. So, I admit to being wrong. How about that. :oops:
I am not irrational, I'm just quantum probabilistic.

hthi
Posts: 213
Joined: 2015-05-09 15:43
Has thanked: 1 time

Re: [SOLVED] SourcesList and Tor

#12 Post by hthi »


LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 65 times

Re: [SOLVED] SourcesList and Tor

#13 Post by LE_746F6D617A7A69 »

ticojohn wrote: 2022-11-26 19:23 I may be wrong but I don't think Tor is like a VPN. To my knowledge Tor simply obfuscates the trail to your IP address whereas a VPN gives you a totally different IP (...)
Well, TOR is a "better" VPN - it randomizes Your IP, unlike 'classic' VPN, where the pool of IP addresses is predictable (simplified explanation).
Besides, companies which are offering "anonymous" VPN access can record Your activity, while onion routers can not (TOR routers/exit_nodes)

Regards.
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: [SOLVED] SourcesList and Tor

#14 Post by ticojohn »

LE_746F6D617A7A69 wrote: 2022-11-27 20:10
ticojohn wrote: 2022-11-26 19:23 I may be wrong but I don't think Tor is like a VPN. To my knowledge Tor simply obfuscates the trail to your IP address whereas a VPN gives you a totally different IP (...)
Well, TOR is a "better" VPN - it randomizes Your IP, unlike 'classic' VPN, where the pool of IP addresses is predictable (simplified explanation).
Besides, companies which are offering "anonymous" VPN access can record Your activity, while onion routers can not (TOR routers/exit_nodes)

Regards.
There are reasons to use a VPN, such as when a specific IP address, or group of addresses, might be required in order to access certain content. And while a VPN service can claim to be "anonymous" and might record ones activity there are a few services that have been challenged by governments to release user activity and have refused to comply stating that all user activity resides only in ram and said activity is not available once the users activity is discontinued. You can agree. or not, but I'll stick with my VPN service.
I am not irrational, I'm just quantum probabilistic.

LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 65 times

Re: [SOLVED] SourcesList and Tor

#15 Post by LE_746F6D617A7A69 »

ticojohn wrote: 2022-11-28 18:17 You can agree. or not, but I'll stick with my VPN service.
Nah, I don't want nor I can change Your mind - and that was not my intention - just a technical information. Besides, due to its nature, TOR is usually much slower than VPN.

Take it easy ;)
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: [SOLVED] SourcesList and Tor

#16 Post by ticojohn »

LE_746F6D617A7A69 wrote: 2022-11-28 21:21
ticojohn wrote: 2022-11-28 18:17 You can agree. or not, but I'll stick with my VPN service.
Nah, I don't want nor I can change Your mind - and that was not my intention - just a technical information. Besides, due to its nature, TOR is usually much slower than VPN.

Take it easy ;)
I am taking it easy. 8) I was just voicing my opinion. As to speed, my VPN is sometimes faster than my ISP. Imagine that. Even though I have 100mb fiber service, I think my ISP (in Costa Rica) has maybe overextended their capability. Or maybe there are sometimes a lot of kids on my node that are playing games.

EDIT: I did try using TOR once and wasn't really impressed. Probably the speed.
I am not irrational, I'm just quantum probabilistic.

Post Reply