blob: 23e0a10a4ae297ec963ad5ae5a1c4b9c811581d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH TNINFO 1M "Jul 20, 2007"
.SH NAME
tninfo \- print kernel-level network information and statistics
.SH SYNOPSIS
.LP
.nf
\fB/usr/sbin/tninfo\fR [\fB-h\fR \fIhostname\fR] [\fB-m\fR \fIzone-name\fR] [\fB-t\fR \fItemplate\fR]
.fi
.SH DESCRIPTION
.sp
.LP
\fBtninfo\fR provides an interface to retrieve and display kernel-level network
information and statistics.
.SH OPTIONS
.sp
.ne 2
.na
\fB\fB-h\fR \fIhostname\fR\fR
.ad
.RS 16n
Display the security structure for the specified host in the remote-host cache.
The output should reflect what is specified in the \fBtnrhdb\fR database.
.RE
.sp
.ne 2
.na
\fB\fB-m\fR \fIzone-name\fR\fR
.ad
.RS 16n
Display the MLP configuration associated with the specified zone. The output
should reflect what is specified in the \fBtnzonecfg\fR database.
.RE
.sp
.ne 2
.na
\fB\fB-t\fR \fItemplate\fR\fR
.ad
.RS 16n
Display the structure associated with the specified \fItemplate\fR. The output
should reflect what is specified in the \fBtnrhtp\fR database.
.RE
.SH EXAMPLES
.LP
\fBExample 1 \fRDisplaying Remote Host Structures Cached in the Kernel
.sp
.LP
This example shows the remote host structures cached in the kernel. The output
reflects the definition in the \fBtnrhdb\fR database.
.sp
.in +2
.nf
# \fBtninfo -h machine1\fR
IP address= 192.168.8.61
Template = cipso
.fi
.in -2
.sp
.LP
\fBExample 2 \fRDisplaying Multilevel Ports for the Global Zone
.sp
.LP
This example shows the kernel-cached MLPs for the global zone. The output
reflects the definition in the \fBtnzonecfg\fR database, plus any dynamically
allocated MLPs. \fBprivate\fR indicates zone-specific MLPs.
.sp
.in +2
.nf
# \fBtninfo -m global\fR
private:23/tcp;111/tcp;111/udp;515/tcp;2049/tcp;6000-6003/tcp;
32812/tcp;36698/ip;38634/tcp;64365/ip
shared: 6000-6003/tcp
.fi
.in -2
.sp
.LP
\fBExample 3 \fRDisplaying the \fBcipso\fR Template Definition
.sp
.LP
This example shows the kernel-cached \fBcipso\fR template definition. The
output reflects the definition in the \fBtnrhtp\fR database.
.sp
.in +2
.nf
# \fBtninfo -t cipso\fR
=====================================
Remote Host Template Table Entries:
__________________________
template: cipso
host_type: CIPSO
doi: 1
min_sl: ADMIN_LOW
hex: ADMIN_LOW
max_sl: ADMIN_HIGH
hex: ADMIN_HIGH
.fi
.in -2
.sp
.SH FILES
.sp
.ne 2
.na
\fB\fB/etc/security/tsol/tnrhdb\fR\fR
.ad
.sp .6
.RS 4n
Trusted network remote-host database
.RE
.sp
.ne 2
.na
\fB\fB/etc/security/tsol/tnrhtp\fR\fR
.ad
.sp .6
.RS 4n
Trusted network remote-host templates
.RE
.sp
.ne 2
.na
\fB\fB/etc/security/tsol/tnzonecfg\fR\fR
.ad
.sp .6
.RS 4n
Trusted zone configuration database
.RE
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
box;
c | c
l | l .
ATTRIBUTE TYPE ATTRIBUTE VALUE
_
Interface Stability See below.
.TE
.sp
.LP
The command line is Committed. The output is Uncommitted.
.SH SEE ALSO
.sp
.LP
\fBtnd\fR(1M), \fBtnctl\fR(1M), \fBattributes\fR(5)
.sp
.LP
\fIHow to Synchronize Kernel Cache With Network Databases\fR in \fISolaris
Trusted Extensions Administrator\&'s Procedures\fR
.SH NOTES
.sp
.LP
The functionality described on this manual page is available only if the system
is configured with Trusted Extensions.
|