1ipfs(1M) System Administration Commands ipfs(1M)
2
3
4
6 ipfs - saves and restores information for NAT and state tables
7
9 ipfs [-nv] -l
10
11
12 ipfs [-nv] -u
13
14
15 ipfs [-nv] [-d dirname] -R
16
17
18 ipfs [-nv] [-d dirname] -W
19
20
21 ipfs [-nNSv] [-f filename] -r
22
23
24 ipfs [-nNSv] [-f filename] -w
25
26
27 ipfs [-nNSv] -f filename -i <if1>,<if2>
28
29
31 The ipfs utility enables the saving of state information across
32 reboots. Specifically, the utility allows state information created for
33 NAT entries and rules using "keep state" to be locked (modification
34 prevented) and then saved to disk. Then, after a reboot, that informa‐
35 tion is restored. The result of this state-saving is that connections
36 are not interrupted.
37
39 The following options are supported:
40
41 -d Change the default directory used with -R and -W options for sav‐
42 ing state information.
43
44
45 -n Do not take any action that would affect information stored in
46 the kernel or on disk.
47
48
49 -v Provides a verbose description of ipfs activities.
50
51
52 -N Operate on NAT information.
53
54
55 -S Operate on filtering state information.
56
57
58 -u Unlock state tables in the kernel.
59
60
61 -l Lock state tables in the kernel.
62
63
64 -r Read information in from the specified file and load it into the
65 kernel. This requires the state tables to have already been
66 locked and does not change the lock once complete.
67
68
69 -w Write information out to the specified file and from the kernel.
70 This requires the state tables to have already been locked and
71 does not change the lock once complete.
72
73
74 -R Restores all saved state information, if any, from two files,
75 ipstate.ipf and ipnat.ipf, stored in the /var/db/ipf directory.
76 This directory can be changed with the -d option. The state
77 tables are locked at the beginning of this operation and unlocked
78 once complete.
79
80
81 -W Saves in-kernel state information, if any, out to two files,
82 ipstate.ipf and ipnat.ipf, stored in the /var/db/ipf directory.
83 This directory can be changed with the -d option. The state
84 tables are locked at the beginning of this operation and unlocked
85 once complete.
86
87
89 o /var/db/ipf/ipstate.ipf
90
91 o /var/db/ipf/ipnat.ipf
92
93 o /dev/ipl
94
95 o /dev/ipstate
96
97 o /dev/ipnat
98
100 See attributes(5) for descriptions of the following attributes:
101
102
103
104
105 ┌─────────────────────────────┬─────────────────────────────┐
106 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
107 ├─────────────────────────────┼─────────────────────────────┤
108 │Availability │SUNWipfu │
109 ├─────────────────────────────┼─────────────────────────────┤
110 │Interface Stability │Committed │
111 └─────────────────────────────┴─────────────────────────────┘
112
114 ipf(1M), ipmon(1M), ipnat(1M), attributes(5)
115
117 Arguably, the -W and -R operations should set the locking and, rather
118 than undo it, restore it to what it was previously.
119
120
121 Fragment table information is currently not saved.
122
123
124
125SunOS 5.11 3 Apr 2008 ipfs(1M)