Lines Matching +full:1 +full:- +full:of +full:- +full:4

1 .\"-
2 .\" Copyright (c) 2005-2006 Robert N. M. Watson
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
12 .\" notice, this list of conditions and the following disclaimer in the
17 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 token-based record stream to represent system audit data.
39 range of data types, and easily extended to describe new data types in a
47 identifying when particular parts of the stream begin and end.
48 All other tokens will appear in the context of a complete BSM audit record,
54 Between these two tokens will appear a variety of data tokens, such as
71 token is used at the beginning and end of an audit log file to indicate
79 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
81 .It "Token ID 1 byte Token ID"
82 .It "Seconds 4 bytes File time stamp"
83 .It "Microseconds 4 bytes File time stamp"
84 .It "File name length 2 bytes File name of audit trail"
85 .It "File pathname N bytes + 1 NUL File name of audit trail"
90 token is used to mark the beginning of a complete audit record, and includes
91 the length of the total record in bytes, a version number for the record
93 A 32-bit
97 a 64-bit
101 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
103 .It "Token ID 1 byte Token ID"
104 .It "Record Byte Count 4 bytes Number of bytes in record"
105 .It "Version Number 1 byte Record version number"
107 .It "Event Modifier 2 bytes Event sub-type"
108 .It "Seconds 4/8 bytes Record time stamp (32/64-bits)"
109 .It "Nanoseconds 4/8 bytes Record time stamp (32/64-bits)"
114 token is an expanded version of the
116 token, with the addition of a machine IPv4 or IPv6 address.
117 A 32-bit extended
121 a 64-bit extended
125 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
127 .It "Token ID 1 byte Token ID"
128 .It "Record Byte Count 4 bytes Number of bytes in record"
129 .It "Version Number 1 byte Record version number"
131 .It "Event Modifier 2 bytes Event sub-type"
132 .It "Address Type/Length 1 byte Host address type and length"
133 .It "Machine Address 4/16 bytes IPv4 or IPv6 address"
134 .It "Seconds 4/8 bytes Record time stamp (32/64-bits)"
135 .It "Nanoseconds 4/8 bytes Record time stamp (32/64-bits)"
147 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
149 .It "Token ID 1 byte Token ID"
151 .It "Record Byte Count 4 bytes Number of bytes in record"
156 token contains a byte stream of opaque (untyped) data.
157 The size of the data is calculated as the size of each unit of data
158 multiplied by the number of units of data.
161 field is present to specify how to print the data, but interpretation of
167 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
169 .It "Token ID 1 byte Token ID"
170 .It "How to Print 1 byte User-defined printing information"
171 .It "Basic Unit 1 byte Size of a unit in bytes"
172 .It "Unit Count 1 byte Number of units of data present"
184 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
186 .It "Token ID 1 byte Token ID"
187 .It "IP Address 4 bytes IPv4 address"
201 section for information on the storage of this token.
202 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
204 .It "Token ID 1 byte Token ID"
205 .It "IP Address Type 1 byte Type of address"
206 .It "IP Address 4/16 bytes IPv4 or IPv6 address"
216 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
218 .It "Token ID 1 byte Token ID"
219 .It "Version and IHL 1 byte Version and IP header length"
220 .It "Type of Service 1 byte IP TOS field"
224 .It "TTL 1 byte IP Time-to-Live"
225 .It "Protocol 1 byte IP protocol number"
227 .It "Source Address 4 bytes IPv4 source address"
228 .It "Destination Address 4 bytes IPv4 destination address"
238 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
240 .It "Token ID 1 byte Token ID"
251 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
253 .It "Token ID 1 byte Token ID"
254 .It "Path Length 2 bytes Length of path in bytes"
255 .It "Path N bytes + 1 NUL Path name"
260 token contains a set of NUL-terminated path names.
266 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
268 .It "Token ID 1 byte Token ID"
269 .It "Count 2 bytes Number of NUL-terminated string(s) in token"
270 .It "Path Variable count NUL-terminated string(s)"
275 token contains a description of the security properties of a process
276 involved as the target of an auditable event, such as the destination for
291 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
293 .It "Token ID 1 byte Token ID"
294 .It "Audit ID 4 bytes Audit user ID"
295 .It "Effective User ID 4 bytes Effective user ID"
296 .It "Effective Group ID 4 bytes Effective group ID"
297 .It "Real User ID 4 bytes Real user ID"
298 .It "Real Group ID 4 bytes Real group ID"
299 .It "Process ID 4 bytes Process ID"
300 .It "Session ID 4 bytes Audit session ID"
301 .It "Terminal Port ID 4/8 bytes Terminal port ID (32/64-bits)"
302 .It "Terminal Machine Address 4 bytes IP address of machine"
307 token contains the contents of the
309 token, with the addition of a machine address type and variable length
310 address storage capable of containing IPv6 addresses.
317 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
319 .It "Token ID 1 byte Token ID"
320 .It "Audit ID 4 bytes Audit user ID"
321 .It "Effective User ID 4 bytes Effective user ID"
322 .It "Effective Group ID 4 bytes Effective group ID"
323 .It "Real User ID 4 bytes Real user ID"
324 .It "Real Group ID 4 bytes Real group ID"
325 .It "Process ID 4 bytes Process ID"
326 .It "Session ID 4 bytes Audit session ID"
327 .It "Terminal Port ID 4/8 bytes Terminal port ID (32/64-bits)"
328 .It "Terminal Address Type/Length 4 bytes Length of machine address"
329 .It "Terminal Machine Address 4 bytes IPv4 or IPv6 address of machine"
343 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
345 .It "Token ID 1 byte Token ID"
346 .It "Error Number 1 byte Errno value, or 0 if undefined"
347 .It "Return Value 4/8 bytes Return value (32/64-bits)"
359 target of the operation, not the authorizing party.
366 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
368 .It "Token ID 1 byte Token ID"
369 .It "Audit ID 4 bytes Audit user ID"
370 .It "Effective User ID 4 bytes Effective user ID"
371 .It "Effective Group ID 4 bytes Effective group ID"
372 .It "Real User ID 4 bytes Real user ID"
373 .It "Real Group ID 4 bytes Real group ID"
374 .It "Process ID 4 bytes Process ID"
375 .It "Session ID 4 bytes Audit session ID"
376 .It "Terminal Port ID 4/8 bytes Terminal port ID (32/64-bits)"
377 .It "Terminal Machine Address 4 bytes IP address of machine"
382 token consists of the same elements as the
384 token, with the addition of type/length and variable size machine address
392 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
394 .It "Token ID 1 byte Token ID"
395 .It "Audit ID 4 bytes Audit user ID"
396 .It "Effective User ID 4 bytes Effective user ID"
397 .It "Effective Group ID 4 bytes Effective group ID"
398 .It "Real User ID 4 bytes Real user ID"
399 .It "Real Group ID 4 bytes Real group ID"
400 .It "Process ID 4 bytes Process ID"
401 .It "Session ID 4 bytes Audit session ID"
402 .It "Terminal Port ID 4/8 bytes Terminal port ID (32/64-bits)"
403 .It "Terminal Address Type/Length 1 byte Length of machine address"
404 .It "Terminal Machine Address 4 bytes IPv4 or IPv6 address of machine"
413 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
415 .It "Token ID 1 byte Token ID"
416 .It "Object ID type 1 byte Object ID"
417 .It "Object ID 4 bytes Object ID"
422 token contains a single NUL-terminated text string.
427 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
429 .It "Token ID 1 byte Token ID"
430 .It "Text Length 2 bytes Length of text string including NUL"
431 .It "Text N bytes + 1 NUL Text string including NUL"
436 token describes the attributes of a file associated with the audit event.
437 As files may be identified by 0, 1, or many path names, a path name is not
448 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
450 .It "Token ID 1 byte Token ID"
451 .It "File Access Mode 1 byte mode_t associated with file"
452 .It "Owner User ID 4 bytes uid_t associated with file"
453 .It "Owner Group ID 4 bytes gid_t associated with file"
454 .It "File System ID 4 bytes fsid_t associated with file"
456 .It "Device 4/8 bytes Device major/minor number (32/64-bit)"
461 token contains a list of group IDs associated with the audit event.
466 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
468 .It "Token ID 1 byte Token ID"
469 .It "Number of Groups 2 bytes Number of groups in token"
470 .It "Group List N * 4 bytes List of N group IDs"
478 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
480 .It "Token ID 1 byte Token ID"
481 .It Li "Owner user ID" Ta "4 bytes" Ta "User ID of IPC owner"
482 .It Li "Owner group ID" Ta "4 bytes" Ta "Group ID of IPC owner"
483 .It Li "Creator user ID" Ta "4 bytes" Ta "User ID of IPC creator"
484 .It Li "Creator group ID" Ta "4 bytes" Ta "Group ID of IPC creator"
485 .It Li "Access mode" Ta "4 bytes" Ta "Access mode"
486 .It Li "Sequence number" Ta "4 bytes" Ta "Sequence number"
487 .It Li "Key" Ta "4 bytes" Ta "IPC key"
492 token contains information about arguments of the system call.
493 Depending on the size of the desired argument value, an Arg token may be
498 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
500 .It "Token ID 1 byte Token ID"
501 .It Li "Argument ID" Ta "1 byte" Ta "Argument ID"
502 .It Li "Argument value" Ta "4/8 bytes" Ta "Argument value"
503 .It Li "Length" Ta "2 bytes" Ta "Length of the text"
504 .It Li "Text" Ta "N bytes + 1 nul" Ta "The string including nul"
509 token contains information about arguments of the exec() system call.
512 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
514 .It "Token ID 1 byte Token ID"
515 .It Li "Count" Ta "4 bytes" Ta "Number of arguments"
516 .It Li "Text" Ta "* bytes" Ta "Count nul-terminated strings"
524 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
526 .It "Token ID 1 byte Token ID"
527 .It Li "Count ID" Ta "4 bytes" Ta "Number of variables"
528 .It Li "Text" Ta "* bytes" Ta "Count nul-terminated strings"
538 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
540 .It "Token ID 1 byte Token ID"
541 .It "Status 4 bytes Process status on exit"
542 .It "Return Value 4 bytes Process return value on exit"
549 Depending on the type of socket, a socket token may be created using
554 .Bl -column -offset 3n ".Sy Field Name Width XX" ".Sy XX Bytes XXXX" ".Sy Description"
556 .It Li "Token ID" Ta "1 byte" Ta "Token ID"
559 .It Li "Socket address" Ta "4 bytes" Ta "Socket address"
569 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
571 .It Li "Token ID" Ta "1 byte" Ta "Token ID"
576 .It Li "Local IP address" Ta "4/16 bytes" Ta "Local IP address"
578 .It Li "Remote IP address" Ta "4/16 bytes" Ta "Remote IP address"
584 Due to the limited range of 32 bits, serial number arithmetic and caution
586 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
588 .It "Token ID 1 byte Token ID"
589 .It "Sequence Number 4 bytes Audit event sequence number"
595 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
597 .It "Token ID 1 byte Token ID"
599 .Ss Use-of-auth Token
601 .Dq use-of-auth
603 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
605 .It "Token ID 1 byte Token ID"
611 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
613 .It "Token ID 1 byte Token ID"
619 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
621 .It "Token ID 1 byte Token ID"
626 token holds a NUL-terminated string with the name of the zone or jail from
632 .Bl -column -offset 3n ".No Terminal Address Type/Length" ".No N bytes + 1 NUL"
634 .It "Token ID 1 byte Token ID"
635 .It "Zonename length 2 bytes Length of zonename string including NUL"
636 .It "Zonename N bytes + 1 NUL Zonename string including NUL"
639 .Xr auditreduce 1 ,
640 .Xr praudit 1 ,
642 .Xr audit 4 ,
643 .Xr auditpipe 4 ,
647 division of McAfee Inc., under contract to Apple Computer Inc.\& in 2004.
669 implementation of