AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[tor](ubuntu)

Martin Hope
Pilot6
Asked: 2022-05-05 05:36:29 +0800 CST

如何用雪花运行 Tor 服务?

  • 2

如何snowflake在 Ubuntu 20.04 上通过桥接器安装和使用 Tor?

tor
  • 1 个回答
  • 431 Views
Martin Hope
rogaloo
Asked: 2021-04-20 01:46:28 +0800 CST

通过 Tor 隐藏服务访问 Docker 容器的 HTTP 端口

  • 1

我有一个 docker 容器,用作我的个人任务管理器。我已将 docker 容器的 HTTP 端口暴露给我的主机(Ubuntu)的端口 8080。当我在本地网络上时,我可以像这样访问我的 docker 容器:http://ip-of-my-ubuntu-host-machine:8080

现在,当我不在家并且没有专门分配给我的公共 IP 地址时,我也希望能够访问我的 docker 容器。所以,我想使用 Tor Hidden Service 来从外部访问我的容器(是的,我很乐意为此目的使用 Tor)。

谁能给我一个关于如何处理这个问题的指南?问题是,我不想设置HiddenServiceDirintorrc文件,因为我不想直接在我的主机上的 Tor 安装上托管任何东西,而是使用它作为代理将流量转发到我的 docker 容器,然后将提供网页。

先感谢您。

tor
  • 1 个回答
  • 446 Views
Martin Hope
Aim4Me
Asked: 2020-10-02 21:22:50 +0800 CST

我想在像 Tails OS 这样的 USB 上运行 Ubuntu,但没有 TOR 网络 [重复]

  • 1
这个问题在这里已经有了答案:
使用 Ubuntu 19.10 制作持久的实时驱动器如何更容易? (3 个回答)
我可以将 Live USB 完全引导到 RAM,从而允许我移除磁盘吗? (1 个回答)
1 年前关闭。

我在 USB 上安装了 tails,一切都很好,但是当我尝试浏览网页时,我发现它是匿名的,但它使得在线加载网站或视频比正常速度慢。关键是我想在 ram 上实时运行 Ubuntu,但也希望能够持续实时运行,并且能够安装新的应用程序。我也已经尝试将它安装在 USB 上,但启动时间太长而且速度太慢。有人帮忙。

networking boot usb tor
  • 1 个回答
  • 352 Views
Martin Hope
Alireza
Asked: 2020-05-26 10:05:09 +0800 CST

tor 开机自动启动

  • 0

当我启动 ubuntu 时,tor 自动启动我试图从 rc5.d 目录中删除它的符号链接,但它仍然从启动运行 Ubuntu 默认使用运行级别 5,那么为什么 tor 应该重新启动?如果我启动运行级别 3 并且 tor 自动启动它是合理的,因为我没有从中删除 tor 符号链接(S01tor)知道如何停止它吗?

像这个

tor
  • 1 个回答
  • 961 Views
Martin Hope
user931921
Asked: 2019-08-22 04:34:53 +0800 CST

gpg:警告:homedir '/home/user/.gnupg' 上的所有权不安全

  • 3

我正在尝试按照本指南安装 Tor 浏览器:

https://2019.www.torproject.org/docs/debian.html.en在 Ubuntu 18.04.3 TLS 上。

运行以下命令时:

gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -

我收到以下错误消息:

E: This command can only be used by root.

当我使用 运行相同的命令sudo时,我收到以下消息:

gpg: WARNING: unsafe ownership on homedir '/home/user/.gnupg'
E: This command can only be used by root.

有谁知道如何解决它以及为什么会这样?

gnome-terminal permissions apt gnupg tor
  • 1 个回答
  • 10406 Views
Martin Hope
zondo
Asked: 2019-08-16 15:43:28 +0800 CST

SSH 到 CNAME 的隐藏服务

  • 1

TLDR:我可以通过 SSH 连接洋葱地址,但不能通过 CNAME 连接到它的主机名。

我将 SSH 服务器作为 Tor 服务运行,但我不想记住洋葱地址。我知道我可以将名称添加到我的 SSH 客户端配置中,但这样做的目的是在我借用别人的计算机时能够访问我的计算机,显然我不想过多地干扰其他人的设置. (是的,这些其他计算机实际上很可能已经安装了 Tor。)所以我设置了一个主机名,其中包含指向洋葱地址的 CNAME 记录。如果我这样做torify ssh myaddress.onion,它可以正常工作,但torify ssh mydomain.com会导致:

1565911820 ERROR torsocks[31652]: Unable to resolve. Status reply: 4 (in socks5_recv_resolve_reply() at socks5.c:683)
ssh: Could not resolve hostname mydomain.com: Non-recoverable failure in name resolution

(不,我没有mydomain.com按字面意思输入;错误已被编辑。)

这样做dig -t CNAME mydomain.com确实会返回洋葱地址。到目前为止,我所有的测试都是在主机本身(LUbuntu 18.04.3)上进行的。

ssh dns tor
  • 2 个回答
  • 854 Views
Martin Hope
Nick Bailuc
Asked: 2019-08-06 12:43:17 +0800 CST

使用 bash 解析多行输出

  • 0

我有一个程序将创建一个带有如下输出的文本文件:

...
AF
Aug 05 16:27:01.310 [notice] Tor 0.3.5.8 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1c, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.3.8.
Aug 05 16:27:01.310 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Aug 05 16:27:01.311 [notice] Read configuration file "/etc/tor/torrc".
Aug 05 16:27:01.314 [notice] Opening Socks listener on 127.0.0.1:9050
Aug 05 16:27:01.314 [notice] Opened Socks listener on 127.0.0.1:9050
Aug 05 16:27:01.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Aug 05 16:27:01.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Aug 05 16:27:01.000 [notice] Bootstrapped 0%: Starting
Aug 05 16:27:01.000 [notice] Starting with guard context "default"
Aug 05 16:27:11.000 [notice] Catching signal TERM, exiting cleanly.

AX
Aug 05 16:27:11.333 [notice] Tor 0.3.5.8 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1c, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.3.8.
Aug 05 16:27:11.333 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Aug 05 16:27:11.333 [notice] Read configuration file "/etc/tor/torrc".
Aug 05 16:27:11.338 [notice] Opening Socks listener on 127.0.0.1:9050
Aug 05 16:27:11.338 [notice] Opened Socks listener on 127.0.0.1:9050
Aug 05 16:27:11.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Aug 05 16:27:11.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Aug 05 16:27:11.000 [notice] Bootstrapped 0%: Starting
Aug 05 16:27:12.000 [notice] Starting with guard context "default"
Aug 05 16:27:21.000 [notice] Catching signal TERM, exiting cleanly.
...

本质上,它将检查 TOR 是否可以通过不同的国家/地区进行连接。我做到了,所以它在段落之前输出 ISO alpha-2 代码,然后是一个空的返回行。

如何创建一个可以解析每个单独段落的程序,搜索文本“100%”,如果存在,将 alpha-2 代码(段落上方)复制到不同的文件中,使用 bash '>>'

bash tor grep
  • 1 个回答
  • 718 Views
Martin Hope
Thufir
Asked: 2019-07-29 00:15:32 +0800 CST

如何从 snap install 启动 Tor 浏览器?

  • 1

先看:

https://tor.stackexchange.com/q/318/857


尝试启动时tor,我会收到安装提示,apt而我正在使用snap:

thufir@dur:~$ 
thufir@dur:~$ tor

Command 'tor' not found, but can be installed with:

sudo apt install tor

thufir@dur:~$ 
thufir@dur:~$ torbrowser-launcher

Command 'torbrowser-launcher' not found, but can be installed with:

sudo apt install torbrowser-launcher

thufir@dur:~$ 

这是刚刚tor通过安装后snap,如下所示。浏览器是如何启动的?

thufir@dur:~$ 
thufir@dur:~$ sudo snap install tor 
snap "tor" is already installed, see 'snap help refresh'
thufir@dur:~$ 
thufir@dur:~$ snap info tor
name:      tor
summary:   Anonymising TCP overlay network
publisher: Iain R. Learmonth (irl)
license:   unset
description: |
  Tor is free software and an open network that helps you defend against
  traffic analysis, a form of network surveillance that threatens personal
  freedom and privacy, confidential business activities and relationships,
  and state security.

  Tor will accept connections from other applications on your computer on TCP
  port 9050. If you would just like to browse the web with Tor, see Tor
  Browser instead. This client is configured with defaults that will work for
  most use cases. For advanced use, install tor from your distribution's
  package manager.
services:
  tor: simple, enabled, active
snap-id:      GZm8Xr8BoWoe4y5pN1QJp3OGWyKGbDqc
tracking:     stable
refresh-date: today at 01:10 PDT
channels:
  stable:    0.2.9.17 2018-11-07 (2) 6MB -
  candidate: ↑                           
  beta:      ↑                           
  edge:      ↑                           
installed:   0.2.9.17            (2) 6MB -
thufir@dur:~$ 

我天真地希望snap安装tor包括浏览器启动器。运行宇宙:

thufir@dur:~$ 
thufir@dur:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.10
Release:    18.10
Codename:   cosmic
thufir@dur:~$ 
security browser apt tor snap
  • 2 个回答
  • 4401 Views
Martin Hope
Mudit Kapil
Asked: 2019-07-25 07:51:54 +0800 CST

我想将 torify 与 youtube-dl 一起使用,但它给了我一个错误

  • 0

我想将 torify 与 youtube-dl 一起使用,但它给了我一个错误,而 tor 浏览器正在工作

/usr/bin/torify: torsocks not found in your PATH. Perhaps it isn't installed? (tsocks is no longer supported, for security reasons.)

tor
  • 1 个回答
  • 1514 Views
Martin Hope
Ary09
Asked: 2019-07-22 00:13:17 +0800 CST

更新 Tor 浏览器后,它仅在 15 分钟延迟后打开

  • 3

几天前,我在 Ubuntu 18.04 上更新了 Tor 浏览器,突然出现了问题。当我尝试从命令行启动 Tor 浏览器时tor,它显示:

$托
7 月 21 日 09:54:37.835 [通知] Tor 0.4.0.5 在 Linux 上运行,带有 Libevent 2.1.8-stable、OpenSSL 1.1.1、Zlib 1.2.11、Liblzma 5.2.2 和 Libzstd 1.3.3。  
7 月 21 日 09:54:37.835 [通知] Tor 用错了也帮不了你!   
在 https://www.torproject.org/download/download#warning 了解如何安全  
Jul 21 09:54:37.835 [notice] 读取配置文件“/etc/tor/torrc”。  
7 月 21 日 09:54:37.840 [通知] 在 127.0.0.1:9050 上打开 Socks 监听器  
7 月 21 日 09:54:37.840 [警告] 无法绑定到 127.0.0.1:9050:地址已在使用中。Tor 已经在运行了吗?  
7 月 21 日 09:54:37.840 [警告] 无法解析/验证配置:无法绑定侦听器端口之一。  
7 月 21 日 09:54:37.840 [错误] 读取配置失败 - 请参阅上面的警告。

大约 15 分钟后,Tor 终于启动了。也许有人知道如何让它像更新之前一样工作,而我不必等那么久。另外昨天我删除了它并重新安装了它,但 Tor 浏览器仍然存在问题,无法立即启动。

upgrade tor
  • 1 个回答
  • 1012 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve