redsocks
redsocks copied to clipboard
Send proper RST packet when socks5 server refuses connection
It would be nice to avoid accept()/close() pair when the destination is down or refuses connection.
Current behavior may confuse user and makes transparent proxy not-so-transparent.
See http://librelist.com/browser//redsocks/2012/7/31/a-redsocks-detail-question/