2 .\" To view license terms, attribution, and copyright for IP Filter, the default path is /usr/lib/ipf/IPFILTER.LICENCE. If the Solaris operating environment has been installed anywhere other than the default, modify the given path to access the file at the installed
4 .\" Portions Copyright (c) 2008, Sun Microsystems Inc. All Rights Reserved.
5 .\" Portions Copyright (c) 2012, Joyent, Inc. All Rights Reserved.
6 .TH IPPOOL 8 "Nov 26, 2012"
8 ippool \- user interface to the IP Filter pools
12 \fBippool\fR \fB-a\fR [\fB-dnv\fR] [\fB-G\fR | \fB-z\fR \fIzonename\fR] [\fB-m\fR \fIpoolname\fR] [\fB-o\fR \fIrole\fR] \fB-i\fR \fIipaddr\fR
18 \fBippool\fR \fB-A\fR [\fB-dnv\fR] [\fB-G\fR | \fB-z\fR \fIzonename\fR] [\fB-m\fR \fIpoolname\fR] [\fB-o\fR \fIrole\fR] [\fB-S\fR \fIseed\fR]
24 \fBippool\fR \fB-f\fR \fIfile\fR [\fB-G\fR | \fB-z\fR \fIzonename\fR] [\fB-dnuv\fR]
29 \fBippool\fR \fB-F\fR [\fB-dv\fR] [\fB-G\fR | \fB-z\fR \fIzonename\fR] [\fB-o\fR \fIrole\fR] [\fB-t\fR \fItype\fR]
34 \fBippool\fR \fB-h\fR [\fB-dv\fR] [\fB-G\fR | \fB-z\fR \fIzonename\fR] [\fB-m\fR \fIpoolname\fR] [\fB-t\fR \fItype\fR]
39 \fBippool\fR \fB-l\fR [\fB-dv\fR] [\fB-G\fR | \fB-z\fR \fIzonename\fR] [\fB-m\fR \fIpoolname\fR] [\fB-t\fR \fItype\fR]
44 \fBippool\fR \fB-r\fR [\fB-dnv\fR] [\fB-G\fR | \fB-z\fR \fIzonename\fR] [\fB-m\fR \fIpoolname\fR] [\fB-o\fR \fIrole\fR] \fB-i\fR \fIipaddr\fR
50 \fBippool\fR \fB-R\fR [\fB-dnv\fR] [\fB-G\fR | \fB-z\fR \fIzonename\fR] [\fB-m\fR \fIpoolname\fR] [\fB-o\fR \fIrole\fR] [\fB-t\fR \fItype\fR]
55 \fBippool\fR \fB-s\fR [\fB-dtv\fR] [\fB-G\fR | \fB-z\fR \fIzonename\fR] [\fB-M\fR \fIcore\fR] [\fB-N\fR \fInamelist\fR]
60 The \fBippool\fR utility is used to manage information stored in the IP pools
61 subsystem of IP Filter software. Configuration file information can be parsed
62 and loaded into the kernel and currently configured pools can be removed,
63 changed, or inspected.
66 \fBippool\fR's use is restricted through access to \fB/dev/ippool\fR. The
67 default permissions of \fB/dev/ippool\fR require \fBippool\fR to be run as root
71 The command line options used are divided into two sections: the global options
72 and the instance-specific options.
75 \fBippool\fR's use is restricted through access to \fB/dev/ipauth\fR,
76 \fB/dev/ipl\fR, and \fB/dev/ipstate\fR. The default permissions of these files
77 require \fBippool\fR to be run as root for all operations.
80 \fBippool\fR supports the option categories described below.
83 The following global options are supported:
90 Toggle debugging of processing the configuration file.
99 Prevents \fBippool\fR from doing anything, such as making ioctl calls, that
100 would alter the currently running kernel.
109 Turn verbose mode on.
115 \fB\fB-z\fR \fIzonename\fR\fR
118 Manage the specified zone's in-zone IP pools. If neither this option nor
119 \fB-G\fR is specified, the current zone is used. This command is only
120 available in the Global Zone. See \fBZONES\fR in \fBipf\fR(1m) for more
127 \fB\fB-G\fR \fIzonename\fR\fR
130 Manage the specified zone's global zone controlled IP pools. If neither this
131 option nor \fB-z\fR is specified, the current zone is used. This command is
132 only available in the Global Zone. See \fBZONES\fR in \fBipf\fR(1m) for more
136 .SS "Instance-Specific Options"
138 The following instance-specific options are supported:
145 Add a new data node to an existing pool in the kernel.
154 Add a new (empty) pool to the kernel.
160 \fB\fB-f\fR \fIfile\fR\fR
163 Read in IP pool configuration information from \fIfile\fR and load it into the
173 Flush loaded pools from the kernel.
182 Display a list of pools of the type: hash loaded in the kernel.
191 Display a list of pools of the type: tree loaded in the kernel.
200 Remove an existing data node from a pool in the kernel.
209 Remove an existing pool from within the kernel.
218 Display IP pool statistical information.
223 The following, additional options are supported:
227 \fB\fB-i\fR \fIipaddr\fR[/\fInetmask\fR]\fR
230 Sets the IP address for the operation being undertaken with an all-one's mask
231 or, optionally, a specific netmask, given in either dotted-quad notation or as
238 \fB\fB-m\fR \fIpoolname\fR\fR
241 Sets the pool name for the current operation.
247 \fB\fB-M\fR \fIcore\fR\fR
250 Specify an alternative path to \fB/dev/kmem\fR from which to retrieve
251 statistical information.
257 \fB\fB-N\fR \fInamelist\fR\fR
260 Specify an alternative path to lookup symbol name information when retrieving
261 statistical information.
267 \fB\fB-o\fR \fIrole\fR\fR
270 Sets the role with which this pool is to be used. Currently only \fBipf\fR,
271 \fBauth\fR, and \fBcount\fR are accepted as arguments to this option.
277 \fB\fB-S\fR \fIseed\fR\fR
280 Sets the hashing seed to the number specified. For use with hash-type pools
287 \fB\fB-t\fR \fItype\fR\fR
290 Sets the type of pool being defined. Must be one of \fBpool\fR, \fBhash\fR, or
300 When parsing a configuration file, rather than load new pool data into the
307 \fB\fB/dev/ippool\fR\fR
310 Link to IP Filter pseudo device.
316 \fB\fB/dev/kmem\fR\fR
319 Special file that provides access to virtual address space.
325 \fB\fB/etc/ipf/ippool.conf\fR\fR
328 Location of \fBippool\fR startup configuration file.
333 See \fBattributes\fR(5) for descriptions of the following attributes:
341 ATTRIBUTE TYPE ATTRIBUTE VALUE
343 Interface Stability Committed
348 \fBipf\fR(8), \fBipfstat\fR(8), \fBippool\fR(4), \fBattributes\fR(5),