Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
No results found
Select Git revision
Loading items
Show changes

Commits on Source 1

  • micah's avatar
    Bug: Ensure tor exit is disabled properly · e1ec84de
    micah authored
    Simply disabling exit policies is not enough to disable an exit node, it also
    needs to be explicitly disabled. This may change in future versions of tor, but
    for now, explicitly adding 'ExitRelay 0' to the configuration is needed. This
    fixes #8863.
    e1ec84de
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline

Files

Original line number Diff line number Diff line
# ensure that the tor relay is not configured as an exit node
class site_tor::disable_exit {
  tor::daemon::exit_policy {
    'no_exit_at_all':
      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';
  }
}