Security Fix: Bind ControlPort to 127.0.0.1 for host network mode
This commit is contained in:
parent
a369dd48a4
commit
f87ec7af08
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ if [ -n "$TOR_CONTROL_PASSWORD" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "ControlPort 0.0.0.0:9051" >> "$TOR_CONFIG"
|
echo "ControlPort 127.0.0.1:9051" >> "$TOR_CONFIG"
|
||||||
echo "HashedControlPassword $HASHED_PASSWORD" >> "$TOR_CONFIG"
|
echo "HashedControlPassword $HASHED_PASSWORD" >> "$TOR_CONFIG"
|
||||||
echo "Control Password set."
|
echo "Control Password set."
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue