Skip to contentSkip to conversation

rdisc policy

DISCUSSION Russell Coker 1 participant 1 message May 8, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

Attached is the policy for rdisc, the router discovery daemon.

Signature · 4 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

/sbin/rdisc system_u:object_r:rdisc_exec_t

#DESC rdisc - network router discovery daemon
#
# Author: Russell Coker <[email protected]>

daemon_base_domain(rdisc)
allow rdisc_t self:unix_stream_socket create_stream_socket_perms; allow rdisc_t self:rawip_socket create_socket_perms; allow rdisc_t self:udp_socket create_socket_perms; allow rdisc_t self:capability net_raw;

can_network_udp(rdisc_t)

allow rdisc_t etc_t:file { getattr read };