From 5e555243c8dd93f7e5cfadacc9c3843d5f9d421c Mon Sep 17 00:00:00 2001 From: intrigeri Date: Wed, 2 Jan 2013 18:02:31 +0100 Subject: 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. --- manifests/rules/torify/non_torified_user.pp | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 manifests/rules/torify/non_torified_user.pp (limited to 'manifests/rules/torify/non_torified_user.pp') 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'; - } - -} -- cgit v1.2.3