redsocks http-connect fails

Bug #1071879 reported by Tim Riker
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
redsocks (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

$ 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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in redsocks (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.