1traceroute_selinux(8)      SELinux Policy traceroute     traceroute_selinux(8)
2
3
4

NAME

6       traceroute_selinux  - Security Enhanced Linux Policy for the traceroute
7       processes
8

DESCRIPTION

10       Security-Enhanced Linux secures the traceroute processes  via  flexible
11       mandatory access control.
12
13       The  traceroute  processes  execute with the traceroute_t SELinux type.
14       You can check if you have these processes running by executing  the  ps
15       command with the -Z qualifier.
16
17       For example:
18
19       ps -eZ | grep traceroute_t
20
21
22

ENTRYPOINTS

24       The  traceroute_t SELinux type can be entered via the traceroute_exec_t
25       file type.
26
27       The default entrypoint paths for the traceroute_t domain are  the  fol‐
28       lowing:
29
30       /bin/tracepath.*,       /bin/traceroute.*,       /usr/bin/traceroute.*,
31       /usr/sbin/traceroute.*, /usr/bin/lft, /usr/bin/nmap
32

PROCESS TYPES

34       SELinux defines process types (domains) for each process running on the
35       system
36
37       You can see the context of a process using the -Z option to ps
38
39       Policy  governs  the  access confined processes have to files.  SELinux
40       traceroute policy is  very  flexible  allowing  users  to  setup  their
41       traceroute processes in as secure a method as possible.
42
43       The following process types are defined for traceroute:
44
45       traceroute_t
46
47       Note:  semanage  permissive  -a  traceroute_t  can  be used to make the
48       process type traceroute_t permissive. SELinux does not deny  access  to
49       permissive  process  types,  but the AVC (SELinux denials) messages are
50       still generated.
51
52

BOOLEANS

54       SELinux policy is customizable based on least access required.  tracer‐
55       oute  policy  is extremely flexible and has several booleans that allow
56       you to manipulate the policy  and  run  traceroute  with  the  tightest
57       access possible.
58
59
60
61       If  you  want to allow all daemons the ability to read/write terminals,
62       you  must  turn  on  the  allow_daemons_use_tty  boolean.  Disabled  by
63       default.
64
65       setsebool -P allow_daemons_use_tty 1
66
67
68
69       If you want to allow all domains to use other domains file descriptors,
70       you must turn on the allow_domain_fd_use boolean. Enabled by default.
71
72       setsebool -P allow_domain_fd_use 1
73
74
75
76       If you want to allow confined applications to run  with  kerberos,  you
77       must turn on the allow_kerberos boolean. Enabled by default.
78
79       setsebool -P allow_kerberos 1
80
81
82
83       If  you want to allow sysadm to debug or ptrace all processes, you must
84       turn on the allow_ptrace boolean. Disabled by default.
85
86       setsebool -P allow_ptrace 1
87
88
89
90       If you want to allow system to run with  NIS,  you  must  turn  on  the
91       allow_ypbind boolean. Disabled by default.
92
93       setsebool -P allow_ypbind 1
94
95
96
97       If  you  want to allow all domains to have the kernel load modules, you
98       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
99       default.
100
101       setsebool -P domain_kernel_load_modules 1
102
103
104
105       If you want to allow all domains to execute in fips_mode, you must turn
106       on the fips_mode boolean. Enabled by default.
107
108       setsebool -P fips_mode 1
109
110
111
112       If you want to enable reading of urandom for all domains, you must turn
113       on the global_ssp boolean. Disabled by default.
114
115       setsebool -P global_ssp 1
116
117
118
119       If  you  want to allow confined applications to use nscd shared memory,
120       you must turn on the nscd_use_shm boolean. Enabled by default.
121
122       setsebool -P nscd_use_shm 1
123
124
125
126       If you want to control users use of ping and traceroute, you must  turn
127       on the user_ping boolean. Enabled by default.
128
129       setsebool -P user_ping 1
130
131
132

PORT TYPES

134       SELinux defines port types to represent TCP and UDP ports.
135
136       You  can  see  the  types associated with a port by using the following
137       command:
138
139       semanage port -l
140
141
142       Policy governs the access  confined  processes  have  to  these  ports.
143       SELinux  traceroute  policy  is  very  flexible allowing users to setup
144       their traceroute processes in as secure a method as possible.
145
146       The following port types are defined for traceroute:
147
148
149       traceroute_port_t
150
151
152
153       Default Defined Ports:
154                 udp 64000-64010
155

MANAGED FILES

157       The SELinux process type traceroute_t can manage files labeled with the
158       following file types.  The paths listed are the default paths for these
159       file types.  Note the processes UID still need to have DAC permissions.
160
161       initrc_tmp_t
162
163
164       mnt_t
165
166            /mnt(/[^/]*)
167            /mnt(/[^/]*)?
168            /rhev(/[^/]*)?
169            /media(/[^/]*)
170            /media(/[^/]*)?
171            /etc/rhgb(/.*)?
172            /media/.hal-.*
173            /net
174            /afs
175            /rhev
176            /misc
177
178       tmp_t
179
180            /tmp
181            /usr/tmp
182            /var/tmp
183            /tmp-inst
184            /var/tmp-inst
185            /var/tmp/vi.recover
186
187

FILE CONTEXTS

189       SELinux requires files to have an extended attribute to define the file
190       type.
191
192       You can see the context of a file using the -Z option to ls
193
194       Policy  governs  the  access  confined  processes  have to these files.
195       SELinux traceroute policy is very  flexible  allowing  users  to  setup
196       their traceroute processes in as secure a method as possible.
197
198       The following file types are defined for traceroute:
199
200
201
202       traceroute_exec_t
203
204       -  Set files with the traceroute_exec_t type, if you want to transition
205       an executable to the traceroute_t domain.
206
207
208       Paths:
209            /bin/tracepath.*,    /bin/traceroute.*,     /usr/bin/traceroute.*,
210            /usr/sbin/traceroute.*, /usr/bin/lft, /usr/bin/nmap
211
212
213       Note:  File context can be temporarily modified with the chcon command.
214       If you want to permanently change the file context you need to use  the
215       semanage fcontext command.  This will modify the SELinux labeling data‐
216       base.  You will need to use restorecon to apply the labels.
217
218

COMMANDS

220       semanage fcontext can also be used to manipulate default  file  context
221       mappings.
222
223       semanage  permissive  can  also  be used to manipulate whether or not a
224       process type is permissive.
225
226       semanage module can also be used to enable/disable/install/remove  pol‐
227       icy modules.
228
229       semanage port can also be used to manipulate the port definitions
230
231       semanage boolean can also be used to manipulate the booleans
232
233
234       system-config-selinux is a GUI tool available to customize SELinux pol‐
235       icy settings.
236
237

AUTHOR

239       This manual page was auto-generated using sepolicy manpage .
240
241

SEE ALSO

243       selinux(8), traceroute(8), semanage(8), restorecon(8), chcon(1) ,  set‐
244       sebool(8)
245
246
247
248traceroute                         15-06-03              traceroute_selinux(8)
Impressum