3 ipfs \- saves and restores information for NAT and state tables.
43 \fBipfs\fP allows state information created for NAT entries and rules using
44 \fIkeep state\fP to be locked (modification prevented) and then saved to disk,
45 allowing for the system to experience a reboot, followed by the restoration
46 of that information, resulting in connections not being interrupted.
50 Change the default directory used with
54 options for saving state information.
57 Don't actually take any action that would effect information stored in
58 the kernel or on disk.
61 Provides a verbose description of what's being done.
63 .B \-i <ifname1>,<ifname2>
64 Change all instances of interface name ifname1 in the state save file to
65 ifname2. Useful if you're restoring state information after a hardware
66 reconfiguration or change.
69 Operate on NAT information.
72 Operate on filtering state information.
75 Unlock state tables in the kernel.
78 Lock state tables in the kernel.
81 Read information in from the specified file and load it into the
82 kernel. This requires the state tables to have already been locked
83 and does not change the lock once complete.
86 Write information out to the specified file and from the kernel.
87 This requires the state tables to have already been locked
88 and does not change the lock once complete.
91 Restores all saved state information, if any, from two files,
92 \fIipstate.ipf\fP and \fIipnat.ipf\fP, stored in the \fI/var/db/ipf\fP
93 directory unless otherwise specified the
95 option is used. The state tables are locked at the beginning of this
96 operation and unlocked once complete.
99 Saves in-kernel state information, if any, out to two files,
100 \fIipstate.ipf\fP and \fIipnat.ipf\fP, stored in the \fI/var/db/ipf\fP
101 directory unless otherwise specified the
103 option is used. The state tables are locked at the beginning of this
104 operation and unlocked once complete.
107 /var/db/ipf/ipstate.ipf
109 /var/db/ipf/ipnat.ipf
117 ipf(8), ipl(4), ipmon(8), ipnat(8)
120 Perhaps the -W and -R operations should set the locking but rather than
121 undo it, restore it to what it was previously. Fragment table information
122 is currently not saved.
125 If you find any, please send email to me at darrenr@pobox.com