Compiler error when changing deprecated void _init() to use __attribute((constructor))

I decided it would be a fun side project to do some work on tsocks, since it hasn't seen any updates in 8 years. It's hosted here on GitHub. I only made cosmetic changes to the code so far, but...

How reasonable/possible/difficult is it to write a tsocks clone in Haskell

I'm a reasonably competent programmer who knows haskell, but who hasn't used it in any major projects. I know enough about c and systems and network programming that I believe I can pick apart...

how do i use node.js with request or anything to get data over https through a http proxy

I have i instance of polipo running on a liunx server on port 8123 I need to make get and post requests with https inside of node through this proxy server. how would i do this. btw proxychains is...

OSX - socket connect redirection

In my application, I want to redirect certain applications connections. In windows 7, you can modify the host and port used in a TCP/UDP connect...

tsocks alternative for windows

i use in linux the following command to create a tunnel tsocks ssh -n -f -N -L 1081:142.51.6.42:22 [email protected] after which i use ssh [email protected] -p 1081 is it possible to replicate...

Access Violation On Create array of TThread

I am creating a multithreaded application, it creates a dynamic array of a class TThread, but the mystery for me, is that it causes an error 'Access Violation' to 'Create' Code Form: Unit...

Using Tor proxy with scrapy

I need help setting up Tor in Ubuntu and to use it within scrapy framework. I did some research and found out this guide: class RetryChangeProxyMiddleware(RetryMiddleware): def _retry(self,...

tsocks not tunneling to ssh

My network is set up like this S1 -> Switch <- S2 -> Internet S2 is running an SSH service that I want to tunnel all traffic through. I installed tsocks on S1 and set up the tsocks.config file...

Proxify an application via loopback adapters and SSH

This is part programming, part sysadmin, so please excuse me if you feel that this should be over on serverfault. I have an application that is not SOCKS aware and that we need to use through a...

Cannot login again after resuming crawl. Cookies are not sticky after resuming scrapy

I have a CrawlSpider, the code is below. I use Tor through tsocks. When I start my spider, everything works fine. Using init_request I can login on site and crawl with sticky cookies. But problem...

Is there proxyfier like tsocks, but with arguments to specify socks server?

Is there proxyfier like tsocks, but with arguments to specify socks server? E.g. # xtsocks --socks 127.0.0.1 9050 --command wget -O - http://google.com Problem with configuration file. To use...

Sublime2 and SublimeREPL

Using Windows 7, Python 3.2 and Sublime Text 2 I went through all of the instruction to install SublimeREPL and when I go to Tools -> SublimeREPL -> Python -> Python I get an error:...

urlopen with timeout fails behind proxy

python 2.7.3 under linux: getting strange behaviour when trying to use the timeout parameter from urllib2 import urlopen, Request, HTTPError, URLError url =...

porting tsocks to OS X cocoa

I have encountered a small problem: tsocks only works on programs that use the POSIX api for connecting on OS X. I have successfully written a small library that replaces the POSIX connect call...

R: install package using putty

After I run my R script on windows, I would like to use another server machine for the calculations. I use putty and the cloud computing provider slicify. Thats what I did until now: sudo tsocks...

Need help understanding a line in tsocks FAQ

Over here they explain an error I am getting running tsocks: I keep getting an error like "SOCKS server is not on a local subnet!", what's going on? By definition SOCKS servers in the tsocks...

rtorrent through a proxy

It's not that much of a question, rather a confirmation that what I did is right or not and if it is safe or not. Until now what I have found googling around is that you cannot run rtorrent...

Using tsocks to access external-networks which have only one machine accessible with public-world addressible machine

We have a set of machines in a datacenter. Only one of the machines is accessible from the internet-world. If we need to talk to any other machine in the datacenter we would need to login to this...

Tsocks not working with Java

I have defined following Sock5 proxies using TSocks. Following is my Tsocks file local = 192.168.5.0/255.255.255.0 # Otherwise we use the server server = 192.168.5.1 #HKG path { server =...

Redirect 'go get' to use SOCKS

I need proxy to download packages from golang.org. I have a SOCKS server myself, and need to direct 'go get' to connect through it. But I've tried tsocks and proxychains and they both don't help....

Redirect like via `/etc/hosts` without editing `/etc/hosts`

I need to redirect particular outgoing connections (from *any* web-client on my system) to particular IP. Yes, it can be done by adding this line in /etc/hosts file: 123.456.789.012 ...

Dump .onion using lynx in bash

So, I set up a Tor socks proxy on my machine, and I want to use proxychains or some alternative to have lynx dump links from a Tor .onion site. I tested to see if the proxy works and noted that I...

golang error: fatal error: all goroutines are asleep deadlock

I want to develop a simple email sender in Go, but I have encountered some problems, This is my actual code: package main import ( "flag" "sync" "fmt" ) var logLevel = 0 func...

sublime text 3 not sending code to sublimeREPL

I installed Sublime Text 3. I installed Package Control, R-Box, SendText, SendCode, sublimeREPL, and 1337 Color Scheme. To test that REPL R is working I ran the code: getwd() The output...

Use haproxy as a reverse proxy with an application behind Internet proxy

I need to integrate several web applications on-premise and off-site under a common internally hosted URL. The on-premise applications are in the same data center as the haproxy, but the off-site...

Behind a proxy: Flask SQLAlchemy connect to Postgres

I have a postgres instance running on a remote (AWS). I am on a corporate network using a proxy. I can use the tsocks package to connect to the postgres instance through a SOCKS5 proxy. Is there...

"Connection to a local service are denied since..." error with Torsocks - how do I connect to a local MysQL Server anyway?

So I have a python script that is supposed to run anonymized. I use Torsocks for that. But a part of the script needs to write data into a MySQL database running on the same device. But torsocks...