Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7df1a7
commit 97b8feb
Showing
1 changed file
with
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright (C) 2019-2020 the Wahay contributors | ||
# License: GNU General Public License version 3 | ||
--- | ||
- apparmor-profiles: | ||
- '/usr/bin/wahay' | ||
users: | ||
- 'amnesia' | ||
commands: | ||
ADD_ONION: | ||
# TODO: Make Wahay restrict the local port range it listens on. | ||
# Whonix will use 0.0.0.0; most other OS's will use 127.0.0.1. | ||
- pattern: 'NEW:(\S+) Port=8181,(?:127.0.0.1|0.0.0.0):(\S+) Port=64738,(?:127.0.0.1|0.0.0.0):(\S+)' | ||
replacement: 'NEW:{} Port=8181,{client-address}:{} Port=64738,{client-address}:{} Flags=DiscardPK' | ||
DEL_ONION: | ||
- '.+' | ||
GETINFO: | ||
- 'version' | ||
events: | ||
STREAM: | ||
restrict-stream-events: false |