Proxychains

From usenix.org.uk
Jump to: navigation, search

proxychains is a very useful program if you're interested in using the CONNECT method to communicate between the endpoints. It is very common for example, for the proxy server to interfere with what you're sending through it, whilst the CONNECT method often passes data freely.

Obviously, if you're using a proxy server that is in the wild you may prefer not to do this with plain text traffic (such as that which is normally used on port 80 or 21).

quick setup

A simple configuration might look like this, which I have stored in ~/.proxychains/proxychains.conf:

tcp_read_time_out 15000
tcp_connect_time_out 8000

[ProxyList]
# type		address		port	user	pass
# socks5 	1.2.3.4		1080	elite	secret
# socks4	1.2.3.4		1085	elite	secret
http	212.118.224.151	80

quick usage

proxychains uses LD_PRELOAD to intercept network read/writes and send them off to the defined proxy connects.

In order to wrap a program within the proxychains routines you will need to execute it in a manner like below:

$ proxychains ~/bin/epiphany/bin/epiphany

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox