-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
torrc: don't add DirPort when set to 0
fixes a bug that affects exit relays using tor_dedicatedExitIP and DirPort 0. fixes #236 also add a kitchen test case for it. known issue: new kitchen test fails on Ubuntu/FreeBSD due to undefined ansible_system #237
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
test/integration/default/dirport0-6publicIPs-dedicatedExitIP-2instPerIP-exit-node.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
- hosts: all | ||
vars: | ||
tor_maxPublicIPs: 3 | ||
tor_dedicatedExitIP: True | ||
tor_ExitRelay: True | ||
tor_apt_update_cache: no | ||
tor_ContactInfo: "ansible-relayor test-kitchen (you should never see this on a public relay) https://github.com/nusenu/ansible-relayor" | ||
tor_ExitRelay: True | ||
tor_ports: | ||
- orport: 9000 | ||
dirport: 0 | ||
- orport: 9100 | ||
dirport: 0 | ||
tor_config: | ||
DisableNetwork: 1 | ||
PublishServerDescriptor: 0 | ||
roles: | ||
- "{{ playbook_dir | regex_replace('test/integration/default$') }}" |