Skip to contentSkip to conversation

iptables reads etc runtime files, execed out of failto ban with terminal redirected

PATCH [email protected] 2 participants 2 messages May 30, 2007 – Jun 11, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw
policy/modules/system/iptables.te +5 -0
@@ -56,6 +56,7 @@
 domain_use_interactive_fds(iptables_t)
 
 files_read_etc_files(iptables_t)
+files_read_etc_runtime_files(iptables_t)
 
 init_use_fds(iptables_t)
 init_use_script_ptys(iptables_t)
@@ -77,6 +78,10 @@
 userdom_use_all_users_fds(iptables_t)
 
 optional_policy(`
+	fail2ban_append_log(iptables_t)
+')
+
+optional_policy(`
 	firstboot_use_fds(iptables_t)
 	firstboot_rw_pipes(iptables_t)
 ')

--
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.

#1 lore raw
Quoted 11 lines · On Wed, 2007-05-30 at 10:17 -0400, [email protected] wrote:
policy/modules/system/iptables.te +1 -0
@@ -56,6 +56,7 @@
 domain_use_interactive_fds(iptables_t)
 
 files_read_etc_files(iptables_t)
+files_read_etc_runtime_files(iptables_t)
 
 init_use_fds(iptables_t)
 init_use_script_ptys(iptables_t)

policy/modules/system/iptables.te line 87

Quoted 10 lines
policy/modules/system/iptables.te +4 -0
@@ -77,6 +78,10 @@
 userdom_use_all_users_fds(iptables_t)
 
 optional_policy(`
+	fail2ban_append_log(iptables_t)
+')
+
+optional_policy(`
 	firstboot_use_fds(iptables_t)
 	firstboot_rw_pipes(iptables_t)
 ')

Merged.

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.