dperson / torproxy

GNU Affero General Public License v3.0
515 stars 144 forks source link

Script generates garbage in torrc #19

Closed alfonder closed 6 years ago

alfonder commented 6 years ago

I use the next script for container creating:

#!/bin/sh
DOCKER="sudo docker"

$DOCKER run -d \
    --restart=always \
    --name tor \
    -p 9050:9050 \
    -e PASSWORD="password" \
    -e LOCATION="DE},{US},{CA},{DE},{GB},{FR},{NL},{AT},{AU},{NO},{MX" \
    dperson/torproxy

Then the container restarts sequentially. So I learned logs and config and discovered that torrc has many garbage strings in it. See the generated config file in attachment.

torrc.gz

dperson commented 6 years ago

Thanks for the report, it should be fixed now.