diff options
author | intrigeri <intrigeri@boum.org> | 2013-01-02 18:02:31 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2013-01-02 18:02:31 +0100 |
commit | 5e555243c8dd93f7e5cfadacc9c3843d5f9d421c (patch) | |
tree | ae9523884d7447e57a9a1ac91f60a39da24c8e04 /manifests/rules/torify/non_torified_user.pp | |
parent | 88fa544a9c2f974b35a169b4e3865ccaf4f68fd1 (diff) | |
download | puppet-shorewall-5e555243c8dd93f7e5cfadacc9c3843d5f9d421c.tar.gz puppet-shorewall-5e555243c8dd93f7e5cfadacc9c3843d5f9d421c.tar.bz2 |
Revert "Support exempting some users from torification measures."
This reverts commit 6bc54f031b9ae12fe428c83e70733c8b2ff4c67a.
This stuff is not ready for the shared repo, but we want to take benefit from me
having already merged immerda's stuff into my branch and solved the conflicts.
Diffstat (limited to 'manifests/rules/torify/non_torified_user.pp')
-rw-r--r-- | manifests/rules/torify/non_torified_user.pp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/manifests/rules/torify/non_torified_user.pp b/manifests/rules/torify/non_torified_user.pp deleted file mode 100644 index 34e4db7..0000000 --- a/manifests/rules/torify/non_torified_user.pp +++ /dev/null @@ -1,25 +0,0 @@ -define shorewall::rules::torify::non_torified_user() { - - $user = $name - - $whitelist_rule = "allow-from-user=${user}" - shorewall::rule { - "$whitelist_rule": - source => '$FW', - destination => 'all', - user => $user, - order => 101, - action => 'ACCEPT'; - } - - $nonat_rule = "dont-redirect-to-tor-user=${user}" - shorewall::rule { - "$nonat_rule": - source => '$FW', - destination => '-', - user => $user, - order => 106, - action => 'NONAT'; - } - -} |