From: Daniel J Walsh <dwalsh@redhat.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>,
SE Linux <selinux@tycho.nsa.gov>
Subject: audit/logging changes
Date: Tue, 20 Feb 2007 12:28:51 -0500 [thread overview]
Message-ID: <45DB2FD3.80005@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
audit needs fsetid
syslog needs to be able to create a tcp_socket for off machine logging.
ssh transitioning dirrectly to auditctl needs additional privs.
[-- Attachment #2: nsaserefpolicy_policy_modules_system_logging.patch --]
[-- Type: text/x-patch, Size: 1343 bytes --]
--- nsaserefpolicy/policy/modules/system/logging.te 2007-02-19 11:32:53.000000000 -0500
+++ serefpolicy-2.5.4/policy/modules/system/logging.te 2007-02-19 16:09:35.000000000 -0500
@@ -104,7 +104,7 @@
# Auditd local policy
#
-allow auditd_t self:capability { audit_write audit_control sys_nice sys_resource };
+allow auditd_t self:capability { audit_write audit_control fsetid sys_nice sys_resource };
dontaudit auditd_t self:capability sys_tty_config;
allow auditd_t self:process { signal_perms setpgid setsched };
allow auditd_t self:file { getattr read write };
@@ -271,6 +271,7 @@
allow syslogd_t self:unix_dgram_socket sendto;
allow syslogd_t self:fifo_file rw_file_perms;
allow syslogd_t self:udp_socket create_socket_perms;
+allow syslogd_t self:tcp_socket create_stream_socket_perms;
# Create and bind to /dev/log or /var/run/log.
allow syslogd_t devlog_t:sock_file manage_sock_file_perms;
@@ -324,6 +325,7 @@
corenet_tcp_sendrecv_all_if(syslogd_t)
corenet_tcp_sendrecv_all_nodes(syslogd_t)
corenet_tcp_sendrecv_all_ports(syslogd_t)
+corenet_tcp_bind_all_nodes(syslogd_t)
corenet_tcp_bind_rsh_port(syslogd_t)
corenet_tcp_connect_rsh_port(syslogd_t)
@@ -399,3 +401,8 @@
# log to the xconsole
xserver_rw_console(syslogd_t)
')
+
+optional_policy(`
+ ssh_sigchld(auditctl_t)
+ ssh_rw_stream_sockets(auditctl_t)
+')
next reply other threads:[~2007-02-20 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-20 17:28 Daniel J Walsh [this message]
2007-02-23 19:15 ` audit/logging changes Christopher J. PeBenito
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45DB2FD3.80005@redhat.com \
--to=dwalsh@redhat.com \
--cc=cpebenito@tresys.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.