socks

Unable to make python requests over tor ConnectionRefusedError: [WinError 10061]

廉价感情. 提交于 2021-02-10 18:39:57
问题 I am trying to make requests using python requests over tor, but i get the error "ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it". Here is the code i am using: import requests def get_tor_session(): session = requests.session() # Tor uses the 9050 port as the default socks port session.proxies = {'http': 'socks5://127.0.0.1:9050', 'https': 'socks5://127.0.0.1:9050'} return session # Make a request through the Tor connection

Unable to make python requests over tor ConnectionRefusedError: [WinError 10061]

五迷三道 提交于 2021-02-10 18:33:10
问题 I am trying to make requests using python requests over tor, but i get the error "ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it". Here is the code i am using: import requests def get_tor_session(): session = requests.session() # Tor uses the 9050 port as the default socks port session.proxies = {'http': 'socks5://127.0.0.1:9050', 'https': 'socks5://127.0.0.1:9050'} return session # Make a request through the Tor connection

Considering URL redirections: How to use GUIs of web applications running in different containers within the same docker network on a remote server?

青春壹個敷衍的年華 提交于 2021-02-10 12:44:55
问题 I have the feeling that I am overlooking something obvious as my solutions/ideas so far seem too cumbersome. I have searched intensively for a good solution, but so far without success - probably because I do not know what to look for. Question: How do you interact with the graphical interfaces of web servers running in different containers (within the same Docker Network) on a remote server, given URL redirections between these containers? Initial situation: I have two containers (a Flask

Considering URL redirections: How to use GUIs of web applications running in different containers within the same docker network on a remote server?

淺唱寂寞╮ 提交于 2021-02-10 12:43:00
问题 I have the feeling that I am overlooking something obvious as my solutions/ideas so far seem too cumbersome. I have searched intensively for a good solution, but so far without success - probably because I do not know what to look for. Question: How do you interact with the graphical interfaces of web servers running in different containers (within the same Docker Network) on a remote server, given URL redirections between these containers? Initial situation: I have two containers (a Flask

Telegram calls via Dante socks5 proxy server not working

橙三吉。 提交于 2021-02-05 20:31:35
问题 I've confugured Dante 1.4on Ubuntu 16.04 as a socks5 proxy for Telegram. Chats are working, but voice calls are not, failing at "Connecting". Is there something special I need to configure in order to proxy Telegram voice traffic? I'm using a single non priveleged (>1024) TCP/UDP port + login + password for connection. Thanks! UPD: Thats piece of log while i am trying to call somebody: Apr 15 23:05:38 (1523736338.510915) danted[22977]: info: pass(1): udp/udpassociate [: username%USER@0.0.0.0

How to configure a tor proxy on windows?

我是研究僧i 提交于 2021-02-05 07:01:21
问题 How do I configure a tor proxy on windows? For example, I want to run the following python script through a tor proxy: import requests proxies = { 'http':'socks5h://localhost:9050', 'https':'socks5h:/localhost:9050' } url = 'someWebsite.onion' res = requests.get(url, proxies=proxies) On unix systems, you can simply run tor in terminal, but this doesn't seem to work on windows. 回答1: Txtorcon and Stem are libraries developed by the Tor Project for controlling Tor from Python. Stem doesn't have

How to create connection to AMQP queue over SSL using SOCKS proxy or any other proxy in java

a 夏天 提交于 2021-01-29 08:49:24
问题 Using using SOCKS proxy or any other Proxy, is there any way to connect to amqp queue over SSL using org.apache.qpid.jms.JmsConnectionFactory for environments where direct internet access is not available or amqps connection port is blocked by firewall. I have tried connecting to amqp queue over SSL using org.apache.qpid.jms.JmsConnectionFactory on environments where internet is available.It is working fine!!! 回答1: Using the latest release of the Qpid JMS client (0.47.0 as of this answer) you

Android/Java: How to use Tor-Onion-Proxy-Library?

拥有回忆 提交于 2020-12-11 05:30:59
问题 I will connect to a server in an Android app with tor but without using orbot. I found this Library: https://github.com/jehy/Tor-Onion-Proxy-Library I added compile 'com.github.jehy:Tor-Onion-Proxy-Library:0.0.7' compile 'org.slf4j:slf4j-api:1.7.7' compile 'org.slf4j:slf4j-android:1.7.7' to my build.gradle (Module: app) and allprojects { repositories { maven { url 'https://jitpack.io' } } } Next I added in my Fragment in the onCreateView int totalSecondsPerTorStartup = 4 * 60; int

Android/Java: How to use Tor-Onion-Proxy-Library?

有些话、适合烂在心里 提交于 2020-12-11 05:30:16
问题 I will connect to a server in an Android app with tor but without using orbot. I found this Library: https://github.com/jehy/Tor-Onion-Proxy-Library I added compile 'com.github.jehy:Tor-Onion-Proxy-Library:0.0.7' compile 'org.slf4j:slf4j-api:1.7.7' compile 'org.slf4j:slf4j-android:1.7.7' to my build.gradle (Module: app) and allprojects { repositories { maven { url 'https://jitpack.io' } } } Next I added in my Fragment in the onCreateView int totalSecondsPerTorStartup = 4 * 60; int

Android/Java: How to use Tor-Onion-Proxy-Library?

[亡魂溺海] 提交于 2020-12-11 05:30:13
问题 I will connect to a server in an Android app with tor but without using orbot. I found this Library: https://github.com/jehy/Tor-Onion-Proxy-Library I added compile 'com.github.jehy:Tor-Onion-Proxy-Library:0.0.7' compile 'org.slf4j:slf4j-api:1.7.7' compile 'org.slf4j:slf4j-android:1.7.7' to my build.gradle (Module: app) and allprojects { repositories { maven { url 'https://jitpack.io' } } } Next I added in my Fragment in the onCreateView int totalSecondsPerTorStartup = 4 * 60; int