Next: 8.10 Configuring access control
Up: 8 Specification of simplified
Previous: 8.8 Configuring access control
Contents
Subsections
- syntax
- allownet;
- allownet -connect;
- allownet -raw;
- allownet (-tcp-udp) -port port number;
- allownet (-tcp-udp) -allport;
- meaning
They are related to usage of network.
- Allow to use tcp/ip network. This includes usage of tcp,
udp socket, ports more than 1024. Note that to initiate network
connection is not allowed. To allow network connection,
use allownet -connect. And usage of well-known ports is
not allowed.
- Allow to connect network. This means to use
and permission in SELinux.
- Allow to use raw socket. Usage of raw socket is necessary
for such as ICMP.
- When you want to use well-known port, you have to reserve
port by this.
- Ex)
{
domain httpd_t;
allownet -tcp 80;
...
httpd_t has reserved tcp 80 port, and can use it.
- Allow to use all unreserved well-known ports.
- Constraints
These can not be canceled once declared. Be careful using in
global domain. If you use them in global domain, all domain has
specified access right and can not be denied in individual
domain.
Next: 8.10 Configuring access control
Up: 8 Specification of simplified
Previous: 8.8 Configuring access control
Contents
2005-09-01