Skip to content

Commit 5a76986

Browse files
committed
Revert "Use socks5 proxy on Whonix Gateway to fix onion urls resolution"
Adding the options was moved to the uwt wrapper: Whonix/uwt@43e07ed It isn't needed here anymore. This reverts commit 2e68781.
1 parent 06dc32e commit 5a76986

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

package-managers/qubes-download-dom0-updates.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,6 @@ while [ -n "$1" ]; do
6464
shift
6565
done
6666

67-
if [ -e /run/qubes-service/whonix-gateway ]; then
68-
# DNF (or rather curl) refuses to resolve onion addresses directly, use
69-
# socks proxy to avoid the issue
70-
OPTS+=( --setopt=proxy=socks5h://127.0.0.1:9050/ )
71-
# for stream isolation
72-
OPTS+=( --setopt=proxy_username=dom0updates --setopt=proxy_password=dom0updates )
73-
fi
74-
7567
if [ -z "$UPDATE_ACTION" ]; then
7668
UPDATE_ACTION=upgrade
7769
fi

qubes-rpc/qvm-template-repo-query

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,6 @@ fi
5757

5858
OPTS+=(-y "--setopt=reposdir=${repodir}" --quiet)
5959

60-
if [ -e /run/qubes-service/whonix-gateway ]; then
61-
# DNF (or rather curl) refuses to resolve onion addresses directly, use
62-
# socks proxy to avoid the issue
63-
OPTS+=( --setopt=proxy=socks5h://127.0.0.1:9050/ )
64-
# for stream isolation
65-
OPTS+=( --setopt=proxy_username=dom0updates --setopt=proxy_password=dom0updates )
66-
fi
67-
6860
if ! $DNF5; then
6961
# use vendored 'downloadurl' dnf-plugin (fork of 'download' plugin), to print
7062
# all mirrors

0 commit comments

Comments
 (0)