21.3.3 Tunables
The tunables directory (
/etc/apparmor.d/tunables
) contains global variable
definitions. When used in a profile, these variables expand to a value that can be changed
without changing the entire profile. Add all the tunables definitions that should be
available to every profile to
/etc/apparmor.d/tunables/global
.
21.4 Capability Entries (POSIX.1e)
Capabilities statements are simply the word
capability
followed by the name of
the POSIX.1e capability as defined in the
capabilities(7)
man page.
21.5 Network Access Control
AppArmor allows mediation of network access based on the address type and family.
The following illustrates the network access rule syntax:
network [[<domain>
❶
][<type
❷
>][<protocol
❸
>]]
❶
Supported domains:
inet
,
ax25
,
ipx
,
appletalk
,
netrom
,
bridge
,
x25
,
inet6
,
rose
,
netbeui
,
security
,
key
,
packet
,
ash
,
econet
,
atmsvc
,
sna
,
irda
,
pppox
,
wanpipe
,
bluetooth
❷
Supported types:
stream
,
dgram
,
seqpacket
,
rdm
,
raw
,
packet
❸
Supported protocols:
tcp
,
udp
,
icmp
The AppArmor tools support only family and type specification. The AppArmor module
emits only
network
domain type
in “access denied” messages. And only these
are output by the profile generation tools, both YaST and command line.
The following examples illustrate possible network-related rules to be used in AppArmor
profiles. Note that the syntax of the last two are not currently supported by the AppArmor
tools.
Profile Components and Syntax
245
Содержание LINUX ENTERPRISE DESKTOP 11
Страница 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Страница 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Страница 10: ......
Страница 29: ...Part I Authentication...
Страница 30: ......
Страница 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Страница 126: ......
Страница 127: ...Part II Local Security...
Страница 128: ......
Страница 158: ......
Страница 173: ...Part III Network Security...
Страница 174: ......
Страница 194: ......
Страница 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Страница 210: ......
Страница 228: ......
Страница 229: ...Part IV Confining Privileges with Novell AppArmor...
Страница 230: ......
Страница 274: ......
Страница 300: ......
Страница 328: ......
Страница 340: ......
Страница 342: ......
Страница 386: ......
Страница 387: ...Part V The Linux Audit Framework...
Страница 388: ......