From e6e2a769ac37cc16893d06db6a6cd239fa12ebce Mon Sep 17 00:00:00 2001 From: Jeremy Solt Date: Mon, 12 Apr 2010 15:31:43 -0400 Subject: [PATCH] Remove excess white space from ntop.te Move ntop ports declaration to correct location. --- policy/modules/kernel/corenetwork.te.in | 2 +- policy/modules/services/ntop.te | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/policy/modules/kernel/corenetwork.te.in b/policy/modules/kernel/corenetwork.te.in index 0da421579..50f2774f5 100644 --- a/policy/modules/kernel/corenetwork.te.in +++ b/policy/modules/kernel/corenetwork.te.in @@ -145,8 +145,8 @@ network_port(mysqlmanagerd, tcp,2273,s0) network_port(nessus, tcp,1241,s0) network_port(netsupport, tcp,5404,s0, udp,5404,s0, tcp,5405,s0, udp,5405,s0) network_port(nmbd, udp,137,s0, udp,138,s0) -network_port(ntp, udp,123,s0) network_port(ntop, tcp,3000,s0, udp,3000,s0, tcp,3001,s0, udp,3001,s0) +network_port(ntp, udp,123,s0) network_port(ocsp, tcp,9080,s0) network_port(openvpn, tcp,1194,s0, udp,1194,s0) network_port(pegasus_http, tcp,5988,s0) diff --git a/policy/modules/services/ntop.te b/policy/modules/services/ntop.te index b9210ed70..8a7adb7f8 100644 --- a/policy/modules/services/ntop.te +++ b/policy/modules/services/ntop.te @@ -50,8 +50,8 @@ manage_dirs_pattern(ntop_t, ntop_tmp_t, ntop_tmp_t) manage_files_pattern(ntop_t, ntop_tmp_t, ntop_tmp_t) files_tmp_filetrans(ntop_t, ntop_tmp_t, { file dir }) -manage_dirs_pattern(ntop_t, ntop_var_lib_t, ntop_var_lib_t) -manage_files_pattern(ntop_t, ntop_var_lib_t, ntop_var_lib_t) +manage_dirs_pattern(ntop_t, ntop_var_lib_t, ntop_var_lib_t) +manage_files_pattern(ntop_t, ntop_var_lib_t, ntop_var_lib_t) files_var_lib_filetrans(ntop_t, ntop_var_lib_t, { file dir } ) manage_files_pattern(ntop_t, ntop_var_run_t, ntop_var_run_t)