-
Notifications
You must be signed in to change notification settings - Fork 737
Description
Tinyproxy version
tinyproxy 1.11.1
Issue
TP fails in Upstream forwarding when using Socks5 in conjunction with User/Pass Authentication method.
Socks5 server works on its own
tiny proxy server works with socks5 without the authentication but it fails with the authentication enabled in the configuration
##here is the configuration file:
StatFile "/usr/share/tinyproxy/stats.html"
DefaultErrorFile "/usr/share/tinyproxy/default.html"
Timeout 600
User root
Group root
Port 40004
LogFile "/var/log/tinyproxy/tinyproxy.log"
PidFile "/run/tinyproxy/tinyproxy.pid"
Upstream socks5 user:pass@5.5.102.102:36036
logs
NOTICE Oct 06 13:00:02.773 [2192305]: Initializing tinyproxy ...
NOTICE Oct 06 13:00:02.774 [2192305]: Reloading config file
INFO Oct 06 13:00:02.776 [2192305]: Added upstream socks5 5.78.102.102:36036 for [default]
NOTICE Oct 06 13:00:02.777 [2192305]: Reloading config file finished
INFO Oct 06 13:00:02.778 [2192305]: listen_sock called with addr = '(NULL)'
INFO Oct 06 13:00:02.780 [2192305]: trying to listen on host[0.0.0.0], family[2], socktype[1], proto[6]
INFO Oct 06 13:00:02.781 [2192305]: listening on fd [3]
INFO Oct 06 13:00:02.782 [2192305]: trying to listen on host[::], family[10], socktype[1], proto[6]
INFO Oct 06 13:00:02.784 [2192305]: listening on fd [4]
INFO Oct 06 13:00:02.785 [2192305]: Now running as group "root".
INFO Oct 06 13:00:02.786 [2192305]: Now running as user "root".
INFO Oct 06 13:00:02.788 [2192305]: Setting the various signals.
INFO Oct 06 13:00:02.789 [2192305]: Starting main loop. Accepting connections.
CONNECT Oct 06 13:00:14.885 [2192305]: Connect (file descriptor 6): 192.168.1.2
CONNECT Oct 06 13:00:14.886 [2192305]: Request (file descriptor 6): GET http://ifconfig.me/ HTTP/1.1
INFO Oct 06 13:00:14.887 [2192305]: Found upstream proxy socks5 5.78.102.102:36036 for ifconfig.me
INFO Oct 06 13:00:14.889 [2192305]: opensock: opening connection to 5.78.102.102:36036
INFO Oct 06 13:00:14.891 [2192305]: opensock: getaddrinfo returned for 5.78.102.102:36036
CONNECT Oct 06 13:00:15.147 [2192305]: Established connection to socks5 proxy "5.78.102.102" using file descriptor 7.