Commit 2e68781
committed
Use socks5 proxy on Whonix Gateway to fix onion urls resolution
When sys-whonix is used as updatevm, with repositories set to onion
addresses, DNF (or rather curl) refuse to resolve the addresses, even
though it is talking to Tor. See
curl/curl#11125
Fix this by setting socks proxy explicitly. Use socks5h:// protocol to
really delegate hostname resolution to the server.
Do the same in qvm-template-repo-query (qubes.TemplateSearch and
qubes.TemplateDownload services), as they also use dnf.
QubesOS/qubes-issues#102531 parent 05f2ea1 commit 2e68781
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
60 | 68 | | |
61 | 69 | | |
62 | 70 | | |
| |||
0 commit comments