1tninfo(1M)              System Administration Commands              tninfo(1M)
2
3
4

NAME

6       tninfo - print kernel-level network information and statistics
7

SYNOPSIS

9       /usr/sbin/tninfo [-h hostname] [-m zone-name] [-t template]
10
11

DESCRIPTION

13       tninfo  provides an interface to retrieve and display kernel-level net‐
14       work information and statistics.
15

OPTIONS

17       -h hostname     Display the security structure for the  specified  host
18                       in  the  remote-host  cache.  The output should reflect
19                       what is specified in the tnrhdb database.
20
21
22       -m zone-name    Display the MLP configuration associated with the spec‐
23                       ified zone. The output should reflect what is specified
24                       in the tnzonecfg database.
25
26
27       -t template     Display the structure  associated  with  the  specified
28                       template.  The  output should reflect what is specified
29                       in the tnrhtp database.
30
31

EXAMPLES

33       Example 1 Displaying Remote Host Structures Cached in the Kernel
34
35
36       This example shows the remote host structures cached in the kernel. The
37       output reflects the definition in the tnrhdb database.
38
39
40         # tninfo -h machine1
41            IP address= 192.168.8.61
42            Template = cipso
43
44
45
46       Example 2 Displaying Multilevel Ports for the Global Zone
47
48
49       This example shows the kernel-cached MLPs for the global zone. The out‐
50       put reflects the definition in the tnzonecfg database, plus any dynami‐
51       cally allocated MLPs. private indicates zone-specific MLPs.
52
53
54         # tninfo -m global
55         private:23/tcp;111/tcp;111/udp;515/tcp;2049/tcp;6000-6003/tcp;
56                 32812/tcp;36698/ip;38634/tcp;64365/ip
57         shared: 6000-6003/tcp
58
59
60
61       Example 3 Displaying the cipso Template Definition
62
63
64       This  example  shows  the  kernel-cached cipso template definition. The
65       output reflects the definition in the tnrhtp database.
66
67
68         # tninfo -t cipso
69         =====================================
70            Remote Host Template Table Entries:
71            __________________________
72            template: cipso
73            host_type: CIPSO
74            doi: 1
75            min_sl: ADMIN_LOW
76            hex: ADMIN_LOW
77            max_sl: ADMIN_HIGH
78            hex: ADMIN_HIGH
79
80
81

FILES

83       /etc/security/tsol/tnrhdb
84
85           Trusted network remote-host database
86
87
88       /etc/security/tsol/tnrhtp
89
90           Trusted network remote-host templates
91
92
93       /etc/security/tsol/tnzonecfg
94
95           Trusted zone configuration database
96
97

ATTRIBUTES

99       See attributes(5) for descriptions of the following attributes:
100
101
102
103
104       ┌─────────────────────────────┬─────────────────────────────┐
105       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
106       ├─────────────────────────────┼─────────────────────────────┤
107       │Availability                 │SUNWtsu                      │
108       ├─────────────────────────────┼─────────────────────────────┤
109       │Interface Stability          │See below.                   │
110       └─────────────────────────────┴─────────────────────────────┘
111
112
113       The command line is Committed. The output is Uncommitted.
114

SEE ALSO

116       tnd(1M), tnctl(1M), attributes(5)
117
118
119       How to Synchronize Kernel  Cache  With  Network  Databases  in  Solaris
120       Trusted Extensions Administrator's Procedures
121

NOTES

123       The  functionality  described  on this manual page is available only if
124       the system is configured with Trusted Extensions.
125
126
127
128SunOS 5.11                        20 Jul 2007                       tninfo(1M)
Impressum