Debian Codegraph @

po/ru/archive/man7/audit.rules.7.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Elena Mishina <[email protected]>, 2019.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2025-06-26 13:20+0200\n"
9 "PO-Revision-Date: 2019-02-03 11:22+0300\n"
10 "Last-Translator: Elena Mishina <[email protected]>\n"
11 "Language-Team: Russian <[email protected]>\n"
12 "Language: ru\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
17 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
19 #. type: TH
20 #: audit.rules.7:2
21 #, no-wrap
22 msgid "AUDIT.RULES"
23 msgstr "AUDIT.RULES"
24
25 #. type: TH
26 #: audit.rules.7:2
27 #, no-wrap
28 msgid "August 2014"
29 msgstr "Август 2014"
30
31 #. type: TH
32 #: audit.rules.7:2
33 #, no-wrap
34 msgid "Red Hat"
35 msgstr "Red Hat"
36
37 #. type: TH
38 #: audit.rules.7:2
39 #, no-wrap
40 msgid "System administration"
41 msgstr "Системное администрирование"
42
43 #. type: SH
44 #: audit.rules.7:3
45 #, no-wrap
46 msgid "NAME"
47 msgstr "ИМЯ"
48
49 #. type: Plain text
50 #: audit.rules.7:5
51 msgid "audit.rules - a set of rules loaded in the kernel audit system"
52 msgstr "audit.rules - набор правил, загруженных в подсистему аудита ядра"
53
54 #. type: SH
55 #: audit.rules.7:5
56 #, no-wrap
57 msgid "DESCRIPTION"
58 msgstr "ОПИСАНИE"
59
60 #. type: Plain text
61 #: audit.rules.7:12
62 msgid ""
63 "B<audit.rules> is a file containing audit rules that will be loaded by the "
64 "audit daemon initialization script each time the daemon starts. The auditctl "
65 "program is used to perform this operation. The syntax for rules is basically "
66 "the same as entering the auditctl command at the command line, except that "
67 "you do not need to enter the auditctl command name. Audit rules come in three "
68 "flavors: I<control>, I<file\\system>, and I<system\\calls>."
69 msgstr ""
70 "B<audit.rules> - файл, содержащий правила аудита, которые будут загружаться "
71 "скриптом инициализации демона аудита при каждом запуске демона. Для "
72 "выполнения этой операции используется программа auditctl. Синтаксис для "
73 "правил в основном такой же, как при вводе команды auditctl в командной "
74 "строке, за исключением того, что не нужно вводить имя команды auditctl. "
75 "Правила аудита бывают трех видов: I<управление>, I<файловая\\ система> и "
76 "I<системные\\ вызовы>."
77
78 #. type: SS
79 #: audit.rules.7:13
80 #, no-wrap
81 msgid "Control"
82 msgstr "Управление"
83
84 #. type: Plain text
85 #: audit.rules.7:18
86 msgid ""
87 "Control commands typically involve configuring the audit system rather than "
88 "specifying what to monitor. These commands typically include deleting all "
89 "rules, setting the kernel backlog queue size, setting the failure mode, "
90 "setting an event rate limit, or using auditctl to ignore syntax errors in "
91 "rules and continue booting. These rules are typically at the top of the rules "
92 "file."
93 msgstr ""
94 "Команды управления обычно включают в себя настройку системы аудита, а не "
95 "указание того, что нужно отслеживать. Эти команды обычно включают в себя "
96 "удаление всех правил, установку размера очереди невыполненных заданий ядра, "
97 "установку режима сбоя, установку предела частоты событий или команду auditctl "
98 "- игнорировать синтаксические ошибки в правилах и продолжать загрузку. Как "
99 "правило, эти правила находятся вверху файла правил."
100
101 #. type: SS
102 #: audit.rules.7:19
103 #, no-wrap
104 msgid "File System"
105 msgstr "Файловая система"
106
107 #. type: Plain text
108 #: audit.rules.7:25
109 msgid ""
110 "File system rules are sometimes called watches. These rules are used to audit "
111 "access to specific files or directories. If the path specified in a watch "
112 "rule is a directory, then the rule used is applied recursively to the end of "
113 "the directory tree, excluding any directories that may be mount points. The "
114 "syntax for these watchpoints typically follows the following format:"
115 msgstr ""
116 "Правила файловой системы иногда называются точками наблюдения. Эти правила "
117 "используются для аудита доступа к определенным файлам или каталогам. Если "
118 "путь, указанный в правиле наблюдения, является каталогом, то используемое "
119 "правило применяется рекурсивно до конца дерева каталогов, исключая любые "
120 "каталоги, которые могут быть точками монтирования. Синтаксис этих точек "
121 "наблюдения обычно соответствует следующему формату:"
122
123 #. type: Plain text
124 #: audit.rules.7:28
125 #, no-wrap
126 msgid "B<-w path-to-file -p permissions -k keyname>\n"
127 msgstr "B<-w путь_к_файлу -p права_доступа -k ключевое_слово>\n"
128
129 #. type: Plain text
130 #: audit.rules.7:31
131 msgid "where the permission are any one of the following:"
132 msgstr "гда права_доступа могут принмать следующие значения:"
133
134 #. type: TP
135 #: audit.rules.7:33
136 #, no-wrap
137 msgid "B<r>"
138 msgstr "B<r>"
139
140 #. type: Plain text
141 #: audit.rules.7:36
142 msgid "- read of the file"
143 msgstr "- чтение"
144
145 #. type: TP
146 #: audit.rules.7:36
147 #, no-wrap
148 msgid "B<w>"
149 msgstr "B<w>"
150
151 #. type: Plain text
152 #: audit.rules.7:39
153 msgid "- write to the file"
154 msgstr "- запись"
155
156 #. type: TP
157 #: audit.rules.7:39
158 #, no-wrap
159 msgid "B<x>"
160 msgstr "B<x>"
161
162 #. type: Plain text
163 #: audit.rules.7:42
164 msgid "- execute the file"
165 msgstr "- исполнение"
166
167 #. type: TP
168 #: audit.rules.7:42
169 #, no-wrap
170 msgid "B<a>"
171 msgstr "B<a>"
172
173 #. type: Plain text
174 #: audit.rules.7:45
175 msgid "- change in the file's attribute"
176 msgstr "- изменение атрибута"
177
178 #. type: Plain text
179 #: audit.rules.7:59
180 msgid ""
181 "Access points can also be created using the system call format described "
182 "below, which provides more flexibility and power. Using the system call "
183 "rules, the B<path> and B<dir> parameters can be used before a specific file "
184 "or directory, respectively. Also note that recursive directory watching will "
185 "stop if the subdirectory is a mount point. Using the B<-q> rule, the subtree "
186 "being mounted can be made equivalent to the directory being watched."
187 msgstr ""
188 "Точки доступа также могут быть созданы с использованием формата системного "
189 "вызова, описанного ниже, который обеспечивает большую гибкость и "
190 "возможности. Используя правила системных вызовов, можно использовать "
191 "параметр B<path> и B<dir> соответственно перед конкретным файлом или "
192 "каталогом. Также следует отметить, что рекурсивное наблюдение за каталогом "
193 "будет остановлено, если подкаталогом окажется точка монтирования. Используя "
194 "правило B<-q> можно сделать монтируемое поддерево эквивалентным "
195 "просматриваемому каталогу."
196
197 #. type: SS
198 #: audit.rules.7:60
199 #, no-wrap
200 msgid "System Calls"
201 msgstr "Системные вызовы"
202
203 #. type: Plain text
204 #: audit.rules.7:65
205 msgid ""
206 "System call rules are loaded into a system call engine that intercepts every "
207 "system call made by all programs in the system. Therefore, it is important to "
208 "use system call rules only when necessary, as they affect performance. "
209 "However, performance can be improved by combining system calls into a single "
210 "rule when possible."
211 msgstr ""
212 "Правила системных вызовов загружаются в соответствующий механизм, который "
213 "перехватывает каждый системный вызов, создаваемый всеми программами в "
214 "системе. Поэтому очень важно использовать правила системных вызовов только "
215 "тогда, когда это необходимо, поскольку они влияют на производительность. "
216 "Однако производительность можно повысить, объединив системные вызовы в одно "
217 "правило тогда, когда это возможно."
218
219 #. type: Plain text
220 #: audit.rules.7:68
221 msgid ""
222 "There are 4 types of lists, or filters as they are sometimes called, "
223 "available in the Linux kernel. They are: B<task>, B<exit>, B<user>, and "
224 "B<exclude>."
225 msgstr ""
226 "В ядре Linux доступно 4 вида списков или фильтров, как их иногда называют. "
227 "Это: B<task>, B<exit>, B<user> и B<exclude>."
228
229 #. type: Plain text
230 #: audit.rules.7:70
231 msgid ""
232 "The task list is checked only in fork() or clone() system calls. It is rarely "
233 "used in practice."
234 msgstr ""
235 "Список task проверяется только в системных вызовах fork() или clone(). Он "
236 "редко используется на практике."
237
238 #. type: Plain text
239 #: audit.rules.7:72
240 msgid ""
241 "The exit list is used when it is necessary to create an audit event tied to "
242 "exit points from system calls."
243 msgstr ""
244 "Список exit применяется когда необходимо создать событие для аудита, "
245 "привязанное к точкам выхода из системных вызовов."
246
247 #. type: Plain text
248 #: audit.rules.7:77
249 msgid ""
250 "The user list is used by the kernel to filter out events coming from user "
251 "space. By default, any event that occurs in user space is audited. If there "
252 "are any events that should not be audited, this is where they can be dropped. "
253 "For a list of valid fields, see B<auditctl>(8)."
254 msgstr ""
255 "Список user используется ядром, чтобы отфильтровать события приходящие из "
256 "пользовательского пространства. По умолчанию любое событие, происходящее в "
257 "пространстве пользователя, отслеживается. Если есть какие-то события, "
258 "которые не нужно отслеживать, то это, то место, где они могут быть удалены. "
259 "Для просмотра допустимых полей см. B<auditctl>(8)."
260
261 #. type: Plain text
262 #: audit.rules.7:83
263 msgid ""
264 "The exclude filter is used to filter out unwanted events. The msgtype and a "
265 "number of subject attributes can be used to tell the kernel which message "
266 "types should not be logged. This filter can remove an event as a whole and is "
267 "not selective about any other attribute. The user and exit filters are better "
268 "suited for selective event auditing. The action field is ignored for this "
269 "filter, the default value is \"never\"."
270 msgstr ""
271 "Фильтр exclude используется, чтобы отфильтровывать ненужные события. Msgtype "
272 "и ряд атрибутов субъекта могут использоваться для сообщения ядру, какие типы "
273 "сообщений не нужно записывать. Этот фильтр может удалить событие в целом и "
274 "не избирателен ни к какому другому атрибуту. Фильтры user и exit лучше "
275 "подходят для выборочного аудита событий. Поле действие игнорируется для этого "
276 "фильтра, значение по умолчанию \"never\" (\"никогда\")."
277
278 #. type: Plain text
279 #: audit.rules.7:85
280 msgid "Syscall rules take the general form of:"
281 msgstr "Правила системных вызовов имеют вид:"
282
283 #. type: Plain text
284 #: audit.rules.7:88
285 #, no-wrap
286 msgid "B<-a action,list -S syscall -F field=value -k keyname>\n"
287 msgstr "B<-a действие,список -S системный_вызов -F поле=значение -k ключевое_слово>\n"
288
289 #. type: Plain text
290 #: audit.rules.7:95
291 msgid ""
292 "The B<-a> parameter specifies that the rule should be added to the end of the "
293 "rule list. You should also specify which rule list it belongs to and what "
294 "action to take when it is triggered. Possible actions:"
295 msgstr ""
296 "Параметр B<-a> указывает, что правило нужно добавить в конец списка правил. "
297 "Также следует указать, к какому списку правил оно относится, и какое действие "
298 "предпринимать при его срабатывании. Допустимые действия:"
299
300 #. type: TP
301 #: audit.rules.7:97
302 #, no-wrap
303 msgid "B<always>"
304 msgstr "B<always>"
305
306 #. type: Plain text
307 #: audit.rules.7:100
308 msgid "- always create an event"
309 msgstr "- всегда создавать событие"
310
311 #. type: TP
312 #: audit.rules.7:100
313 #, no-wrap
314 msgid "B<never>"
315 msgstr "B<never>"
316
317 #. type: Plain text
318 #: audit.rules.7:103
319 msgid "- never create an event"
320 msgstr "- никогда не создавать событие"
321
322 #. type: Plain text
323 #: audit.rules.7:107
324 msgid ""
325 "The action and the list are separated by a comma, without a space. Valid "
326 "lists are I<task>, I<exit>, I<user>, and I<exclude>. Their meaning was "
327 "explained earlier."
328 msgstr ""
329 "Действие и список разделяются запятой, без пробела. Допустимые списки: "
330 "I<task>, I<exit>, I<user> и I<exclude>. Их значение было объяснено ранее."
331
332 #. type: Plain text
333 #: audit.rules.7:123
334 msgid ""
335 "Next in the rule, there is usually a B<-S> parameter. The value of this "
336 "parameter can be either the name or the number of the system call. For "
337 "readability, the system call name is almost always used. More than one system "
338 "call can be specified in a rule by specifying another B<-S> parameter. When "
339 "sent to the kernel, the system call fields are masked so that a single "
340 "comparison can determine whether the system call is of interest. Thus, using "
341 "multiple system calls in a single rule is very efficient. When specifying a "
342 "system call name, auditctl will look up the name in the system call table and "
343 "convert it to a number. This leads to some problems on dual-architecture "
344 "systems. The system call numbers on 32-bit and 64-bit systems are not always "
345 "the same. So, to solve this problem, you usually need to split the rule into "
346 "2, one specifying -F arch=b32 and the other -F arch=b64. This parameter must "
347 "be written before the B<-S> parameter so that B<auditctl> looks at the "
348 "correct system call table."
349 msgstr ""
350 "Далее в правиле обычно указывается параметр B<-S>. Значение этого параметра "
351 "может быть именем или номером системного вызова. Для удобства чтения почти "
352 "всегда используется имя системного вызова. В правиле можно указать более "
353 "одного системного вызова, указав еще один параметр B<-S>. При отправке в "
354 "ядро поля системного вызова помещаются в маску, чтобы одно сравнение могло "
355 "определить, представляет ли системный вызов интерес. Таким образом, "
356 "использование нескольких системных вызовов в одном правиле очень эффективно. "
357 "При указании имени системного вызова auditctl будет искать имя в таблице "
358 "системных вызовов и преобразовывать его в номер. Это приводит к некоторым "
359 "проблемам в двухархитектурных системах. Номера системных вызовов на 32- и 64-"
360 "битных системах не всегда совпадают. Таким образом, чтобы решить эту "
361 "проблему, как правило, нужно разбить правило на 2, одно из которых указывает "
362 "-F arch=b32, а другое -F arch=b64. Этот параметр должен быть записан перед "
363 "параметром B<-S>, чтобы B<auditctl> просматривал правильную таблицу системных "
364 "вызовов."
365
366 #. type: Plain text
367 #: audit.rules.7:127
368 msgid ""
369 "After specifying the system call, the rule typically specifies one or more B<-"
370 "F> parameters. For a list of all valid fields, see the B<auditctl>(8) manual "
371 "page."
372 msgstr ""
373 "После указания системного вызова, в правиле обычно указывают один или "
374 "несколько параметров B<-F>. Для просмотра всех допустимых полей смотри "
375 "руководство B<auditctl>(8)."
376
377 #. type: Plain text
378 #: audit.rules.7:134
379 msgid ""
380 "The audit system considers user IDs to be non-negative numbers. The audit "
381 "system uses the number -1 to indicate that the login is not set. This will be "
382 "displayed as 4294967295 on output. When writing a rule to find all valid "
383 "users on the system, you need to look in the /etc/login.defs file to see "
384 "where the user accounts start. For example, if UID_MIN is 500, you also need "
385 "to take into account that the unsigned representation of -1 is also greater "
386 "than 500. This problem can be solved with the following rule fragment:"
387 msgstr ""
388 "Система аудита считает что идентификатор пользователя - это неотрицательные "
389 "числа. Система аудита использует число -1, чтобы указать, что логин не "
390 "установлен. При выводе оно будет отображаться как 4294967295. При написании "
391 "правила, для поиска всех действительных пользователей системы, нужно "
392 "заглянуть в файл /etc/login.defs, чтобы увидеть, где начинаются учетные "
393 "записи пользователей. Например, если UID_MIN равен 500, также необходимо "
394 "принять во внимание то, что представление без знака числа -1, также больше "
395 "500. Эту проблему можно решить с помощью следующего фрагмента правила:"
396
397 #. type: Plain text
398 #: audit.rules.7:137
399 #, no-wrap
400 msgid "-F auidE<gt>=500 -F auid!=4294967295\n"
401 msgstr "-F auidE<gt>=500 -F auid!=4294967295\n"
402
403 #. type: Plain text
404 #: audit.rules.7:140
405 msgid "These individual checks are \"anded\" and both have to be true."
406 msgstr "Оба эти условия должны быть истиной."
407
408 #. type: Plain text
409 #: audit.rules.7:144
410 msgid ""
411 "The last thing to know about system call rules is that you can add a key "
412 "field to a rule, which is a free-form text string added to the event to help "
413 "determine its meaning. This is discussed in more detail in the NOTES section."
414 msgstr ""
415 "Последнее, что нужно знать о правилах системных вызовов, то что к правилу "
416 "можно добавить ключевое поле, которое представляет собой текстовую строку "
417 "произвольной формы, добавляемую к событию, чтобы помочь определить его "
418 "значение. Более подробно это обсуждается в разделе ПРИМЕЧАНИЯ."
419
420 #. type: SH
421 #: audit.rules.7:145
422 #, no-wrap
423 msgid "NOTES"
424 msgstr "ПРИМЕЧАНИЯ"
425
426 #. type: Plain text
427 #: audit.rules.7:151
428 msgid ""
429 "The purpose of auditing is to be able to conduct an investigation "
430 "(periodically or whenever an incident occurs). A few simple steps in planning "
431 "can make this work easier. A good tip is to use keywords in watchpoints and "
432 "system call rules to give the rule meaning. If rules are related or together "
433 "meet a certain requirement, assign them a common keyword. The keyword can be "
434 "used when reviewing logs to select only results with a certain meaning."
435 msgstr ""
436 "Целью аудита является возможность проводить расследование (периодически или "
437 "всякий раз, когда происходит инцидент). Несколько простых шагов в "
438 "планировании могут сделать эту работу проще. Хороший совет - использовать "
439 "ключевые слова в точках наблюдения и правилах системных вызовов, чтобы "
440 "придать правилу смысл. Если правила связаны или вместе отвечают определенному "
441 "требованию, присвойте им общее ключевое слово. Ключевое слово можно "
442 "использовать во время просмотра журналов, чтобы выбрать только результаты с "
443 "определенным значением."
444
445 #. type: Plain text
446 #: audit.rules.7:155
447 msgid ""
448 "Conducting an investigation usually starts with running a basic report to get "
449 "an idea of what is happening on the system. This report mainly shows events "
450 "that are hard-coded into the audit system, such as login/logout, "
451 "authentication procedure usage, system anomalies, how many users have access "
452 "to the system, and whether SELinux has detected any AVCs."
453 msgstr ""
454 "Проведение расследования обычно начинается с вывода основного отчета, чтобы "
455 "получить представление о том, что происходит в системе. Этот отчет в "
456 "основном пказывает события, которые жестко запрограммированы системой аудита, "
457 "таких как вход/выход, использование процедуры аутентификации, системные "
458 "аномалии, сколько пользователей имеют доступ к системе и обнаружил ли SELinux "
459 "какие-либо AVC."
460
461 #. type: Plain text
462 #: audit.rules.7:158
463 #, no-wrap
464 msgid "B<aureport --start this-week>\n"
465 msgstr "B<aureport --start this-week>\n"
466
467 #. type: Plain text
468 #: audit.rules.7:162
469 msgid ""
470 "After looking at the report, you'll probably want to get a second look at the "
471 "rules that were fired. This is where keys become important. You can get a "
472 "summary report of keys like this:"
473 msgstr ""
474 "Посмотрев отчет, вы, вероятно, захотите получить второе представление о "
475 "правилах, которые запускались. Здесь становятся важными ключи. Вывести "
476 "сводный отчет о ключах можно следующим образом:"
477
478 #. type: Plain text
479 #: audit.rules.7:165
480 #, no-wrap
481 msgid "B<aureport --start this-week --key --summary>\n"
482 msgstr "B<aureport --start this-week --key --summary>\n"
483
484 #. type: Plain text
485 #: audit.rules.7:170
486 msgid ""
487 "This will give an ordered list of keys associated with the rules to be "
488 "triggered. For example, given a system call audit rule like this (the rule is "
489 "triggered when opening files with EPERM fails, and has the access key field "
490 "set):"
491 msgstr ""
492 "Это даст упорядоченный список ключей, связанных с запускаемыми правилами. "
493 "Например, при наличии такого правила аудита системного вызова (правило "
494 "срабатывает при сбое открытия файлов с помощью EPERM, для него задано "
495 "ключевое поле access):"
496
497 #. type: Plain text
498 #: audit.rules.7:173
499 #, no-wrap
500 msgid "B<-a always,exit -F arch=b64 -S open -S openat -F exit=-EPERM -k access>\n"
501 msgstr "B<-a always,exit -F arch=b64 -S open -S openat -F exit=-EPERM -k access>\n"
502
503 #. type: Plain text
504 #: audit.rules.7:178
505 msgid ""
506 "You can then isolate these errors using ausearch and pipe the results to "
507 "aureport for display. Suppose your investigation has found many \"access "
508 "denied\" events. To view the files that were accessed unauthorizedly, you can "
509 "run the following command:"
510 msgstr ""
511 "Затем можно изолировать эти ошибки с помощью ausearch и направить результаты "
512 "в aureport для отображения. Предположим, расследование обнаружило множество "
513 "событий типа \"отказано в доступе\". Для того чтобы просмотреть файлы, к "
514 "которым была предпринята попытка несанкционированного доступа, можно "
515 "выполнить следующую команду:"
516
517 #. type: Plain text
518 #: audit.rules.7:181
519 #, no-wrap
520 msgid "B<ausearch --start this-week -k access --raw | aureport --file --summary>\n"
521 msgstr "B<ausearch --start this-week -k access --raw | aureport --file --summary>\n"
522
523 #. type: Plain text
524 #: audit.rules.7:186
525 msgid ""
526 "The result will be an ordered list showing which files were accessed with an "
527 "EPERM error. Suppose you want to know which users made an unsuccessful access "
528 "attempt, you would run the command:"
529 msgstr ""
530 "В результате будет получен упорядоченный список, показывающий, доступ к каким "
531 "файлам заканчивался ошибкой EPERM. Предположим, что вы хотите узнать, какие "
532 "пользователи предпринимали неудачную попытку доступа, для этого следует "
533 "выполнить команду:"
534
535 #. type: Plain text
536 #: audit.rules.7:189
537 #, no-wrap
538 msgid "B<ausearch --start this-week -k access --raw | aureport --user --summary>\n"
539 msgstr "B<ausearch --start this-week -k access --raw | aureport --user --summary>\n"
540
541 #. type: Plain text
542 #: audit.rules.7:193
543 msgid ""
544 "If your investigation reveals many failed attempts to access a particular "
545 "file, you can run the following report to see who accessed the file:"
546 msgstr ""
547 "Если ваше расследование показало много неудачных обращений к конкретному "
548 "файлу, вы можете запустить следующий отчет, чтобы узнать, кто обращался к "
549 "файлу:"
550
551 #. type: Plain text
552 #: audit.rules.7:196
553 msgid ""
554 "B<ausearch --start this-week -k access -f /path-to/file --raw | aureport --"
555 "user -i>"
556 msgstr ""
557 "B<ausearch --start this-week -k access -f /path-to/file --raw | aureport --"
558 "user -i>"
559
560 #. type: Plain text
561 #: audit.rules.7:201
562 msgid ""
563 "This report will show the access attempts for each user separately. If you "
564 "want to see the specific audit event that is being reported, you need to look "
565 "at the date, time, and event number values. Assuming the event number is 822 "
566 "and it occurred on 09/01/2009 at 2:30 AM, the command would look like this:"
567 msgstr ""
568 "Этот отчет покажет попытки доступа отдельно для каждого пользователя. Если "
569 "нужно увидеть конкретное событие аудита, о котором сообщается, необходимо "
570 "просмотреть значения даты, времени и номера события. Предполагая, что номер "
571 "события 822 и оно произошло 09/01/2009 в 2:30 команда будет выглядеть "
572 "следующим образом:"
573
574 #. type: Plain text
575 #: audit.rules.7:204
576 #, no-wrap
577 msgid "B<ausearch --start 09/01/2009 02:30 -a 822 -i --just-one>\n"
578 msgstr "B<ausearch --start 09/01/2009 02:30 -a 822 -i --just-one>\n"
579
580 #. type: Plain text
581 #: audit.rules.7:208
582 msgid ""
583 "This command will print the first event for the specified date and time, with "
584 "the corresponding event ID, and interpret the numeric values into human-"
585 "readable values."
586 msgstr ""
587 "Эта команда выведет первое событие за указанную дату и время, с "
588 "соответствующим идентификатором события, и интерпретирует числовые значения в "
589 "удобочитаемые значения."
590
591 #. type: Plain text
592 #: audit.rules.7:211
593 msgid ""
594 "The most important step to performing such an analysis is to set up key "
595 "fields when writing rules. It should also be noted that any rule can have "
596 "multiple key fields associated with it."
597 msgstr ""
598 "Самым важным шагом к выполнению такого анализа является настройка ключевых "
599 "полей, при написании правил. Следует также отметить, что с любым правилом "
600 "может быть связано несколько ключевых полей."
601
602 #. type: SH
603 #: audit.rules.7:212
604 #, no-wrap
605 msgid "TROUBLESHOOTING"
606 msgstr "СООБЩЕНИЯ ОБ ОШИБКАХ"
607
608 #. type: Plain text
609 #: audit.rules.7:216
610 msgid ""
611 "If you are not getting events for the system call rules you think should be "
612 "executed, try running a test program under strace so you can see the system "
613 "calls. Chances are you have identified the wrong system call."
614 msgstr ""
615 "Если вы не получаете события по правилам системных вызовов, которые, по "
616 "вашему мнению, должны быть выполнены, попробуйте запустить тестовую программу "
617 "под strace, чтобы вы могли видеть системные вызовы. Есть вероятность, что вы "
618 "определили неверный системный вызов."
619
620 #. type: Plain text
621 #: audit.rules.7:222
622 msgid ""
623 "If you get the following warning from B<auditctl>: \"32/64 bit syscall "
624 "mismatch in line XX, you should specify an arch\", it means that you "
625 "specified a system call rule on a system with two architectures, where the "
626 "system call has different numbers for the 32- and 64-bit interfaces. This "
627 "means that you are probably checking the wrong system call on one of these "
628 "interfaces. To solve this problem, rewrite the rule as two rules, specifying "
629 "the assumed architecture for each rule. For example, the rule:"
630 msgstr ""
631 "Если вы получите следующее предупреждение от B<auditctl>: \"32/64 bit syscall "
632 "mismatch in line XX, you should specify an arch\", это означает, что вы "
633 "указали правило системного вызова в системе с двумя архитектурами, где "
634 "системный вызов имеет разные номера для 32- и 64-битных интерфейсов. Это "
635 "означает, что на одном из этих интерфейсов вы, вероятно, проверяете неверный "
636 "системный вызов. Для решения этой проблемы, перепишите правило как два "
637 "правила, определяя предполагаемую архитектуру для каждого правила. Например, "
638 "правило:"
639
640 #. type: Plain text
641 #: audit.rules.7:225
642 #, no-wrap
643 msgid "B<-always,exit -S openat -k access>\n"
644 msgstr "B<-always,exit -S openat -k access>\n"
645
646 #. type: Plain text
647 #: audit.rules.7:228
648 msgid "would be rewritten as:"
649 msgstr "может быть переписано как:"
650
651 #. type: Plain text
652 #: audit.rules.7:232
653 #, no-wrap
654 msgid ""
655 "B<-always,exit -F arch=b32 -S openat -k access>\n"
656 "B<-always,exit -F arch=b64 -S openat -k access>\n"
657 msgstr ""
658 "B<-always,exit -F arch=b32 -S openat -k access>\n"
659 "B<-always,exit -F arch=b64 -S openat -k access>\n"
660
661 #. type: Plain text
662 #: audit.rules.7:238
663 msgid ""
664 "If you get the warning: \"entry rules deprecated, changing to exit rule\", it "
665 "means that you have a rule that was meant to filter entries, but that filter "
666 "is no longer available. Auditctl moved your rule to the exit filter so that "
667 "it wouldn't get lost. To resolve this issue, so that you no longer get this "
668 "warning, you need to change the offending rule from entry to exit."
669 msgstr ""
670 "Если вы получите предупреждение: \"entry rules deprecated, changing to exit "
671 "rule\", это означает, что у вас есть правило, предназначенное для фильтрации "
672 "записей, но этот фильтр больше не доступен. Auditctl переместил ваше правило "
673 "в фильтр exit, чтобы оно не потерялось. Для решения этой проблемы, чтобы "
674 "больше не получать этого предупреждение, вам нужно изменить нарушающее "
675 "правило с entry на exit."
676
677 #. type: SH
678 #: audit.rules.7:240
679 #, no-wrap
680 msgid "EXAMPLES"
681 msgstr "ПРИМЕРЫ"
682
683 #. type: Plain text
684 #: audit.rules.7:244
685 msgid ""
686 "The following rule shows how to audit file access failures related to "
687 "permissions issues. Note that two rules are required for each architecture "
688 "because file access can fail with two different error codes indicating "
689 "permissions issues."
690 msgstr ""
691 "Следующее правило показывает, как проводить аудит неудачного доступа к "
692 "файлам, связанного с проблемами прав доступа. Обратите внимание, что для "
693 "каждой архитектуры требуется два правила, поскольку доступ к файлу может "
694 "завершиться с двумя разными кодами ошибок, указывающими на проблемы с правами "
695 "доступа."
696
697 #. type: Plain text
698 #: audit.rules.7:250
699 #, no-wrap
700 msgid ""
701 "B<-a always,exit -F arch=b32 -S open -S openat -F exit=-EACCES -k access>\n"
702 "B<-a always,exit -F arch=b32 -S open -S openat -F exit=-EPERM -k access>\n"
703 "B<-a always,exit -F arch=b64 -S open -S openat -F exit=-EACCES -k access>\n"
704 "B<-a always,exit -F arch=b64 -S open -S openat -F exit=-EPERM -k access>\n"
705 msgstr ""
706 "B<-a always,exit -F arch=b32 -S open -S openat -F exit=-EACCES -k access>\n"
707 "B<-a always,exit -F arch=b32 -S open -S openat -F exit=-EPERM -k access>\n"
708 "B<-a always,exit -F arch=b64 -S open -S openat -F exit=-EACCES -k access>\n"
709 "B<-a always,exit -F arch=b64 -S open -S openat -F exit=-EPERM -k access>\n"
710
711 #. type: SH
712 #: audit.rules.7:252
713 #, no-wrap
714 msgid "SEE ALSO"
715 msgstr "СМ. ТАКЖЕ"
716
717 #. type: Plain text
718 #: audit.rules.7:255
719 msgid "B<auditctl>(8), B<auditd>(8)."
720 msgstr "B<auditctl>(8), B<auditd>(8)."
721
722 #. type: SH
723 #: audit.rules.7:256
724 #, no-wrap
725 msgid "AUTHOR"
726 msgstr "АВТОР"
727
728 #. type: Plain text
729 #: audit.rules.7:258
730 msgid "Steve Grubb"
731 msgstr "Стив Граб (Steve Grubb)"