1 port for socks and http proxy, self-determination1 порт для socks и http прокси, автоопределение
There are 2 proxy on 3 proxy (http and socks). It requires a common socks/http port with self-definition.
in 3proxy there is support auto https://github.com/3proxy/3proxy/commit/fb56b7d307a7bce1f2109c73864bad7c71716f3b
But at the moment it cannot be used, we need to transfer the user and password to parent.
We modified 3proxy in a certain way, but there’s a bug that if you listen on one instance and http and socks, then one of these stops working. The bug has never been corrected, so we have launched 2 instances of http and socks.
Two options of solution:
1 . To fix our 3proxy mode bug so that it works normal at the same time, then we can use the car
2. iptables/L7/inetd/netcat is invented to simply listen to the port separately and by packages to determine the http or socks protocol is requested, and to redirect to the desired port.
привет.
есть 2 прокси на 3proxy (http и socks). нужен общий порт socks/http с автоопределением.
в 3proxy есть поддержка auto https://github.com/3proxy/3proxy/commit/fb56b7d307a7bce1f2109c73864bad7c71716f3b
но в данный момент это нельзя использовать, нам нужно передавать юзер и пароль на parent.
мы модифицировали 3proxy определённым образом, но есть баг, что если слушать на одном инстансе и http и socks, то одно из этих перестаёт работать. баг так и не удалось исправить, поэтому у нас запущено 2 инстанса http и socks.
2 варианта решения:
1. Исправить баг нашего мода 3proxy, чтобы нормально одновременно работало, тогда мы можем использовать auto
2. iptables/L7/inetd/netcat чёт придумать, чтобы просто отдельно слушать порт и по пакетам определять, на http или socks протокол идёт запрос, и перенаправлять на нужный порт.