Public bug reported:

$ lsb_release -rd
Description:    Ubuntu 12.04.1 LTS
Release:        12.04

$ dpkg -l redsocks
ii  redsocks               0.2-1             Redirect any TCP connection to a 
SOCKS or HTTPS proxy server

$ /usr/local/sbin/redsocks -v
redsocks.git/release-0.4-13-g0a491b0

simplified config:

base {
 log_debug = off;
 log_info = off;
 log = "syslog:local7";
 daemon = on;
 redirector = iptables;
}
redsocks {
 local_ip = 127.0.0.1;
 local_port = 8124;
 ip = 10.1.2.3; // replace with your actual HTTP CONNECT proxy ip
 port = 80; // replace with the actual HTTP CONNECT proxy port
 type = http-connect;
}

The included redsocks 0.2 binary connects to the http-connect proxy and
correctly requests the external connection, but does not start sending
any more traffic. Replacing the binary with the 0.4 git compiled binary
and using the same config and iptables rules works properly. iptables
rules are redirecting traffic to redsocks as per documentation.

sends:

CONNECT 1.2.3.4:80 HTTP/1.0

and gets:
HTTP/1.0 200 Connection established
Proxy-Agent: (my cache server)

and then nothing more till the connection times out.

** Affects: redsocks (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1071879

Title:
  redsocks http-connect fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/redsocks/+bug/1071879/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to