![]() |
![]() |
| |||||||||||||||||||
|
On 64-bit systems, the header token is displayed with a 64-bit time stamp, in place of the 32-bit time stamp. The praudit command displays the header token for a ioctl() system call as follows:
The following figure shows the format of a header token. Figure 23-13 header Token Format ![]() The ID modifier field has the following flags defined:
in_addr TokenThe in_addr token contains an Internet Protocol address. Since the Solaris 8 release, the Internet address can be displayed in IPv4 format or IPv6 format. The IPv4 address uses 4 bytes. The IPv6 address uses 16 bytes to describe the type, and 16 bytes to describe the address. The in_addr token has two fields:
The praudit command displays the in_addr token as follows:
The following figure shows the format of an in_addr token. Figure 23-14 in_addr Token Format ![]() ip Token (Obsolete)The ip token contains a copy of an Internet Protocol header. The ip token has two fields:
The praudit command displays the ip token as follows:
The IP header structure is defined in the /usr/include/netinet/ip.h file. The following figure shows the format of an ip token. Figure 23-15 ip Token Format ![]() ipc TokenThe ipc token contains the System V IPC message/semaphore/shared-memory handle that is used by the caller to identify a particular IPC object. The ipc token has three fields:
The praudit command displays the ipc token as follows:
Note - The IPC object identifiers violate the context-free nature of the Solaris audit tokens. No global "name" uniquely identifies IPC objects. Instead, IPC objects are identified by their handles. The handles are valid only during the time that the IPC objects are active. However, the identification of IPC objects should not be a problem. The System V IPC mechanisms are seldom used, and the mechanisms all share the same audit class. The following table shows the possible values for the IPC object type field. The values are defined in the /usr/include/bsm/audit.h file. Table 23-7 Values for the IPC Object Type Field
The following figure shows the format of an ipc token. Figure 23-16 ipc Token Format ![]() ipc_perm TokenThe ipc_perm token contains a copy of the System V IPC access information. This token is added to audit records that are generated by IPC shared-memory events, IPC semaphore events, and IPC message events. The ipc_perm token has eight fields:
The praudit command displays the ipc_perm token as follows:
The values are taken from the ipc_perm structure that is associated with the IPC object. The following figure shows the format of an ipc_perm token. Figure 23-17 ipc_perm Token Format ![]() iport TokenThe iport token contains the TCP or UDP port address. The iport token has two fields:
The praudit command displays the iport token as follows:
The following figure shows the format of an iport token. Figure 23-18 iport Token Format
| |||||||||||||||||||
| |||||||||||||||||||