From 45b975db5bc4cc6deb8ea74f763715f7075f4aa4 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Tue, 30 Jun 2009 17:48:15 +0000 Subject: [PATCH] trunk: add missing varnish port. --- policy/modules/kernel/corenetwork.te.in | 3 ++- policy/modules/services/varnishd.te | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/policy/modules/kernel/corenetwork.te.in b/policy/modules/kernel/corenetwork.te.in index 96887cfe1..508fee156 100644 --- a/policy/modules/kernel/corenetwork.te.in +++ b/policy/modules/kernel/corenetwork.te.in @@ -1,5 +1,5 @@ -policy_module(corenetwork, 1.11.8) +policy_module(corenetwork, 1.11.9) ######################################## # @@ -183,6 +183,7 @@ network_port(traceroute, udp,64000,s0, udp,64001,s0, udp,64002,s0, udp,64003,s0, network_port(transproxy, tcp,8081,s0) type utcpserver_port_t, port_type; dnl network_port(utcpserver) # no defined portcon network_port(uucpd, tcp,540,s0) +network_port(varnishd, tcp,6081,s0, tcp,6082,s0) network_port(vnc, tcp,5900,s0) network_port(wccp, udp,2048,s0) network_port(whois, tcp,43,s0, udp,43,s0) diff --git a/policy/modules/services/varnishd.te b/policy/modules/services/varnishd.te index 0590b79c0..150d889ec 100644 --- a/policy/modules/services/varnishd.te +++ b/policy/modules/services/varnishd.te @@ -1,5 +1,5 @@ -policy_module(varnishd, 1.0.0) +policy_module(varnishd, 1.0.1) ######################################## # @@ -81,6 +81,7 @@ corenet_tcp_sendrecv_generic_if(varnishd_t) corenet_tcp_bind_generic_node(varnishd_t) corenet_tcp_bind_http_port(varnishd_t) corenet_tcp_bind_http_cache_port(varnishd_t) +corenet_tcp_bind_varnishd_port(varnishd_t) corenet_tcp_connect_http_cache_port(varnishd_t) corenet_tcp_connect_http_port(varnishd_t)