Skip to content
Snippets Groups Projects

Bug: Ensure tor exit is disabled properly (#8863)

Closed micah requested to merge micah/platform:bug/disable_tor_exit into master
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
 
# ensure that the tor relay is not configured as an exit node
class site_tor::disable_exit {
class site_tor::disable_exit {
tor::daemon::exit_policy {
tor::daemon::exit_policy {
'no_exit_at_all':
'no_exit_at_all':
reject => [ '*:*' ];
reject => [ '*:*' ];
}
}
 
# In a future version of Tor, ExitRelay 0 may become the default when no ExitPolicy is given.
 
tor::daemon::snippet {
 
'disable_exit':
 
content => 'ExitRelay 0';
 
}
}
}
Loading