docker-multitor icon indicating copy to clipboard operation
docker-multitor copied to clipboard

Cannot run multitor docker with privoxy

Open phongtnit opened this issue 3 years ago • 5 comments

Hello,

I can run multitor docker with command multitor --init 5 --user root --socks-port 9000 --control-port 9900 --proxy socks, however, the option privoxy in the following command multitor --init 5 --user root --socks-port 9000 --control-port 9900 --proxy privoxy --haproxywill be error as shown in the image Imgur

Please help me to fix it, many thanks

phongtnit avatar Jun 17 '21 17:06 phongtnit

Please refer to the multitor repo. We only provide some basic docker files / environment and do not support the application itself. Thank you

FLX-0x00 avatar Jun 17 '21 18:06 FLX-0x00

Hi,

I guess the error because of docker-multitor installed latest version of alpine and important packages like Privoxy, Tor, Haproxy. Indeed, last year I successfully installed docker-multitor with privoxy. I think multitor package don't maintain anymore.

phongtnit avatar Jun 18 '21 01:06 phongtnit

sorry but atm we can not go into this project as we not use it in our daily bsns. We keep this issue open, maybe someone wants to get a look at this issue.

FLX-0x00 avatar Jun 18 '21 08:06 FLX-0x00

Hi @blacklist-arcc and @phongtnit,

I found the problem and is caused by the Privoxy package in Alpine. I don't know why but in Alpine if you install the Privoxy package all the configuration files have the .new extension now

image

This is not documented anywhere (or I didn't find it) If you install the Privoxy package in Debian no files with .new extension there as expetected.

The workaround to have it working again is to rename the *.new files without that extension For example chage the Dockerfile:

RUN for file in /etc/privoxy/*.new; do mv "$file" "${file%.new}"; done CMD multitor --init 60 --user root --socks-port 9000 --control-port 9900 --proxy privoxy --haproxy

@blacklist-arcc I think is good to add something to the Readme of this project (also my solution) and in the future change the base image of the container to Debian or CentOs that is tested from multitor repo.

erdotufa avatar Dec 01 '21 15:12 erdotufa

Thanks for your afford. I will check this on my own later and commit the changes. Cheers.

FLX-0x00 avatar Dec 01 '21 15:12 FLX-0x00