Changeset View
Changeset View
Standalone View
Standalone View
sbin/pfctl/pfctl.8
Show All 20 Lines | |||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd October 3, 2016 | .Dd April 9, 2021 | ||||
.Dt PFCTL 8 | .Dt PFCTL 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm pfctl | .Nm pfctl | ||||
.Nd control the packet filter (PF) device | .Nd control the packet filter (PF) device | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm pfctl | .Nm pfctl | ||||
.Bk -words | .Bk -words | ||||
Show All 13 Lines | |||||
.Op Fl p Ar device | .Op Fl p Ar device | ||||
.Op Fl s Ar modifier | .Op Fl s Ar modifier | ||||
.Xo | .Xo | ||||
.Oo Fl t Ar table | .Oo Fl t Ar table | ||||
.Fl T Ar command | .Fl T Ar command | ||||
.Op Ar address ... | .Op Ar address ... | ||||
.Oc Xc | .Oc Xc | ||||
.Op Fl x Ar level | .Op Fl x Ar level | ||||
.Op Fl y Ar schedule | |||||
.Ek | .Ek | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
utility communicates with the packet filter device using the | utility communicates with the packet filter device using the | ||||
ioctl interface described in | ioctl interface described in | ||||
.Xr pf 4 . | .Xr pf 4 . | ||||
It allows ruleset and parameter configuration and retrieval of status | It allows ruleset and parameter configuration and retrieval of status | ||||
▲ Show 20 Lines • Show All 586 Lines • ▼ Show 20 Lines | |||||
Do not generate debug messages. | Do not generate debug messages. | ||||
.It Fl x Cm urgent | .It Fl x Cm urgent | ||||
Generate debug messages only for serious errors. | Generate debug messages only for serious errors. | ||||
.It Fl x Cm misc | .It Fl x Cm misc | ||||
Generate debug messages for various errors. | Generate debug messages for various errors. | ||||
.It Fl x Cm loud | .It Fl x Cm loud | ||||
Generate debug messages for common conditions. | Generate debug messages for common conditions. | ||||
.El | .El | ||||
.It Fl y Ar schedule | |||||
Kill all states marked with | |||||
.Ar schedule . | |||||
.It Fl z | .It Fl z | ||||
Clear per-rule statistics. | Clear per-rule statistics. | ||||
.El | .El | ||||
.Sh FILES | .Sh FILES | ||||
.Bl -tag -width "/etc/pf.conf" -compact | .Bl -tag -width "/etc/pf.conf" -compact | ||||
.It Pa /etc/pf.conf | .It Pa /etc/pf.conf | ||||
Packet filter rules file. | Packet filter rules file. | ||||
.It Pa /etc/pf.os | .It Pa /etc/pf.os | ||||
Show All 24 Lines |