1 |
commit: 1c9f2085432c1add2a1bfc318f39cd74ef86c2ac |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Wed Mar 4 15:33:34 2015 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 4 15:33:34 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=1c9f2085 |
7 |
|
8 |
Allow rtorrent to bind to tcp port 6926 |
9 |
|
10 |
Two fixes in one row: |
11 |
1. Add in TCP definition for rtorrent port (was already assumed but |
12 |
not formalized) |
13 |
2. Add in TCP:6926 as an rtorrent_port_t as well |
14 |
|
15 |
X-Gentoo-Bug: 541804 |
16 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=541804 |
17 |
|
18 |
policy/modules/kernel/corenetwork.te.in | 2 +- |
19 |
1 file changed, 1 insertion(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/policy/modules/kernel/corenetwork.te.in b/policy/modules/kernel/corenetwork.te.in |
22 |
index 104e7f5..70f4ee8 100644 |
23 |
--- a/policy/modules/kernel/corenetwork.te.in |
24 |
+++ b/policy/modules/kernel/corenetwork.te.in |
25 |
@@ -236,7 +236,7 @@ network_port(rndc, tcp,953,s0, udp,953,s0) |
26 |
network_port(router, udp,520,s0, udp,521,s0, tcp,521,s0) |
27 |
network_port(rsh, tcp,514,s0) |
28 |
network_port(rsync, tcp,873,s0, udp,873,s0) |
29 |
-network_port(rtorrent, udp, 6881, s0) |
30 |
+network_port(rtorrent, tcp,6881,s0, udp,6881,s0, tcp,6926,s0) |
31 |
network_port(rtsp, tcp,554,s0, udp,554,s0) |
32 |
network_port(rwho, udp,513,s0) |
33 |
network_port(salt, tcp,4505,s0, tcp,4506,s0) |