mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Tor: Do not try to support IPv6 for Directory and OR ports
We currently don't have IPv6 in vanilla IPFire 2.x installations, hence there is no sense in letting Tor finding out IPv6 connectivity. Signed-off-by: Peter Müller <peter.mueller@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
fb4e1d53a0
commit
91aa257ed7
@@ -802,10 +802,10 @@ sub BuildConfiguration() {
|
||||
# Reject access to private networks.
|
||||
print FILE "ExitPolicyRejectPrivate 1\n";
|
||||
|
||||
print FILE "ORPort $settings{'TOR_RELAY_PORT'}\n";
|
||||
print FILE "ORPort $settings{'TOR_RELAY_PORT'} IPv4Only\n";
|
||||
|
||||
if ($settings{'TOR_RELAY_DIRPORT'} ne '0') {
|
||||
print FILE "DirPort $settings{'TOR_RELAY_DIRPORT'}\n";
|
||||
print FILE "DirPort $settings{'TOR_RELAY_DIRPORT'} IPv4Only\n";
|
||||
}
|
||||
|
||||
if ($settings{'TOR_RELAY_ADDRESS'} ne '') {
|
||||
|
||||
Reference in New Issue
Block a user