diff options
author | Micah Anderson <micah@riseup.net> | 2012-06-20 13:47:45 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-06-20 13:47:45 -0400 |
commit | f3448f4210260c1cfee72ae709a1ae0b8902d0d4 (patch) | |
tree | ea545e1ba4352be8b3a6b940d2e5be7a0a373ae9 /manifests/rules/torify/user.pp | |
parent | c3452c911c5dba8b53b558169774d83c3e1908e4 (diff) | |
download | puppet-shorewall-f3448f4210260c1cfee72ae709a1ae0b8902d0d4.tar.gz puppet-shorewall-f3448f4210260c1cfee72ae709a1ae0b8902d0d4.tar.bz2 |
Revert "Support exempting some users from torification measures."
This reverts commit 6cb88973f53aa7d92414797dd21952c1c1d5da98.
Diffstat (limited to 'manifests/rules/torify/user.pp')
-rw-r--r-- | manifests/rules/torify/user.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/rules/torify/user.pp b/manifests/rules/torify/user.pp index 49c0b34..5caccfd 100644 --- a/manifests/rules/torify/user.pp +++ b/manifests/rules/torify/user.pp @@ -7,6 +7,10 @@ define shorewall::rules::torify::user( include shorewall::rules::torify::allow_tor_transparent_proxy + if $originaldest == '-' and $user == '-' { + include shorewall::rules::torify::allow_tor_user + } + shorewall::rules::torify::redirect_tcp_to_tor { "redirect-to-tor-user=${user}-to=${originaldest}": user => $user, |