From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 057E61381F3 for ; Mon, 23 Sep 2013 06:29:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB9ECE09ED; Mon, 23 Sep 2013 06:29:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 354E2E09F8 for ; Mon, 23 Sep 2013 06:29:31 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 408B233ED5F for ; Mon, 23 Sep 2013 06:29:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1C99BE5472 for ; Mon, 23 Sep 2013 06:29:28 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1379917723.8313772124285241a40d56a7030ba9c4dc5431b3.SwifT@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:merge commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/openvpn.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 8313772124285241a40d56a7030ba9c4dc5431b3 X-VCS-Branch: merge Date: Mon, 23 Sep 2013 06:29:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: de600376-d77a-4e44-9053-4a47582e3a40 X-Archives-Hash: 6384ca2de4ff1ae8eca7fbc1ef76d8f7 Message-ID: <20130923062928.9kosQdWgdQ11yz5OEpm5gZWcuwop-7XSICob8aVHeDE@z> commit: 8313772124285241a40d56a7030ba9c4dc5431b3 Author: Dominick Grift gmail com> AuthorDate: Fri Sep 20 07:41:07 2013 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Mon Sep 23 06:28:43 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=83137721 Additional openvpn tcp networking rules Signed-off-by: Dominick Grift gmail.com> --- policy/modules/contrib/openvpn.te | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/policy/modules/contrib/openvpn.te b/policy/modules/contrib/openvpn.te index 5816817..63957a3 100644 --- a/policy/modules/contrib/openvpn.te +++ b/policy/modules/contrib/openvpn.te @@ -1,4 +1,4 @@ -policy_module(openvpn, 1.12.1) +policy_module(openvpn, 1.12.2) ######################################## # @@ -14,10 +14,10 @@ policy_module(openvpn, 1.12.1) gen_tunable(openvpn_enable_homedirs, false) ## -##

-## Determine whether openvpn can -## connect to the TCP network. -##

+##

+## Determine whether openvpn can +## connect to the TCP network. +##

##
gen_tunable(openvpn_can_network_connect, false) @@ -158,7 +158,9 @@ tunable_policy(`openvpn_enable_homedirs && use_samba_home_dirs',` ') tunable_policy(`openvpn_can_network_connect',` - corenet_tcp_connect_all_ports(openvpn_t) + corenet_sendrecv_all_client_packets(openvpn_t) + corenet_tcp_connect_all_ports(openvpn_t) + corenet_tcp_sendrecv_all_ports(openvpn_t) ') optional_policy(`