system-config-service of iptables needs this patch to work in targeted policy
Basically iptables needs to be able to output to the terminal and talk to unconfined_pipes from the tool.
policy/modules/system/iptables.te +7 -2
@@ -77,9 +77,10 @@ userdom_use_all_users_fds(iptables_t) ifdef(`targeted_policy', ` - term_dontaudit_use_unallocated_ttys(iptables_t) - term_dontaudit_use_generic_ptys(iptables_t) + term_use_unallocated_ttys(iptables_t) + term_use_generic_ptys(iptables_t) files_dontaudit_read_root_files(iptables_t) + unconfined_rw_pipes(iptables_t) ') optional_policy(`
@@ -111,3 +112,7 @@ optional_policy(` udev_read_db(iptables_t) ') + +optional_policy(` + fail2ban_append_log(iptables_t) +')
Quoted 22 lines · Daniel J Walsh
Basically iptables needs to be able to output to the terminal and talk
tounconfined_pipesfrom the tool.differences
between files
attachment (nsaserefpolicy_policy_modules_system_iptables.patch)--- nsaserefpolicy/policy/modules/system/iptables.te 2007-02-19
11:32:53.000000000 -0500
+++ serefpolicy-2.5.8/policy/modules/system/iptables.te 2007-03-08 08:42:37.000000000 -0500policy/modules/system/iptables.te +0
-0@@ -77,9 +77,10 @@ userdom_use_all_users_fds(iptables_t)
policy/modules/system/iptables.te line 86
Quoted 10 lines
policy/modules/system/iptables.te +3
-2ifdef(`targeted_policy', ` - term_dontaudit_use_unallocated_ttys(iptables_t) - term_dontaudit_use_generic_ptys(iptables_t) + term_use_unallocated_ttys(iptables_t) + term_use_generic_ptys(iptables_t) files_dontaudit_read_root_files(iptables_t) + unconfined_rw_pipes(iptables_t) ') optional_policy(`
Merged this part.
policy/modules/system/iptables.te line 118
Quoted 9 lines
policy/modules/system/iptables.te +4
-0@@ -111,3 +112,7 @@ optional_policy(` udev_read_db(iptables_t) ') + +optional_policy(` + fail2ban_append_log(iptables_t) +')
But not this one since it doesn't seem relevant.
Signature · 9 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 38 lines · Christopher J. PeBenito
Quoted 22 lines · Daniel J Walsh
Basically iptables needs to be able to output to the terminal and talk to
unconfined_pipesfrom the tool.differences
between files
attachment (nsaserefpolicy_policy_modules_system_iptables.patch)--- nsaserefpolicy/policy/modules/system/iptables.te 2007-02-19
11:32:53.000000000 -0500
+++ serefpolicy-2.5.8/policy/modules/system/iptables.te 2007-03-08 08:42:37.000000000 -0500policy/modules/system/iptables.te +0
-0@@ -77,9 +77,10 @@ userdom_use_all_users_fds(iptables_t)policy/modules/system/iptables.te line 86
Quoted 10 lines
policy/modules/system/iptables.te +3
-2ifdef(`targeted_policy', ` - term_dontaudit_use_unallocated_ttys(iptables_t) - term_dontaudit_use_generic_ptys(iptables_t) + term_use_unallocated_ttys(iptables_t) + term_use_generic_ptys(iptables_t) files_dontaudit_read_root_files(iptables_t) + unconfined_rw_pipes(iptables_t) ') optional_policy(`Merged this part.
Quoted 14 lines
policy/modules/system/iptables.te line 118
Quoted 10 lines
policy/modules/system/iptables.te +4
-0@@ -111,3 +112,7 @@ optional_policy(` udev_read_db(iptables_t) ') + +optional_policy(` + fail2ban_append_log(iptables_t) +')But not this one since it doesn't seem relevant.
fail2ban is redirecting output from iptables to it's log files. Would you prefer dontaudit?
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 18 lines · Daniel J Walsh
Quoted 7 lines · Christopher J. PeBenito
Quoted 4 lines · Daniel J Walsh
Basically iptables needs to be able to output to the terminal and talk
tounconfined_pipesfrom the tool.Quoted 10 lines
policy/modules/system/iptables.te line 118
Quoted 6 lines
policy/modules/system/iptables.te +4
-0+ +optional_policy(` + fail2ban_append_log(iptables_t) +')But not this one since it doesn't seem relevant.
Quoted 2 lines
fail2ban is redirecting output from iptables to it's log files. Would you prefer dontaudit?
I just didn't know what it was about since you didn't mention it in the description.
Signature · 9 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.