Home | History | Annotate | Line # | Download | only in pfs
pfs.8 revision 1.2
      1  1.1  degroote .Dd July 21, 2009
      2  1.1  degroote .Dt PFS 8
      3  1.1  degroote .Os
      4  1.1  degroote .Sh NAME
      5  1.1  degroote .Nm pfs 
      6  1.2       wiz .Nd save and restore information for NAT and state tables.
      7  1.1  degroote .Sh SYNOPSIS
      8  1.1  degroote .Nm
      9  1.1  degroote .Op Fl v
     10  1.1  degroote .Fl l
     11  1.1  degroote .Nm
     12  1.2       wiz .Op Fl bv
     13  1.2       wiz .Fl R
     14  1.1  degroote .Ar filename
     15  1.1  degroote .Nm
     16  1.2       wiz .Op Fl bv
     17  1.1  degroote .Fl r
     18  1.1  degroote .Ar filename
     19  1.1  degroote .Nm
     20  1.1  degroote .Op Fl v
     21  1.2       wiz .Fl u
     22  1.2       wiz .Nm
     23  1.2       wiz .Op Fl bv
     24  1.2       wiz .Fl W
     25  1.1  degroote .Ar filename
     26  1.1  degroote .Nm
     27  1.2       wiz .Op Fl bv
     28  1.2       wiz .Fl w
     29  1.1  degroote .Ar filename
     30  1.1  degroote .Sh DESCRIPTION
     31  1.1  degroote The
     32  1.1  degroote .Nm
     33  1.1  degroote command allows state information created for NAT entries and rules using
     34  1.2       wiz .Dq keep state
     35  1.1  degroote to be locked (modification prevented) and then saved to disk,
     36  1.1  degroote allowing for the system to experience a reboot, followed by the restoration
     37  1.1  degroote of that information, resulting in connections not being interrupted.
     38  1.1  degroote .Sh OPTIONS
     39  1.2       wiz .Bl -tag -width XrXfilenameXX
     40  1.1  degroote .It Fl b
     41  1.2       wiz The information are read or stored using binary format.
     42  1.2       wiz The default format is a readable ASCII format, similar to 
     43  1.1  degroote .Pa pfctl.conf 
     44  1.1  degroote syntax.
     45  1.1  degroote .It Fl l
     46  1.1  degroote Lock state tables in the kernel.
     47  1.2       wiz .It Fl R Ar filename
     48  1.2       wiz Restore information from
     49  1.2       wiz .Ar filename
     50  1.2       wiz and load it into the kernel.
     51  1.2       wiz The state tables are locked at the beginning of this operation and
     52  1.2       wiz unlocked once complete.
     53  1.2       wiz .It Fl r Ar filename
     54  1.2       wiz Read information in from
     55  1.2       wiz .Ar filename
     56  1.2       wiz and load it into the kernel.
     57  1.2       wiz This requires the state tables to have already been locked
     58  1.1  degroote and does not change the lock once complete.
     59  1.2       wiz .It Fl u
     60  1.2       wiz Unlock state tables in the kernel.
     61  1.2       wiz .It Fl v
     62  1.2       wiz Provide a verbose description of what's being done.
     63  1.2       wiz .It Fl W Ar filename
     64  1.2       wiz Write information from the kernel out to
     65  1.2       wiz .Ar filename .
     66  1.2       wiz The state tables are locked at the beginning of this operation and
     67  1.2       wiz unlocked once complete.
     68  1.2       wiz .It Fl w Ar filename
     69  1.2       wiz Write information from the kernel out to
     70  1.2       wiz .Ar filename .
     71  1.1  degroote This requires the state tables to have already been locked
     72  1.1  degroote and does not change the lock once complete.
     73  1.1  degroote .El
     74  1.1  degroote .Sh FILES
     75  1.2       wiz .Pa /dev/pf
     76  1.1  degroote .Sh SEE ALSO
     77  1.1  degroote .Xr pf 4
     78