man pages section 1M: System Administration Commands

Exit Print View

Updated: July 2014
 
 

ippool(1M)

Name

ippool - user interface to the IP Filter pools

Synopsis

ippool -a [-dnv] -m poolname [-o role] -i ipaddr 
     [/netmask]
ippool -A [-dnv] -m poolname [-o role] [-S seed] 
     [-t type]
ippool -f file [-dnuv]
ippool -F [-dv] [-o role] [-t type]
ippool -l [-dv] [-m poolname] [-t type]
ippool -r [-dnv] -m poolname [-o role] -i ipaddr 
     [/netmask]
ippool -R [-dnv] -m poolname [-o role] -t type
ippool -s [-dtv] [-M core] [-N namelist]

Description

The ippool utility is used to manage information stored in the IP pools subsystem of IP Filter software. Configuration file information can be parsed and loaded into the kernel and currently configured pools can be removed, changed, or inspected.

ippool's use is restricted through access to /dev/ippool. The default permissions of /dev/ippool require ippool to be run as root for all operations.

The command line options used are divided into two sections: the global options and the instance-specific options.

ippool's use is restricted through access to /dev/ipauth, /dev/ipl, and /dev/ipstate. The default permissions of these files require ippool to be run as root for all operations.

Options

ippool supports the option categories described below.

Global Options

The following global options are supported:

–d

Toggles debugging of processing the configuration file.

–n

Prevents ippool from doing anything, such as making ioctl calls, that would alter the currently running kernel.

–v

Turns verbose mode on.

Instance-Specific Options

The following instance-specific options are supported:

–a

Adds a new data node to an existing pool in the kernel.

–A

Adds a new (empty) pool to the kernel.

–f file

Reads IP pool configuration information from file and loads it into the kernel.

–F

Flushes loaded pools from the kernel.

–l

Displays all pools loaded in the kernel, including all types.

–r

Removes an existing data node from a pool in the kernel.

–R

Removes an existing pool from within the kernel.

–s

Displays IP pool statistical information.

Other Options

The following, additional options are supported:

–i ipaddr[/netmask]

Sets the IP address for the operation being undertaken with an all-one's mask or, optionally, a specific netmask, given in either dotted-quad notation or as a single integer.

–m poolname

Sets the pool name for the current operation.

–M core

Specifies an alternative path to /dev/kmem from which to retrieve statistical information.

–N namelist

Specifies an alternative path to lookup symbol name information when retrieving statistical information.

–o role

Sets the role with which this pool is to be used. Currently only ipf, auth, and count are accepted as arguments to this option.

–S seed

Sets the hashing seed to the number specified. For use with hash-type pools only.

–t type

Sets the type of pool being defined. Must be one of pool, hash, or group-map.

–u

When parsing a configuration file, rather than load new pool data into the kernel, unload it.

Files

/dev/ippool

Link to IP Filter pseudo device.

/dev/kmem

Special file that provides access to virtual address space.

/etc/ipf/ippool.conf

Location of ippool startup configuration file.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
network/ipfilter
Interface Stability
Committed

See also

ipf(1M), ipfstat(1M), ippool(4), attributes(5)