System Administration Commands ipfs(1M)
NAME
ipfs - saves and restores information for NAT and state
tablesSYNOPSIS
ipfs [-nv] -l
ipfs [-nv] -u
ipfs [-nv] [-d dirname] -R
ipfs [-nv] [-d dirname] -W
ipfs [-nNSv] [-f filename] -r
ipfs [-nNSv] [-f filename] -w
ipfs [-nNSv] -f filename -i
, DESCRIPTION
The ipfs utility enables the saving of state information
across reboots. Specifically, the utility allows state information created for NAT entries and rules using "keep state" to be locked (modification prevented) and then saved to disk. Then, after a reboot, that information is restored.The result of this state-saving is that connections are not
interrupted. OPTIONS The following options are supported:-d Change the default directory used with -R and -W
options for saving state information.-n Do not take any action that would affect information
stored in the kernel or on disk.-v Provides a verbose description of ipfs activities.
-N Operate on NAT information.
SunOS 5.11 Last change: 3 Apr 2008 1
System Administration Commands ipfs(1M)
-S Operate on filtering state information.
-u Unlock state tables in the kernel.
-l Lock state tables in the kernel.
-r Read information in from the specified file and load
it into the kernel. This requires the state tables to have already been locked and does not change the lock once complete.-w Write information out to the specified file and from
the kernel. This requires the state tables to have already been locked and does not change the lock once complete.-R Restores all saved state information, if any, from two
files, ipstate.ipf and ipnat.ipf, stored in the /var/db/ipf directory. This directory can be changedwith the -d option. The state tables are locked at the
beginning of this operation and unlocked once com-
plete.-W Saves in-kernel state information, if any, out to two
files, ipstate.ipf and ipnat.ipf, stored in the /var/db/ipf directory. This directory can be changedwith the -d option. The state tables are locked at the
beginning of this operation and unlocked once com-
plete. FILES o /var/db/ipf/ipstate.ipf o /var/db/ipf/ipnat.ipf o /dev/ipl o /dev/ipstate o /dev/ipnatATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 3 Apr 2008 2
System Administration Commands ipfs(1M)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | network/ipfilter ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
SEE ALSO
ipf(1M), ipmon(1M), ipnat(1M), attributes(5) DIAGNOSTICSArguably, the -W and -R operations should set the locking
and, rather than undo it, restore it to what it was previ-
ously. Fragment table information is currently not saved.SunOS 5.11 Last change: 3 Apr 2008 3