You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
redsocks stopped working after upgrading my Debian to testing. Same redsocks and nftables (yes I use nft instead of iptables) configs worked well on Debian stable (stretch).
Redsocks seem not to redirect packet to my HTTP proxy any more.
redsocks config:
base {
log_debug = on;
log_info = on;
log = "syslog:daemon";
daemon = on;
user = redsocks;
group = redsocks;
redirector = iptables;
}
redsocks {
local_ip = 0.0.0.0;
local_port = 9080;
ip = 127.0.0.1;
disclose_src = false;
port = 8080;
type = http-relay;
login = "XXX";
password = "YYY";
}
redsocks {
local_ip = 0.0.0.0;
local_port = 9081;
ip = 127.0.0.1;
disclose_src = false;
port = 8080;
type = http-connect;
login = "XXX";
password = "YYY";
}
Following are some debug info. I start redsocks on my gateway and do curl http://httpbin.org/ip on another workstation (whose packets are supposed to go through redsocks).
Mar 13 13:07:04 cvhc-fire systemd[1]: Starting Redsocks transparent SOCKS proxy redirector...
Mar 13 13:07:04 cvhc-fire redsocks[21311]: 1520917624.363520 warning http-relay.c:124 httpr_instance_init(...) You should avoid `http-relay`, e.g. due to CVE-2009-0801
Mar 13 13:07:04 cvhc-fire redsocks[21312]: redsocks started, conn_max=128
Mar 13 13:07:04 cvhc-fire systemd[1]: Started Redsocks transparent SOCKS proxy redirector.
Mar 13 13:07:11 cvhc-fire redsocks[21312]: [192.168.90.10:54174->54.243.164.125:80]: accepted
Mar 13 13:08:45 cvhc-fire redsocks[21312]: Dumping client list for http-connect at 0.0.0.0:9081:
Mar 13 13:08:45 cvhc-fire redsocks[21312]: End of client list. 0 clients.
Mar 13 13:08:45 cvhc-fire redsocks[21312]: Dumping client list for http-relay at 0.0.0.0:9080:
Mar 13 13:08:45 cvhc-fire redsocks[21312]: [192.168.90.10:54174->54.243.164.125:80]: client: buf 9 (R/W) splice 0 (-/-) pipe[-1, -1]=0, relay: buf -1 (NULL) splice 0 (-/-) pipe[-1, -1]=0, age: 94.125477 sec, idle:
Mar 13 13:08:45 cvhc-fire redsocks[21312]: End of client list. 1 clients.
Kernel version 4.14.0-3-amd64
redsocks 0.5-1+b1 from Debian repo
The text was updated successfully, but these errors were encountered:
_EVENT_NUMERIC_VERSION was renamed to EVENT__NUMERIC_VERSION in libevent
2.1. As a result, redsocks_evbuffer_readline would end up using
evbuffer_readline(buf), which causes client connections to hang
indefinitely.
Switch the check to using LIBEVENT_VERSION_NUMBER instead.
LIBEVENT_VERSION_NUMBER has been around since libevent 2.0.3 and
redsocks is already using it in other parts of the code.
Fixesdarkk#107, darkk#122.
redsocks stopped working after upgrading my Debian to testing. Same redsocks and nftables (yes I use nft instead of iptables) configs worked well on Debian stable (stretch).
Redsocks seem not to redirect packet to my HTTP proxy any more.
redsocks config:
Following are some debug info. I start redsocks on my gateway and do
curl http://httpbin.org/ip
on another workstation (whose packets are supposed to go through redsocks).strace
log:Opened connection:
syslog after
kill -USR1 $(pidof redsocks)
:Kernel version 4.14.0-3-amd64
redsocks 0.5-1+b1 from Debian repo
The text was updated successfully, but these errors were encountered: