dperson / torproxy

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

torproxy.sh: line 66: warning: command substitution: ignored null byte in input #29

Closed RockYuan closed 5 years ago

RockYuan commented 5 years ago

/ # torproxy.sh -n /usr/bin/torproxy.sh: line 66: warning: command substitution: ignored null byte in input 515 Authentication failed: Wrong length on authentication cookie. Service already running, please restart container to apply changes

Thanks for your help !

dperson commented 5 years ago

Try running:

torproxy.sh -n echo "done"

I don't really use the newnym option, just let them timeout every 10 minutes. This was added by request, but the script should probably exit after telling tor to use a newnym. If the above fixes it, I'll make a change to the script.

RockYuan commented 5 years ago

not work !

torproxy.sh -n echo "done" /usr/bin/torproxy.sh: line 66: warning: command substitution: ignored null byte in input 515 Authentication failed: Wrong length on authentication cookie. done

I need to change ip immediately, do you have any idea ?

RockYuan commented 5 years ago

torproxy.sh -n -p ""

This work ! Thank you !

PowerToThePeople111 commented 4 years ago

torproxy.sh -n echo "done"

That worked for me, actually.

torproxy.sh -n -p ""

This sadly not.

mustanggb commented 3 years ago

Submitted a pull request with an alternative approach of fixing this.